This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

4.11.6 Resource MedicationDispense - Examples

Example Index:

Example of medicationdispenseXMLJSON

4.11.6.1 General

XML

Example of medicationdispense (id = "example")

Raw XML

<MedicationDispense xmlns="http://hl7.org/fhir">
  <!--   insert contents here   -->
   <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Penicillin VK 10ml suspension</p>
      <p>dispensed 16:20 on 30 May 2012</p>
      <p>by Dr Carfeful</p>
      <p>picked up at 10:20 on 31 May 2012</p>
      <p>on the authority of prescription ref: example</p>
      <p>to patient ref: a23</p>
    </div>
  </text>  
  
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <dispenser>
    <reference value="Practitioner/example"/>
  </dispenser>
  <authorizingPrescription>
    <reference value="MedicationPrescription/example"/>
  </authorizingPrescription>
  <dispense>
    <status value="completed"/>  
    <quantity>
      <value value="10"/>
      <units value="ml"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="ml"/>
    </quantity>
    <medication>
      <reference value="Medication/example"/>
    </medication>
    <whenPrepared value="2012-05-30T16:20:00"/>
    <whenHandedOver value="2012-05-31T10:20:00"/>
  </dispense>
  <substitution>
    <type>
      <coding>
        <system value="./MedDispSubType"/>
        <code value="NoSub"/>
        <display value="No substitution made or expected"/>
      </coding>
    </type>
  </substitution>  
  
</MedicationDispense>

JSON

Example of medicationdispense

{
  "resourceType": "MedicationDispense",
  "text": {
    "status": "generated",
    "div": "<div>\n      <p>Penicillin VK 10ml suspension</p>\n      <p>dispensed 16:20 on 30 May 2012</p>\n      <p>by Dr Carfeful</p>\n      <p>picked up at 10:20 on 31 May 2012</p>\n      <p>on the authority of prescription ref: example</p>\n      <p>to patient ref: a23</p>\n    </div>"
  },
  "patient": {
    "reference": "Patient/example"
  },
  "dispenser": {
    "reference": "Practitioner/example"
  },
  "authorizingPrescription": [
    {
      "reference": "MedicationPrescription/example"
    }
  ],
  "dispense": [
    {
      "status": "completed",
      "quantity": {
        "value": 10,
        "units": "ml",
        "system": "http://unitsofmeasure.org",
        "code": "ml"
      },
      "medication": {
        "reference": "Medication/example"
      },
      "whenPrepared": "2012-05-30T16:20:00",
      "whenHandedOver": "2012-05-31T10:20:00"
    }
  ],
  "substitution": {
    "type": {
      "coding": [
        {
          "system": "./MedDispSubType",
          "code": "NoSub",
          "display": "No substitution made or expected"
        }
      ]
    }
  }
}

comments powered by Disqus