QI-Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0: STU6 (v6.0.0)) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: MedicationAdministration Cumulative Duration example - XML Representation

Raw xml | Download



  <!-- 
This example MedicationAdministration models QDM Medication, Administered. Cooking with CQL session 53 discusses how to calculate cumulative medication duration:
https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Cooking%20With%20CQL/53/CumulativeMedicationDurationFHIR.cql

The cumulative medication duration in this example would be calculated as:
startDate + therapeuticDuration
startDate + 14 days

The therapeuticDuration is likely measure specific, though could potentially be established for
any drug and distributed as a CodeSystem supplement.
It is defaulted to 14 days in the CumulativeMedicationDurationFHIR4.cql library

See the QDM to QI-Core mapping for details regarding QDM data attribute representation in FHIR.
http://hl7.org/fhir/us/qicore/qdm-to-qicore.html
 -->
<MedicationAdministration xmlns="http://hl7.org/fhir">
  <id value="cmd-example"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: MedicationAdministration</b><a name="cmd-example"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource MedicationAdministration &quot;cmd-example&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-medicationadministration.html">QICore MedicationAdministration</a></p></div><p><b>status</b>: completed</p><p><b>medication</b>: <a href="Medication-example.html">Medication/example</a></p><p><b>subject</b>: <a href="Patient-example.html">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>context</b>: <a href="Encounter-example.html">Encounter/example</a></p><p><b>supportingInformation</b>: <a href="Condition-example.html">Condition/example</a></p><p><b>effective</b>: 2015-01-15 14:30:00+0100 --&gt; 2015-01-29 14:30:00+0100</p><p><b>request</b>: <a href="MedicationRequest-example.html">MedicationRequest/example</a></p><h3>Dosages</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Route</b></td><td><b>Dose</b></td></tr><tr><td style="display: none">*</td><td>Intravenous route (qualifier value) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#47625008)</span></td><td>3 mg<span style="background: LightGoldenRodYellow"> (Details: UCUM code mg = 'mg')</span></td></tr></table></div>
  </text>
  <status value="completed"/>
  <medicationReference>🔗 
    <reference value="Medication/example"/>
  </medicationReference>
  <subject>🔗 
    <reference value="Patient/example"/>
  </subject>
  <context>🔗 
    <reference value="Encounter/example"/>
  </context>
  <supportingInformation>🔗 
    <reference value="Condition/example"/>
  </supportingInformation>
  <effectivePeriod>
    <start value="2015-01-15T14:30:00+01:00"/>
    <end value="2015-01-29T14:30:00+01:00"/>
  </effectivePeriod>
  <request>🔗 
    <reference value="MedicationRequest/example"/>
  </request>
  <dosage>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="47625008"/>
        <display value="Intravenous route (qualifier value)"/>
      </coding>
    </route>
    <dose>
      <value value="3"/>
      <unit value="mg"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mg"/>
    </dose>
  </dosage>
</MedicationAdministration>