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: R4 to R3 - XML Representation

Page standards status: Draft Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="AllergyIntolerance4to3"/>
  <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/AllergyIntolerance4to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'AllergyIntolerance4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'AllergyIntolerance Transforms: R4 to R3'</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/4.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/3.0/AllergyIntolerance<span style="color: navy">&quot; </span><b>alias </b>AllergyIntoleranceR3 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to3<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>AllergyIntoleranceR3<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<span style="color: navy">;</span>
  src.clinicalStatus<b> as </b><span style="color: maroon">vs</span><b> then</b><span style="color: navy"> {
</span>    vs.coding<b> as </b><span style="color: maroon">c</span><b> where </b>system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'<b> then</b><span style="color: navy"> {
</span>      c.code<span style="color: navy"><b> -&gt; </b></span>tgt.clinicalStatus<span style="color: navy">;</span>
    <span style="color: navy">}</span><span style="color: navy">;</span>
  <span style="color: navy">}</span><span style="color: navy">;</span>
  src.verificationStatus<b> as </b><span style="color: maroon">vs</span><b> then</b><span style="color: navy"> {
</span>    vs.coding<b> as </b><span style="color: maroon">c</span><b> where </b>system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'<b> then</b><span style="color: navy"> {
</span>      c.code<span style="color: navy"><b> -&gt; </b></span>tgt.verificationStatus<span style="color: navy">;</span>
    <span style="color: navy">}</span><span style="color: navy">;</span>
  <span style="color: navy">}</span><span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.criticality<span style="color: navy"><b> -&gt; </b></span>tgt.criticality<span style="color: navy">;</span>
  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient<span style="color: navy">;</span>
  src.onset<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.onset = <b>create</b><span style="color: navy">(</span><span style="color: blue">'dateTime'</span><span style="color: navy">)</span><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.onset<span style="color: navy"> : </span>Age<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.onset = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Age'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Age<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.onset<span style="color: navy"> : </span>Period<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.onset = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Period'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Period<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.onset<span style="color: navy"> : </span>Range<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.onset = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Range'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Range<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.onset<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -&gt; </b></span>tgt.onset = <b>create</b><span style="color: navy">(</span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>string<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.recordedDate<span style="color: navy"><b> -&gt; </b></span>tgt.assertedDate <i>&quot;assertedDate&quot;</i><span style="color: navy">;</span>
  src.recorder<span style="color: navy"><b> -&gt; </b></span>tgt.recorder<span style="color: navy">;</span>
  src.asserter<span style="color: navy"><b> -&gt; </b></span>tgt.asserter<span style="color: navy">;</span>
  src.lastOccurrence<span style="color: navy"><b> -&gt; </b></span>tgt.lastOccurrence<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<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><span style="color: navy"> {
</span>    vs0.substance<span style="color: navy"><b> -&gt; </b></span>vt0.substance<span style="color: navy">;</span>
    vs0.manifestation<span style="color: navy"><b> -&gt; </b></span>vt0.manifestation<span style="color: navy">;</span>
    vs0.description<span style="color: navy"><b> -&gt; </b></span>vt0.description<span style="color: navy">;</span>
    vs0.onset<span style="color: navy"><b> -&gt; </b></span>vt0.onset<span style="color: navy">;</span>
    vs0.severity<span style="color: navy"><b> -&gt; </b></span>vt0.severity<span style="color: navy">;</span>
    vs0.exposureRoute<span style="color: navy"><b> -&gt; </b></span>vt0.exposureRoute<span style="color: navy">;</span>
    vs0.note<span style="color: navy"><b> -&gt; </b></span>vt0.note<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="http://hl7.org/fhir/StructureMap/AllergyIntolerance4to3"/>
  <version value="0.1.0"/>
  <name value="AllergyIntolerance4to3"/>
  <title value="AllergyIntolerance Transforms: R4 to R3"/>
  <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="AllergyIntoleranceTransformsR4toR3"/>
  <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/AllergyIntolerance"/>
    <mode value="source"/>
    <alias value="AllergyIntolerance"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/3.0/AllergyIntolerance"/>
    <mode value="target"/>
    <alias value="AllergyIntoleranceR3"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to3"/>
  <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="AllergyIntoleranceR3"/>
      <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="clinicalStatus"/>
      <source>
        <context value="src"/>
        <element value="clinicalStatus"/>
        <variable value="vs"/>
      </source>
      <rule>
        <name value="coding"/>
        <source>
          <context value="vs"/>
          <element value="coding"/>
          <variable value="c"/>
          <condition
                     value="system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'"/>
        </source>
        <rule>
          <name value="code"/>
          <source>
            <context value="c"/>
            <element value="code"/>
            <variable value="vvv"/>
          </source>
          <target>
            <context value="tgt"/>
            <element value="clinicalStatus"/>
            <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>
    <rule>
      <name value="verificationStatus"/>
      <source>
        <context value="src"/>
        <element value="verificationStatus"/>
        <variable value="vs"/>
      </source>
      <rule>
        <name value="coding"/>
        <source>
          <context value="vs"/>
          <element value="coding"/>
          <variable value="c"/>
          <condition
                     value="system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'"/>
        </source>
        <rule>
          <name value="code"/>
          <source>
            <context value="c"/>
            <element value="code"/>
            <variable value="vvv"/>
          </source>
          <target>
            <context value="tgt"/>
            <element value="verificationStatus"/>
            <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>
    <rule>
      <name value="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="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="criticality"/>
      <source>
        <context value="src"/>
        <element value="criticality"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="criticality"/>
        <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="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <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="onsetDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <element value="onset"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="dateTime"/>
        </parameter>
      </target>
      <dependent>
        <name value="dateTime"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="onsetAge"/>
      <source>
        <context value="src"/>
        <type value="Age"/>
        <element value="onset"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Age"/>
        </parameter>
      </target>
      <dependent>
        <name value="Age"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="onsetPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="onset"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Period"/>
        </parameter>
      </target>
      <dependent>
        <name value="Period"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="onsetRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="onset"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Range"/>
        </parameter>
      </target>
      <dependent>
        <name value="Range"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="onsetString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="onset"/>
        <variable value="vs"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <variable value="vt"/>
        <transform value="create"/>
        <parameter>
          <valueString value="string"/>
        </parameter>
      </target>
      <dependent>
        <name value="string"/>
        <parameter>
          <valueId value="vs"/>
        </parameter>
        <parameter>
          <valueId value="vt"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="assertedDate"/>
      <source>
        <context value="src"/>
        <element value="recordedDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="assertedDate"/>
        <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="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="asserter"/>
      <source>
        <context value="src"/>
        <element value="asserter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="asserter"/>
        <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="lastOccurrence"/>
      <source>
        <context value="src"/>
        <element value="lastOccurrence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lastOccurrence"/>
        <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="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="reaction"/>
      <source>
        <context value="src"/>
        <element value="reaction"/>
        <variable value="vs0"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reaction"/>
        <variable value="vt0"/>
      </target>
      <rule>
        <name value="substance"/>
        <source>
          <context value="vs0"/>
          <element value="substance"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="manifestation"/>
        <source>
          <context value="vs0"/>
          <element value="manifestation"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="description"/>
        <source>
          <context value="vs0"/>
          <element value="description"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="onset"/>
        <source>
          <context value="vs0"/>
          <element value="onset"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="severity"/>
        <source>
          <context value="vs0"/>
          <element value="severity"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="exposureRoute"/>
        <source>
          <context value="vs0"/>
          <element value="exposureRoute"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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="note"/>
        <source>
          <context value="vs0"/>
          <element value="note"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="vt0"/>
          <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>
  </group>
</StructureMap>