FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: FML Conversion for FamilyMemberHistory: R4B to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="FamilyMemberHistory4Bto5"/>
  <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/FamilyMemberHistory4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'FamilyMemberHistory4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for FamilyMemberHistory: R4B to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>conceptmap</b><span style="color: navy"> &quot;</span>FamilyHistoryStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-history-status.html" title="FamilyHistoryStatus">http://hl7.org/fhir/4.3/history-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-history-status.html" title="Family History Status">http://hl7.org/fhir/history-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>partial <b>-</b> t<span style="color: navy">:</span>partial
  s<span style="color: navy">:</span>completed <b>-</b> t<span style="color: navy">:</span>completed
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;health-unknown&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>health-unknown<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/familymemberhistory.html" title="FamilyMemberHistory">http://hl7.org/fhir/4.3/StructureDefinition/FamilyMemberHistory</a><span style="color: navy">&quot; </span><b>alias </b>FamilyMemberHistoryR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/familymemberhistory.html" title="FamilyMemberHistory">http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory</a><span style="color: navy">&quot; </span><b>alias </b>FamilyMemberHistoryR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>FamilyMemberHistory<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>FamilyMemberHistoryR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>FamilyMemberHistoryR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.instantiatesCanonical<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesCanonical<span style="color: navy">;</span>
  src.instantiatesUri<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesUri<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#FamilyHistoryStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.dataAbsentReason<span style="color: navy"><b> -&gt; </b></span>tgt.dataAbsentReason<span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.participant as s -&gt; tgt.participant as t then FamilyMemberHistoryParticipant(s,t);</span>
  src.relationship<span style="color: navy"><b> -&gt; </b></span>tgt.relationship<span style="color: navy">;</span>
  src.sex<span style="color: navy"><b> -&gt; </b></span>tgt.sex<span style="color: navy">;</span>
  src.born<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.born<span style="color: navy">;</span>
  src.born<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.born<span style="color: navy">;</span>
  src.born<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.born<span style="color: navy">;</span>
  src.age<span style="color: navy"> : </span>Age<span style="color: navy"><b> -&gt; </b></span>tgt.age<span style="color: navy">;</span>
  src.age<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.age<span style="color: navy">;</span>
  src.age<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.age<span style="color: navy">;</span>
  src.estimatedAge<span style="color: navy"><b> -&gt; </b></span>tgt.estimatedAge<span style="color: navy">;</span>
  src.deceased<span style="color: navy"> : </span>boolean<span style="color: navy"><b> -&gt; </b></span>tgt.deceased<span style="color: navy">;</span>
  src.deceased<span style="color: navy"> : </span>Age<span style="color: navy"><b> -&gt; </b></span>tgt.deceased<span style="color: navy">;</span>
  src.deceased<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.deceased<span style="color: navy">;</span>
  src.deceased<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.deceased<span style="color: navy">;</span>
  src.deceased<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.deceased<span style="color: navy">;</span>
  src.reasonCode<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.reasonReference<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
  src.condition<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.condition<b> as </b><span style="color: maroon">t</span><b> then </b>FamilyMemberHistoryCondition<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><span style="color: navy">// </span><span style="color: green">group FamilyMemberHistoryParticipant(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.function -&gt; tgt.function;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.actor -&gt; tgt.actor;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>FamilyMemberHistoryCondition<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> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.outcome<span style="color: navy"><b> -&gt; </b></span>tgt.outcome<span style="color: navy">;</span>
  src.contributedToDeath<span style="color: navy"><b> -&gt; </b></span>tgt.contributedToDeath<span style="color: navy">;</span>
  src.onset<span style="color: navy"> : </span>Age<span style="color: navy"><b> -&gt; </b></span>tgt.onset<span style="color: navy">;</span>
  src.onset<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.onset<span style="color: navy">;</span>
  src.onset<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.onset<span style="color: navy">;</span>
  src.onset<span style="color: navy"> : </span>string<span style="color: navy"><b> -&gt; </b></span>tgt.onset<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="FamilyHistoryStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/history-status"/>
        <target value="http://hl7.org/fhir/history-status"/>
        <element>
          <code value="partial"/>
          <target>
            <code value="partial"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="completed"/>
          <target>
            <code value="completed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="health-unknown"/>
          <target>
            <code value="health-unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <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.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/FamilyMemberHistory4Bto5"/>
  <version value="1.0.0"/>
  <name value="FamilyMemberHistory4Bto5"/>
  <title value="FML Conversion for FamilyMemberHistory: R4B to R5"/>
  <status value="active"/>
  <date value="2023-03-26T08:47:34+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/fhir-i"/>
    </telecom>
  </contact>
  <description value="FMLConversionforFamilyMemberHistoryR4BtoR5"/>
  <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.3/StructureDefinition/FamilyMemberHistory"/>
    <mode value="source"/>
    <alias value="FamilyMemberHistoryR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"/>
    <mode value="target"/>
    <alias value="FamilyMemberHistoryR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="FamilyMemberHistory"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="FamilyMemberHistoryR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="FamilyMemberHistoryR5"/>
      <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="instantiatesCanonical"/>
      <source>
        <context value="src"/>
        <element value="instantiatesCanonical"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesCanonical"/>
        <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="instantiatesUri"/>
      <source>
        <context value="src"/>
        <element value="instantiatesUri"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesUri"/>
        <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="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#FamilyHistoryStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="dataAbsentReason"/>
      <source>
        <context value="src"/>
        <element value="dataAbsentReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dataAbsentReason"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patient"/>
        <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="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>
      <documentation
                     value="src.participant as s -&gt; tgt.participant as t then FamilyMemberHistoryParticipant(s,t);"/>
    </rule>
    <rule>
      <name value="relationship"/>
      <source>
        <context value="src"/>
        <element value="relationship"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relationship"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="sex"/>
      <source>
        <context value="src"/>
        <element value="sex"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sex"/>
        <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="bornPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="born"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="born"/>
        <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="bornDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="born"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="born"/>
        <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="bornString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="born"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="born"/>
        <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="ageAge"/>
      <source>
        <context value="src"/>
        <type value="Age"/>
        <element value="age"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="age"/>
        <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="ageRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="age"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="age"/>
        <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="ageString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="age"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="age"/>
        <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="estimatedAge"/>
      <source>
        <context value="src"/>
        <element value="estimatedAge"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="estimatedAge"/>
        <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="deceasedBoolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <element value="deceased"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="deceased"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="deceasedAge"/>
      <source>
        <context value="src"/>
        <type value="Age"/>
        <element value="deceased"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="deceased"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="deceasedRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="deceased"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="deceased"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="deceasedDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="deceased"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="deceased"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="deceasedString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="deceased"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="deceased"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reasonCode"/>
      <source>
        <context value="src"/>
        <element value="reasonCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reason"/>
        <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="reasonReference"/>
      <source>
        <context value="src"/>
        <element value="reasonReference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reason"/>
        <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="condition"/>
      <source>
        <context value="src"/>
        <element value="condition"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="condition"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="FamilyMemberHistoryCondition"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="FamilyMemberHistoryCondition"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group FamilyMemberHistoryParticipant(source src, target tgt) extends BackboneElement {
src.function -&gt; tgt.function;
src.actor -&gt; tgt.actor;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="outcome"/>
      <source>
        <context value="src"/>
        <element value="outcome"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="outcome"/>
        <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="contributedToDeath"/>
      <source>
        <context value="src"/>
        <element value="contributedToDeath"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contributedToDeath"/>
        <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="onsetAge"/>
      <source>
        <context value="src"/>
        <type value="Age"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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="onsetRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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="onsetPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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="onsetString"/>
      <source>
        <context value="src"/>
        <type value="string"/>
        <element value="onset"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="onset"/>
        <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>
  </group>
</StructureMap>