{
  "resourceType": "MedicationRequest",
  "id": "medicationrequest-6",
  "identifier": [
    {
      "use": "usual",
      "system": "urn:oid:1.2.345.6789",
      "value": "10006"
    }
  ],
  "status": "active",
  "intent": "order",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
          "code": "community",
          "display": "Community"
        }
      ],
      "text": "Community"
    }
  ],
  "priority": "routine",
  "medicationCodeableConcept": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "765507008",
        "display": "Metformin hydrochloride 500 mg prolonged-release oral tablet"
      },
      {
        "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
        "code": "860975",
        "display": "24 HR metformin hydrochloride 500 MG Extended Release Oral Tablet"
      },
      {
        "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
        "code": "860977",
        "display": "Glucophage XR 500 MG 24HR Extended Release Oral Tablet"
      }
    ]
  },
  "subject": {
    "reference": "Patient/patient-1",
    "display": "Example, Anne"
  },
  "authoredOn": "2024-12-06",
  "requester": {
    "reference": "Practitioner/practitioner-1",
    "type": "Practitioner",
    "display": "Dr Maria Hernandez"
  },
  "recorder": {
    "reference": "Practitioner/practitioner-1",
    "type": "Practitioner",
    "display": "Dr Maria Hernandez"
  },
  "reasonCode": [
    {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "313436004",
        "display": "Type II diabetes mellitus without complication"
      }
    ]
    }
  ],
  "courseOfTherapyType": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
        "code": "continuous",
        "display": "Continuous long term therapy"
      }
    ],
    "text": "Continuous long term therapy"
  },
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "1 tablet once daily with evening meal",
      "timing": {
        "repeat": {
          "frequency": 1,
          "period": 1,
          "periodUnit": "d",
          "timeOfDay": [
            "20:00:00"
          ]
        }
      },
      "asNeededBoolean": false,
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2024-12-06",
      "end": "2024-12-30"
    },
    "numberOfRepeatsAllowed": 1,
    "quantity": {
      "value": 90,
      "unit": "TAB",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 3,
      "unit": "month",
      "system": "http://unitsofmeasure.org",
      "code": "mo"
    }
  },
  "priorPrescription": {
    "reference": "MedicationRequest/medicationrequest-5"
  }
}