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="CarePlan2to3"/>
<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/CarePlan2to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'CarePlan2to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'CarePlan 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/CarePlan<span style="color: navy">" </span><b>alias </b>CarePlanR2 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/CarePlan<span style="color: navy">" </span><b>alias </b>CarePlan <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>CarePlan<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>CarePlanR2, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>CarePlan<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>"CarePlan-identifier"</i><span style="color: navy">;</span>
src.subject<span style="color: navy"><b> -> </b></span>tgt.subject <i>"CarePlan-subject"</i><span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status <i>"CarePlan-status"</i><span style="color: navy">;</span>
src.context<span style="color: navy"><b> -> </b></span>tgt.context <i>"CarePlan-context"</i><span style="color: navy">;</span>
src.period<span style="color: navy"><b> -> </b></span>tgt.period <i>"CarePlan-period"</i><span style="color: navy">;</span>
src.author<span style="color: navy"><b> -> </b></span>tgt.author <i>"CarePlan-author"</i><span style="color: navy">;</span>
src.modified<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </b></span> tgt.extension<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.url = <span style="color: blue">'http://hl7.org/fhir/CarePlan-r2-modified'</span><span style="color: navy">, </span> t.value = <span style="color: maroon">v</span> <i>"CarePlan-modified"</i><span style="color: navy">;</span>
src.category<span style="color: navy"><b> -> </b></span>tgt.category <i>"CarePlan-category"</i><span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description <i>"CarePlan-description"</i><span style="color: navy">;</span>
src.addresses<span style="color: navy"><b> -> </b></span>tgt.addresses <i>"CarePlan-addresses"</i><span style="color: navy">;</span>
src.support<span style="color: navy"><b> -> </b></span>tgt.supportingInfo <i>"CarePlan-support"</i><span style="color: navy">;</span>
src.relatedPlan<b> as </b><span style="color: maroon">vs0</span><b> where </b>vs0.code = 'replaces'<span style="color: navy"><b> -> </b></span>tgt.basedOn = <span style="color: navy">(</span>vs0.plan<span style="color: navy">)</span> <i>"CarePlan-relatedPlan2"</i><span style="color: navy">;</span>
src.relatedPlan<b> as </b><span style="color: maroon">vs0</span><b> where </b>vs0.code = 'fulfills'<span style="color: navy"><b> -> </b></span>tgt.replaces = <span style="color: navy">(</span>vs0.plan<span style="color: navy">)</span> <i>"CarePlan-relatedPlan3"</i><span style="color: navy">;</span>
src<b> where </b>src.participant.exists()<span style="color: navy"><b> -> </b></span><b>create</b><span style="color: navy">(</span><span style="color: blue">'CareTeam'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt0</span><b> then </b>plnParticipant<span style="color: navy">(</span><span style="color: maroon">src</span><span style="color: navy">, </span><span style="color: maroon">vt0</span><span style="color: navy">, </span><span style="color: maroon">tgt</span><span style="color: navy">)</span> <i>"CarePlan-participant"</i><span style="color: navy">;</span>
src.goal<span style="color: navy"><b> -> </b></span>tgt.goal <i>"CarePlan-goal"</i><span style="color: navy">;</span>
src.activity<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.activity<b> as </b><span style="color: maroon">vt0</span><b> then </b>plnActivity<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>"CarePlan-activity"</i><span style="color: navy">;</span>
src.note<span style="color: navy"><b> -> </b></span>tgt.note <i>"CarePlan-note"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>plnRelated<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.code<span style="color: navy"><b> -> </b></span>tgt.code <i>"relatedPlan-code"</i><span style="color: navy">;</span>
src.plan<span style="color: navy"><b> -> </b></span>tgt.plan <i>"relatedPlan-plan"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>plnActivity<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.actionResulting<span style="color: navy"><b> -> </b></span>tgt.outcomeReference <i>"activity-actionResulting"</i><span style="color: navy">;</span>
src.progress<span style="color: navy"><b> -> </b></span>tgt.progress <i>"activity-progress"</i><span style="color: navy">;</span>
src.reference<span style="color: navy"><b> -> </b></span>tgt.reference <i>"activity-reference"</i><span style="color: navy">;</span>
src.detail<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.detail<b> as </b><span style="color: maroon">vt0</span><b> then </b>plnDetail<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>"activity-detail"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>plnDetail<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.category<span style="color: navy"><b> -> </b></span>tgt.category <i>"detail-category"</i><span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code <i>"detail-code"</i><span style="color: navy">;</span>
src.reasonCode<span style="color: navy"><b> -> </b></span>tgt.reasonCode <i>"detail-reasonCode"</i><span style="color: navy">;</span>
src.reasonReference<span style="color: navy"><b> -> </b></span>tgt.reasonReference <i>"detail-reasonReference"</i><span style="color: navy">;</span>
src.goal<span style="color: navy"><b> -> </b></span>tgt.goal <i>"detail-goal"</i><span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status <i>"detail-status"</i><span style="color: navy">;</span>
src.statusReason<span style="color: navy"><b> -> </b></span>tgt.statusReason <i>"detail-statusReason"</i><span style="color: navy">;</span>
src.prohibited<span style="color: navy"><b> -> </b></span>tgt.prohibited <i>"detail-prohibited"</i><span style="color: navy">;</span>
src.scheduled<span style="color: navy"><b> -> </b></span>tgt.scheduled <i>"detail-scheduled"</i><span style="color: navy">;</span>
src.location<span style="color: navy"><b> -> </b></span>tgt.location <i>"detail-location"</i><span style="color: navy">;</span>
src.performer<span style="color: navy"><b> -> </b></span>tgt.performer <i>"detail-performer"</i><span style="color: navy">;</span>
src.product<span style="color: navy"><b> -> </b></span>tgt.product <i>"detail-product"</i><span style="color: navy">;</span>
src.dailyAmount<span style="color: navy"><b> -> </b></span>tgt.dailyAmount <i>"detail-dailyAmount"</i><span style="color: navy">;</span>
src.quantity<span style="color: navy"><b> -> </b></span>tgt.quantity <i>"detail-quantity"</i><span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description <i>"detail-description"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>plnParticipant<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span>, <b>target</b> <span style="color: maroon">tgtE</span><span style="color: navy">)</span><span style="color: navy"> {
</span> src<span style="color: navy"><b> -> </b></span>tgtE.careTeam = <b>reference</b><span style="color: navy">(</span><span style="color: maroon">tgt</span><span style="color: navy">)</span> <i>"participant-link"</i><span style="color: navy">;</span>
src.participant<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.participant<b> as </b><span style="color: maroon">vt</span><b> then </b>plnParticipantMember<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>"participant-member"</i><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>plnParticipantMember<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.role<span style="color: navy"><b> -> </b></span>tgt.role <i>"participant-role"</i><span style="color: navy">;</span>
src.member<span style="color: navy"><b> -> </b></span>tgt.member <i>"participant-member"</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/CarePlan2to3"/>
<version value="0.1.0"/>
<name value="CarePlan2to3"/>
<title value="CarePlan 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="CarePlanTransformsR2toR3"/>
<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/CarePlan"/>
<mode value="source"/>
<alias value="CarePlanR2"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/3.0/CarePlan"/>
<mode value="target"/>
<alias value="CarePlan"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*2to3"/>
<group>
<name value="CarePlan"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="CarePlanR2"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="CarePlan"/>
<mode value="target"/>
</input>
<rule>
<name value="CarePlan-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="CarePlan-subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<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="CarePlan-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="CarePlan-context"/>
<source>
<context value="src"/>
<element value="context"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="context"/>
<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="CarePlan-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>
<rule>
<name value="CarePlan-author"/>
<source>
<context value="src"/>
<element value="author"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="author"/>
<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="CarePlan-modified"/>
<source>
<context value="src"/>
<element value="modified"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="extension"/>
<variable value="t"/>
</target>
<target>
<context value="t"/>
<element value="url"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/CarePlan-r2-modified"/>
</parameter>
</target>
<target>
<context value="t"/>
<element value="value"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
<rule>
<name value="CarePlan-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="CarePlan-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="CarePlan-addresses"/>
<source>
<context value="src"/>
<element value="addresses"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="addresses"/>
<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="CarePlan-support"/>
<source>
<context value="src"/>
<element value="support"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="supportingInfo"/>
<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="CarePlan-relatedPlan2"/>
<source>
<context value="src"/>
<element value="relatedPlan"/>
<variable value="vs0"/>
<condition value="vs0.code = 'replaces'"/>
</source>
<target>
<context value="tgt"/>
<element value="basedOn"/>
<transform value="evaluate"/>
<parameter>
<valueString value="vs0.plan"/>
</parameter>
</target>
</rule>
<rule>
<name value="CarePlan-relatedPlan3"/>
<source>
<context value="src"/>
<element value="relatedPlan"/>
<variable value="vs0"/>
<condition value="vs0.code = 'fulfills'"/>
</source>
<target>
<context value="tgt"/>
<element value="replaces"/>
<transform value="evaluate"/>
<parameter>
<valueString value="vs0.plan"/>
</parameter>
</target>
</rule>
<rule>
<name value="CarePlan-participant"/>
<source>
<context value="src"/>
<condition value="src.participant.exists()"/>
</source>
<target>
<variable value="vt0"/>
<transform value="create"/>
<parameter>
<valueString value="CareTeam"/>
</parameter>
</target>
<dependent>
<name value="plnParticipant"/>
<parameter>
<valueId value="src"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
<parameter>
<valueId value="tgt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="CarePlan-goal"/>
<source>
<context value="src"/>
<element value="goal"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="goal"/>
<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="CarePlan-activity"/>
<source>
<context value="src"/>
<element value="activity"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="activity"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="plnActivity"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="CarePlan-note"/>
<source>
<context value="src"/>
<element value="note"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="note"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="plnRelated"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="relatedPlan-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="relatedPlan-plan"/>
<source>
<context value="src"/>
<element value="plan"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="plan"/>
<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="plnActivity"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="activity-actionResulting"/>
<source>
<context value="src"/>
<element value="actionResulting"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="outcomeReference"/>
<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="activity-progress"/>
<source>
<context value="src"/>
<element value="progress"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="progress"/>
<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="activity-reference"/>
<source>
<context value="src"/>
<element value="reference"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reference"/>
<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="activity-detail"/>
<source>
<context value="src"/>
<element value="detail"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="plnDetail"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="plnDetail"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="detail-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="detail-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="detail-reasonCode"/>
<source>
<context value="src"/>
<element value="reasonCode"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reasonCode"/>
<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-reasonReference"/>
<source>
<context value="src"/>
<element value="reasonReference"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reasonReference"/>
<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-goal"/>
<source>
<context value="src"/>
<element value="goal"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="goal"/>
<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-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="detail-statusReason"/>
<source>
<context value="src"/>
<element value="statusReason"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="statusReason"/>
<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-prohibited"/>
<source>
<context value="src"/>
<element value="prohibited"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="prohibited"/>
<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-scheduled"/>
<source>
<context value="src"/>
<element value="scheduled"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="scheduled"/>
<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-location"/>
<source>
<context value="src"/>
<element value="location"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="location"/>
<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-performer"/>
<source>
<context value="src"/>
<element value="performer"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="performer"/>
<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-product"/>
<source>
<context value="src"/>
<element value="product"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="product"/>
<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-dailyAmount"/>
<source>
<context value="src"/>
<element value="dailyAmount"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="dailyAmount"/>
<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-quantity"/>
<source>
<context value="src"/>
<element value="quantity"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="quantity"/>
<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-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>
</group>
<group>
<name value="plnParticipant"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<input>
<name value="tgtE"/>
<mode value="target"/>
</input>
<rule>
<name value="participant-link"/>
<source>
<context value="src"/>
</source>
<target>
<context value="tgtE"/>
<element value="careTeam"/>
<transform value="reference"/>
<parameter>
<valueId value="tgt"/>
</parameter>
</target>
</rule>
<rule>
<name value="participant-member"/>
<source>
<context value="src"/>
<element value="participant"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="participant"/>
<variable value="vt"/>
</target>
<dependent>
<name value="plnParticipantMember"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="plnParticipantMember"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="participant-role"/>
<source>
<context value="src"/>
<element value="role"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="role"/>
<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-member"/>
<source>
<context value="src"/>
<element value="member"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="member"/>
<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>