Australian Digital Health Agency FHIR Implementation Guide
1.2.0-ci-build - draft Australia flag

Australian Digital Health Agency FHIR Implementation Guide, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/ci-fhir-r4/ and changes regularly. See the Directory of published versions

: CONTAINED: ePrescribing MedicationRequest etp-04 for Mr. Zhang Wei - JSON Representation

Raw json | Download


{
  "resourceType" : "MedicationRequest",
  "id" : "etp-cont-04",
  "meta" : // erx-10Q73KMN65R5WKYQTA
  {
    "profile" : [
      🔗 "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medicationrequest-core-1"🔗 ,
      "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medicationrequest-pres-1"
    ]
  },
  "text" : // <profile value="http://fhir.medicationknowledge.com.au/StructureDefinition/mk-medicationrequest"/>
  {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest etp-cont-04</b></p><a name=\"etp-cont-04\"> </a><a name=\"hcetp-cont-04\"> </a><a name=\"etp-cont-04-en-AU\"> </a><p><b>au/StructureDefinition/unusual-qty-flag</b>: false</p><p><b>au/StructureDefinition/schedule-number</b>: 8</p><p><b>au/StructureDefinition/private-prescription</b>: false</p><p><b>au/StructureDefinition/unusual-dose-flag</b>: true</p><p><b>au/StructureDefinition/controlled-substance-reference</b>: 1234567890abcdefgh</p><p><b>au/StructureDefinition/is-emergency-supply</b>: false</p><p><b>au/StructureDefinition/is-extemp</b>: false</p><p><b>identifier</b>: ETP Identifier/10Q73KMN65R5WKYQTA, <code>http://fhir.erx.com.au/NamingSystem/identifiers#authority-script-number</code>/11, Local Prescription Number/073114478935</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category outpatient}\">Outpatient</span></p><p><b>medication</b>: <a href=\"#hcetp-cont-04/morphine-01\">morphine sulfate pentahydrate</a></p><p><b>subject</b>: <a href=\"#hcetp-cont-04/mhr-zhang-wei\">Wei Zhang  Male, DoB: 1972-05-03 ( IHI:\u00a0AustalianIHI#8003608000228437)</a></p><p><b>authoredOn</b>: 2020-07-16 15:10:24+1000</p><p><b>requester</b>: <a href=\"#hcetp-cont-04/nsw-gp\">Crawford, Darlene-eRx Test Prescibing</a></p><p><b>basedOn</b>: <a href=\"#hcetp-cont-04/medReqDispensed-etp-04\">MedicationRequest: extension = 1,80452H,SEVREDOL 20MG TAB,A,N,N,false,false; identifier = http://fhir.medicationknowledge.com.au/StructureDefinition/original-script-number#13716,Local Prescription Number:\u00a013716,ETP Identifier:\u00a010Q73KMN65R5WKYQTA; status = active; intent = order; medication[x] = -&gt;morphine; authoredOn = 2020-07-16 00:00:00+1000</a></p><p><b>note</b>: for dental treatment only; Twenty</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Text</b></td><td><b>Route</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>1 twice a day</td><td><span title=\"Codes:\">Oral</span></td></tr></table><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: ?? --&gt; 2020-11-16 15:10:24+1000</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 20 Tab<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>20</td><td>days</td><td><a href=\"http://terminology.hl7.org/6.0.2/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td></tr></table><p><b>priorPrescription</b>: 21KR32VB29QRGW7815</p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient  #mhr-zhang-wei</b></p><a name=\"etp-cont-04/mhr-zhang-wei\"> </a><a name=\"hcetp-cont-04/mhr-zhang-wei\"> </a><a name=\"etp-cont-04/mhr-zhang-wei-en-AU\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Wei Zhang  Male, DoB: 1972-05-03 ( IHI:\u00a0AustalianIHI#8003608000228437)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Medicare Number/29533070311</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient resource and provides an indicator of whether the patient is eligible for a Closing the Gap (CTG) co-payment.\"><a href=\"https://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-closing-the-gap-registration.html\">Closing the Gap Registration</a></td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension applies to the Patient, Person, and RelatedPerson resources and is used to indicate whether a person identifies as being of Aboriginal or Torres Strait Islander origin.\"><a href=\"https://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-indigenous-status.html\">Australian Indigenous Status</a></td><td colspan=\"3\">australian-indigenous-status-1 4: Neither Aboriginal nor Torres Strait Islander origin</td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole  #nsw-gp</b></p><a name=\"etp-cont-04/nsw-gp\"> </a><a name=\"hcetp-cont-04/nsw-gp\"> </a><a name=\"etp-cont-04/nsw-gp-en-AU\"> </a><p><b>identifier</b>: Employee number/8223NSW</p><p><b>practitioner</b>: <a href=\"#hcetp-cont-04/sarah-bondiali\">Practitioner Sarah Bondiali </a></p><p><b>organization</b>: <a href=\"#hcetp-cont-04/bondi-gp-medical-centre\">Organization Bondi GP Medical Centre NSW</a></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 62247001}\">General practitioner</span></p><p><b>telecom</b>: ph: 0491570006, ph: (02) 5550 6660(Work)</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Practitioner  #sarah-bondiali</b></p><a name=\"etp-cont-04/sarah-bondiali\"> </a><a name=\"hcetp-cont-04/sarah-bondiali\"> </a><a name=\"etp-cont-04/sarah-bondiali-en-AU\"> </a><p><b>identifier</b>: Prescriber Number/663221</p><p><b>name</b>: Sarah Bondiali </p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization  #bondi-gp-medical-centre</b></p><a name=\"etp-cont-04/bondi-gp-medical-centre\"> </a><a name=\"hcetp-cont-04/bondi-gp-medical-centre\"> </a><a name=\"etp-cont-04/bondi-gp-medical-centre-en-AU\"> </a><p><b>name</b>: Bondi GP Medical Centre NSW</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Medication  #morphine-01</b></p><a name=\"etp-cont-04/morphine-01\"> </a><a name=\"hcetp-cont-04/morphine-01\"> </a><a name=\"etp-cont-04/morphine-01-en-AU\"> </a><p><b>Medication Brand Name</b>: Sevredol</p><p><b>Medication Generic Drug Name</b>: morphine sulfate pentahydrate</p><p><b>identifier</b>: <code>http://fhir.erx.com.au/NamingSystem/identifiers#drugId</code>/1699, <code>http://fhir.erx.com.au/NamingSystem/identifiers#drugId</code>/PHN7QF8T0N12117</p><p><b>code</b>: <span title=\"Codes:{http://pbs.gov.au/code/item 8670H}, {http://snomed.info/sct 2.16.840.1.113883.6.96}\">morphine sulfate pentahydrate</span></p><p><b>manufacturer</b>: Identifier: <code>http://pbs.gov.au/code/manufacturer</code>/MF</p><p><b>form</b>: <span title=\"Codes:\">Tablet</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">morphine</span></td><td>20 mg/1 unit</td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest  #medReqDispensed-etp-04</b></p><a name=\"etp-cont-04/medReqDispensed-etp-04\"> </a><a name=\"hcetp-cont-04/medReqDispensed-etp-04\"> </a><a name=\"etp-cont-04/medReqDispensed-etp-04-en-AU\"> </a><p><b>au/StructureDefinition/supplynumber</b>: 1</p><p><b>au/StructureDefinition/original-pharmacy-approval-number</b>: 80452H</p><p><b>au/StructureDefinition/dispensed-item-description</b>: SEVREDOL 20MG TAB</p><p><b>au/StructureDefinition/item-status</b>: A</p><p><b>au/StructureDefinition/script-type</b>: N</p><p><b>au/StructureDefinition/script-class</b>: N</p><p><b>au/StructureDefinition/is-extemp</b>: false</p><p><b>au/StructureDefinition/private-non-switchable</b>: false</p><p><b>identifier</b>: <code>http://fhir.medicationknowledge.com.au/StructureDefinition/original-script-number</code>/13716, Local Prescription Number/13716, ETP Identifier/10Q73KMN65R5WKYQTA</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"#hcetp-cont-04/morphine-02\">morphine</a></p><p><b>subject</b>: <a href=\"#hcetp-cont-04/mhr-zhang-wei\">Wei Zhang  Male, DoB: 1972-05-03 ( IHI:\u00a0AustalianIHI#8003608000228437)</a></p><p><b>authoredOn</b>: 2020-07-16 00:00:00+1000</p><p><b>requester</b>: <a href=\"#hcetp-cont-04/nsw-gp\">PractitionerRole General practitioner</a></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>Take ONE tablet twice a day</td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>20 Tab<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></td></tr></table><p><b>priorPrescription</b>: 21KR32VB29QRGW7815</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Medication  #morphine-02</b></p><a name=\"etp-cont-04/morphine-02\"> </a><a name=\"hcetp-cont-04/morphine-02\"> </a><a name=\"etp-cont-04/morphine-02-en-AU\"> </a><p><b>identifier</b>: <code>http://fhir.erx.com.au/NamingSystem/identifiers#drugId</code>/PHN7QF8T0N12117</p><p><b>code</b>: <span title=\"Codes:{http://pbs.gov.au/code/item 8670H}, {http://snomed.info/sct 27186011000036107}, {http://snomed.info/sct 12540011000036106}\">morphine</span></p><p><b>manufacturer</b>: Identifier: <code>http://pbs.gov.au/code/manufacturer</code>/MF</p><p><b>form</b>: <span title=\"Codes:{http://snomed.info/sct 385057009}\">Tablet.FilmCoated</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">morphine</span></td><td>20 mg/1 unit</td></tr></table></blockquote></div>"
  },
  "contained" : [
    {
      "resourceType" : "Patient",
      "id" : "mhr-zhang-wei",
      "extension" : [
        {
          "url" : "http://hl7.org.au/fhir/StructureDefinition/indigenous-status",
          "valueCoding" : {
            "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
            "code" : "4",
            "display" : "Neither Aboriginal nor Torres Strait Islander origin"
          }
        },
        {
          "url" : "http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration",
          "valueBoolean" : false
        }
      ],
      "identifier" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org.au/fhir/StructureDefinition/ihi-status",
              "valueCoding" : {
                "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1",
                "code" : "active"
              }
            },
            {
              "url" : "http://hl7.org.au/fhir/StructureDefinition/ihi-record-status",
              "valueCoding" : {
                "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1",
                "code" : "verified",
                "display" : "verified"
              }
            }
          ],
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "NI"
              }
            ],
            "text" : "IHI"
          },
          "system" : "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
          "value" : "8003608000228437"
        },
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "MC"
              }
            ],
            "text" : "Medicare Number"
          },
          "system" : "http://ns.electronichealth.net.au/id/medicare-number",
          "value" : "29533070311"
        }
      ],
      "name" : [
        {
          "family" : "Zhang",
          "given" : [
            "Wei"
          ],
          "prefix" : [
            "Mr"
          ]
        }
      ],
      "gender" : "male",
      "birthDate" : "1972-05-03",
      "_birthDate" : {
        "extension" : [
          {
            "url" : "http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator",
            "valueCoding" : {
              "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/date-accuracy-indicator-1",
              "code" : "AAA",
              "display" : "Day, month and year are accurate"
            }
          }
        ]
      }
    },
    {
      "resourceType" : "PractitionerRole",
      "id" : "nsw-gp",
      "identifier" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "EI",
                "display" : "Employee number"
              }
            ]
          },
          "system" : "http://bondigpmedicalcenter.example.com/providers",
          "value" : "8223NSW"
        }
      ],
      "practitioner" : {
        "reference" : "#sarah-bondiali"
      },
      "organization" : {
        "reference" : "#bondi-gp-medical-centre"
      },
      "code" : [
        {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "62247001"
            }
          ]
        }
      ],
      "telecom" : [
        {
          "system" : "phone",
          "value" : "0491570006"
        },
        {
          "system" : "phone",
          "value" : "(02) 5550 6660",
          "use" : "work"
        }
      ]
    },
    {
      "resourceType" : "Practitioner",
      "id" : "sarah-bondiali",
      "identifier" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                "code" : "PRES",
                "display" : "Prescriber Number"
              }
            ],
            "text" : "Prescriber Number"
          },
          "system" : "http://ns.electronichealth.net.au/id/medicare-prescriber-number",
          "value" : "663221"
        }
      ],
      "name" : [
        {
          "family" : "Bondiali",
          "given" : [
            "Sarah"
          ],
          "prefix" : [
            "Dr"
          ]
        }
      ]
    },
    {
      "resourceType" : "Organization",
      "id" : "bondi-gp-medical-centre",
      "name" : "Bondi GP Medical Centre NSW"
    },
    {
      "resourceType" : "Medication",
      "id" : "morphine-01",
      "extension" : [
        {
          "url" : "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name",
          "valueString" : "Sevredol"
        },
        {
          "url" : "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name",
          "valueString" : "morphine sulfate pentahydrate"
        }
      ],
      "identifier" : [
        {
          "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#drugId",
          "value" : "1699"
        },
        {
          "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#drugId",
          "value" : "PHN7QF8T0N12117"
        }
      ],
      "code" : {
        "coding" : [
          {
            "system" : "http://pbs.gov.au/code/item",
            "code" : "8670H"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "2.16.840.1.113883.6.96"
          }
        ],
        "text" : "morphine sulfate pentahydrate"
      },
      "manufacturer" : {
        "identifier" : {
          "system" : "http://pbs.gov.au/code/manufacturer",
          "value" : "MF"
        }
      },
      "form" : {
        "text" : "Tablet"
      },
      "ingredient" : [
        {
          "itemCodeableConcept" : {
            "text" : "morphine"
          },
          "strength" : {
            "numerator" : {
              "value" : 20,
              "unit" : "mg"
            },
            "denominator" : {
              "value" : 1,
              "unit" : "unit"
            }
          }
        }
      ]
    },
    {
      "resourceType" : "MedicationRequest",
      "id" : "medReqDispensed-etp-04",
      "extension" : [
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/supplynumber",
          "valueString" : "1"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/original-pharmacy-approval-number",
          "valueString" : "80452H"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/dispensed-item-description",
          "valueString" : "SEVREDOL 20MG TAB"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/item-status",
          "valueString" : "A"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/script-type",
          "valueString" : "N"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/script-class",
          "valueString" : "N"
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/is-extemp",
          "valueBoolean" : false
        },
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/private-non-switchable",
          "valueBoolean" : false
        }
      ],
      "identifier" : [
        {
          "system" : "http://fhir.medicationknowledge.com.au/StructureDefinition/original-script-number",
          "value" : "13716"
        },
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                "code" : "LPN"
              }
            ],
            "text" : "Local Prescription Number"
          },
          "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#local-script-number",
          "value" : "13716"
        },
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                "code" : "ETP"
              }
            ],
            "text" : "ETP Identifier"
          },
          "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#scid",
          "value" : "10Q73KMN65R5WKYQTA",
          "assigner" : {
            "display" : "eRx Test Prescibing"
          }
        }
      ],
      "status" : "active",
      "intent" : "order",
      "medicationReference" : {
        "reference" : "#morphine-02",
        "display" : "morphine"
      },
      "subject" : {
        "reference" : "#mhr-zhang-wei",
        "identifier" : {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "NI",
                "display" : "National unique individual identifier"
              }
            ],
            "text" : "IHI"
          },
          "system" : "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
          "value" : "8003608000228437"
        }
      },
      "authoredOn" : "2020-07-16T00:00:00.000+10:00",
      "requester" : {
        "reference" : "#nsw-gp"
      },
      "dosageInstruction" : [
        {
          "text" : "Take ONE tablet twice a day"
        }
      ],
      "dispenseRequest" : {
        "quantity" : {
          "value" : 20,
          "unit" : "Tab",
          "system" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
          "code" : "TAB"
        }
      },
      "priorPrescription" : {
        "display" : "21KR32VB29QRGW7815"
      }
    },
    {
      "resourceType" : "Medication",
      "id" : "morphine-02",
      "identifier" : [
        {
          "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#drugId",
          "value" : "PHN7QF8T0N12117"
        }
      ],
      "code" : {
        "coding" : [
          {
            "system" : "http://pbs.gov.au/code/item",
            "code" : "8670H"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "27186011000036107"
          },
          {
            "system" : "http://snomed.info/sct",
            "code" : "12540011000036106"
          }
        ],
        "text" : "morphine"
      },
      "manufacturer" : {
        "identifier" : {
          "system" : "http://pbs.gov.au/code/manufacturer",
          "value" : "MF"
        }
      },
      "form" : {
        "coding" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "385057009",
            "display" : "Film-coated tablet"
          }
        ],
        "text" : "Tablet.FilmCoated"
      },
      "ingredient" : [
        {
          "itemCodeableConcept" : {
            "text" : "morphine"
          },
          "strength" : {
            "numerator" : {
              "value" : 20,
              "unit" : "mg"
            },
            "denominator" : {
              "value" : 1,
              "unit" : "unit"
            }
          }
        }
      ]
    }
  ],
  "extension" : [
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/unusual-qty-flag",
      "valueBoolean" : false
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/schedule-number",
      "valueString" : "8"
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/private-prescription",
      "valueBoolean" : false
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/unusual-dose-flag",
      "valueBoolean" : true
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/controlled-substance-reference",
      "valueString" : "1234567890abcdefgh"
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/is-emergency-supply",
      "valueBoolean" : false
    },
    {
      "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/is-extemp",
      "valueBoolean" : false
    }
  ],
  "identifier" : [
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
            "code" : "ETP"
          }
        ],
        "text" : "ETP Identifier"
      },
      "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#scid",
      "value" : "10Q73KMN65R5WKYQTA",
      "assigner" : {
        "display" : "eRx Test Prescibing"
      }
    },
    {
      "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#authority-script-number",
      "value" : "11"
    },
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
            "code" : "LPN"
          }
        ],
        "text" : "Local Prescription Number"
      },
      "system" : "http://fhir.erx.com.au/NamingSystem/identifiers#local-script-number",
      "value" : "073114478935"
    }
  ],
  "status" : "active",
  "intent" : "order",
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
          "code" : "outpatient"
        }
      ]
    }
  ],
  "medicationReference" : {
    "reference" : "#morphine-01",
    "display" : "morphine sulfate pentahydrate"
  },
  "subject" : {
    "reference" : "#mhr-zhang-wei",
    "identifier" : {
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NI",
            "display" : "National unique individual identifier"
          }
        ],
        "text" : "IHI"
      },
      "system" : "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
      "value" : "8003608000228437"
    }
  },
  "authoredOn" : "2020-07-16T15:10:24.118+10:00",
  "requester" : {
    "reference" : "#nsw-gp",
    "display" : "Crawford, Darlene-eRx Test Prescibing"
  },
  "basedOn" : [
    {
      "reference" : "#medReqDispensed-etp-04"
    }
  ],
  "note" : [
    {
      "extension" : [
        {
          "url" : "http://fhir.medicationknowledge.com.au/StructureDefinition/supplynumber",
          "valueString" : "0"
        }
      ],
      "text" : "for dental treatment only; Twenty"
    }
  ],
  "dosageInstruction" : [
    {
      "sequence" : 1,
      "text" : "1 twice a day",
      "route" : {
        "text" : "Oral"
      }
    }
  ],
  "dispenseRequest" : {
    "validityPeriod" : {
      "end" : "2020-11-16T15:10:24.118+10:00"
    },
    "numberOfRepeatsAllowed" : 2,
    "quantity" : {
      "value" : 20,
      "unit" : "Tab",
      "system" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code" : "TAB"
    },
    "expectedSupplyDuration" : {
      "value" : 20,
      "unit" : "days",
      "system" : "http://unitsofmeasure.org",
      "code" : "d"
    }
  },
  "substitution" : {
    "allowedBoolean" : false
  },
  "priorPrescription" : {
    "display" : "21KR32VB29QRGW7815"
  }
}