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 "SupplyRequest2to3"] ; #
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/SupplyRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SupplyRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'SupplyRequest Transforms: R2 to R3'</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/1.0/SupplyRequest<span style=\"color: navy\">" </span><b>alias </b>SupplyRequestR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/SupplyRequest<span style=\"color: navy\">" </span><b>alias </b>SupplyRequest <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>SupplyRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SupplyRequestR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SupplyRequest<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.patient<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.url = <span style=\"color: blue\">'http://hl7.org/fhir/SupplyRequest-r2-patient'</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">v</span> <i>"SupplyRequest-patient"</i><span style=\"color: navy\">;</span>\r\n src.source<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.requester<b> as </b><span style=\"color: maroon\">r</span><span style=\"color: navy\">, </span> r.agent<b> as </b><span style=\"color: maroon\">v</span> <i>"SupplyRequest-source"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.authoredOn <i>"SupplyRequest-date"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"SupplyRequest-identifier"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"SupplyRequest-status"</i><span style=\"color: navy\">;</span>\r\n src.kind<span style=\"color: navy\"><b> -> </b></span>tgt.category <i>"SupplyRequest-kind"</i><span style=\"color: navy\">;</span>\r\n src.orderedItem<span style=\"color: navy\"><b> -> </b></span>tgt.orderedItem <i>"SupplyRequest-orderedItem"</i><span style=\"color: navy\">;</span>\r\n src.supplier<span style=\"color: navy\"><b> -> </b></span>tgt.supplier <i>"SupplyRequest-supplier"</i><span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason <i>"SupplyRequest-reason"</i><span style=\"color: navy\">;</span>\r\n src.when<b> as </b><span style=\"color: maroon\">vs0</span><b> then </b>srWhen<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"SupplyRequest-when"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>srWhen<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\"> {\r\n</span> src.schedule<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"when-schedule"</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/SupplyRequest2to3"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.1.0"] ; #
fhir:name [ fhir:v "SupplyRequest2to3"] ; #
fhir:title [ fhir:v "SupplyRequest Transforms: R2 to R3"] ; #
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 "SupplyRequestTransformsR2toR3"] ; #
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/1.0/SupplyRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/SupplyRequest> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "SupplyRequestR2" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/3.0/SupplyRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/3.0/SupplyRequest> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "SupplyRequest" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*2to3"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*2to3>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "SupplyRequest" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "SupplyRequestR2" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "SupplyRequest" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "SupplyRequest-patient" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "patient" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "extension" ] ;
fhir:variable [ fhir:v "t" ] ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "http://hl7.org/fhir/SupplyRequest-r2-patient" ] ] ) ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] ) ] ) ] [
fhir:name [ fhir:v "SupplyRequest-source" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "source" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "requester" ] ;
fhir:variable [ fhir:v "r" ] ] [
fhir:context [ fhir:v "r" ] ;
fhir:element [ fhir:v "agent" ] ;
fhir:variable [ fhir:v "v" ] ] ) ] [
fhir:name [ fhir:v "SupplyRequest-date" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "date" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "authoredOn" ] ;
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 "SupplyRequest-identifier" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "identifier" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "identifier" ] ;
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 "SupplyRequest-status" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "status" ] ;
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 "SupplyRequest-kind" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "kind" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "category" ] ;
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 "SupplyRequest-orderedItem" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "orderedItem" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "orderedItem" ] ;
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 "SupplyRequest-supplier" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "supplier" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "supplier" ] ;
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 "SupplyRequest-reason" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "reason" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "reason" ] ;
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 "SupplyRequest-when" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "when" ] ;
fhir:variable [ fhir:v "vs0" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "srWhen" ] ;
( fhir:parameter [
fhir:value [ fhir:v "vs0" ] ] [
fhir:value [ fhir:v "tgt" ] ] ) ] ) ] )
] [
fhir:name [ fhir:v "srWhen" ] ;
fhir:extends [ fhir:v "BackboneElement" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "when-schedule" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "schedule" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "occurrence" ] ;
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