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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="ExampleMedicationRequestEps"/>
  <meta>
    <profile value="http://fhir.ehdsi.eu/eps/StructureDefinition/medicationRequest-eps-myhealtheu"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: MedicationRequest ExampleMedicationRequestEps</b></p><a name="ExampleMedicationRequestEps"> </a><a name="hcExampleMedicationRequestEps"> </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-medicationRequest-eps-myhealtheu.html">MedicationRequest: EPS</a></p></div><p><b>identifier</b>: <code>http://example.org/fhir/NamingSystem/prescription-id</code>/RX-001234</p><p><b>status</b>: Active</p><p><b>statusReason</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}">unknown</span></p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href="Medication-1234567890.html">Medication simvastatin</a></p><p><b>subject</b>: <a href="Bundle-BundleExampleEps.html#urn-uuid-1d4bbc93-63b7-4f2b-8f0f-8380aa138f49">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><p><b>authoredOn</b>: 2024-05-15</p><p><b>requester</b>: <a href="Bundle-BundleExampleEps.html#urn-uuid-1d4bbc93-63b7-4f2b-8f0f-8380aa138f49">John Albertus Doe  Male, DoB: 1989-12-12 ( https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin#89121210976 (use: official, ))</a></p><p><b>reasonCode</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}">unknown</span></p><p><b>groupIdentifier</b>: <code>http://example.org/fhir/NamingSystem/group-id</code>/RX-GROUP-98765</p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Take 1 tablet by mouth twice a day for 5 days</p><p><b>timing</b>: Duration 5days , 2 per 1 day</p><p><b>route</b>: <span title="Codes:{http://standardterms.edqm.eu 20053000}">Oral use</span></p><h3>DoseAndRates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Dose[x]</b></td></tr><tr><td style="display: none">*</td><td>1 tablet<span style="background: LightGoldenRodYellow"> (Details: UCUM  code{tbl} = '{tbl}')</span></td></tr></table></blockquote><h3>DispenseRequests</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td></tr><tr><td style="display: none">*</td><td/></tr></table></div>
  </text>
  <identifier>
    <system value="http://example.org/fhir/NamingSystem/prescription-id"/>
    <value value="RX-001234"/>
  </identifier>
  <status value="active"/>
  <statusReason>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-NullFlavor"/>
      <code value="UNK"/>
      <display value="unknown"/>
    </coding>
  </statusReason>
  <intent value="order"/>
  <medicationReference>
    <reference value="Medication/1234567890"/>
  </medicationReference>
  <subject>
    <reference value="urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49"/>
  </subject>
  <authoredOn value="2024-05-15"/>
  <requester>
    <reference value="urn:uuid:1d4bbc93-63b7-4f2b-8f0f-8380aa138f49"/>
  </requester>
  <reasonCode>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-NullFlavor"/>
      <code value="UNK"/>
      <display value="unknown"/>
    </coding>
  </reasonCode>
  <groupIdentifier>
    <system value="http://example.org/fhir/NamingSystem/group-id"/>
    <value value="RX-GROUP-98765"/>
  </groupIdentifier>
  <dosageInstruction>
    <sequence value="1"/>
    <text value="Take 1 tablet by mouth twice a day for 5 days"/>
    <timing>
      <repeat>
        <duration value="5"/>
        <durationUnit value="d"/>
        <frequency value="2"/>
        <period value="1"/>
        <periodUnit value="d"/>
      </repeat>
    </timing>
    <route>
      <coding>
        <system value="http://standardterms.edqm.eu"/>
        <code value="20053000"/>
        <display value="Oral use"/>
      </coding>
    </route>
    <doseAndRate>
      <doseQuantity>
        <value value="1"/>
        <unit value="tablet"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="{tbl}"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <extension url="https://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medicationrequest-prescribedQuantity">
      <valueQuantity>
        <value value="13.5"/>
        <unit value="grams per deciliter"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="g/dL"/>
      </valueQuantity>
    </extension>
  </dispenseRequest>
</MedicationRequest>