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="Slot5to4"/>
<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/Slot5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'Slot5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for Slot: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>conceptmap</b><span style="color: navy"> "</span>SlotStatus<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-slotstatus.html" title="Slot Status">http://hl7.org/fhir/slotstatus</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-slotstatus.html" title="SlotStatus">http://hl7.org/fhir/4.0/slotstatus</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>busy <b>-</b> t<span style="color: navy">:</span>busy
s<span style="color: navy">:</span>free <b>-</b> t<span style="color: navy">:</span>free
s<span style="color: navy">:</span>"busy-unavailable" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>busy-unavailable<span style="color: navy">"</span>
s<span style="color: navy">:</span>"busy-tentative" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>busy-tentative<span style="color: navy">"</span>
s<span style="color: navy">:</span>"entered-in-error" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>entered-in-error<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/slot.html" title="Slot">http://hl7.org/fhir/StructureDefinition/Slot</a><span style="color: navy">" </span><b>alias </b>SlotR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4/slot.html" title="Slot">http://hl7.org/fhir/4.0/StructureDefinition/Slot</a><span style="color: navy">" </span><b>alias </b>SlotR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">"
</span>
<b>group </b>Slot<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SlotR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SlotR4<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.serviceCategory<span style="color: navy"><b> -> </b></span>tgt.serviceCategory<span style="color: navy">;</span>
src.serviceType<span style="color: navy"><b> -> </b></span>tgt.serviceType<span style="color: navy">;</span>
src.specialty<span style="color: navy"><b> -> </b></span>tgt.specialty<span style="color: navy">;</span>
src.appointmentType<span style="color: navy"><b> -> </b></span>tgt.appointmentType<span style="color: navy">;</span>
src.schedule<span style="color: navy"><b> -> </b></span>tgt.schedule<span style="color: navy">;</span>
src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -> </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">'#SlotStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.start<span style="color: navy"><b> -> </b></span>tgt.start<span style="color: navy">;</span>
src.end<span style="color: navy"><b> -> </b></span>tgt.end<span style="color: navy">;</span>
src.overbooked<span style="color: navy"><b> -> </b></span>tgt.overbooked<span style="color: navy">;</span>
src.comment<span style="color: navy"><b> -> </b></span>tgt.comment<span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<contained>
<ConceptMap>
<id value="SlotStatus"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/slotstatus"/>
<target value="http://hl7.org/fhir/4.0/slotstatus"/>
<element>
<code value="busy"/>
<target>
<code value="busy"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="free"/>
<target>
<code value="free"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="busy-unavailable"/>
<target>
<code value="busy-unavailable"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="busy-tentative"/>
<target>
<code value="busy-tentative"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="entered-in-error"/>
<target>
<code value="entered-in-error"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<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/Slot5to4"/>
<version value="5.1.0-ballot1"/>
<name value="Slot5to4"/>
<title value="FML Conversion for Slot: R5 to R4"/>
<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="FMLConversionforSlotR5toR4"/>
<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/Slot"/>
<mode value="source"/>
<alias value="SlotR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/StructureDefinition/Slot"/>
<mode value="target"/>
<alias value="SlotR4"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4"/>
<group>
<name value="Slot"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="SlotR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="SlotR4"/>
<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="serviceCategory"/>
<source>
<context value="src"/>
<element value="serviceCategory"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="serviceCategory"/>
<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="serviceType"/>
<source>
<context value="src"/>
<element value="serviceType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="serviceType"/>
<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="specialty"/>
<source>
<context value="src"/>
<element value="specialty"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="specialty"/>
<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="appointmentType"/>
<source>
<context value="src"/>
<element value="appointmentType"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="appointmentType"/>
<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="schedule"/>
<source>
<context value="src"/>
<element value="schedule"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="schedule"/>
<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="#SlotStatus"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="start"/>
<source>
<context value="src"/>
<element value="start"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="start"/>
<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="end"/>
<source>
<context value="src"/>
<element value="end"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="end"/>
<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="overbooked"/>
<source>
<context value="src"/>
<element value="overbooked"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="overbooked"/>
<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="comment"/>
<source>
<context value="src"/>
<element value="comment"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="comment"/>
<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