{
  "resourceType": "MedicationRequest",
  "id": "medicationrequest-example2",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medicationrequest-example2</p><p><b>identifier</b>: Local Prescription Number = 53720010</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: Reaptan 10mg/10mg (perindopril arginine/amlodipine) (amlodipine 10 mg + perindopril arginine 10 mg) uncoated tablet, 10 tablets (trade product pack) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '926213011000036100' = '926213011000036100', given as 'Reaptan 10mg/10mg (perindopril arginine/amlodipine) (amlodipine 10 mg + perindopril arginine 10 mg) uncoated tablet, 10 tablets (trade product pack)'})</span></p><p><b>subject</b>: <a href=\"Patient-example0.html\">Stella Franklin. Generated Summary: id: example0; IHI = 8003608166690503, Medicare Number = 32788511952, Health Care Card Number = 307111942H; Stella Franklin ; sfranklin@amail.com.au(WORK); gender: female; birthDate: 14/10/1985</a></p><p><b>authoredOn</b>: 15/07/2018</p><h3>Requesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Agent</b></td><td><b>OnBehalfOf</b></td></tr><tr><td>*</td><td><a href=\"Practitioner-example0.html\">Doctor Mayo. Generated Summary: id: example0; HPI-I = 8003619900015717, Prescriber Number = 453221; active; Helen Mayo ; helen.mayo@downunderhospital.com.au(WORK)</a></td><td><a href=\"Organization-example0.html\">Generated Summary: id: example0; HPI-O = 8003621566684455; active; name: Downunder Hospital; helen.mayo@downunderhospital.com.au(WORK)</a></td></tr></table><p><b>reasonCode</b>: Pain management <span style=\"background: LightGoldenRodYellow\">(Details )</span></p><p><b>note</b>: Patient requires an administration aid.</p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>15/07/2018 12:00:00 AM --&gt; 15/07/2019 12:00:00 AM</td><td>2</td><td>20 Tab<span style=\"background: LightGoldenRodYellow\"> (Details: http://hl7.org/fhir/v3/orderableDrugForm code Tab = 'Tab')</span></td><td>10 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code d = 'd')</span></td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>Allowed</b></td></tr><tr><td>*</td><td>true</td></tr></table></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org.au/fhir/StructureDefinition/minimum-interval-between-repeats",
      "valueDuration": {
        "value": 1,
        "unit": "week",
        "system": "http://unitsofmeasure.org",
        "code": "wk"
      }
    },
    {
      "url": "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name",
      "valueString": "Reaptan 10mg/10mg (perindopril arginine/amlodipine) (amlodipine 10 mg + perindopril arginine 10 mg) uncoated tablet, 10 tablets (trade product pack)"
    },
    {
      "url": "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name",
      "valueString": "amlodipine 10 mg + perindopril arginine 10 mg tablet, 10 tablets (medicinal product pack)"
    }
  ],
  "identifier": [
    {
      "type": {
        "coding": [
          {
            "system": "http://hl7.org.au/fhir/v2/0203",
            "code": "LPN"
          }
        ],
        "text": "Local Prescription Number"
      },
      "system": "http://ns.electronichealth.net.au/id/hpio-scoped/prescription/1.0/8003627500000328",
      "value": "53720010",
      "assigner": {
        "reference": "Organization/example0",
        "display": "Downunder Hospital"
      }
    }
  ],
  "status": "active",
  "intent": "order",
  "medicationCodeableConcept": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "926213011000036100",
        "display": "Reaptan 10mg/10mg (perindopril arginine/amlodipine) (amlodipine 10 mg + perindopril arginine 10 mg) uncoated tablet, 10 tablets (trade product pack)"
      }
    ]
  },
  "subject": {
    "reference": "Patient/example0",
    "display": "Stella Franklin"
  },
  "authoredOn": "2018-07-15",
  "requester": {
    "agent": {
      "reference": "Practitioner/example0",
      "display": "Doctor Mayo"
    },
    "onBehalfOf": {
      "reference": "Organization/example0"
    }
  },
  "reasonCode": [
    {
      "text": "Pain management"
    }
  ],
  "note": [
    {
      "text": "Patient requires an administration aid."
    }
  ],
  "dosageInstruction": [
    {
      "text": "1-2 tablets every 4-6 hours as needed for pain",
      "timing": {
        "repeat": {
          "frequency": 1,
          "frequencyMax": 2,
          "period": 4,
          "periodMax": 6,
          "periodUnit": "h"
        }
      },
      "asNeededBoolean": true,
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral route"
          }
        ]
      },
      "doseQuantity": {
        "value": 1,
        "unit": "TAB",
        "system": "http://hl7.org/fhir/v3/orderableDrugForm",
        "code": "TAB"
      }
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2018-07-15",
      "end": "2019-07-15"
    },
    "numberOfRepeatsAllowed": 2,
    "quantity": {
      "value": 20,
      "unit": "Tab",
      "system": "http://hl7.org/fhir/v3/orderableDrugForm",
      "code": "Tab"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  },
  "substitution": {
    "allowed": true
  }
}