{
  "resourceType" : "MedicationRequest",
  "meta" : {
    "profile" : ["https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/NzPharmacyMedicationRequest"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<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\u00a0(use:\u00a0official,\u00a0), <code>https://provider-org-name.co.nz/ns/script-number</code>/SCR-001-2025\u00a0(use:\u00a0secondary,\u00a0)</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\u00a0(use:\u00a0official,\u00a0))</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\u00a0(use:\u00a0official,\u00a0))</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\u00a0(use:\u00a0official,\u00a0))</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\u00a0(use:\u00a0official,\u00a0))</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>"
  },
  "extension" : [{
    "extension" : [{
      "url" : "endorsementType",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "https://standards.digital.health.nz/ns/nzeps-endorsement-type",
          "code" : "PSO",
          "display" : "Practitioner Supply Order"
        }]
      }
    },
    {
      "url" : "endorsementValue",
      "valueString" : "Certified"
    }],
    "url" : "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/nzeps-endorsement"
  },
  {
    "url" : "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/nzeps-funding-category",
    "valueString" : "A1"
  }],
  "identifier" : [{
    "use" : "official",
    "system" : "https://standards.digital.health.nz/ns/nzeps-prescription-id",
    "value" : "RX-2025-00012345"
  },
  {
    "use" : "secondary",
    "system" : "https://provider-org-name.co.nz/ns/script-number",
    "value" : "SCR-001-2025"
  }],
  "status" : "active",
  "intent" : "order",
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "322236009",
      "display" : "Paracetamol 500mg tablet"
    },
    {
      "system" : "https://nzulm.org.nz/nzmt",
      "code" : "10037191000116105",
      "display" : "paracetamol 500 mg tablet"
    }],
    "text" : "Paracetamol 500mg tablet"
  },
  "subject" : {
    "type" : "Patient",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/nhi-id",
      "value" : "ZZZ0008"
    },
    "display" : "James Pond"
  },
  "authoredOn" : "2025-01-15T10:30:00+13:00",
  "requester" : {
    "type" : "Practitioner",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/hpi-person-id",
      "value" : "99ZZSE"
    },
    "display" : "Dr Sarah Smith"
  },
  "performer" : {
    "type" : "Organization",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/hpi-facility-id",
      "value" : "FZZ999-B"
    },
    "display" : "Wellness Pharmacy Auckland"
  },
  "recorder" : {
    "type" : "Practitioner",
    "identifier" : {
      "use" : "official",
      "system" : "https://standards.digital.health.nz/ns/hpi-person-id",
      "value" : "99ZZLM"
    },
    "display" : "Locum Dr Johnson"
  },
  "dosageInstruction" : [{
    "sequence" : 1,
    "text" : "Take 1-2 tablets every 4-6 hours as needed. Maximum 8 tablets in 24 hours.",
    "timing" : {
      "repeat" : {
        "frequency" : 1,
        "frequencyMax" : 2,
        "period" : 4,
        "periodMax" : 6,
        "periodUnit" : "h"
      }
    },
    "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"
        }]
      },
      "doseRange" : {
        "low" : {
          "value" : 500,
          "unit" : "mg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mg"
        },
        "high" : {
          "value" : 1000,
          "unit" : "mg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mg"
        }
      }
    }]
  }],
  "dispenseRequest" : {
    "validityPeriod" : {
      "start" : "2025-01-15",
      "end" : "2025-04-15"
    },
    "numberOfRepeatsAllowed" : 2,
    "quantity" : {
      "value" : 100,
      "unit" : "tablets",
      "system" : "http://snomed.info/sct",
      "code" : "385055001"
    },
    "expectedSupplyDuration" : {
      "value" : 30,
      "unit" : "days",
      "system" : "http://unitsofmeasure.org",
      "code" : "d"
    }
  }
}