QI-Core Implementation Guide
7.0.0-ballot - STU7 Ballot United States of America flag

This page is part of the Quality Improvement Core Framework (v7.0.0-ballot: STU7 (v7.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 6.0.0. For a full list of available versions, see the Directory of published versions

: MedicationDispense example - JSON Representation

Raw json | Download


{
  "resourceType" : "MedicationDispense",
  "id" : "example",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-example.html\">Medication alemtuzumab 10 MG/ML [Lemtrada]</a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number\u00a0(use:\u00a0usual,\u00a0period:\u00a02001-05-06 --&gt; (ongoing)))</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-example.html\">Practitioner Adam Careful </a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication alemtuzumab 10 MG/ML [Lemtrada]; authoredOn = 2015-03-25 19:32:52-0500</a></p><p><b>quantity</b>: 100 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codeml = 'ml')</span></p><p><b>daysSupply</b>: 30 Day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2012-05-30 16:20:00+0000</p><p><b>whenHandedOver</b>: 2012-05-31 10:20:00+0000</p><p><b>destination</b>: <a href=\"Location-example.html\">Location South Wing, second floor</a></p><p><b>receiver</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Medical record number\u00a0(use:\u00a0usual,\u00a0period:\u00a02001-05-06 --&gt; (ongoing)))</a></p><blockquote><p><b>dosageInstruction</b></p></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">No substitution occurred or is permitted.</span></td></tr></table></div>"
  },
  "extension" : [
    //  Extension was removed in R4, not clear where this should appear...
  <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
    <valueInteger value="0"/>
  </extension>
	
    //  Extension was removed in R4, not clear where this should appear...
  <extension url="http://hl7.org/fhir/StructureDefinition/medicationdispense-validityPeriod">
    <valuePeriod>
      <start value="2012-05-30"/>
      <end value="2012-06-10"/>
    </valuePeriod>
  </extension>
	
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.recorded",
      "valueDateTime" : "2017-01-17"
    }
  ],
  "status" : "completed",
  "medicationReference" : {
    🔗 "reference" : "Medication/example"
  },
  "subject" : {
    🔗 "reference" : "Patient/example"
  },
  "performer" : [
    {
      "actor" : {
        🔗 "reference" : "Practitioner/example"
      }
    }
  ],
  "authorizingPrescription" : [
    {
      🔗 "reference" : "MedicationRequest/example"
    }
  ],
  "quantity" : {
    "value" : 100,
    "unit" : "ml",
    "system" : "http://unitsofmeasure.org",
    "code" : "ml"
  },
  "daysSupply" : {
    "value" : 30,
    "unit" : "Day",
    "system" : "http://unitsofmeasure.org",
    "code" : "d"
  },
  "whenPrepared" : "2012-05-30T16:20:00+00:00",
  "whenHandedOver" : "2012-05-31T10:20:00+00:00",
  "destination" : {
    🔗 "reference" : "Location/example"
  },
  "receiver" : [
    {
      🔗 "reference" : "Patient/example"
    }
  ],
  "dosageInstruction" : [
    {
      "timing" : //  Extension removed in R4, not clear where this should appear now...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver">
      <valueDuration>
        <value value="1"/>
        <unit value="min"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="min"/>
      </valueDuration>
    </extension>
		
      //  Extension removed in R4, not clear where this should appear now...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod">
      <valueRatio>
        <numerator>
          <value value="15"/>
          <unit value="ml"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="ml"/>
        </numerator>
        <denominator>
          <value value="1"/>
          <unit value="day"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="day"/>
        </denominator>
      </valueRatio>
    </extension>
		
      //  Extension removed in R4, not clear where this should appear now...
    <extension url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume">
      <valueQuantity>
        <value value="15"/>
        <unit value="ml"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="ml"/>
      </valueQuantity>
    </extension>
		
      {
        "repeat" : {
          "frequency" : 3,
          "period" : 1,
          "periodUnit" : "d"
        }
      },
      "route" : {
        "coding" : [
          {
            "system" : "http://snomed.info/sct",
            "code" : "394899003",
            "display" : "oral administration of treatment"
          }
        ]
      },
      "doseAndRate" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code" : "ordered",
                "display" : "Ordered"
              }
            ]
          },
          "doseQuantity" : {
            "value" : 5,
            "unit" : "ml",
            "system" : "http://unitsofmeasure.org",
            "code" : "ml"
          }
        }
      ]
    }
  ],
  "substitution" : {
    "wasSubstituted" : false,
    "type" : {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",
          "code" : "N",
          "display" : "none"
        }
      ],
      "text" : "No substitution occurred or is permitted."
    }
  }
}