<MedicationOrder xmlns="http://hl7.org/fhir">
  <id value="core-examples-MedicationOrder-example4" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-09-08T11:38:00.742+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>: medrx002</p>
      <p>
        <b>identifier</b>: 12345 (OFFICIAL)</p>
      <p>
        <b>dateWritten</b>: 01/03/2015</p>
      <p>
        <b>status</b>: active</p>
      <p>
        <b>patient</b>: <a>Eve Everywoman</a></p>
      <p>
        <b>prescriber</b>: <a>Patricia Primary</a></p>
      <p>
        <b>encounter</b>: <a>encounter who leads to this prescription</a></p>
      <p>
        <b>reason</b>: Osteoporosis <span>(Details : {SNOMED CT code '64859006' = '64859006', given as 'Osteoporosis'})</span></p>
      <p>
        <b>medication</b>: <a>prescribed medication</a></p>
      <h3>DosageInstructions</h3>
      <table>
        <tr>
          <td>-</td>
          <td>
            <b>Text</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>Take one tablet daily as directed</td>
        </tr>
      </table>
    </div>
  </text>
  <identifier>
    <use value="official" />
    <system value="http://www.bmc.nl/portal/prescriptions" />
    <value value="12345" />
  </identifier>
  <dateWritten value="2015-03-01" />
  <status value="active" />
  <patient>
    <reference value="Patient/f001" />
    <display value="Eve Everywoman" />
  </patient>
  <prescriber>
    <reference value="Practitioner/f007" />
    <display value="Patricia Primary" />
  </prescriber>
  <encounter>
    <reference value="Encounter/f002" />
    <display value="encounter who leads to this prescription" />
  </encounter>
  <reasonCodeableConcept>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="64859006" />
      <display value="Osteoporosis" />
    </coding>
  </reasonCodeableConcept>
  <medicationReference>
    <reference value="Medication/MedicationExample5" />
    <display value="prescribed medication" />
  </medicationReference>
  <dosageInstruction>
    <text value="Take one tablet daily as directed" />
  </dosageInstruction>
</MedicationOrder>