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

: AllergyIntolerance Transforms: R3 to R2 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="AllergyIntolerance3to2"/>
  <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/AllergyIntolerance3to2'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'AllergyIntolerance3to2'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'AllergyIntolerance 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/AllergyIntolerance<span style="color: navy">&quot; </span><b>alias </b>AllergyIntolerance <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/1.0/AllergyIntolerance<span style="color: navy">&quot; </span><b>alias </b>AllergyIntoleranceR2 <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>AllergyIntolerance<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>AllergyIntolerance, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>AllergyIntoleranceR2<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;AllergyIntolerance-identifier&quot;</i><span style="color: navy">;</span>
  src.onset<span style="color: navy"><b> -&gt; </b></span>tgt.onset <i>&quot;AllergyIntolerance-onset&quot;</i><span style="color: navy">;</span>
  src.assertedDate<span style="color: navy"><b> -&gt; </b></span>tgt.recordedDate <i>&quot;AllergyIntolerance-recordedDate&quot;</i><span style="color: navy">;</span>
  src.recorder<span style="color: navy"><b> -&gt; </b></span>tgt.recorder <i>&quot;AllergyIntolerance-recorder&quot;</i><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient <i>&quot;AllergyIntolerance-patient&quot;</i><span style="color: navy">;</span>
  src.asserter<span style="color: navy"><b> -&gt; </b></span>tgt.reporter <i>&quot;AllergyIntolerance-reporter&quot;</i><span style="color: navy">;</span>
  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.substance <i>&quot;AllergyIntolerance-substance&quot;</i><span style="color: navy">;</span>
  src<b> where </b>(src.clinicalStatus = 'active') and src.verificationStatus.empty()<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'active'</span> <i>&quot;AllergyIntolerance-status-active&quot;</i><span style="color: navy">;</span>
  src<b> where </b>(src.clinicalStatus = 'active') and (src.verificationStatus = 'confirmed')<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'confirmed'</span> <i>&quot;AllergyIntolerance-status-unconfirmed&quot;</i><span style="color: navy">;</span>
  src<b> where </b>(src.clinicalStatus = 'active') and (src.verificationStatus = 'unconfirmed')<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'unconfirmed'</span> <i>&quot;AllergyIntolerance-status-confirmed&quot;</i><span style="color: navy">;</span>
  src<b> where </b>src.clinicalStatus = 'inactive'<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'inactive'</span> <i>&quot;AllergyIntolerance-status-inactive&quot;</i><span style="color: navy">;</span>
  src<b> where </b>src.clinicalStatus = 'resolved'<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'resolved'</span> <i>&quot;AllergyIntolerance-status-resolved&quot;</i><span style="color: navy">;</span>
  src<b> where </b>src.verificationStatus = 'refuted'<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'refuted'</span> <i>&quot;AllergyIntolerance-status-refuted&quot;</i><span style="color: navy">;</span>
  src<b> where </b>src.verificationStatus = 'entered-in-error'<span style="color: navy"><b> -&gt; </b></span>tgt.status = <span style="color: blue">'entered-in-error'</span> <i>&quot;AllergyIntolerance-status-entered-in-error&quot;</i><span style="color: navy">;</span>
  src.criticality<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.criticality = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'http://hl7.org/fhir/ConceptMap/AllergyIntolerance.criticality-R3toR2'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span> <i>&quot;AllergyIntolerance-criticality&quot;</i><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type <i>&quot;AllergyIntolerance-type&quot;</i><span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category <i>&quot;AllergyIntolerance-category&quot;</i><span style="color: navy">;</span>
  src.lastOccurrence<span style="color: navy"><b> -&gt; </b></span>tgt.lastOccurence <i>&quot;AllergyIntolerance-lastOccurrence&quot;</i><span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note <i>&quot;AllergyIntolerance-note&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>algReaction<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;AllergyIntolerance-reaction&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>algReaction<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.substance<span style="color: navy"><b> -&gt; </b></span>tgt.substance <i>&quot;reaction-substance&quot;</i><span style="color: navy">;</span>
  src.extension<b> as </b><span style="color: maroon">e</span><b> where </b>e.url = 'http://hl7.org/fhir/AllergyIntolerance-r2-certainty'<span style="color: navy"><b> -&gt; </b></span>tgt.certainty = <span style="color: navy">(</span>e.value<span style="color: navy">)</span> <i>&quot;reaction-certainty&quot;</i><span style="color: navy">;</span>
  src.manifestation<span style="color: navy"><b> -&gt; </b></span>tgt.manifestation <i>&quot;reaction-manifestation&quot;</i><span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description <i>&quot;reaction-description&quot;</i><span style="color: navy">;</span>
  src.onset<span style="color: navy"><b> -&gt; </b></span>tgt.onset <i>&quot;reaction-onset&quot;</i><span style="color: navy">;</span>
  src.severity<span style="color: navy"><b> -&gt; </b></span>tgt.severity <i>&quot;reaction-severity&quot;</i><span style="color: navy">;</span>
  src.exposureRoute<span style="color: navy"><b> -&gt; </b></span>tgt.exposureRoute <i>&quot;reaction-exposureRoute&quot;</i><span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note <i>&quot;reaction-note&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/AllergyIntolerance3to2"/>
  <version value="0.1.0"/>
  <name value="AllergyIntolerance3to2"/>
  <title value="AllergyIntolerance 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="AllergyIntoleranceTransformsR3toR2"/>
  <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/AllergyIntolerance"/>
    <mode value="source"/>
    <alias value="AllergyIntolerance"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/1.0/AllergyIntolerance"/>
    <mode value="target"/>
    <alias value="AllergyIntoleranceR2"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*3to2"/>
  <group>
    <name value="AllergyIntolerance"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="AllergyIntolerance"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="AllergyIntoleranceR2"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="AllergyIntolerance-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="AllergyIntolerance-onset"/>
      <source>
        <context value="src"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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="AllergyIntolerance-recordedDate"/>
      <source>
        <context value="src"/>
        <element value="assertedDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="recordedDate"/>
        <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="AllergyIntolerance-recorder"/>
      <source>
        <context value="src"/>
        <element value="recorder"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="recorder"/>
        <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="AllergyIntolerance-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="AllergyIntolerance-reporter"/>
      <source>
        <context value="src"/>
        <element value="asserter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reporter"/>
        <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="AllergyIntolerance-substance"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="substance"/>
        <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="AllergyIntolerance-status-active"/>
      <source>
        <context value="src"/>
        <condition
                   value="(src.clinicalStatus = 'active') and src.verificationStatus.empty()"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="active"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-unconfirmed"/>
      <source>
        <context value="src"/>
        <condition
                   value="(src.clinicalStatus = 'active') and (src.verificationStatus = 'confirmed')"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="confirmed"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-confirmed"/>
      <source>
        <context value="src"/>
        <condition
                   value="(src.clinicalStatus = 'active') and (src.verificationStatus = 'unconfirmed')"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="unconfirmed"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-inactive"/>
      <source>
        <context value="src"/>
        <condition value="src.clinicalStatus = 'inactive'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="inactive"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-resolved"/>
      <source>
        <context value="src"/>
        <condition value="src.clinicalStatus = 'resolved'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="resolved"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-refuted"/>
      <source>
        <context value="src"/>
        <condition value="src.verificationStatus = 'refuted'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="refuted"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-status-entered-in-error"/>
      <source>
        <context value="src"/>
        <condition value="src.verificationStatus = 'entered-in-error'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="entered-in-error"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-criticality"/>
      <source>
        <context value="src"/>
        <element value="criticality"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="criticality"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString
                       value="http://hl7.org/fhir/ConceptMap/AllergyIntolerance.criticality-R3toR2"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="AllergyIntolerance-type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <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="AllergyIntolerance-category"/>
      <source>
        <context value="src"/>
        <element value="category"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="category"/>
        <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="AllergyIntolerance-lastOccurrence"/>
      <source>
        <context value="src"/>
        <element value="lastOccurrence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lastOccurence"/>
        <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="AllergyIntolerance-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="AllergyIntolerance-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="algReaction"/>
        <parameter>
          <valueId value="vs0"/>
        </parameter>
        <parameter>
          <valueId value="vt0"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="algReaction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="reaction-substance"/>
      <source>
        <context value="src"/>
        <element value="substance"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="substance"/>
        <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-certainty"/>
      <source>
        <context value="src"/>
        <element value="extension"/>
        <variable value="e"/>
        <condition
                   value="e.url = 'http://hl7.org/fhir/AllergyIntolerance-r2-certainty'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="certainty"/>
        <transform value="evaluate"/>
        <parameter>
          <valueString value="e.value"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="reaction-manifestation"/>
      <source>
        <context value="src"/>
        <element value="manifestation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="manifestation"/>
        <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-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="reaction-onset"/>
      <source>
        <context value="src"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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-severity"/>
      <source>
        <context value="src"/>
        <element value="severity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="severity"/>
        <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-exposureRoute"/>
      <source>
        <context value="src"/>
        <element value="exposureRoute"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="exposureRoute"/>
        <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-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>
  </group>
</StructureMap>