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
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="Dosage4to5"/>
<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/Dosage4to5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Dosage4to5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for Dosage: R4 to R5'</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/R4/datatypes.html#Dosage" title="Dosage">http://hl7.org/fhir/4.0/StructureDefinition/Dosage</a><span style="color: navy">" </span><b>alias </b>DosageR4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/dosage.html#Dosage" title="Dosage">http://hl7.org/fhir/StructureDefinition/Dosage</a><span style="color: navy">" </span><b>alias </b>DosageR5 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">"
</span>
<b>group </b>Dosage<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>DosageR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>DosageR5<span style="color: navy">)</span><b> extends </b>Element<b> <<type+>></b><span style="color: navy"> {
</span> src.modifierExtension<span style="color: navy"><b> -> </b></span>tgt.modifierExtension<span style="color: navy">;</span>
src.sequence<span style="color: navy"><b> -> </b></span>tgt.sequence<span style="color: navy">;</span>
src.text<span style="color: navy"><b> -> </b></span>tgt.text<span style="color: navy">;</span>
src.additionalInstruction<span style="color: navy"><b> -> </b></span>tgt.additionalInstruction<span style="color: navy">;</span>
src.patientInstruction<span style="color: navy"><b> -> </b></span>tgt.patientInstruction<span style="color: navy">;</span>
src.timing<span style="color: navy"><b> -> </b></span>tgt.timing<span style="color: navy">;</span>
src.asNeeded<span style="color: navy"> : </span>boolean<span style="color: navy"><b> -> </b></span>tgt.asNeeded<span style="color: navy">;</span>
src.asNeeded<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -> </b></span>tgt.asNeededFor<span style="color: navy">;</span>
src.site<span style="color: navy"><b> -> </b></span>tgt.site<span style="color: navy">;</span>
src.route<span style="color: navy"><b> -> </b></span>tgt.route<span style="color: navy">;</span>
src.method<span style="color: navy"><b> -> </b></span>tgt.method<span style="color: navy">;</span>
src.doseAndRate<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.doseAndRate<b> as </b><span style="color: maroon">t</span><b> then </b>DosageDoseAndRate<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.maxDosePerPeriod<span style="color: navy"><b> -> </b></span>tgt.maxDosePerPeriod<span style="color: navy">;</span>
src.maxDosePerAdministration<span style="color: navy"><b> -> </b></span>tgt.maxDosePerAdministration<span style="color: navy">;</span>
src.maxDosePerLifetime<span style="color: navy"><b> -> </b></span>tgt.maxDosePerLifetime<span style="color: navy">;</span>
<span style="color: navy">}
</span><b>group </b>DosageDoseAndRate<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>Element<span style="color: navy"> {
</span> src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
src.dose<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.dose<span style="color: navy">;</span>
src.dose<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -> </b></span>tgt.dose<span style="color: navy">;</span>
src.rate<span style="color: navy"> : </span>Ratio<span style="color: navy"><b> -> </b></span>tgt.rate<span style="color: navy">;</span>
src.rate<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.rate<span style="color: navy">;</span>
src.rate<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -> </b></span>tgt.rate<span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<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/Dosage4to5"/>
<version value="1.0.0"/>
<name value="Dosage4to5"/>
<title value="FML Conversion for Dosage: R4 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="FMLConversionforDosageR4toR5"/>
<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/StructureDefinition/Dosage"/>
<mode value="source"/>
<alias value="DosageR4"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/Dosage"/>
<mode value="target"/>
<alias value="DosageR5"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*4to5"/>
<group>
<name value="Dosage"/>
<extends value="Element"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="DosageR4"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="DosageR5"/>
<mode value="target"/>
</input>
<rule>
<name value="modifierExtension"/>
<source>
<context value="src"/>
<element value="modifierExtension"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="modifierExtension"/>
<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="sequence"/>
<source>
<context value="src"/>
<element value="sequence"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="sequence"/>
<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="additionalInstruction"/>
<source>
<context value="src"/>
<element value="additionalInstruction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="additionalInstruction"/>
<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="patientInstruction"/>
<source>
<context value="src"/>
<element value="patientInstruction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="patientInstruction"/>
<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="timing"/>
<source>
<context value="src"/>
<element value="timing"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="timing"/>
<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="asNeededBoolean"/>
<source>
<context value="src"/>
<type value="boolean"/>
<element value="asNeeded"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="asNeeded"/>
<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="asNeededCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="asNeeded"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="asNeededFor"/>
<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="site"/>
<source>
<context value="src"/>
<element value="site"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="site"/>
<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="route"/>
<source>
<context value="src"/>
<element value="route"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="route"/>
<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="method"/>
<source>
<context value="src"/>
<element value="method"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="method"/>
<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="doseAndRate"/>
<source>
<context value="src"/>
<element value="doseAndRate"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="doseAndRate"/>
<variable value="t"/>
</target>
<dependent>
<name value="DosageDoseAndRate"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="maxDosePerPeriod"/>
<source>
<context value="src"/>
<element value="maxDosePerPeriod"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="maxDosePerPeriod"/>
<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="maxDosePerAdministration"/>
<source>
<context value="src"/>
<element value="maxDosePerAdministration"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="maxDosePerAdministration"/>
<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="maxDosePerLifetime"/>
<source>
<context value="src"/>
<element value="maxDosePerLifetime"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="maxDosePerLifetime"/>
<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="DosageDoseAndRate"/>
<extends value="Element"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<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="doseRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="dose"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="dose"/>
<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="doseQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="dose"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="dose"/>
<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="rateRatio"/>
<source>
<context value="src"/>
<type value="Ratio"/>
<element value="rate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="rate"/>
<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="rateRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="rate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="rate"/>
<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="rateQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="rate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="rate"/>
<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#1.0.0 based on FHIR 5.0.0. Generated 2023-03-26
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change