FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.9.374  |  FHIR Version 1.0.2  | User: ANONYMOUS (Unknown)  

Resource "Immunization" Version "1" (StructureDefinition)

Tags:

XML or JSON representation. Try out the Profile as a questionnaire based web form . Edit this as XML or JSON. provenance for this resource

Generated Narrative with Details

Exception generating Narrative: Attempt to access unknown value "extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm]" from map ngen


<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Immunization"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-11-06T21:38:01.720Z"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b style="color: maroon">Exception generating Narrative: Attempt to access unknown value "extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm]" from map ngen</b>
      </p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/>
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
  <name value="Immunization"/>
  <status value="draft"/>
  <publisher value="Health Level Seven International (Public Health and Emergency Response)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://www.hl7.org/Special/committees/pher/index.cfm"/>
    </telecom>
  </contact>
  <date value="2015-10-24T07:41:03+11:00"/>
  <description value="Base StructureDefinition for Immunization Resource"/>
  <fhirVersion value="1.0.2"/>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <mapping>
    <identity value="cda"/>
    <uri value="http://hl7.org/v3/cda"/>
    <name value="CDA (R2)"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <base value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
  <snapshot>
    <element>
      <path value="Immunization"/>
      <short value="Immunization event information"/>
      <definition value="Describes the event of a patient being administered a vaccination or a record of a vaccination as reported by a patient, a clinician or another party and may include vaccine reaction information and what vaccination protocol was followed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="DomainResource"/>
      </type>
      <constraint>
        <key value="imm-2"/>
        <severity value="error"/>
        <human value="If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent."/>
        <xpath value="not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))"/>
      </constraint>
      <constraint>
        <key value="imm-1"/>
        <severity value="error"/>
        <human value="If immunization was not administred (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present"/>
        <xpath value="not(f:wasNotGiven/@value=true() and (count(f:reaction) &gt; 0 or exists(f:explanation/f:reason)))"/>
      </constraint>
      <mapping>
        <identity value="v2"/>
        <map value="VXU_V04"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="SubstanceAdministration"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.medication"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.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. Bundles always have an id, though it is usually a generated UUID."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element>
      <path value="Immunization.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"/>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element>
      <path value="Immunization.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"/>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element>
      <path value="Immunization.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"/>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <description value="A human language."/>
        <valueSetUri value="http://tools.ietf.org/html/bcp47"/>
      </binding>
    </element>
    <element>
      <path value="Immunization.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 &quot;clinically safe&quot; 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."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.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="*"/>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.identifier"/>
      <short value="Business identifier"/>
      <definition value="A unique identifier assigned to this immunization record."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.status"/>
      <short value="in-progress | on-hold | completed | entered-in-error | stopped"/>
      <definition value="Indicates the current status of the vaccination event."/>
      <comments value="Will generally be set to show that the immunization has been completed."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <description value="A set of codes indicating the current status of an Immunization"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-admin-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.date"/>
      <short value="Vaccination administration date"/>
      <definition value="Date vaccine administered or was to be administered."/>
      <comments value="When immunizations are given a specific date and time should always be known. When immunizations are patient reported, a specific date might not be known. &#xA0;Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.init"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccineCode"/>
      <short value="Vaccine product administered"/>
      <definition value="Vaccine that was administered or was to be administered."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The code for vaccine product administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccine-code"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.patient"/>
      <short value="Who was immunized"/>
      <definition value="The patient who either received or did not receive the immunization."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".partipication[ttypeCode=].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.wasNotGiven"/>
      <short value="Flag for whether immunization was given"/>
      <definition value="Indicates if the vaccination was or was not given."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=true].reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reported"/>
      <short value="Indicates a self-reported record"/>
      <definition value="True if this administration was reported rather than directly administered."/>
      <comments value="May need source of reported info (e.g. parent), but leave out for now."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-9"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.performer"/>
      <short value="Who administered vaccine"/>
      <definition value="Clinician who administered the vaccine."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-10"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=PRF].COCT_MT090102UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.requester"/>
      <short value="Who ordered vaccination"/>
      <definition value="Clinician who ordered the vaccination."/>
      <comments value="Other participants - delegate to Provenance resource."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-12"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.encounter"/>
      <short value="Encounter administered as part of"/>
      <definition value="The visit or admission or other contact between patient and health care provider the immunization was performed as part of."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="PV1-19"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="component-&gt;EncounterEvent"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.manufacturer"/>
      <short value="Vaccine manufacturer"/>
      <definition value="Name of vaccine manufacturer."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-17"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.location"/>
      <short value="Where vaccination occurred"/>
      <definition value="The service delivery location where the vaccine administration occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-27 (or RXA-11, deprecated as of v2.7)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=LOC].COCT_MT240000UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.lotNumber"/>
      <short value="Vaccine lot number"/>
      <definition value="Lot number of the vaccine product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-15"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.expirationDate"/>
      <short value="Vaccine expiration date"/>
      <definition value="Date vaccine batch expires."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-16"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.site"/>
      <short value="Body site vaccine was administered"/>
      <definition value="Body site where vaccine was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The site at which the vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-site"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="observation.targetSiteCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.route"/>
      <short value="How vaccine entered body"/>
      <definition value="The path by which the vaccine product is taken into the body."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The route by which the vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-route"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".routeCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.doseQuantity"/>
      <short value="Amount of vaccine administered"/>
      <definition value="The quantity of vaccine product that was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-6 / RXA-7.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".doseQuantity"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.note"/>
      <short value="Vaccination notes"/>
      <definition value="Extra information about the immunization that is not conveyed by the other attributes."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="note"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation"/>
      <short value="Administration/non-administration reasons"/>
      <definition value="Reasons why a vaccine was or was not administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.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)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="id"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.reason"/>
      <short value="Why immunization occurred"/>
      <definition value="Reasons why a vaccine was administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason why a vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=false].reasonCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.reasonNotGiven"/>
      <short value="Why immunization did not occur"/>
      <definition value="Reason why a vaccine was not administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason why a vaccine was not administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/no-immunization-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-18"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=true].reasonCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction"/>
      <short value="Details of a reaction that follows immunization"/>
      <definition value="Categorical data indicating that an adverse event is associated in time to an immunization."/>
      <comments value="A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new [[[AllergyIntolerance]]] resource instance as most systems will not query against past Immunization.reaction elements."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Observation[classCode=obs].code"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.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)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="id"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.date"/>
      <short value="When reaction started"/>
      <definition value="Date of reaction to the immunization."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.detail"/>
      <short value="Additional information on reaction"/>
      <definition value="Details of the reaction."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".value"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.reported"/>
      <short value="Indicates self-reported reaction"/>
      <definition value="Self-reported indicator."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="(no such concept seems to exist for allergy/adverse reaction in HL7 v2)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol"/>
      <short value="What protocol was followed"/>
      <definition value="Contains information about the protocol(s) under which the vaccine was administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="(HL7 v2 doesn&apos;t seem to provide for this)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.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)."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="id"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.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="*"/>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseSequence"/>
      <short value="Dose number within series"/>
      <definition value="Nominal position in a series."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.description"/>
      <short value="Details of vaccine protocol"/>
      <definition value="Contains the description about the protocol under which the vaccine was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.authority"/>
      <short value="Who is responsible for protocol"/>
      <definition value="Indicates the authority who published the protocol. E.g. ACIP."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.series"/>
      <short value="Name of vaccine series"/>
      <definition value="One possible path to achieve presumed immunity against a disease - within the context of an authority."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.seriesDoses"/>
      <short value="Recommended number of doses for immunity"/>
      <definition value="The recommended number of doses to achieve immunity."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.targetDisease"/>
      <short value="Disease immunized against"/>
      <definition value="The targeted disease."/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The disease target of the vaccination protocol"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship.target[classCode=OBS].code"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseStatus"/>
      <short value="Indicates if dose counts towards immunity"/>
      <definition value="Indicates if the immunization event should &quot;count&quot; against the protocol."/>
      <comments value="May need to differentiate between status declarations by a provider vs. a CDS engine."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The status of the vaccination protocol (i.e. should this count)"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseStatusReason"/>
      <short value="Why dose does (not) count"/>
      <definition value="Provides an explanation as to why an immunization event should or should not count against the protocol."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason for the determining if a vaccination should count or why vaccination should not count."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Immunization"/>
      <short value="Immunization event information"/>
      <definition value="Describes the event of a patient being administered a vaccination or a record of a vaccination as reported by a patient, a clinician or another party and may include vaccine reaction information and what vaccination protocol was followed."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="DomainResource"/>
      </type>
      <constraint>
        <key value="imm-2"/>
        <severity value="error"/>
        <human value="If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent."/>
        <xpath value="not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))"/>
      </constraint>
      <constraint>
        <key value="imm-1"/>
        <severity value="error"/>
        <human value="If immunization was not administred (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present"/>
        <xpath value="not(f:wasNotGiven/@value=true() and (count(f:reaction) &gt; 0 or exists(f:explanation/f:reason)))"/>
      </constraint>
      <mapping>
        <identity value="v2"/>
        <map value="VXU_V04"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="SubstanceAdministration"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="clinical.medication"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.identifier"/>
      <short value="Business identifier"/>
      <definition value="A unique identifier assigned to this immunization record."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Identifier"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.status"/>
      <short value="in-progress | on-hold | completed | entered-in-error | stopped"/>
      <definition value="Indicates the current status of the vaccination event."/>
      <comments value="Will generally be set to show that the immunization has been completed."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <binding>
        <strength value="required"/>
        <description value="A set of codes indicating the current status of an Immunization"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/medication-admin-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.date"/>
      <short value="Vaccination administration date"/>
      <definition value="Date vaccine administered or was to be administered."/>
      <comments value="When immunizations are given a specific date and time should always be known. When immunizations are patient reported, a specific date might not be known. &#xA0;Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="when.init"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccineCode"/>
      <short value="Vaccine product administered"/>
      <definition value="Vaccine that was administered or was to be administered."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The code for vaccine product administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccine-code"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="what"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.patient"/>
      <short value="Who was immunized"/>
      <definition value="The patient who either received or did not receive the immunization."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="PID-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".partipication[ttypeCode=].role"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.focus"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.wasNotGiven"/>
      <short value="Flag for whether immunization was given"/>
      <definition value="Indicates if the vaccination was or was not given."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=true].reasonCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reported"/>
      <short value="Indicates a self-reported record"/>
      <definition value="True if this administration was reported rather than directly administered."/>
      <comments value="May need source of reported info (e.g. parent), but leave out for now."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-9"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.source"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.performer"/>
      <short value="Who administered vaccine"/>
      <definition value="Clinician who administered the vaccine."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-10"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=PRF].COCT_MT090102UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.actor"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.requester"/>
      <short value="Who ordered vaccination"/>
      <definition value="Clinician who ordered the vaccination."/>
      <comments value="Other participants - delegate to Provenance resource."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="ORC-12"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="who.cause"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.encounter"/>
      <short value="Encounter administered as part of"/>
      <definition value="The visit or admission or other contact between patient and health care provider the immunization was performed as part of."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="PV1-19"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="component-&gt;EncounterEvent"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="context"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.manufacturer"/>
      <short value="Vaccine manufacturer"/>
      <definition value="Name of vaccine manufacturer."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-17"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.location"/>
      <short value="Where vaccination occurred"/>
      <definition value="The service delivery location where the vaccine administration occurred."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-27 (or RXA-11, deprecated as of v2.7)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=LOC].COCT_MT240000UV"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.lotNumber"/>
      <short value="Vaccine lot number"/>
      <definition value="Lot number of the vaccine product."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-15"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.expirationDate"/>
      <short value="Vaccine expiration date"/>
      <definition value="Date vaccine batch expires."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-16"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.site"/>
      <short value="Body site vaccine was administered"/>
      <definition value="Body site where vaccine was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The site at which the vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-site"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-2"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="observation.targetSiteCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.route"/>
      <short value="How vaccine entered body"/>
      <definition value="The path by which the vaccine product is taken into the body."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The route by which the vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-route"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="cda"/>
        <map value="ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="RXR-1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".routeCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.doseQuantity"/>
      <short value="Amount of vaccine administered"/>
      <definition value="The quantity of vaccine product that was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Quantity"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-6 / RXA-7.1"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".doseQuantity"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.note"/>
      <short value="Vaccination notes"/>
      <definition value="Extra information about the immunization that is not conveyed by the other attributes."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="Annotation"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="note"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation"/>
      <short value="Administration/non-administration reasons"/>
      <definition value="Reasons why a vaccine was or was not administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.reason"/>
      <short value="Why immunization occurred"/>
      <definition value="Reasons why a vaccine was administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason why a vaccine was administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/immunization-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=false].reasonCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.explanation.reasonNotGiven"/>
      <short value="Why immunization did not occur"/>
      <definition value="Reason why a vaccine was not administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason why a vaccine was not administered"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/no-immunization-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2"/>
        <map value="RXA-18"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="[actionNegationInd=true].reasonCode"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction"/>
      <short value="Details of a reaction that follows immunization"/>
      <definition value="Categorical data indicating that an adverse event is associated in time to an immunization."/>
      <comments value="A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new [[[AllergyIntolerance]]] resource instance as most systems will not query against past Immunization.reaction elements."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-3"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="Observation[classCode=obs].code"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.date"/>
      <short value="When reaction started"/>
      <definition value="Date of reaction to the immunization."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.detail"/>
      <short value="Additional information on reaction"/>
      <definition value="Details of the reaction."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="OBX-5"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".value"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.reaction.reported"/>
      <short value="Indicates self-reported reaction"/>
      <definition value="Self-reported indicator."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="(no such concept seems to exist for allergy/adverse reaction in HL7 v2)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol"/>
      <short value="What protocol was followed"/>
      <definition value="Contains information about the protocol(s) under which the vaccine was administered."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="v2"/>
        <map value="(HL7 v2 doesn&apos;t seem to provide for this)"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseSequence"/>
      <short value="Dose number within series"/>
      <definition value="Nominal position in a series."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.description"/>
      <short value="Details of vaccine protocol"/>
      <definition value="Contains the description about the protocol under which the vaccine was administered."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.authority"/>
      <short value="Who is responsible for protocol"/>
      <definition value="Indicates the authority who published the protocol. E.g. ACIP."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Reference"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.series"/>
      <short value="Name of vaccine series"/>
      <definition value="One possible path to achieve presumed immunity against a disease - within the context of an authority."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM]"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.seriesDoses"/>
      <short value="Recommended number of doses for immunity"/>
      <definition value="The recommended number of doses to achieve immunity."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="positiveInt"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.targetDisease"/>
      <short value="Disease immunized against"/>
      <definition value="The targeted disease."/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The disease target of the vaccination protocol"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value="outboundRelationship.target[classCode=OBS].code"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseStatus"/>
      <short value="Indicates if dose counts towards immunity"/>
      <definition value="Indicates if the immunization event should &quot;count&quot; against the protocol."/>
      <comments value="May need to differentiate between status declarations by a provider vs. a CDS engine."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The status of the vaccination protocol (i.e. should this count)"/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value"/>
      </mapping>
    </element>
    <element>
      <path value="Immunization.vaccinationProtocol.doseStatusReason"/>
      <short value="Why dose does (not) count"/>
      <definition value="Provides an explanation as to why an immunization event should or should not count against the protocol."/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <strength value="example"/>
        <description value="The reason for the determining if a vaccination should count or why vaccination should not count."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>