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="TestReport3to4"/>
<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/TestReport3to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'TestReport3to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'TestReport Transforms: R3 to R4'</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/3.0/TestReport<span style="color: navy">" </span><b>alias </b>TestReportR3 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/TestReport<span style="color: navy">" </span><b>alias </b>TestReport <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*3to4<span style="color: navy">"
</span>
<b>group </b>TestReport<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>TestReportR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>TestReport<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.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status<span style="color: navy">;</span>
src.testScript<span style="color: navy"><b> -> </b></span>tgt.testScript<span style="color: navy">;</span>
src.result<span style="color: navy"><b> -> </b></span>tgt.result<span style="color: navy">;</span>
src.score<span style="color: navy"><b> -> </b></span>tgt.score<span style="color: navy">;</span>
src.tester<span style="color: navy"><b> -> </b></span>tgt.tester<span style="color: navy">;</span>
src.issued<span style="color: navy"><b> -> </b></span>tgt.issued<span style="color: navy">;</span>
src.participant<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.participant<b> as </b><span style="color: maroon">vt0</span><b> then </b>participant<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><span style="color: navy">;</span>
src.setup<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.setup<b> as </b><span style="color: maroon">vt0</span><b> then </b>setup<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><span style="color: navy">;</span>
src.test<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.test<b> as </b><span style="color: maroon">vt0</span><b> then </b>test<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><span style="color: navy">;</span>
src.teardown<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.teardown<b> as </b><span style="color: maroon">vt0</span><b> then </b>teardown<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>participant<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.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.uri<span style="color: navy"><b> -> </b></span>tgt.uri<span style="color: navy">;</span>
src.display<span style="color: navy"><b> -> </b></span>tgt.display<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>setup<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.action<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.action<b> as </b><span style="color: maroon">vt0</span><b> then </b>action<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>teardown<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.action<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.action<b> as </b><span style="color: maroon">vt0</span><b> then </b>actionNA<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>test<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.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.action<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.action<b> as </b><span style="color: maroon">vt0</span><b> then </b>action<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>action<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.operation<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.operation<b> as </b><span style="color: maroon">vt0</span><b> then </b>operation<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><span style="color: navy">;</span>
src.assert<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.assert<b> as </b><span style="color: maroon">vt0</span><b> then </b>assert<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>actionNA<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.operation<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.operation<b> as </b><span style="color: maroon">vt0</span><b> then </b>operation<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><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>operation<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.result<span style="color: navy"><b> -> </b></span>tgt.result<span style="color: navy">;</span>
src.message<span style="color: navy"><b> -> </b></span>tgt.message<span style="color: navy">;</span>
src.detail<span style="color: navy"><b> -> </b></span>tgt.detail<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>assert<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.result<span style="color: navy"><b> -> </b></span>tgt.result<span style="color: navy">;</span>
src.message<span style="color: navy"><b> -> </b></span>tgt.message<span style="color: navy">;</span>
src.detail<span style="color: navy"><b> -> </b></span>tgt.detail<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/TestReport3to4"/>
<version value="0.1.0"/>
<name value="TestReport3to4"/>
<title value="TestReport Transforms: R3 to R4"/>
<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="TestReportTransformsR3toR4"/>
<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/TestReport"/>
<mode value="source"/>
<alias value="TestReportR3"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/TestReport"/>
<mode value="target"/>
<alias value="TestReport"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*3to4"/>
<group>
<name value="TestReport"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="TestReportR3"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="TestReport"/>
<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="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<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"/>
</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="testScript"/>
<source>
<context value="src"/>
<element value="testScript"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="testScript"/>
<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="result"/>
<source>
<context value="src"/>
<element value="result"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="result"/>
<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="score"/>
<source>
<context value="src"/>
<element value="score"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="score"/>
<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="tester"/>
<source>
<context value="src"/>
<element value="tester"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="tester"/>
<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="issued"/>
<source>
<context value="src"/>
<element value="issued"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="issued"/>
<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="participant"/>
<source>
<context value="src"/>
<element value="participant"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="participant"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="participant"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="setup"/>
<source>
<context value="src"/>
<element value="setup"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="setup"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="setup"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="test"/>
<source>
<context value="src"/>
<element value="test"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="test"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="test"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="teardown"/>
<source>
<context value="src"/>
<element value="teardown"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="teardown"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="teardown"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="participant"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<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="uri"/>
<source>
<context value="src"/>
<element value="uri"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="uri"/>
<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="display"/>
<source>
<context value="src"/>
<element value="display"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="display"/>
<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="setup"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="action"/>
<source>
<context value="src"/>
<element value="action"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="action"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="action"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="teardown"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="action"/>
<source>
<context value="src"/>
<element value="action"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="action"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="actionNA"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="test"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<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="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="action"/>
<source>
<context value="src"/>
<element value="action"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="action"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="action"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="action"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="operation"/>
<source>
<context value="src"/>
<element value="operation"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="operation"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="operation"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="assert"/>
<source>
<context value="src"/>
<element value="assert"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="assert"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="assert"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="actionNA"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="operation"/>
<source>
<context value="src"/>
<element value="operation"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="operation"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="operation"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="operation"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="result"/>
<source>
<context value="src"/>
<element value="result"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="result"/>
<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="message"/>
<source>
<context value="src"/>
<element value="message"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="message"/>
<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>
</group>
<group>
<name value="assert"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="result"/>
<source>
<context value="src"/>
<element value="result"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="result"/>
<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="message"/>
<source>
<context value="src"/>
<element value="message"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="message"/>
<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>
</group>
</StructureMap>