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
Page standards status: Draft | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="Immunization4to3"/>
<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">'hImmunization4to3 Transforms: R4 to R3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Immunization4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'R4 to R3 Conversion for Immunization'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/Immunization<span style="color: navy">" </span><b>alias </b>Immunization <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/Immunization<span style="color: navy">" </span><b>alias </b>ImmunizationR3 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4to3<span style="color: navy">"
</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>ImmunizationR3<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.status<b> where </b>value != 'not-done'<span style="color: navy"><b> -> </b></span>tgt.status<span style="color: navy">;</span>
src.status<b> where </b>value = 'not-done'<span style="color: navy"><b> -> </b></span> tgt.status = <span style="color: blue">'completed'</span><span style="color: navy">, </span> tgt.notGiven = <span style="color: blue">'true'</span><span style="color: navy">;</span>
src.extension<b> as </b><span style="color: maroon">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.notGiven'<b> then</b><span style="color: navy"> {
</span> e.value<span style="color: navy"><b> -> </b></span>tgt.notGiven<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.vaccineCode<span style="color: navy"><b> -> </b></span>tgt.vaccineCode<span style="color: navy">;</span>
src.patient<span style="color: navy"><b> -> </b></span>tgt.patient<span style="color: navy">;</span>
src.encounter<span style="color: navy"><b> -> </b></span>tgt.encounter<span style="color: navy">;</span>
src.occurrence<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.date<b> as </b><span style="color: maroon">vt</span><b> then </b>dateTime<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.primarySource<span style="color: navy"><b> -> </b></span>tgt.primarySource<span style="color: navy">;</span>
src.reportOrigin<span style="color: navy"><b> -> </b></span>tgt.reportOrigin<span style="color: navy">;</span>
src.location<span style="color: navy"><b> -> </b></span>tgt.location<span style="color: navy">;</span>
src.manufacturer<span style="color: navy"><b> -> </b></span>tgt.manufacturer<span style="color: navy">;</span>
src.lotNumber<span style="color: navy"><b> -> </b></span>tgt.lotNumber<span style="color: navy">;</span>
src.expirationDate<span style="color: navy"><b> -> </b></span>tgt.expirationDate<span style="color: navy">;</span>
src.site<span style="color: navy"><b> -> </b></span>tgt.site<span style="color: navy">;</span>
src.route<span style="color: navy"><b> -> </b></span>tgt.route<span style="color: navy">;</span>
src.doseQuantity<span style="color: navy"><b> -> </b></span>tgt.doseQuantity<span style="color: navy">;</span>
src.performer<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.practitioner<b> as </b><span style="color: maroon">vt</span><b> then </b>practitioner<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.note<span style="color: navy"><b> -> </b></span>tgt.note<span style="color: navy">;</span>
src.reasonCode<b> as </b><span style="color: maroon">vs</span><b> where </b>src.status != 'not-done'<span style="color: navy"><b> -> </b></span> tgt.explanation<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.reason = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.reasonCode<b> as </b><span style="color: maroon">vs</span><b> where </b>src.status = 'not-done'<span style="color: navy"><b> -> </b></span> tgt.explanation<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.reasonNotGiven = <span style="color: maroon">vs</span><span style="color: navy">;</span>
src.reaction<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.reaction<b> as </b><span style="color: maroon">vt</span><b> then </b>reaction<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.protocolApplied<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.vaccinationProtocol<b> as </b><span style="color: maroon">vt</span><b> then </b>protocol<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>practitioner<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.function<span style="color: navy"><b> -> </b></span>tgt.role<span style="color: navy">;</span>
src.actor<span style="color: navy"><b> -> </b></span>tgt.actor<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>reaction<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> -> </b></span>tgt.date<span style="color: navy">;</span>
src.detail<span style="color: navy"><b> -> </b></span>tgt.detail<span style="color: navy">;</span>
src.reported<span style="color: navy"><b> -> </b></span>tgt.reported<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>protocol<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.doseNumber<span style="color: navy"> : </span>positiveInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.doseSequence<b> as </b><span style="color: maroon">vt</span><b> then </b>positiveInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.extension<b> as </b><span style="color: maroon">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.description'<b> then</b><span style="color: navy"> {
</span> e.value<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.authority<span style="color: navy"><b> -> </b></span>tgt.authority<span style="color: navy">;</span>
src.series<span style="color: navy"><b> -> </b></span>tgt.series<span style="color: navy">;</span>
src.seriesDoses<span style="color: navy"> : </span>positiveInt<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.seriesDoses<b> as </b><span style="color: maroon">vt</span><b> then </b>positiveInt<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.targetDisease<span style="color: navy"><b> -> </b></span>tgt.targetDisease<span style="color: navy">;</span>
src.extension<b> as </b><span style="color: maroon">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatus'<b> then</b><span style="color: navy"> {
</span> e.value<span style="color: navy"><b> -> </b></span>tgt.doseStatus<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.extension<b> as </b><span style="color: maroon">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatusReason'<b> then</b><span style="color: navy"> {
</span> e.value<span style="color: navy"><b> -> </b></span>tgt.doseStatusReason<span style="color: navy">;</span>
<span style="color: navy">}</span><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="hImmunization4to3 Transforms: R4 to R3"/>
<version value="0.1.0"/>
<name value="Immunization4to3"/>
<title value="R4 to R3 Conversion for Immunization"/>
<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="R4toR3ConversionforImmunization"/>
<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/4.0/Immunization"/>
<mode value="source"/>
<alias value="Immunization"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/3.0/Immunization"/>
<mode value="target"/>
<alias value="ImmunizationR3"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4to3"/>
<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="ImmunizationR3"/>
<mode value="target"/>
</input>
<rule>
<name value="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="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="vvv"/>
<condition value="value != 'not-done'"/>
</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="status"/>
<source>
<context value="src"/>
<element value="status"/>
<condition value="value = 'not-done'"/>
</source>
<target>
<context value="tgt"/>
<element value="status"/>
<transform value="copy"/>
<parameter>
<valueString value="completed"/>
</parameter>
</target>
<target>
<context value="tgt"/>
<element value="notGiven"/>
<transform value="copy"/>
<parameter>
<valueString value="true"/>
</parameter>
</target>
</rule>
<rule>
<name value="extension"/>
<source>
<context value="src"/>
<element value="extension"/>
<variable value="e"/>
<condition
value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.notGiven'"/>
</source>
<rule>
<name value="value"/>
<source>
<context value="e"/>
<element value="value"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="notGiven"/>
<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="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="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="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="occurrenceDateTime"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<element value="occurrence"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="date"/>
<variable value="vt"/>
</target>
<dependent>
<name value="dateTime"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="primarySource"/>
<source>
<context value="src"/>
<element value="primarySource"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="primarySource"/>
<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="reportOrigin"/>
<source>
<context value="src"/>
<element value="reportOrigin"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reportOrigin"/>
<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="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="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="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="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="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="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="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="performer"/>
<source>
<context value="src"/>
<element value="performer"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="practitioner"/>
<variable value="vt"/>
</target>
<dependent>
<name value="practitioner"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="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="reasonCode"/>
<source>
<context value="src"/>
<element value="reasonCode"/>
<variable value="vs"/>
<condition value="src.status != 'not-done'"/>
</source>
<target>
<context value="tgt"/>
<element value="explanation"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="reason"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="reasonCode"/>
<source>
<context value="src"/>
<element value="reasonCode"/>
<variable value="vs"/>
<condition value="src.status = 'not-done'"/>
</source>
<target>
<context value="tgt"/>
<element value="explanation"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="reasonNotGiven"/>
<transform value="copy"/>
<parameter>
<valueId value="vs"/>
</parameter>
</target>
</rule>
<rule>
<name value="reaction"/>
<source>
<context value="src"/>
<element value="reaction"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="reaction"/>
<variable value="vt"/>
</target>
<dependent>
<name value="reaction"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="protocolApplied"/>
<source>
<context value="src"/>
<element value="protocolApplied"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="vaccinationProtocol"/>
<variable value="vt"/>
</target>
<dependent>
<name value="protocol"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="practitioner"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="function"/>
<source>
<context value="src"/>
<element value="function"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="role"/>
<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="actor"/>
<source>
<context value="src"/>
<element value="actor"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="actor"/>
<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="reaction"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="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="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="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="protocol"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="doseNumberPositiveInt"/>
<source>
<context value="src"/>
<type value="positiveInt"/>
<element value="doseNumber"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="doseSequence"/>
<variable value="vt"/>
</target>
<dependent>
<name value="positiveInt"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="extension"/>
<source>
<context value="src"/>
<element value="extension"/>
<variable value="e"/>
<condition
value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.description'"/>
</source>
<rule>
<name value="value"/>
<source>
<context value="e"/>
<element value="value"/>
<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>
<rule>
<name value="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="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="seriesDosesPositiveInt"/>
<source>
<context value="src"/>
<type value="positiveInt"/>
<element value="seriesDoses"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="seriesDoses"/>
<variable value="vt"/>
</target>
<dependent>
<name value="positiveInt"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="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="extension"/>
<source>
<context value="src"/>
<element value="extension"/>
<variable value="e"/>
<condition
value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatus'"/>
</source>
<rule>
<name value="value"/>
<source>
<context value="e"/>
<element value="value"/>
<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>
<rule>
<name value="extension"/>
<source>
<context value="src"/>
<element value="extension"/>
<variable value="e"/>
<condition
value="url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatusReason'"/>
</source>
<rule>
<name value="value"/>
<source>
<context value="e"/>
<element value="value"/>
<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>
</rule>
</group>
</StructureMap>