This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Profile qicore-medicationadministration


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="qicore-medicationadministration"/>
  <url
       value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationadministration"/>
  <name value="Profile qicore-medicationadministration"/>
  <status value="draft"/>
  <publisher
             value="Health Level Seven International (Clinical Quality Information - QICore)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/special/committees/CQI"/>
    </telecom>
  </contact>
  <date value="2015-02-27"/>
  <mapping>
    <identity value="qdm"/>
    <uri value="http://www.healthit.gov/quality-data-model"/>
    <name value="Quality Data Model"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="MedicationAdministration"/>
  <baseDefinition
                  value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="MedicationAdministration:qicore-medicationadministration">
      <path value="MedicationAdministration"/>
      <name value="QICore-MedicationAdministration"/>
      <short value="Administration of medication to a patient"/>
      <definition
                  value="Describes the event of a patient consuming or otherwise being administered a medication.  This may be as simple as swallowing a tablet or it may be a long running infusion.  Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner."/>
      <comments
                value="The WG will be updating the MedicationAdministration resource  to adjust each affected resource to align with the workflow pattern (see workflow.html)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression
                    value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath
               value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression
                    value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
        <xpath
               value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
      </constraint>
      <constraint>
        <key value="mad-2"/>
        <severity value="error"/>
        <human value="Reason not given is only permitted if wasNotGiven is true"/>
        <expression value="reasonNotGiven.empty() or wasNotGiven = true"/>
        <xpath
               value="not(exists(f:reasonNotGiven) and f:wasNotGiven/@value=false())"/>
      </constraint>
      <constraint>
        <key value="mad-3"/>
        <severity value="error"/>
        <human value="Reason given is only permitted if wasNotGiven is false"/>
        <expression
                    value="reasonGiven.empty() or wasNotGiven.empty() or wasNotGiven = 'false'"/>
        <xpath
               value="not(exists(f:reasonGiven) and f:wasNotGiven/@value=true())"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="SubstanceAdministration"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.medication"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="Medication, Administered"/>
      </mapping>
    </element>
    <element id="MedicationAdministration:qicore-medicationadministration.id">
      <path value="MedicationAdministration.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comments
                value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="MedicationAdministration:qicore-medicationadministration.meta">
      <path value="MedicationAdministration.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.implicitRules">
      <path value="MedicationAdministration.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
      <comments
                value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.language">
      <path value="MedicationAdministration.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comments
                value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="MedicationAdministration:qicore-medicationadministration.text">
      <path value="MedicationAdministration.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition
                  value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comments
                value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.contained">
      <path value="MedicationAdministration.contained"/>
      <short value="Contained, inline Resources"/>
      <definition
                  value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
      <comments
                value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.extension">
      <path value="MedicationAdministration.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.modifierExtension">
      <path value="MedicationAdministration.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.identifier">
      <path value="MedicationAdministration.identifier"/>
      <short value="External identifier"/>
      <definition
                  value="External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource.  The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event.  Particularly important if these records have to be updated."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.status">
      <path value="MedicationAdministration.status"/>
      <short
             value="in-progress | on-hold | completed | entered-in-error | stopped"/>
      <definition
                  value="Will generally be set to show that the administration has been completed.  For some long running administrations such as infusions it is possible for an administration to be started but not completed or it may be paused while some other process is under way."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <description
                     value="A set of codes indicating the current status of a MedicationAdministration."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/medication-admin-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-20-Completion Status"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.medication[x]">
      <path value="MedicationAdministration.medication[x]"/>
      <short value="What was administered"/>
      <definition
                  value="Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications."/>
      <comments
                value="If only a code is specified, then it needs to be a code for a specific product.  If more information is required, then the use of the medication resource is recommended.  Note: do not use Medication.name to describe the administered medication. When the only available information is a text description of the medication, Medication.code.text should be used."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.medication[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medication"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="preferred"/>
        <description value="The set of RxNorm codes to represent medications"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/daf/ValueSet/daf-medication-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-5-Administered Code"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Consumeable->AdministerableMedication"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="primary code"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.patient">
      <path value="MedicationAdministration.patient"/>
      <short value="Who received medication"/>
      <definition value="The person or animal receiving the medication."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3-Patient ID List"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="subject->Patient"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.encounter">
      <path value="MedicationAdministration.encounter"/>
      <short
             value="An interaction during which services are provided to the patient"/>
      <definition
                  value="An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient."/>
      <alias value="Visit"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Encounter[@moodCode='EVN']"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="workflow.encounter"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="Encounter, Active or Performed"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.effectiveTime[x]">
      <path value="MedicationAdministration.effectiveTime[x]"/>
      <short value="Start and end time of administration"/>
      <definition
                  value="A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.effectiveTime[x]"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <type>
        <code value="Period"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map
             value="RXA-3-Date/Time Start of Administration / RXA-4-Date/Time End of Administration"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.done"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="start and stop datetime"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.performer">
      <path value="MedicationAdministration.performer"/>
      <short value="Who administered substance"/>
      <definition
                  value="The individual who was responsible for giving the medication to the patient."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.performer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-relatedperson"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map
             value="RXA-10-Administering Provider / PRT-5-Participation Person: PRT-4-Participation='AP' (RXA-10 is deprecated)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="performer->Role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.prescription">
      <path value="MedicationAdministration.prescription"/>
      <short value="Order administration performed against"/>
      <definition
                  value="The original request, instruction or authority to perform the administration."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.prescription"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-2-Placer Order Number / ORC-3-Filler Order Number"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="InFullfillmentOf->SubstanceAdministration"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.wasNotGiven">
      <path value="MedicationAdministration.wasNotGiven"/>
      <short value="True if medication not administered"/>
      <definition
                  value="Set this to true if the record is saying that the medication was NOT administered."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.wasNotGiven"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <meaningWhenMissing
                          value="If this is missing, then the medication was administered"/>
      <mustSupport value="true"/>
      <isModifier value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-20-Completion Status='NA'"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="actionNegationInd"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="negation rationale"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.reasonNotGiven">
      <path value="MedicationAdministration.reasonNotGiven"/>
      <short value="Reason administration not performed"/>
      <definition
                  value="A code indicating why the administration was not performed."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.reasonNotGiven"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <condition value="mad-2"/>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description
                     value="A set of codes indicating the reason why the MedicationAdministration is negated."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map
             value="RXA-9-Administration Notes / RXA-18 Substance/Treatment Refusal Reason"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Reason->Observation->Value"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="negation rationale"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.reasonGiven">
      <path value="MedicationAdministration.reasonGiven"/>
      <short value="Reason administration performed"/>
      <definition value="A code indicating why the medication was given."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.reasonGiven"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <condition value="mad-3"/>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description
                     value="A set of codes indicating the reason why the MedicationAdministration was made."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/reason-medication-given-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXE-27 Give Indication"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=". reasonCode"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="reason"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.device">
      <path value="MedicationAdministration.device"/>
      <short value="Item used in healthcare"/>
      <definition
                  value="This resource identifies an instance or a type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.  Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health.  Non-medical devices may include items such as a machine, cellphone, computer, application, etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.device"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="udi"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Device"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="administrative.device"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="Device, Applied or Order or Recommended"/>
      </mapping>
    </element>
    <element id="MedicationAdministration:qicore-medicationadministration.note">
      <path value="MedicationAdministration.note"/>
      <short value="Information about the administration"/>
      <definition
                  value="Extra information about the medication administration that is not conveyed by the other attributes."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.note"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Annotation"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map
             value=".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage">
      <path value="MedicationAdministration.dosage"/>
      <short value="Details of how medication was taken"/>
      <definition
                  value="Describes the medication dosage information details e.g. dose, rate, site, route, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="mad-1"/>
        <severity value="error"/>
        <human value="SHALL have at least one of dosage.dose and dosage.rate[x]"/>
        <expression value="dose.exists() or rate.exists()"/>
        <xpath
               value="exists(f:dose) or exists(f:rateRatio) or exists(f:rateRange)"/>
      </constraint>
      <mustSupport value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="component->SubstanceAdministrationEvent"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.id">
      <path value="MedicationAdministration.dosage.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.extension">
      <path value="MedicationAdministration.dosage.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.modifierExtension">
      <path value="MedicationAdministration.dosage.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.text">
      <path value="MedicationAdministration.dosage.text"/>
      <short value="Free text dosage instructions e.g. SIG"/>
      <definition
                  value="Free text dosage can be used for cases where the dosage administered is too complex to code. When coded dosage is present, the free text dosage may still be present for display to humans.  The dosage instructions should reflect the dosage of the medication that was administered."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".text"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.site[x]">
      <path value="MedicationAdministration.dosage.site[x]"/>
      <short value="Body site administered to"/>
      <definition
                  value="A coded specification of the anatomic site where the medication first entered the body.  For example, "left arm"."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.site[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/BodySite"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="A coded concept describing the site location the medicine enters into or onto the body."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/approach-site-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map
             value="RXR-2 Administration Site / RXR-6 Administration Site Modifier"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="approachSiteCode"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.route">
      <path value="MedicationAdministration.dosage.route"/>
      <short value="Path of substance into body"/>
      <definition
                  value="A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient.  For example, topical, intravenous, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.route"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <binding>
        <strength value="example"/>
        <description
                     value="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/route-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-1-Route"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="routeCode"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="route"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.method">
      <path value="MedicationAdministration.dosage.method"/>
      <short value="How drug was administered"/>
      <definition
                  value="A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.  This attribute will most often NOT be populated.  It is most commonly used for injections.  For example, Slow Push, Deep IV."/>
      <comments
                value="One of the reasons this attribute is not used often, is that the method is often pre-coordinated with the route and/or form of administration.  This means the codes used in route or form may pre-coordinate the method in the route code or the form code.  The implementation decision about what coding system to use for route or form code will determine how frequently the method code will be populated e.g. if route or form code pre-coordinate method code, then this attribute will not be populated often; if there is no pre-coordination then method code may  be used frequently."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.method"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="A coded concept describing the technique by which the medicine is administered."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/administration-method-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-4-Administration Method"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="methodCode"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.dose">
      <path value="MedicationAdministration.dosage.dose"/>
      <short value="Amount of medication per dose"/>
      <definition
                  value="The amount of the medication given at one administration event.   Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection."/>
      <comments
                value="If the administration is not instantaneous (rate is present), this can be specified to convey the total amount administered over period of time of a single administration."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.dose"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-6 Administered Amount / RXA-7 Administered Units"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="doseQuantity"/>
      </mapping>
      <mapping>
        <identity value="qdm"/>
        <map value="dose"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.rate[x]">
      <path value="MedicationAdministration.dosage.rate[x]"/>
      <short value="Dose quantity per unit of time"/>
      <definition
                  value="Identifies the speed with which the medication was or will be introduced into the patient.  Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.  Other examples:  200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours."/>
      <comments
                value="If the rate changes over time, and you want to capture this in MedicationAdministration, then each change should be captured as a distinct MedicationAdministration, with a specific MedicationAdministration.dosage.rate, and the date time when the rate change occurred. Typically, the MedicationAdministration.dosage.rate element is not used to convey an average rate."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.dosage.rate[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Ratio"/>
      </type>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-12-Administered Per (Time Unit)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="rateQuantity"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory">
      <path value="MedicationAdministration.eventHistory"/>
      <short value="A list of events of interest in the lifecycle"/>
      <definition
                  value="A summary of the events of interest that have occurred, such as when the administration was verified."/>
      <comments
                value="This is not the same as an audit trail. It is a view of the important things that happened in the past. Typically, there would only be one entry for any given status, and systems may not record all the status events."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="MedicationAdministration.eventHistory"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.id">
      <path value="MedicationAdministration.eventHistory.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.extension">
      <path value="MedicationAdministration.eventHistory.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.modifierExtension">
      <path value="MedicationAdministration.eventHistory.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comments
                value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.status">
      <path value="MedicationAdministration.eventHistory.status"/>
      <short
             value="in-progress | on-hold | completed | entered-in-error | stopped"/>
      <definition value="The status for the event."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.eventHistory.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description
                     value="A set of codes indicating the current status of a MedicationAdministration."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/medication-admin-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.action">
      <path value="MedicationAdministration.eventHistory.action"/>
      <short value="Action taken (e.g. verify)"/>
      <definition value="The action that was taken (e.g. verify)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.eventHistory.action"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="A coded concept describing an action taken on a medication administration."/>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.dateTime">
      <path value="MedicationAdministration.eventHistory.dateTime"/>
      <short value="The date at which the event happened"/>
      <definition value="The date/time at which the event occurred."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.eventHistory.dateTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.actor">
      <path value="MedicationAdministration.eventHistory.actor"/>
      <short value="Who took the action"/>
      <definition value="The person responsible for taking the action."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.eventHistory.actor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.eventHistory.reason">
      <path value="MedicationAdministration.eventHistory.reason"/>
      <short value="Reason the action was taken"/>
      <definition value="The reason why the action was taken."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="MedicationAdministration.eventHistory.reason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description
                     value="A coded concept describing the reason for an action taken on a medication administration."/>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="Not Mapped"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="MedicationAdministration:qicore-medicationadministration">
      <path value="MedicationAdministration"/>
      <name value="QICore-MedicationAdministration"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="Medication, Administered"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.status">
      <path value="MedicationAdministration.status"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.medication[x]">
      <path value="MedicationAdministration.medication[x]"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medication"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <strength value="preferred"/>
        <description value="The set of RxNorm codes to represent medications"/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/daf/ValueSet/daf-medication-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="qdm"/>
        <map value="primary code"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.patient">
      <path value="MedicationAdministration.patient"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.encounter">
      <path value="MedicationAdministration.encounter"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-encounter"/>
      </type>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.effectiveTime[x]">
      <path value="MedicationAdministration.effectiveTime[x]"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="start and stop datetime"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.performer">
      <path value="MedicationAdministration.performer"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-practitioner"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-patient"/>
      </type>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-relatedperson"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.prescription">
      <path value="MedicationAdministration.prescription"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.wasNotGiven">
      <path value="MedicationAdministration.wasNotGiven"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="negation rationale"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.reasonNotGiven">
      <path value="MedicationAdministration.reasonNotGiven"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="negation rationale"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.reasonGiven">
      <path value="MedicationAdministration.reasonGiven"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="reason"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.device">
      <path value="MedicationAdministration.device"/>
      <type>
        <code value="Reference"/>
        <profile
                 value="http://hl7.org/fhir/qicore/StructureDefinition/qicore-device"/>
      </type>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage">
      <path value="MedicationAdministration.dosage"/>
      <mustSupport value="false"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.route">
      <path value="MedicationAdministration.dosage.route"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="route"/>
      </mapping>
    </element>
    <element
             id="MedicationAdministration:qicore-medicationadministration.dosage.dose">
      <path value="MedicationAdministration.dosage.dose"/>
      <mustSupport value="true"/>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="qdm"/>
        <map value="dose"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>