<MedicationOrder xmlns="http://hl7.org/fhir">
  <id value="core-examples-MedicationOrder-example20" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-09-08T11:58:25.224+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: medrx005</p>
      <p>
        <b>identifier</b>: 12345 (OFFICIAL)</p>
      <p>
        <b>dateWritten</b>: 15/01/2015</p>
      <p>
        <b>status</b>: active</p>
      <p>
        <b>patient</b>: <a>Eve Everywoman</a></p>
      <p>
        <b>prescriber</b>: <a>Patrick Pump</a></p>
      <p>
        <b>encounter</b>: <a>encounter who leads to this priscription</a></p>
      <p>
        <b>reason</b>: Otitis Media <span>(Details : {SNOMED CT code '65363002' = '65363002', given as 'Otitis Media'})</span></p>
      <p>
        <b>medication</b>: <a>prescribed medication</a></p>
      <blockquote>
        <p>
          <b>dosageInstruction</b>
        </p>
        <p>
          <b>text</b>: Take two capsules to start</p>
        <p>
          <b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p>
        <p>
          <b>timing</b>: Events: 15/01/2015, Duration 1days, Do Once per 1 days</p>
        <p>
          <b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p>
        <p>
          <b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p>
        <p>
          <b>dose</b>: 2 CAP<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code CAP = 'Capsule')</span></p>
      </blockquote>
      <blockquote>
        <p>
          <b>dosageInstruction</b>
        </p>
        <p>
          <b>text</b>: Take one capsule three times daily</p>
        <p>
          <b>additionalInstructions</b>: With or after food <span>(Details : {SNOMED CT code '311504000' = '311504000', given as 'With or after food'})</span></p>
        <p>
          <b>timing</b>: Events: 15/01/2015, Duration 11days, Do 2 per 1 days</p>
        <p>
          <b>site</b>: Entire oral cavity <span>(Details : {SNOMED CT code '181220002' = '181220002', given as 'Entire oral cavity'})</span></p>
        <p>
          <b>route</b>: Oral Route <span>(Details : {SNOMED CT code '26643006' = '26643006', given as 'Oral Route'})</span></p>
        <p>
          <b>dose</b>: 1 CAP<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code CAP = 'Capsule')</span></p>
      </blockquote>
    </div>
  </text>
  <identifier>
    <use value="official" />
    <system value="http://www.bmc.nl/portal/prescriptions" />
    <value value="12345" />
  </identifier>
  <dateWritten value="2015-01-15" />
  <status value="active" />
  <patient>
    <reference value="Patient/f001" />
    <display value="Eve Everywoman" />
  </patient>
  <prescriber>
    <reference value="Practitioner/f007" />
    <display value="Patrick Pump" />
  </prescriber>
  <encounter>
    <reference value="Encounter/f002" />
    <display value="encounter who leads to this priscription" />
  </encounter>
  <reasonCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="65363002" />
      <display value="Otitis Media" />
    </coding>
  </reasonCodeableConcept>
  <medicationReference>
    <reference value="Medication/MedicationExample6" />
    <display value="prescribed medication" />
  </medicationReference>
  <dosageInstruction>
    <text value="Take two capsules to start" />
    <additionalInstructions>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="311504000" />
        <display value="With or after food" />
      </coding>
    </additionalInstructions>
    <timing>
      <event value="2015-01-15" />
      <repeat>
        <duration value="1" />
        <durationUnits value="d" />
        <frequency value="1" />
        <period value="1" />
        <periodUnits value="d" />
      </repeat>
    </timing>
    <siteCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="181220002" />
        <display value="Entire oral cavity" />
      </coding>
    </siteCodeableConcept>
    <route>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="26643006" />
        <display value="Oral Route" />
      </coding>
    </route>
    <doseQuantity>
      <value value="2" />
      <system value="http://hl7.org/fhir/v3/orderableDrugForm" />
      <code value="CAP" />
    </doseQuantity>
  </dosageInstruction>
  <dosageInstruction>
    <text value="Take one capsule three times daily" />
    <additionalInstructions>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="311504000" />
        <display value="With or after food" />
      </coding>
    </additionalInstructions>
    <timing>
      <event value="2015-01-15" />
      <repeat>
        <duration value="11" />
        <durationUnits value="d" />
        <frequency value="2" />
        <period value="1" />
        <periodUnits value="d" />
      </repeat>
    </timing>
    <siteCodeableConcept>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="181220002" />
        <display value="Entire oral cavity" />
      </coding>
    </siteCodeableConcept>
    <route>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="26643006" />
        <display value="Oral Route" />
      </coding>
    </route>
    <doseQuantity>
      <value value="1" />
      <system value="http://hl7.org/fhir/v3/orderableDrugForm" />
      <code value="CAP" />
    </doseQuantity>
  </dosageInstruction>
</MedicationOrder>