<?xml version="1.0" encoding="UTF-8"?>

<MedicationRequest xmlns="http://hl7.org/fhir">
  <meta>
    <profile value="https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyMedicationRequest"/>
  </meta>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationRequest NzPharmacyMedicationRequestExample</b></p><a name="NzPharmacyMedicationRequestExample"> </a><a name="hcNzPharmacyMedicationRequestExample"> </a><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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-NzPharmacyMedicationRequest.html">NZ Medication Request</a></p></div><blockquote><p><b>NZePS Endorsement</b></p><ul><li>endorsementType: <span title="Codes:{https://standards.digital.health.nz/ns/nzeps-endorsement-type PSO}">Practitioner Supply Order</span></li><li>endorsementValue: Certified</li></ul></blockquote><p><b>NZePS Funding Category</b>: A1</p><p><b>identifier</b>: <code>https://standards.digital.health.nz/ns/nzeps-prescription-id</code>/RX-2025-00012345 (use: official, ), <code>https://provider-org-name.co.nz/ns/script-number</code>/SCR-001-2025 (use: secondary, )</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title="Codes:{http://snomed.info/sct 322236009}, {https://nzulm.org.nz/nzmt 10037191000116105}">Paracetamol 500mg tablet</span></p><p><b>subject</b>: James Pond (Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-nhi.html" title="NHI number">NHI</a>/ZZZ0008 (use: official, ))</p><p><b>authoredOn</b>: 2025-01-15 10:30:00+1300</p><p><b>requester</b>: Dr Sarah Smith (Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-hpiProvider.html" title="HPI providers">HPIProvider</a>/99ZZSE (use: official, ))</p><p><b>performer</b>: Wellness Pharmacy Auckland (Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-hpiFacility.html" title="HPI facilities">HPIFacility</a>/FZZ999-B (use: official, ))</p><p><b>recorder</b>: Locum Dr Johnson (Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-hpiProvider.html" title="HPI providers">HPIProvider</a>/99ZZLM (use: official, ))</p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Take 1-2 tablets every 4-6 hours as needed. Maximum 8 tablets in 24 hours.</p><p><b>timing</b>: 1-2 per 4-6 hours</p><p><b>route</b>: <span title="Codes:{http://snomed.info/sct 26643006}">Oral route</span></p><h3>DoseAndRates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Dose[x]</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/dose-rate-type ordered}">Ordered</span></td><td>500-1000 mg</td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2025-01-15 --&gt; 2025-04-15</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 100 tablets<span style="background: LightGoldenRodYellow"> (Details: SNOMED CT  code385055001 = '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>30</td><td>days</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-ucum.html">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote></div>
  </text>
  <extension url="https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/nzeps-endorsement">
    <extension url="endorsementType">
      <valueCodeableConcept>
        <coding>
          <system value="https://standards.digital.health.nz/ns/nzeps-endorsement-type"/>
          <code value="PSO"/>
          <display value="Practitioner Supply Order"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension url="endorsementValue">
      <valueString value="Certified"/>
    </extension>
  </extension>
  <extension url="https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/nzeps-funding-category">
    <valueString value="A1"/>
  </extension>
  <identifier>
    <use value="official"/>
    <system value="https://standards.digital.health.nz/ns/nzeps-prescription-id"/>
    <value value="RX-2025-00012345"/>
  </identifier>
  <identifier>
    <use value="secondary"/>
    <system value="https://provider-org-name.co.nz/ns/script-number"/>
    <value value="SCR-001-2025"/>
  </identifier>
  <status value="active"/>
  <intent value="order"/>
  <medicationCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="322236009"/>
      <display value="Paracetamol 500mg tablet"/>
    </coding>
    <coding>
      <system value="https://nzulm.org.nz/nzmt"/>
      <code value="10037191000116105"/>
      <display value="paracetamol 500 mg tablet"/>
    </coding>
    <text value="Paracetamol 500mg tablet"/>
  </medicationCodeableConcept>
  <subject>
    <type value="Patient"/>
    <identifier>
      <use value="official"/>
      <system value="https://standards.digital.health.nz/ns/nhi-id"/>
      <value value="ZZZ0008"/>
    </identifier>
    <display value="James Pond"/>
  </subject>
  <authoredOn value="2025-01-15T10:30:00+13:00"/>
  <requester>
    <type value="Practitioner"/>
    <identifier>
      <use value="official"/>
      <system value="https://standards.digital.health.nz/ns/hpi-person-id"/>
      <value value="99ZZSE"/>
    </identifier>
    <display value="Dr Sarah Smith"/>
  </requester>
  <performer>
    <type value="Organization"/>
    <identifier>
      <use value="official"/>
      <system value="https://standards.digital.health.nz/ns/hpi-facility-id"/>
      <value value="FZZ999-B"/>
    </identifier>
    <display value="Wellness Pharmacy Auckland"/>
  </performer>
  <recorder>
    <type value="Practitioner"/>
    <identifier>
      <use value="official"/>
      <system value="https://standards.digital.health.nz/ns/hpi-person-id"/>
      <value value="99ZZLM"/>
    </identifier>
    <display value="Locum Dr Johnson"/>
  </recorder>
  <dosageInstruction>
    <sequence value="1"/>
    <text value="Take 1-2 tablets every 4-6 hours as needed. Maximum 8 tablets in 24 hours."/>
    <timing>
      <repeat>
        <frequency value="1"/>
        <frequencyMax value="2"/>
        <period value="4"/>
        <periodMax value="6"/>
        <periodUnit value="h"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="26643006"/>
        <display value="Oral route"/>
      </coding>
    </route>
    <doseAndRate>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
          <code value="ordered"/>
          <display value="Ordered"/>
        </coding>
      </type>
      <doseRange>
        <low>
          <value value="500"/>
          <unit value="mg"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="mg"/>
        </low>
        <high>
          <value value="1000"/>
          <unit value="mg"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="mg"/>
        </high>
      </doseRange>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <validityPeriod>
      <start value="2025-01-15"/>
      <end value="2025-04-15"/>
    </validityPeriod>
    <numberOfRepeatsAllowed value="2"/>
    <quantity>
      <value value="100"/>
      <unit value="tablets"/>
      <system value="http://snomed.info/sct"/>
      <code value="385055001"/>
    </quantity>
    <expectedSupplyDuration>
      <value value="30"/>
      <unit value="days"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="d"/>
    </expectedSupplyDuration>
  </dispenseRequest>
</MedicationRequest>