{
  "resourceType": "MedicationRequest",
  "id": "example2",
  "meta": {
    "profile": [
      "http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"example2\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-medicationrequest.html\">AU Base Medication Request</a></p></div><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 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#926213011000036100)</span></p><p><b>subject</b>: <a href=\"Patient-example0.html\">Patient/example0: Stella Franklin</a> \" FRANKLIN\"</p><p><b>authoredOn</b>: 2018-07-15</p><p><b>requester</b>: <a href=\"PractitionerRole-example0.html\">PractitionerRole/example0</a></p><p><b>reasonCode</b>: Pain management <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>note</b>: Patient requires an administration aid.</p><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2018-07-15 --&gt; 2019-07-15</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 20 Tab<span style=\"background: LightGoldenRodYellow\"> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></p></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>Allowed[x]</b></td></tr><tr><td>*</td><td>true</td></tr></table></div>"
  },
  "identifier": [
    {
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org.au/CodeSystem/v2-0203",
            "code": "LPN"
          }
        ],
        "text": "Local Prescription Number"
      },
      "system": "http://ns.electronichealth.net.au/id/hpio-scoped/prescription/1.0/8003621566684455",
      "value": "53720010",
      "assigner": {
        "reference": "Organization/example0",
        "display": "Downunder Hospital"
      }
    }
  ],
  "status": "active",
  "intent": "order",
  "medicationCodeableConcept": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "926213011000036100",
        "display": "Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10"
      }
    ]
  },
  "subject": {
    "reference": "Patient/example0",
    "display": "Stella Franklin"
  },
  "authoredOn": "2018-07-15",
  "requester": {
    "reference": "PractitionerRole/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"
          }
        ]
      },
      "doseAndRate": [
        {
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "dispenseInterval": {
      "value": 1,
      "unit": "week",
      "system": "http://unitsofmeasure.org",
      "code": "wk"
    },
    "validityPeriod": {
      "start": "2018-07-15",
      "end": "2019-07-15"
    },
    "numberOfRepeatsAllowed": 2,
    "quantity": {
      "value": 20,
      "unit": "Tab",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  },
  "substitution": {
    "allowedBoolean": true
  }
}