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="ImplementationGuide2to3"/>
<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/ImplementationGuide2to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'ImplementationGuide2to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'ImplementationGuide Transforms: R2 to R3'</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/1.0/ImplementationGuide<span style="color: navy">" </span><b>alias </b>ImplementationGuideR2 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/ImplementationGuide<span style="color: navy">" </span><b>alias </b>ImplementationGuide <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span><a href="StructureMap-primitives2to3.html" title="Primitive Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/primitives2to3</a><span style="color: navy">"
</span><b>imports</b><span style="color: navy"> "</span><a href="StructureMap-BackboneElement2to3.html" title="BackboneElement Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/BackboneElement2to3</a><span style="color: navy">"
</span><b>imports</b><span style="color: navy"> "</span><a href="StructureMap-DomainResource2to3.html" title="DomainResource Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/DomainResource2to3</a><span style="color: navy">"
</span><b>imports</b><span style="color: navy"> "</span><a href="StructureMap-ContactPoint2to3.html" title="ContactPoint Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/ContactPoint2to3</a><span style="color: navy">"
</span><b>imports</b><span style="color: navy"> "</span><a href="StructureMap-CodeableConcept2to3.html" title="CodeableConcept Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/CodeableConcept2to3</a><span style="color: navy">"
</span><b>imports</b><span style="color: navy"> "</span><a href="StructureMap-Reference2to3.html" title="Reference Transforms: R2 to R3">http://hl7.org/fhir/StructureMap/Reference2to3</a><span style="color: navy">"
</span>
<b>group </b>ImplementationGuide<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ImplementationGuideR2, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ImplementationGuide<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.url<span style="color: navy"><b> -> </b></span>tgt.url <i>"ImplementationGuide-url"</i><span style="color: navy">;</span>
src.version<span style="color: navy"><b> -> </b></span>tgt.version <i>"ImplementationGuide-version"</i><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name <i>"ImplementationGuide-name"</i><span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status <i>"ImplementationGuide-status"</i><span style="color: navy">;</span>
src.experimental<span style="color: navy"><b> -> </b></span>tgt.experimental <i>"ImplementationGuide-experimental"</i><span style="color: navy">;</span>
src.publisher<span style="color: navy"><b> -> </b></span>tgt.publisher <i>"ImplementationGuide-publisher"</i><span style="color: navy">;</span>
src.contact<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.contact<b> as </b><span style="color: maroon">vt0</span><b> then</b><span style="color: navy"> {
</span> vs0.name<span style="color: navy"><b> -> </b></span>vt0.name <i>"ContactDetail-name"</i><span style="color: navy">;</span>
vs0.telecom<span style="color: navy"><b> -> </b></span>vt0.telecom <i>"ContactDetail-telecom"</i><span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"ImplementationGuide-contact"</i><span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description <i>"ImplementationGuide-description"</i><span style="color: navy">;</span>
src.copyright<span style="color: navy"><b> -> </b></span>tgt.copyright <i>"ImplementationGuide-copyright"</i><span style="color: navy">;</span>
src.useContext<b> where </b>coding.system = 'urn:iso:std:iso:3166'<span style="color: navy"><b> -> </b></span>tgt.jurisdiction <i>"ImplementationGuide-jurisdiction"</i><span style="color: navy">;</span>
src.useContext<b> as </b><span style="color: maroon">vs</span><b> where </b>(coding.system = 'urn:iso:std:iso:3166').not()<span style="color: navy"><b> -> </b></span> tgt.useContext<b> as </b><span style="color: maroon">uc</span><span style="color: navy">, </span> uc.code<b> as </b><span style="color: maroon">ucc</span><span style="color: navy">, </span> ucc.system = <span style="color: blue">'http://hl7.org/fhir/usage-context-type'</span><span style="color: navy">, </span> ucc.code = <span style="color: blue">'task'</span><span style="color: navy">, </span> uc.value = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>CodeableConcept<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> <i>"ImplementationGuide-useContext"</i><span style="color: navy">;</span>
src.date<span style="color: navy"><b> -> </b></span>tgt.date <i>"ImplementationGuide-date"</i><span style="color: navy">;</span>
src.fhirVersion<span style="color: navy"><b> -> </b></span>tgt.fhirVersion <i>"ImplementationGuide-fhirVersion"</i><span style="color: navy">;</span>
src.dependency<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.dependency<b> as </b><span style="color: maroon">vt0</span><b> then</b><span style="color: navy"> {
</span> vs0.type<span style="color: navy"><b> -> </b></span>vt0.type <i>"dependency-type"</i><span style="color: navy">;</span>
vs0.uri<span style="color: navy"><b> -> </b></span>vt0.uri <i>"dependency-uri"</i><span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"ImplementationGuide-dependency"</i><span style="color: navy">;</span>
src.package<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.package<b> as </b><span style="color: maroon">vt0</span><b> then</b><span style="color: navy"> {
</span> vs0.name<span style="color: navy"><b> -> </b></span>vt0.name <i>"package-name"</i><span style="color: navy">;</span>
vs0.description<span style="color: navy"><b> -> </b></span>vt0.description <i>"package-description"</i><span style="color: navy">;</span>
vs0.resource<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>vt0.resource<b> as </b><span style="color: maroon">vt</span><b> then </b>resource<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> <i>"package-resource"</i><span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"ImplementationGuide-package"</i><span style="color: navy">;</span>
src.global<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.global<b> as </b><span style="color: maroon">vt0</span><b> then</b><span style="color: navy"> {
</span> vs0.type<span style="color: navy"><b> -> </b></span>vt0.type <i>"global-type"</i><span style="color: navy">;</span>
vs0.profile<span style="color: navy"><b> -> </b></span>vt0.profile <i>"global-profile"</i><span style="color: navy">;</span>
<span style="color: navy">}</span> <i>"ImplementationGuide-global"</i><span style="color: navy">;</span>
src.binary<span style="color: navy"><b> -> </b></span>tgt.binary <i>"ImplementationGuide-binary"</i><span style="color: navy">;</span>
src.page<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.page<b> as </b><span style="color: maroon">vt0</span><b> then </b>page<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>"ImplementationGuide-page"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>resource<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<b> where </b>src.purpose = 'example'<span style="color: navy"><b> -> </b></span>tgt.example = <span style="color: blue">'true'</span> <i>"resource-purpose"</i><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name <i>"resource-name"</i><span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description <i>"resource-description"</i><span style="color: navy">;</span>
src.acronym<span style="color: navy"><b> -> </b></span>tgt.acronym <i>"resource-acronym"</i><span style="color: navy">;</span>
src.source<span style="color: navy"><b> -> </b></span>tgt.source <i>"resource-source"</i><span style="color: navy">;</span>
src.exampleFor<span style="color: navy"><b> -> </b></span>tgt.exampleFor <i>"resource-exampleFor"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>page<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.source<span style="color: navy"><b> -> </b></span>tgt.source <i>"page-source"</i><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.title <i>"page-title"</i><span style="color: navy">;</span>
src.kind<span style="color: navy"><b> -> </b></span>tgt.kind <i>"page-kind"</i><span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type <i>"page-type"</i><span style="color: navy">;</span>
src.package<span style="color: navy"><b> -> </b></span>tgt.package <i>"page-package"</i><span style="color: navy">;</span>
src.format<span style="color: navy"><b> -> </b></span>tgt.format <i>"page-format"</i><span style="color: navy">;</span>
src.page<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.page<b> as </b><span style="color: maroon">vt0</span><b> then </b>page<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>"page-page"</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/ImplementationGuide2to3"/>
<version value="0.1.0"/>
<name value="ImplementationGuide2to3"/>
<title value="ImplementationGuide Transforms: R2 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="ImplementationGuideTransformsR2toR3"/>
<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/1.0/ImplementationGuide"/>
<mode value="source"/>
<alias value="ImplementationGuideR2"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/3.0/ImplementationGuide"/>
<mode value="target"/>
<alias value="ImplementationGuide"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/primitives2to3"/>
<import value="http://hl7.org/fhir/StructureMap/BackboneElement2to3"/>
<import value="http://hl7.org/fhir/StructureMap/DomainResource2to3"/>
<import value="http://hl7.org/fhir/StructureMap/ContactPoint2to3"/>
<import value="http://hl7.org/fhir/StructureMap/CodeableConcept2to3"/>
<import value="http://hl7.org/fhir/StructureMap/Reference2to3"/>
<group>
<name value="ImplementationGuide"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ImplementationGuideR2"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="ImplementationGuide"/>
<mode value="target"/>
</input>
<rule>
<name value="ImplementationGuide-url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="url"/>
<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="ImplementationGuide-version"/>
<source>
<context value="src"/>
<element value="version"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="version"/>
<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="ImplementationGuide-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="ImplementationGuide-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="ImplementationGuide-experimental"/>
<source>
<context value="src"/>
<element value="experimental"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="experimental"/>
<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="ImplementationGuide-publisher"/>
<source>
<context value="src"/>
<element value="publisher"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="publisher"/>
<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="ImplementationGuide-contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<variable value="vt0"/>
</target>
<rule>
<name value="ContactDetail-name"/>
<source>
<context value="vs0"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<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="ContactDetail-telecom"/>
<source>
<context value="vs0"/>
<element value="telecom"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<element value="telecom"/>
<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="ImplementationGuide-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="ImplementationGuide-copyright"/>
<source>
<context value="src"/>
<element value="copyright"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="copyright"/>
<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="ImplementationGuide-jurisdiction"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vvv"/>
<condition value="coding.system = 'urn:iso:std:iso:3166'"/>
</source>
<target>
<context value="tgt"/>
<element value="jurisdiction"/>
<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="ImplementationGuide-useContext"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vs"/>
<condition value="(coding.system = 'urn:iso:std:iso:3166').not()"/>
</source>
<target>
<context value="tgt"/>
<element value="useContext"/>
<variable value="uc"/>
</target>
<target>
<context value="uc"/>
<element value="code"/>
<variable value="ucc"/>
</target>
<target>
<context value="ucc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/usage-context-type"/>
</parameter>
</target>
<target>
<context value="ucc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="task"/>
</parameter>
</target>
<target>
<context value="uc"/>
<element value="value"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<dependent>
<name value="CodeableConcept"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="ImplementationGuide-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="ImplementationGuide-fhirVersion"/>
<source>
<context value="src"/>
<element value="fhirVersion"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="fhirVersion"/>
<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="ImplementationGuide-dependency"/>
<source>
<context value="src"/>
<element value="dependency"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="dependency"/>
<variable value="vt0"/>
</target>
<rule>
<name value="dependency-type"/>
<source>
<context value="vs0"/>
<element value="type"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<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="dependency-uri"/>
<source>
<context value="vs0"/>
<element value="uri"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<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>
<rule>
<name value="ImplementationGuide-package"/>
<source>
<context value="src"/>
<element value="package"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="package"/>
<variable value="vt0"/>
</target>
<rule>
<name value="package-name"/>
<source>
<context value="vs0"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<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="package-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="package-resource"/>
<source>
<context value="vs0"/>
<element value="resource"/>
<variable value="vs"/>
</source>
<target>
<context value="vt0"/>
<element value="resource"/>
<variable value="vt"/>
</target>
<dependent>
<name value="resource"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</rule>
<rule>
<name value="ImplementationGuide-global"/>
<source>
<context value="src"/>
<element value="global"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="global"/>
<variable value="vt0"/>
</target>
<rule>
<name value="global-type"/>
<source>
<context value="vs0"/>
<element value="type"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<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="global-profile"/>
<source>
<context value="vs0"/>
<element value="profile"/>
<variable value="vvv"/>
</source>
<target>
<context value="vt0"/>
<element value="profile"/>
<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="ImplementationGuide-binary"/>
<source>
<context value="src"/>
<element value="binary"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="binary"/>
<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="ImplementationGuide-page"/>
<source>
<context value="src"/>
<element value="page"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="page"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="page"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="resource"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="resource-purpose"/>
<source>
<context value="src"/>
<condition value="src.purpose = 'example'"/>
</source>
<target>
<context value="tgt"/>
<element value="example"/>
<transform value="copy"/>
<parameter>
<valueString value="true"/>
</parameter>
</target>
</rule>
<rule>
<name value="resource-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="resource-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="resource-acronym"/>
<source>
<context value="src"/>
<element value="acronym"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="acronym"/>
<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="resource-source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="source"/>
<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="resource-exampleFor"/>
<source>
<context value="src"/>
<element value="exampleFor"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="exampleFor"/>
<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="page"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="page-source"/>
<source>
<context value="src"/>
<element value="source"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="source"/>
<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="page-title"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="title"/>
<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="page-kind"/>
<source>
<context value="src"/>
<element value="kind"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="kind"/>
<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="page-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="page-package"/>
<source>
<context value="src"/>
<element value="package"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="package"/>
<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="page-format"/>
<source>
<context value="src"/>
<element value="format"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="format"/>
<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="page-page"/>
<source>
<context value="src"/>
<element value="page"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="page"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="page"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>