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="Questionnaire4to3"/>
<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/Questionnaire4to3'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Questionnaire4to3'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'R4 to R3 Conversion for Questionnaire'</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/4.0/Questionnaire<span style="color: navy">" </span><b>alias </b>Questionnaire <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span>http://hl7.org/fhir/3.0/Questionnaire<span style="color: navy">" </span><b>alias </b>QuestionnaireR3 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4to3<span style="color: navy">"
</span>
<b>group </b>Questionnaire<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>Questionnaire, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>QuestionnaireR3<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<span style="color: navy">;</span>
src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.version<span style="color: navy"><b> -> </b></span>tgt.version<span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span>
src.title<span style="color: navy"><b> -> </b></span>tgt.title<span style="color: navy">;</span>
src.status<span style="color: navy"><b> -> </b></span>tgt.status<span style="color: navy">;</span>
src.experimental<span style="color: navy"><b> -> </b></span>tgt.experimental<span style="color: navy">;</span>
src.date<span style="color: navy"><b> -> </b></span>tgt.date<span style="color: navy">;</span>
src.publisher<span style="color: navy"><b> -> </b></span>tgt.publisher<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.purpose<span style="color: navy"><b> -> </b></span>tgt.purpose<span style="color: navy">;</span>
src.approvalDate<span style="color: navy"><b> -> </b></span>tgt.approvalDate<span style="color: navy">;</span>
src.lastReviewDate<span style="color: navy"><b> -> </b></span>tgt.lastReviewDate<span style="color: navy">;</span>
src.effectivePeriod<span style="color: navy"><b> -> </b></span>tgt.effectivePeriod<span style="color: navy">;</span>
src.useContext<span style="color: navy"><b> -> </b></span>tgt.useContext<span style="color: navy">;</span>
src.jurisdiction<span style="color: navy"><b> -> </b></span>tgt.jurisdiction<span style="color: navy">;</span>
src.contact<span style="color: navy"><b> -> </b></span>tgt.contact<span style="color: navy">;</span>
src.copyright<span style="color: navy"><b> -> </b></span>tgt.copyright<span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.subjectType<span style="color: navy"><b> -> </b></span>tgt.subjectType<span style="color: navy">;</span>
src.item<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.item<b> as </b><span style="color: maroon">t</span><b> then </b>item<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>item<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.linkId<span style="color: navy"><b> -> </b></span>tgt.linkId<span style="color: navy">;</span>
src.definition<span style="color: navy"><b> -> </b></span>tgt.definition<span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.prefix<span style="color: navy"><b> -> </b></span>tgt.prefix<span style="color: navy">;</span>
src.text<span style="color: navy"><b> -> </b></span>tgt.text<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.enableWhen<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.enableWhen<b> as </b><span style="color: maroon">t</span><b> then </b>enableWhen<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.required<span style="color: navy"><b> -> </b></span>tgt.required<span style="color: navy">;</span>
src.repeats<span style="color: navy"><b> -> </b></span>tgt.repeats<span style="color: navy">;</span>
src.readOnly<span style="color: navy"><b> -> </b></span>tgt.readOnly<span style="color: navy">;</span>
src.maxLength<span style="color: navy"><b> -> </b></span>tgt.maxLength<span style="color: navy">;</span>
src.answerValueSet<span style="color: navy"><b> -> </b></span>tgt.options<span style="color: navy">;</span>
src.answerOption<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.option<b> as </b><span style="color: maroon">t</span><b> then </b>option<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.initial<b> as </b><span style="color: maroon">s</span><b> then </b>initial<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">tgt</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.item<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.item<b> as </b><span style="color: maroon">t</span><b> then </b>item<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>enableWhen<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.question<span style="color: navy"><b> -> </b></span>tgt.question<span style="color: navy">;</span>
src.answer<b> as </b><span style="color: maroon">v</span><b> where </b>src.operator = 'exists'<span style="color: navy"><b> -> </b></span>tgt.hasAnswer = <span style="color: maroon">v</span><span style="color: navy">;</span>
src.answer<span style="color: navy"> : </span>boolean<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'boolean'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>boolean<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.answer<span style="color: navy"> : </span>decimal<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'decimal'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>decimal<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.answer<span style="color: navy"> : </span>integer<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'integer'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>integer<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.answer<span style="color: navy"> : </span>date<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <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.answer<span style="color: navy"> : </span>dateTime<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'dateTime'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>dateTime<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.answer<span style="color: navy"> : </span>time<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'time'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>time<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.answer<span style="color: navy"> : </span>string<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'string'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>string<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.answer<span style="color: navy"> : </span>Coding<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Coding<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.answer<span style="color: navy"> : </span>Quantity<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <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.answer<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">vs</span><b> where </b>src.operator = '='<span style="color: navy"><b> -> </b></span>tgt.answer = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Reference'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">vt</span><b> then </b>Reference<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><b>group </b>option<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.value<span style="color: navy"><b> -> </b></span>tgt.value<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>initial<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.value<span style="color: navy"><b> -> </b></span>tgt.initial<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/Questionnaire4to3"/>
<version value="0.1.0"/>
<name value="Questionnaire4to3"/>
<title value="R4 to R3 Conversion for Questionnaire"/>
<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="R4toR3ConversionforQuestionnaire"/>
<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/4.0/Questionnaire"/>
<mode value="source"/>
<alias value="Questionnaire"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/3.0/Questionnaire"/>
<mode value="target"/>
<alias value="QuestionnaireR3"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4to3"/>
<group>
<name value="Questionnaire"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="Questionnaire"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="QuestionnaireR3"/>
<mode value="target"/>
</input>
<rule>
<name value="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="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="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="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="title"/>
<source>
<context value="src"/>
<element value="title"/>
<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="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="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="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="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="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="purpose"/>
<source>
<context value="src"/>
<element value="purpose"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="purpose"/>
<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="approvalDate"/>
<source>
<context value="src"/>
<element value="approvalDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="approvalDate"/>
<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="lastReviewDate"/>
<source>
<context value="src"/>
<element value="lastReviewDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="lastReviewDate"/>
<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="effectivePeriod"/>
<source>
<context value="src"/>
<element value="effectivePeriod"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="effectivePeriod"/>
<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="useContext"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="useContext"/>
<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="jurisdiction"/>
<source>
<context value="src"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
</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="contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<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="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="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="subjectType"/>
<source>
<context value="src"/>
<element value="subjectType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="subjectType"/>
<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="item"/>
<source>
<context value="src"/>
<element value="item"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="item"/>
<variable value="t"/>
</target>
<dependent>
<name value="item"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="item"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="linkId"/>
<source>
<context value="src"/>
<element value="linkId"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="linkId"/>
<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="definition"/>
<source>
<context value="src"/>
<element value="definition"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="definition"/>
<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="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="prefix"/>
<source>
<context value="src"/>
<element value="prefix"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="prefix"/>
<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="text"/>
<source>
<context value="src"/>
<element value="text"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="text"/>
<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="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="enableWhen"/>
<source>
<context value="src"/>
<element value="enableWhen"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="enableWhen"/>
<variable value="t"/>
</target>
<dependent>
<name value="enableWhen"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="required"/>
<source>
<context value="src"/>
<element value="required"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="required"/>
<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="repeats"/>
<source>
<context value="src"/>
<element value="repeats"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="repeats"/>
<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="readOnly"/>
<source>
<context value="src"/>
<element value="readOnly"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="readOnly"/>
<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="maxLength"/>
<source>
<context value="src"/>
<element value="maxLength"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="maxLength"/>
<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="answerValueSet"/>
<source>
<context value="src"/>
<element value="answerValueSet"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="options"/>
<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="answerOption"/>
<source>
<context value="src"/>
<element value="answerOption"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="option"/>
<variable value="t"/>
</target>
<dependent>
<name value="option"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="initial"/>
<source>
<context value="src"/>
<element value="initial"/>
<variable value="s"/>
</source>
<dependent>
<name value="initial"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="tgt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="item"/>
<source>
<context value="src"/>
<element value="item"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="item"/>
<variable value="t"/>
</target>
<dependent>
<name value="item"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="enableWhen"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="question"/>
<source>
<context value="src"/>
<element value="question"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="question"/>
<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="answer"/>
<source>
<context value="src"/>
<element value="answer"/>
<variable value="v"/>
<condition value="src.operator = 'exists'"/>
</source>
<target>
<context value="tgt"/>
<element value="hasAnswer"/>
<transform value="copy"/>
<parameter>
<valueId value="v"/>
</parameter>
</target>
</rule>
<rule>
<name value="answerBoolean"/>
<source>
<context value="src"/>
<type value="boolean"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="boolean"/>
</parameter>
</target>
<dependent>
<name value="boolean"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerDecimal"/>
<source>
<context value="src"/>
<type value="decimal"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="decimal"/>
</parameter>
</target>
<dependent>
<name value="decimal"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerInteger"/>
<source>
<context value="src"/>
<type value="integer"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="integer"/>
</parameter>
</target>
<dependent>
<name value="integer"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerDate"/>
<source>
<context value="src"/>
<type value="date"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<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="answerDateTime"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="dateTime"/>
</parameter>
</target>
<dependent>
<name value="dateTime"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerTime"/>
<source>
<context value="src"/>
<type value="time"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="time"/>
</parameter>
</target>
<dependent>
<name value="time"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerString"/>
<source>
<context value="src"/>
<type value="string"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="string"/>
</parameter>
</target>
<dependent>
<name value="string"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerCoding"/>
<source>
<context value="src"/>
<type value="Coding"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<dependent>
<name value="Coding"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="answerQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<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="answerReference"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="answer"/>
<variable value="vs"/>
<condition value="src.operator = '='"/>
</source>
<target>
<context value="tgt"/>
<element value="answer"/>
<variable value="vt"/>
<transform value="create"/>
<parameter>
<valueString value="Reference"/>
</parameter>
</target>
<dependent>
<name value="Reference"/>
<parameter>
<valueId value="vs"/>
</parameter>
<parameter>
<valueId value="vt"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="option"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="value"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="value"/>
<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="initial"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="value"/>
<source>
<context value="src"/>
<element value="value"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="initial"/>
<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>