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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="medrx0343a"/>
  <contained>
    <Medication>
      <id value="med0343a"/>
      <code>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="1179448000"/>
          <display value="Product containing precisely ondansetron 4 milligram/1 each conventional release oral lyophilisate (clinical drug)"/>
        </coding>
      </code>
    </Medication>
  </contained>
  <identifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/portal/prescriptions"/>
    <value value="98765"/>
  </identifier>
  <groupIdentifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/portal/prescriptions"/>
    <value value="9898"/>
  </groupIdentifier>
  <status value="active"/>
  <intent value="option"/>
  <medication>
    <reference>
      <reference value="#med0343a"/>
      <display value="Ondansetron 4mg Tablet"/>
    </reference>
  </medication>
  <subject>
    <!--  Linked to the resource patient who needs the medication  -->
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/>
  </subject>
  <authoredOn value="2015-01-15"/>
  <requester>
    <!--  Linked to the practitioner who treats patient  -->
    <reference value="Practitioner/f007"/>
    <display value="Patrick Pump"/>
  </requester>
  <dosageInstruction>
    <simple>
      <text value="One tablet (4mg) orally twice daily as needed for nausea"/>
      <timing>
        <repeat>
          <frequency value="2"/>
          <period value="1"/>
          <periodUnit value="d"/>
        </repeat>
      </timing>
      <asNeededFor>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="16932000"/>
          <display value="Nausea and Vomiting"/>
        </coding>
      </asNeededFor>
      <route>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="78421000"/>
          <display value="Intramuscular Route"/>
        </coding>
      </route>
      <doseAndRate>
        <doseQuantity>
          <value value="4"/>
          <unit value="mg"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="mg"/>
        </doseQuantity>
      </doseAndRate>
    </simple>
  </dosageInstruction>
</MedicationRequest>