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="Patient2to3"/>
<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/Patient2to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Patient2to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Patient 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/Patient<span style="color: navy">" </span><b>alias </b>PatientR2 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/Patient<span style="color: navy">" </span><b>alias </b>Patient <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style="color: navy">"
</span>
<b>group </b>Patient<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>PatientR2, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Patient<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 <i>"Patient-identifier"</i><span style="color: navy">;</span>
src.active<span style="color: navy"><b> -> </b></span>tgt.active <i>"Patient-active"</i><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name <i>"Patient-name"</i><span style="color: navy">;</span>
src.telecom<span style="color: navy"><b> -> </b></span>tgt.telecom <i>"Patient-telecom"</i><span style="color: navy">;</span>
src.gender<span style="color: navy"><b> -> </b></span>tgt.gender <i>"Patient-gender"</i><span style="color: navy">;</span>
src.birthDate<span style="color: navy"><b> -> </b></span>tgt.birthDate <i>"Patient-birthDate"</i><span style="color: navy">;</span>
src.deceased<span style="color: navy"><b> -> </b></span>tgt.deceased <i>"Patient-deceased"</i><span style="color: navy">;</span>
src.address<span style="color: navy"><b> -> </b></span>tgt.address <i>"Patient-address"</i><span style="color: navy">;</span>
src.maritalStatus<span style="color: navy"><b> -> </b></span>tgt.maritalStatus <i>"Patient-maritalStatus"</i><span style="color: navy">;</span>
src.multipleBirth<span style="color: navy"><b> -> </b></span>tgt.multipleBirth <i>"Patient-multipleBirth"</i><span style="color: navy">;</span>
src.photo<span style="color: navy"><b> -> </b></span>tgt.photo <i>"Patient-photo"</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>patContact<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>"Patient-contact"</i><span style="color: navy">;</span>
src.animal<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.animal<b> as </b><span style="color: maroon">vt0</span><b> then </b>patAnimal<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>"Patient-animal"</i><span style="color: navy">;</span>
src.communication<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.communication<b> as </b><span style="color: maroon">vt0</span><b> then </b>patCommunication<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>"Patient-communication"</i><span style="color: navy">;</span>
src.careProvider<span style="color: navy"><b> -> </b></span>tgt.generalPractitioner <i>"Patient-generalPractitioner"</i><span style="color: navy">;</span>
src.managingOrganization<span style="color: navy"><b> -> </b></span>tgt.managingOrganization <i>"Patient-managingOrganization"</i><span style="color: navy">;</span>
src.link<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.link<b> as </b><span style="color: maroon">vt0</span><b> then </b>patLink<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>"Patient-link"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>patContact<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.relationship<span style="color: navy"><b> -> </b></span>tgt.relationship <i>"contact-relationship"</i><span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name <i>"contact-name"</i><span style="color: navy">;</span>
src.telecom<span style="color: navy"><b> -> </b></span>tgt.telecom <i>"contact-telecom"</i><span style="color: navy">;</span>
src.address<span style="color: navy"><b> -> </b></span>tgt.address <i>"contact-address"</i><span style="color: navy">;</span>
src.gender<span style="color: navy"><b> -> </b></span>tgt.gender <i>"contact-gender"</i><span style="color: navy">;</span>
src.organization<span style="color: navy"><b> -> </b></span>tgt.organization <i>"contact-organization"</i><span style="color: navy">;</span>
src.period<span style="color: navy"><b> -> </b></span>tgt.period <i>"contact-period"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>patCommunication<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.language<span style="color: navy"><b> -> </b></span>tgt.language <i>"communication-language"</i><span style="color: navy">;</span>
src.preferred<span style="color: navy"><b> -> </b></span>tgt.preferred <i>"communication-preferred"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>patAnimal<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.species<span style="color: navy"><b> -> </b></span>tgt.species <i>"communication-species"</i><span style="color: navy">;</span>
src.breed<span style="color: navy"><b> -> </b></span>tgt.breed <i>"communication-breed"</i><span style="color: navy">;</span>
src.genderStatus<span style="color: navy"><b> -> </b></span>tgt.genderStatus <i>"communication-genderStatus"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>patLink<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.other<span style="color: navy"><b> -> </b></span>tgt.other <i>"link-other"</i><span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type <i>"link-type"</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/Patient2to3"/>
<version value="0.1.0"/>
<name value="Patient2to3"/>
<title value="Patient 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="PatientTransformsR2toR3"/>
<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/Patient"/>
<mode value="source"/>
<alias value="PatientR2"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/3.0/Patient"/>
<mode value="target"/>
<alias value="Patient"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*2to3"/>
<group>
<name value="Patient"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="PatientR2"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="Patient"/>
<mode value="target"/>
</input>
<rule>
<name value="Patient-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="Patient-active"/>
<source>
<context value="src"/>
<element value="active"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="active"/>
<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-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="Patient-telecom"/>
<source>
<context value="src"/>
<element value="telecom"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<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>
<name value="Patient-gender"/>
<source>
<context value="src"/>
<element value="gender"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="gender"/>
<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-birthDate"/>
<source>
<context value="src"/>
<element value="birthDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="birthDate"/>
<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-deceased"/>
<source>
<context value="src"/>
<element value="deceased"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="deceased"/>
<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-address"/>
<source>
<context value="src"/>
<element value="address"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="address"/>
<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-maritalStatus"/>
<source>
<context value="src"/>
<element value="maritalStatus"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="maritalStatus"/>
<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-multipleBirth"/>
<source>
<context value="src"/>
<element value="multipleBirth"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="multipleBirth"/>
<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-photo"/>
<source>
<context value="src"/>
<element value="photo"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="photo"/>
<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-contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="patContact"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="Patient-animal"/>
<source>
<context value="src"/>
<element value="animal"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="animal"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="patAnimal"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="Patient-communication"/>
<source>
<context value="src"/>
<element value="communication"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="communication"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="patCommunication"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="Patient-generalPractitioner"/>
<source>
<context value="src"/>
<element value="careProvider"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="generalPractitioner"/>
<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-managingOrganization"/>
<source>
<context value="src"/>
<element value="managingOrganization"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="managingOrganization"/>
<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-link"/>
<source>
<context value="src"/>
<element value="link"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="link"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="patLink"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="patContact"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="contact-relationship"/>
<source>
<context value="src"/>
<element value="relationship"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="relationship"/>
<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="contact-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="contact-telecom"/>
<source>
<context value="src"/>
<element value="telecom"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<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>
<name value="contact-address"/>
<source>
<context value="src"/>
<element value="address"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="address"/>
<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="contact-gender"/>
<source>
<context value="src"/>
<element value="gender"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="gender"/>
<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="contact-organization"/>
<source>
<context value="src"/>
<element value="organization"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="organization"/>
<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="contact-period"/>
<source>
<context value="src"/>
<element value="period"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="period"/>
<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="patCommunication"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="communication-language"/>
<source>
<context value="src"/>
<element value="language"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="language"/>
<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="communication-preferred"/>
<source>
<context value="src"/>
<element value="preferred"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="preferred"/>
<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="patAnimal"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="communication-species"/>
<source>
<context value="src"/>
<element value="species"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="species"/>
<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="communication-breed"/>
<source>
<context value="src"/>
<element value="breed"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="breed"/>
<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="communication-genderStatus"/>
<source>
<context value="src"/>
<element value="genderStatus"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="genderStatus"/>
<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="patLink"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="link-other"/>
<source>
<context value="src"/>
<element value="other"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="other"/>
<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="link-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>
</group>
</StructureMap>