FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions

: Immunization Transforms: R3 to R2 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="Immunization3to2"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/Immunization3to2'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Immunization3to2'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Immunization Transforms: R3 to R2'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/3.0/Immunization<span style="color: navy">&quot; </span><b>alias </b>Immunization <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/1.0/Immunization<span style="color: navy">&quot; </span><b>alias </b>ImmunizationR2 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to2<span style="color: navy">&quot;
</span>
<b>group </b>Immunization<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>Immunization, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ImmunizationR2<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier <i>&quot;Immunization-identifier&quot;</i><span style="color: navy">;</span>
  src.status<span style="color: navy"><b> -&gt; </b></span>tgt.status <i>&quot;Immunization-status&quot;</i><span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date <i>&quot;Immunization-date&quot;</i><span style="color: navy">;</span>
  src.vaccineCode<span style="color: navy"><b> -&gt; </b></span>tgt.vaccineCode <i>&quot;Immunization-vaccineCode&quot;</i><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient <i>&quot;Immunization-patient&quot;</i><span style="color: navy">;</span>
  src.notGiven<span style="color: navy"><b> -&gt; </b></span>tgt.wasNotGiven <i>&quot;Immunization-wasNotGiven&quot;</i><span style="color: navy">;</span>
  src.practitioner<b> as </b><span style="color: maroon">v</span><b> where </b>v.role.coding.code.contains('AP')<b> then</b><span style="color: navy"> {
</span>    v.actor<span style="color: navy"><b> -&gt; </b></span>tgt.performer <i>&quot;Immunization-performer-inner&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;Immunization-performer&quot;</i><span style="color: navy">;</span>
  src.practitioner<b> as </b><span style="color: maroon">v</span><b> where </b>v.role.coding.code.contains('OP')<b> then</b><span style="color: navy"> {
</span>    v.actor<span style="color: navy"><b> -&gt; </b></span>tgt.requester <i>&quot;Immunization-requester-inner&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;Immunization-requester&quot;</i><span style="color: navy">;</span>
  src.encounter<span style="color: navy"><b> -&gt; </b></span>tgt.encounter <i>&quot;Immunization-encounter&quot;</i><span style="color: navy">;</span>
  src.manufacturer<span style="color: navy"><b> -&gt; </b></span>tgt.manufacturer <i>&quot;Immunization-manufacturer&quot;</i><span style="color: navy">;</span>
  src.location<span style="color: navy"><b> -&gt; </b></span>tgt.location <i>&quot;Immunization-location&quot;</i><span style="color: navy">;</span>
  src.lotNumber<span style="color: navy"><b> -&gt; </b></span>tgt.lotNumber <i>&quot;Immunization-lotNumber&quot;</i><span style="color: navy">;</span>
  src.expirationDate<span style="color: navy"><b> -&gt; </b></span>tgt.expirationDate <i>&quot;Immunization-expirationDate&quot;</i><span style="color: navy">;</span>
  src.site<span style="color: navy"><b> -&gt; </b></span>tgt.site <i>&quot;Immunization-site&quot;</i><span style="color: navy">;</span>
  src.route<span style="color: navy"><b> -&gt; </b></span>tgt.route <i>&quot;Immunization-route&quot;</i><span style="color: navy">;</span>
  src.doseQuantity<span style="color: navy"><b> -&gt; </b></span>tgt.doseQuantity <i>&quot;Immunization-doseQuantity&quot;</i><span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note <i>&quot;Immunization-note&quot;</i><span style="color: navy">;</span>
  src.explanation<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.explanation<b> as </b><span style="color: maroon">vt0</span><b> then </b>immExplanation<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;Immunization-explanation&quot;</i><span style="color: navy">;</span>
  src.reaction<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.reaction<b> as </b><span style="color: maroon">vt0</span><b> then </b>immReaction<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;Immunization-reaction&quot;</i><span style="color: navy">;</span>
  src.vaccinationProtocol<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -&gt; </b></span>tgt.vaccinationProtocol<b> as </b><span style="color: maroon">vt0</span><b> then </b>immProtocol<span style="color: navy">(</span><span style="color: maroon">vs0</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">)</span> <i>&quot;Immunization-vaccinationProtocol&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>immExplanation<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.reason<span style="color: navy"><b> -&gt; </b></span>tgt.reason <i>&quot;explanation-reason&quot;</i><span style="color: navy">;</span>
  src.reasonNotGiven<span style="color: navy"><b> -&gt; </b></span>tgt.reasonNotGiven <i>&quot;explanation-reasonNotGiven&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>immReaction<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date <i>&quot;reaction-date&quot;</i><span style="color: navy">;</span>
  src.detail<span style="color: navy"><b> -&gt; </b></span>tgt.detail <i>&quot;reaction-detail&quot;</i><span style="color: navy">;</span>
  src.reported<span style="color: navy"><b> -&gt; </b></span>tgt.reported <i>&quot;reaction-reported&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>immProtocol<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.doseSequence<span style="color: navy"><b> -&gt; </b></span>tgt.doseSequence <i>&quot;vaccinationProtocol-doseSequence&quot;</i><span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description <i>&quot;vaccinationProtocol-description&quot;</i><span style="color: navy">;</span>
  src.authority<span style="color: navy"><b> -&gt; </b></span>tgt.authority <i>&quot;vaccinationProtocol-authority&quot;</i><span style="color: navy">;</span>
  src.series<span style="color: navy"><b> -&gt; </b></span>tgt.series <i>&quot;vaccinationProtocol-series&quot;</i><span style="color: navy">;</span>
  src.seriesDoses<span style="color: navy"><b> -&gt; </b></span>tgt.seriesDoses <i>&quot;vaccinationProtocol-seriesDoses&quot;</i><span style="color: navy">;</span>
  src.targetDisease<span style="color: navy"><b> -&gt; </b></span>tgt.targetDisease <i>&quot;vaccinationProtocol-targetDisease&quot;</i><span style="color: navy">;</span>
  src.doseStatus<span style="color: navy"><b> -&gt; </b></span>tgt.doseStatus <i>&quot;vaccinationProtocol-doseStatus&quot;</i><span style="color: navy">;</span>
  src.doseStatusReason<span style="color: navy"><b> -&gt; </b></span>tgt.doseStatusReason <i>&quot;vaccinationProtocol-doseStatusReason&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/Immunization3to2"/>
  <version value="0.1.0"/>
  <name value="Immunization3to2"/>
  <title value="Immunization Transforms: R3 to R2"/>
  <status value="active"/>
  <date value="2024-02-22T03:16:50+00:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="ImmunizationTransformsR3toR2"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/3.0/Immunization"/>
    <mode value="source"/>
    <alias value="Immunization"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/1.0/Immunization"/>
    <mode value="target"/>
    <alias value="ImmunizationR2"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*3to2"/>
  <group>
    <name value="Immunization"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="Immunization"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ImmunizationR2"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="Immunization-identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-vaccineCode"/>
      <source>
        <context value="src"/>
        <element value="vaccineCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="vaccineCode"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patient"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-wasNotGiven"/>
      <source>
        <context value="src"/>
        <element value="notGiven"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="wasNotGiven"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-performer"/>
      <source>
        <context value="src"/>
        <element value="practitioner"/>
        <variable value="v"/>
        <condition value="v.role.coding.code.contains('AP')"/>
      </source>
      <rule>
        <name value="Immunization-performer-inner"/>
        <source>
          <context value="v"/>
          <element value="actor"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="tgt"/>
          <element value="performer"/>
          <variable value="vvv"/>
          <transform value="create"/>
        </target>
        <dependent>
          <name value="DefaultMappingGroupAnonymousAlias"/>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
        </dependent>
      </rule>
    </rule>
    <rule>
      <name value="Immunization-requester"/>
      <source>
        <context value="src"/>
        <element value="practitioner"/>
        <variable value="v"/>
        <condition value="v.role.coding.code.contains('OP')"/>
      </source>
      <rule>
        <name value="Immunization-requester-inner"/>
        <source>
          <context value="v"/>
          <element value="actor"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="tgt"/>
          <element value="requester"/>
          <variable value="vvv"/>
          <transform value="create"/>
        </target>
        <dependent>
          <name value="DefaultMappingGroupAnonymousAlias"/>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
        </dependent>
      </rule>
    </rule>
    <rule>
      <name value="Immunization-encounter"/>
      <source>
        <context value="src"/>
        <element value="encounter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="encounter"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-manufacturer"/>
      <source>
        <context value="src"/>
        <element value="manufacturer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="manufacturer"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-location"/>
      <source>
        <context value="src"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-lotNumber"/>
      <source>
        <context value="src"/>
        <element value="lotNumber"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lotNumber"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-expirationDate"/>
      <source>
        <context value="src"/>
        <element value="expirationDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expirationDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-site"/>
      <source>
        <context value="src"/>
        <element value="site"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="site"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-route"/>
      <source>
        <context value="src"/>
        <element value="route"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="route"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-doseQuantity"/>
      <source>
        <context value="src"/>
        <element value="doseQuantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="doseQuantity"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-explanation"/>
      <source>
        <context value="src"/>
        <element value="explanation"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="explanation"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="immExplanation"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-reaction"/>
      <source>
        <context value="src"/>
        <element value="reaction"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reaction"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="immReaction"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="Immunization-vaccinationProtocol"/>
      <source>
        <context value="src"/>
        <element value="vaccinationProtocol"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="vaccinationProtocol"/>
        <variable value="vt0"/>
      </target>
      <dependent>
        <name value="immProtocol"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="immExplanation"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="explanation-reason"/>
      <source>
        <context value="src"/>
        <element value="reason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reason"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="explanation-reasonNotGiven"/>
      <source>
        <context value="src"/>
        <element value="reasonNotGiven"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reasonNotGiven"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="immReaction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="reaction-date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reaction-detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reaction-reported"/>
      <source>
        <context value="src"/>
        <element value="reported"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reported"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="immProtocol"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="vaccinationProtocol-doseSequence"/>
      <source>
        <context value="src"/>
        <element value="doseSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="doseSequence"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-authority"/>
      <source>
        <context value="src"/>
        <element value="authority"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="authority"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-series"/>
      <source>
        <context value="src"/>
        <element value="series"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="series"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-seriesDoses"/>
      <source>
        <context value="src"/>
        <element value="seriesDoses"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="seriesDoses"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-targetDisease"/>
      <source>
        <context value="src"/>
        <element value="targetDisease"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="targetDisease"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-doseStatus"/>
      <source>
        <context value="src"/>
        <element value="doseStatus"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="doseStatus"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="vaccinationProtocol-doseStatusReason"/>
      <source>
        <context value="src"/>
        <element value="doseStatusReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="doseStatusReason"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>