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

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="medrx0316"/>
  <contained>
    <Medication>
      <id value="med0306"/>
      <code>
        <coding>
          <system value="http://hl7.org/fhir/sid/ndc"/>
          <code value="51144-050-01"/>
          <display value="ADCETRIS, 1 VIAL, SINGLE-DOSE in 1 BOX (51144-050-01) &gt; 10.5 mL in 1 VIAL, SINGLE-DOSE (package)"/>
        </coding>
        <text value="Adcetris"/>
      </code>
      <doseForm>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="421637006"/>
          <display value="Lyophilised powder for conventional release solution for injection"/>
        </coding>
      </doseForm>
      <instance>
        <lotNumber value="12345"/>
        <expirationDate value="2019-10-31"/>
      </instance>
    </Medication>
  </contained>
  <identifier>
    <use value="official"/>
    <system value="http://www.bmc.nl/portal/prescriptions"/>
    <value value="12345689"/>
  </identifier>
  <status value="completed"/>
  <intent value="order"/>
  <medication>
    <!-- Linked to a RESOURCE Medication -->
    <reference>
      <reference value="#med0306"/>
    </reference>
  </medication>
  <subject>
    <!-- Linked to the resource patient who needs the medication -->
    <reference value="Patient/pat1"/>
    <display value="Donald Duck"/>
  </subject>
  <encounter>
    <!-- Linked to a resource Encounter between patient and practitioner -->
    <reference value="Encounter/f001"/>
    <display value="encounter who leads to this prescription"/>
  </encounter>
  <authoredOn value="2015-01-15"/>
  <requester>
    <reference value="Practitioner/f007"/>
    <display value="Patrick Pump"/>
  </requester>
  <dosageInstruction>
    <step>
      <component>
        <text value="1.8 mg/kg IV infusion over 20 minutes every 3 weeks for 16 cycles"/>
        <timing>
          <repeat>
            <count value="16"/>
            <frequency value="1"/>
            <period value="3"/>
            <periodUnit value="wk"/>
          </repeat>
        </timing>
        <route>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="255560000"/>
            <display value="Intravenous"/>
          </coding>
        </route>
        <doseAndRate>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/dose-rate-type"/>
              <code value="ordered"/>
              <display value="Ordered"/>
            </coding>
          </type>
          <doseQuantity>
            <value value="1.8"/>
            <unit value="mg/kg"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mg/kg"/>
          </doseQuantity>
          <rateRatio>
            <numerator>
              <value value="1.8"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mg/kg"/>
            </numerator>
            <denominator>
              <value value="20"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="min"/>
            </denominator>
          </rateRatio>
        </doseAndRate>
        <safety>
          <doseLimit>
            <valueQuantity>
              <value value="400"/>
              <unit value="mg"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mg"/>
            </valueQuantity>
            <scope value="administration"/>
          </doseLimit>
        </safety>
      </component>
    </step>
  </dosageInstruction>
</MedicationRequest>