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 |
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "Timing3to2"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Timing3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Timing3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Timing Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Timing<span style=\"color: navy\">" </span><b>alias </b>Timing <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Timing<span style=\"color: navy\">" </span><b>alias </b>TimingR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives3to2.html\" title=\"Primitive Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/primitives3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element3to2.html\" title=\"Period Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Element3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Period3to2.html\" title=\"Period Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Period3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Range3to2.html\" title=\"Range Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Range3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-CodeableConcept3to2.html\" title=\"CodeableConcept Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/CodeableConcept3to2</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Timing<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Timing, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>TimingR2<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.event<span style=\"color: navy\"><b> -> </b></span>tgt.event <i>"Timing-event"</i><span style=\"color: navy\">;</span>\r\n src.repeat<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeat<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.bounds<span style=\"color: navy\"> : </span>Range<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Range'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Range<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> <i>"repeat-bounds-Range"</i><span style=\"color: navy\">;</span>\r\n vs0.bounds<span style=\"color: navy\"> : </span>Period<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Period'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Period<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> <i>"repeat-bounds-Period"</i><span style=\"color: navy\">;</span>\r\n vs0.count<span style=\"color: navy\"><b> -> </b></span>vt0.count <i>"repeat-count"</i><span style=\"color: navy\">;</span>\r\n vs0.duration<span style=\"color: navy\"><b> -> </b></span>vt0.duration <i>"repeat-duration"</i><span style=\"color: navy\">;</span>\r\n vs0.durationMax<span style=\"color: navy\"><b> -> </b></span>vt0.durationMax <i>"repeat-durationMax"</i><span style=\"color: navy\">;</span>\r\n vs0.durationUnit<span style=\"color: navy\"><b> -> </b></span>vt0.durationUnits <i>"repeat-durationUnits"</i><span style=\"color: navy\">;</span>\r\n vs0.frequency<span style=\"color: navy\"><b> -> </b></span>vt0.frequency <i>"repeat-frequency"</i><span style=\"color: navy\">;</span>\r\n vs0.frequencyMax<span style=\"color: navy\"><b> -> </b></span>vt0.frequencyMax <i>"repeat-frequencyMax"</i><span style=\"color: navy\">;</span>\r\n vs0.period<span style=\"color: navy\"><b> -> </b></span>vt0.period <i>"repeat-period"</i><span style=\"color: navy\">;</span>\r\n vs0.periodMax<span style=\"color: navy\"><b> -> </b></span>vt0.periodMax <i>"repeat-periodMax"</i><span style=\"color: navy\">;</span>\r\n vs0.periodUnit<span style=\"color: navy\"><b> -> </b></span>vt0.periodUnits <i>"repeat-periodUnits"</i><span style=\"color: navy\">;</span>\r\n vs0.when<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>vt0.when = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#EventTiming'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"repeat-when"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"Timing-repeat"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Timing-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "fhir" ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
fhir:v "1"^^xsd:integer ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "draft" ;
( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/Timing3to2"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.1.0"] ; #
fhir:name [ fhir:v "Timing3to2"] ; #
fhir:title [ fhir:v "Timing Transforms: R3 to R2"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:date [ fhir:v "2024-02-22T03:16:50+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; #
fhir:contact ( [
( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] )
] ) ; #
fhir:description [ fhir:v "TimingTransformsR3toR2"] ; #
fhir:jurisdiction ( [
( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ] )
] ) ; #
fhir:structure ( [
fhir:url [
fhir:v "http://hl7.org/fhir/3.0/Timing"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/3.0/Timing> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "Timing" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/1.0/Timing"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/Timing> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "TimingR2" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/primitives3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/primitives3to2>
] [
fhir:v "http://hl7.org/fhir/StructureMap/Element3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/Element3to2>
] [
fhir:v "http://hl7.org/fhir/StructureMap/Period3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/Period3to2>
] [
fhir:v "http://hl7.org/fhir/StructureMap/Range3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/Range3to2>
] [
fhir:v "http://hl7.org/fhir/StructureMap/CodeableConcept3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/CodeableConcept3to2>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "Timing" ] ;
fhir:extends [ fhir:v "Element" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "Timing" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "TimingR2" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "Timing-event" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "event" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "event" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "Timing-repeat" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "repeat" ] ;
fhir:variable [ fhir:v "vs0" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "repeat" ] ;
fhir:variable [ fhir:v "vt0" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "repeat-bounds-Range" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:type [ fhir:v "Range" ] ;
fhir:element [ fhir:v "bounds" ] ;
fhir:variable [ fhir:v "vs" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "bounds" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "Range" ] ] ) ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "Range" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vs" ] ] [
fhir:value [ fhir:v "vt" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-bounds-Period" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:type [ fhir:v "Period" ] ;
fhir:element [ fhir:v "bounds" ] ;
fhir:variable [ fhir:v "vs" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "bounds" ] ;
fhir:variable [ fhir:v "vt" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "Period" ] ] ) ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "Period" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vs" ] ] [
fhir:value [ fhir:v "vt" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-count" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "count" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "count" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-duration" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "duration" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "duration" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-durationMax" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "durationMax" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "durationMax" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-durationUnits" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "durationUnit" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "durationUnits" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-frequency" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "frequency" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "frequency" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-frequencyMax" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "frequencyMax" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "frequencyMax" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-period" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "period" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "period" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-periodMax" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "periodMax" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "periodMax" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-periodUnits" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "periodUnit" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "periodUnits" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [
fhir:name [ fhir:v "repeat-when" ] ;
( fhir:source [
fhir:context [ fhir:v "vs0" ] ;
fhir:element [ fhir:v "when" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "vt0" ] ;
fhir:element [ fhir:v "when" ] ;
fhir:transform [ fhir:v "translate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] [
fhir:value [ fhir:v "#EventTiming" ] ] [
fhir:value [ fhir:v "code" ] ] ) ] ) ] ) ] [
fhir:name [ fhir:v "Timing-code" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:transform [ fhir:v "create" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vvv" ] ] [
fhir:value [ fhir:v "vvv" ] ] ) ] ) ] )
] ) . #
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.xver#0.1.0 based on FHIR 5.0.0. Generated 2024-02-22
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change