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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="PrescriptionsExample"/>
  <meta>
    <profile value="http://openhie.org/fhir/sri-lanka/StructureDefinition/medication-request"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: MedicationRequest</b><a name="PrescriptionsExample"> </a></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 MedicationRequest &quot;PrescriptionsExample&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-medication-request.html">Prescription Request</a></p></div><p><b>identifier</b>: Prescription identifier: prescription-12345</p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>medication</b>: Medication <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-cs-medication-name.html">Medication Names</a>#Vitamin-A-&amp;-D)</span></p><p><b>subject</b>: <a href="Patient-HHIMSPatientExample.html">Patient/HHIMSPatientExample</a> &quot; SMITH&quot;</p><p><b>encounter</b>: <a href="Encounter-TargetFacilityEncounterExample.html">Encounter/TargetFacilityEncounterExample</a></p><p><b>authoredOn</b>: 2023-10-11 17:21:33-0800</p><p><b>requester</b>: <a href="Practitioner-GeneralPractitionerExample.html">Practitioner/GeneralPractitionerExample</a> &quot; SMITH&quot;</p><p><b>performer</b>: <a href="Practitioner-GeneralPractitionerExample.html">Practitioner/GeneralPractitionerExample</a> &quot; SMITH&quot;</p><p><b>recorder</b>: <a href="Practitioner-GeneralPractitionerExample.html">Practitioner/GeneralPractitionerExample</a> &quot; SMITH&quot;</p><p><b>note</b>: Additional information regarding the patient's medication prescription (By Organization/OrganizationExample @Oct 12, 2023, 1:21:33 AM)</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Code: BID, Count 2 times, Duration 2days, 2 per 3 days</p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><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>5</td></tr></table></div>
  </text>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="FILL"/>
        <display value="Filler Identifier"/>
      </coding>
      <text value="Prescription identifier"/>
    </type>
    <system value="http://openhie.org/fhir/sri-lanka/identifier/prescription"/>
    <value value="prescription-12345"/>
  </identifier>
  <status value="completed"/>
  <intent value="order"/>
  <medicationCodeableConcept>
    <coding>
      <system value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-medication-name"/>
      <code value="Vitamin-A-&amp;-D"/>
    </coding>
    <text value="Medication"/>
  </medicationCodeableConcept>
  <subject>
    <reference value="Patient/HHIMSPatientExample"/>
  </subject>
  <encounter>
    <reference value="Encounter/TargetFacilityEncounterExample"/>
  </encounter>
  <authoredOn value="2023-10-11T17:21:33-08:00"/>
  <requester>
    <reference value="Practitioner/GeneralPractitionerExample"/>
  </requester>
  <performer>
    <reference value="Practitioner/GeneralPractitionerExample"/>
  </performer>
  <recorder>
    <reference value="Practitioner/GeneralPractitionerExample"/>
  </recorder>
  <note>
    <authorReference>
      <reference value="Organization/OrganizationExample"/>
    </authorReference>
    <time value="2023-10-11T17:21:33-08:00"/>
    <text value="Additional information regarding the patient's medication prescription"/>
  </note>
  <dosageInstruction>
    <timing>
      <repeat>
        <count value="2"/>
        <duration value="2"/>
        <durationUnit value="d"/>
        <frequency value="2"/>
        <period value="3"/>
        <periodUnit value="d"/>
      </repeat>
      <code>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation"/>
          <code value="BID"/>
        </coding>
      </code>
    </timing>
    <doseAndRate>
      <doseQuantity>
        <value value="3"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <quantity>
      <value value="5"/>
    </quantity>
  </dispenseRequest>
</MedicationRequest>