This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="Condition5to4B"/>
<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/Condition5to4B'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Condition5to4B'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for Condition: R5 to R4B'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/condition.html" title="Condition">http://hl7.org/fhir/StructureDefinition/Condition</a><span style="color: navy">" </span><b>alias </b>ConditionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4B/condition.html" title="Condition">http://hl7.org/fhir/4.3/StructureDefinition/Condition</a><span style="color: navy">" </span><b>alias </b>ConditionR4B <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">"
</span>
<b>group </b>Condition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ConditionR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ConditionR4B<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.clinicalStatus<span style="color: navy"><b> -> </b></span>tgt.clinicalStatus<span style="color: navy">;</span>
src.verificationStatus<span style="color: navy"><b> -> </b></span>tgt.verificationStatus<span style="color: navy">;</span>
src.category<span style="color: navy"><b> -> </b></span>tgt.category<span style="color: navy">;</span>
src.severity<span style="color: navy"><b> -> </b></span>tgt.severity<span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.bodySite<span style="color: navy"><b> -> </b></span>tgt.bodySite<span style="color: navy">;</span>
src.subject<span style="color: navy"><b> -> </b></span>tgt.subject<span style="color: navy">;</span>
src.encounter<span style="color: navy"><b> -> </b></span>tgt.encounter<span style="color: navy">;</span>
src.onset<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -> </b></span>tgt.onset<span style="color: navy">;</span>
src.onset<span style="color: navy"> : </span>Age<span style="color: navy"><b> -> </b></span>tgt.onset<span style="color: navy">;</span>
src.onset<span style="color: navy"> : </span>Period<span style="color: navy"><b> -> </b></span>tgt.onset<span style="color: navy">;</span>
src.onset<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.onset<span style="color: navy">;</span>
src.onset<span style="color: navy"> : </span>string<span style="color: navy"><b> -> </b></span>tgt.onset<span style="color: navy">;</span>
src.abatement<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -> </b></span>tgt.abatement<span style="color: navy">;</span>
src.abatement<span style="color: navy"> : </span>Age<span style="color: navy"><b> -> </b></span>tgt.abatement<span style="color: navy">;</span>
src.abatement<span style="color: navy"> : </span>Period<span style="color: navy"><b> -> </b></span>tgt.abatement<span style="color: navy">;</span>
src.abatement<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.abatement<span style="color: navy">;</span>
src.abatement<span style="color: navy"> : </span>string<span style="color: navy"><b> -> </b></span>tgt.abatement<span style="color: navy">;</span>
src.recordedDate<span style="color: navy"><b> -> </b></span>tgt.recordedDate<span style="color: navy">;</span>
src.participant<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'enterer'<span style="color: navy"><b> -> </b></span>tgt.recorder = <span style="color: maroon">s.actor</span> <i>"recorder"</i><span style="color: navy">;</span>
src.participant<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'author'<span style="color: navy"><b> -> </b></span>tgt.asserter = <span style="color: maroon">s.actor</span> <i>"asserter"</i><span style="color: navy">;</span>
src.stage<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.stage<b> as </b><span style="color: maroon">t</span><b> then </b>ConditionStage<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.evidence<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.evidence<b> as </b><span style="color: maroon">t</span><b> then</b><span style="color: navy"> {
</span> s.concept<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -> </b></span>t.code<span style="color: navy">;</span>
s.reference<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -> </b></span>t.detail<span style="color: navy">;</span>
<span style="color: navy">}</span><span style="color: navy">;</span>
src.note<span style="color: navy"><b> -> </b></span>tgt.note<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>ConditionStage<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.summary<span style="color: navy"><b> -> </b></span>tgt.summary<span style="color: navy">;</span>
src.assessment<span style="color: navy"><b> -> </b></span>tgt.assessment<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type<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.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/Condition5to4B"/>
<version value="5.1.0-ballot1"/>
<name value="Condition5to4B"/>
<title value="FML Conversion for Condition: R5 to R4B"/>
<status value="active"/>
<date value="2023-12-19T08:40:03+11: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="FMLConversionforConditionR5toR4B"/>
<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/StructureDefinition/Condition"/>
<mode value="source"/>
<alias value="ConditionR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.3/StructureDefinition/Condition"/>
<mode value="target"/>
<alias value="ConditionR4B"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
<group>
<name value="Condition"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="ConditionR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="ConditionR4B"/>
<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="clinicalStatus"/>
<source>
<context value="src"/>
<element value="clinicalStatus"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="clinicalStatus"/>
<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="verificationStatus"/>
<source>
<context value="src"/>
<element value="verificationStatus"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="verificationStatus"/>
<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="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="severity"/>
<source>
<context value="src"/>
<element value="severity"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="severity"/>
<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="bodySite"/>
<source>
<context value="src"/>
<element value="bodySite"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="bodySite"/>
<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="encounter"/>
<source>
<context value="src"/>
<element value="encounter"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="encounter"/>
<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="onsetDateTime"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<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="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="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="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="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="abatementDateTime"/>
<source>
<context value="src"/>
<type value="dateTime"/>
<element value="abatement"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="abatement"/>
<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="abatementAge"/>
<source>
<context value="src"/>
<type value="Age"/>
<element value="abatement"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="abatement"/>
<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="abatementPeriod"/>
<source>
<context value="src"/>
<type value="Period"/>
<element value="abatement"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="abatement"/>
<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="abatementRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="abatement"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="abatement"/>
<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="abatementString"/>
<source>
<context value="src"/>
<type value="string"/>
<element value="abatement"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="abatement"/>
<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="recordedDate"/>
<source>
<context value="src"/>
<element value="recordedDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="recordedDate"/>
<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="recorder"/>
<source>
<context value="src"/>
<element value="participant"/>
<variable value="s"/>
<condition value="code = 'enterer'"/>
</source>
<target>
<context value="tgt"/>
<element value="recorder"/>
<transform value="copy"/>
<parameter>
<valueId value="s.actor"/>
</parameter>
</target>
</rule>
<rule>
<name value="asserter"/>
<source>
<context value="src"/>
<element value="participant"/>
<variable value="s"/>
<condition value="code = 'author'"/>
</source>
<target>
<context value="tgt"/>
<element value="asserter"/>
<transform value="copy"/>
<parameter>
<valueId value="s.actor"/>
</parameter>
</target>
</rule>
<rule>
<name value="stage"/>
<source>
<context value="src"/>
<element value="stage"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="stage"/>
<variable value="t"/>
</target>
<dependent>
<name value="ConditionStage"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="evidence"/>
<source>
<context value="src"/>
<element value="evidence"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="evidence"/>
<variable value="t"/>
</target>
<rule>
<name value="conceptCodeableConcept"/>
<source>
<context value="s"/>
<type value="CodeableConcept"/>
<element value="concept"/>
<variable value="vvv"/>
</source>
<target>
<context value="t"/>
<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="referenceReference"/>
<source>
<context value="s"/>
<type value="Reference"/>
<element value="reference"/>
<variable value="vvv"/>
</source>
<target>
<context value="t"/>
<element value="detail"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</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>
<group>
<name value="ConditionStage"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="summary"/>
<source>
<context value="src"/>
<element value="summary"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="summary"/>
<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="assessment"/>
<source>
<context value="src"/>
<element value="assessment"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="assessment"/>
<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>
</group>
</StructureMap>
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#5.1.0-ballot1 based on FHIR 5.0.0. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change