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="Goal3to4"/>
<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/Goal3to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Goal3to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'Goal 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/Goal<span style="color: navy">" </span><b>alias </b>GoalR3 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/4.0/Goal<span style="color: navy">" </span><b>alias </b>Goal <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>Goal<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>GoalR3, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Goal<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.status<b> where </b>value in ('proposed' | 'planned' | 'accepted' | 'on-hold' | 'cancelled' | 'entered-in-error' | 'rejected')<span style="color: navy"><b> -> </b></span>tgt.lifecycleStatus<span style="color: navy">;</span>
src.status<b> where </b>value = 'achieved'<span style="color: navy"><b> -> </b></span>tgt.lifecycleStatus = <span style="color: blue">'completed'</span><span style="color: navy">;</span>
src.status<b> as </b><span style="color: maroon">s</span><b> where </b>value in ('in-progress' | 'sustaining')<span style="color: navy"><b> -> </b></span> tgt.lifecycleStatus = <span style="color: blue">'active'</span><span style="color: navy">, </span> tgt.achievementStatus<b> as </b><span style="color: maroon">cc</span><span style="color: navy">, </span> cc.coding<b> as </b><span style="color: maroon">c</span><span style="color: navy">, </span> c.system = <span style="color: blue">'http://terminology.hl7.org/CodeSystem/goal-achievement'</span><span style="color: navy">, </span> c.code = <span style="color: maroon">s</span><span style="color: navy">;</span>
src.status<b> where </b>value = 'on-target'<span style="color: navy"><b> -> </b></span> tgt.lifecycleStatus = <span style="color: blue">'active'</span><span style="color: navy">, </span> tgt.achievementStatus<b> as </b><span style="color: maroon">cc</span><span style="color: navy">, </span> cc.coding<b> as </b><span style="color: maroon">c</span><span style="color: navy">, </span> c.system = <span style="color: blue">'http://terminology.hl7.org/CodeSystem/goal-achievement'</span><span style="color: navy">, </span> c.code = <span style="color: blue">'sustaining'</span><span style="color: navy">;</span>
src.status<b> where </b>value = 'ahead-of-target'<span style="color: navy"><b> -> </b></span> tgt.lifecycleStatus = <span style="color: blue">'active'</span><span style="color: navy">, </span> tgt.achievementStatus<b> as </b><span style="color: maroon">cc</span><span style="color: navy">, </span> cc.coding<b> as </b><span style="color: maroon">c</span><span style="color: navy">, </span> c.system = <span style="color: blue">'http://terminology.hl7.org/CodeSystem/goal-achievement'</span><span style="color: navy">, </span> c.code = <span style="color: blue">'improving'</span><span style="color: navy">;</span>
src.status<b> where </b>value = 'behind-target'<span style="color: navy"><b> -> </b></span> tgt.lifecycleStatus = <span style="color: blue">'active'</span><span style="color: navy">, </span> tgt.achievementStatus<b> as </b><span style="color: maroon">cc</span><span style="color: navy">, </span> cc.coding<b> as </b><span style="color: maroon">c</span><span style="color: navy">, </span> c.system = <span style="color: blue">'http://terminology.hl7.org/CodeSystem/goal-achievement'</span><span style="color: navy">, </span> c.code = <span style="color: blue">'worsening'</span><span style="color: navy">;</span>
src.category<span style="color: navy"><b> -> </b></span>tgt.category<span style="color: navy">;</span>
src.priority<span style="color: navy"><b> -> </b></span>tgt.priority<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.subject<span style="color: navy"><b> -> </b></span>tgt.subject<span style="color: navy">;</span>
src.start<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.start = <b>create</b><span style="color: navy">(</span><span style="color: blue">'date'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>date<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.start<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.start = <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><span style="color: navy">;</span>
src.target<b> as </b><span style="color: maroon">vs0</span><span style="color: navy"><b> -> </b></span>tgt.target<b> as </b><span style="color: maroon">vt0</span><b> then </b>target<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.statusDate<span style="color: navy"><b> -> </b></span>tgt.statusDate<span style="color: navy">;</span>
src.statusReason<span style="color: navy"><b> -> </b></span>tgt.statusReason<span style="color: navy">;</span>
src.expressedBy<span style="color: navy"><b> -> </b></span>tgt.expressedBy<span style="color: navy">;</span>
src.addresses<span style="color: navy"><b> -> </b></span>tgt.addresses<span style="color: navy">;</span>
src.note<span style="color: navy"><b> -> </b></span>tgt.note<span style="color: navy">;</span>
src.outcomeCode<span style="color: navy"><b> -> </b></span>tgt.outcomeCode<span style="color: navy">;</span>
src.outcomeReference<span style="color: navy"><b> -> </b></span>tgt.outcomeReference<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>target<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.measure<span style="color: navy"><b> -> </b></span>tgt.measure<span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.detail = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Quantity'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Quantity<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>Range<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.detail = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Range'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Range<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>CodeableConcept<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.detail = <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><span style="color: navy">;</span>
src.due<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.due = <b>create</b><span style="color: navy">(</span><span style="color: blue">'date'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>date<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.due<span style="color: navy"> : </span>Duration<b> as </b><span style="color: maroon">vs</span><span style="color: navy"><b> -> </b></span>tgt.due = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Duration'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Duration<span style="color: navy">(</span><span style="color: maroon">vs</span><span style="color: navy">, </span><span style="color: maroon">vt</span><span style="color: navy">)</span><span style="color: navy">;</span>
<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/Goal3to4"/>
<version value="0.1.0"/>
<name value="Goal3to4"/>
<title value="Goal 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="GoalTransformsR3toR4"/>
<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/Goal"/>
<mode value="source"/>
<alias value="GoalR3"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/Goal"/>
<mode value="target"/>
<alias value="Goal"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*3to4"/>
<group>
<name value="Goal"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="GoalR3"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="Goal"/>
<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="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="vvv"/>
<condition
value="value in ('proposed' | 'planned' | 'accepted' | 'on-hold' | 'cancelled' | 'entered-in-error' | 'rejected')"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<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"/>
<condition value="value = 'achieved'"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<transform value="copy"/>
<parameter>
<valueString value="completed"/>
</parameter>
</target>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="s"/>
<condition value="value in ('in-progress' | 'sustaining')"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<transform value="copy"/>
<parameter>
<valueString value="active"/>
</parameter>
</target>
<target>
<context value="tgt"/>
<element value="achievementStatus"/>
<variable value="cc"/>
</target>
<target>
<context value="cc"/>
<element value="coding"/>
<variable value="c"/>
</target>
<target>
<context value="c"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/goal-achievement"/>
</parameter>
</target>
<target>
<context value="c"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueId value="s"/>
</parameter>
</target>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<condition value="value = 'on-target'"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<transform value="copy"/>
<parameter>
<valueString value="active"/>
</parameter>
</target>
<target>
<context value="tgt"/>
<element value="achievementStatus"/>
<variable value="cc"/>
</target>
<target>
<context value="cc"/>
<element value="coding"/>
<variable value="c"/>
</target>
<target>
<context value="c"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/goal-achievement"/>
</parameter>
</target>
<target>
<context value="c"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="sustaining"/>
</parameter>
</target>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<condition value="value = 'ahead-of-target'"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<transform value="copy"/>
<parameter>
<valueString value="active"/>
</parameter>
</target>
<target>
<context value="tgt"/>
<element value="achievementStatus"/>
<variable value="cc"/>
</target>
<target>
<context value="cc"/>
<element value="coding"/>
<variable value="c"/>
</target>
<target>
<context value="c"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/goal-achievement"/>
</parameter>
</target>
<target>
<context value="c"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="improving"/>
</parameter>
</target>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<condition value="value = 'behind-target'"/>
</source>
<target>
<context value="tgt"/>
<element value="lifecycleStatus"/>
<transform value="copy"/>
<parameter>
<valueString value="active"/>
</parameter>
</target>
<target>
<context value="tgt"/>
<element value="achievementStatus"/>
<variable value="cc"/>
</target>
<target>
<context value="cc"/>
<element value="coding"/>
<variable value="c"/>
</target>
<target>
<context value="c"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString
value="http://terminology.hl7.org/CodeSystem/goal-achievement"/>
</parameter>
</target>
<target>
<context value="c"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="worsening"/>
</parameter>
</target>
</rule>
<rule>
<name value="category"/>
<source>
<context value="src"/>
<element value="category"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="category"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="priority"/>
<source>
<context value="src"/>
<element value="priority"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="priority"/>
<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="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="startDate"/>
<source>
<context value="src"/>
<type value="date"/>
<element value="start"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="start"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="date"/>
</parameter>
</target>
<dependent>
<name value="date"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="startCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="start"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="start"/>
<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="target"/>
<source>
<context value="src"/>
<element value="target"/>
<variable value="vs0"/>
</source>
<target>
<context value="tgt"/>
<element value="target"/>
<variable value="vt0"/>
</target>
<dependent>
<name value="target"/>
<parameter>
<valueId value="vs0"/>
</parameter>
<parameter>
<valueId value="vt0"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="statusDate"/>
<source>
<context value="src"/>
<element value="statusDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="statusDate"/>
<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="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="expressedBy"/>
<source>
<context value="src"/>
<element value="expressedBy"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="expressedBy"/>
<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="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="note"/>
<source>
<context value="src"/>
<element value="note"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="note"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="outcomeCode"/>
<source>
<context value="src"/>
<element value="outcomeCode"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="outcomeCode"/>
<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="outcomeReference"/>
<source>
<context value="src"/>
<element value="outcomeReference"/>
<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>
</group>
<group>
<name value="target"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="measure"/>
<source>
<context value="src"/>
<element value="measure"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="measure"/>
<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="detailQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="detail"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Quantity"/>
</parameter>
</target>
<dependent>
<name value="Quantity"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="detailRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="detail"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Range"/>
</parameter>
</target>
<dependent>
<name value="Range"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="detailCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="detail"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<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="dueDate"/>
<source>
<context value="src"/>
<type value="date"/>
<element value="due"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="due"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="date"/>
</parameter>
</target>
<dependent>
<name value="date"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="dueDuration"/>
<source>
<context value="src"/>
<type value="Duration"/>
<element value="due"/>
<variable value="vs"/>
</source>
<target>
<context value="tgt"/>
<element value="due"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Duration"/>
</parameter>
</target>
<dependent>
<name value="Duration"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>