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 |
@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 "Subscription4Bto5"] ; #
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/Subscription4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Subscription4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Subscription: R4B to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> "</span>SubscriptionStatusCodes<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-subscription-status.html\" title=\"SubscriptionStatus\">http://hl7.org/fhir/4.3/subscription-status</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-subscription-status.html\" title=\"Subscription Status\">http://hl7.org/fhir/subscription-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>requested <b>-</b> t<span style=\"color: navy\">:</span>requested\r\n s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n s<span style=\"color: navy\">:</span>error <b>-</b> t<span style=\"color: navy\">:</span>error\r\n s<span style=\"color: navy\">:</span>off <b>-</b> t<span style=\"color: navy\">:</span>off\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/subscription.html\" title=\"Subscription\">http://hl7.org/fhir/4.3/StructureDefinition/Subscription</a><span style=\"color: navy\">" </span><b>alias </b>SubscriptionR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/subscription.html\" title=\"Subscription\">http://hl7.org/fhir/StructureDefinition/Subscription</a><span style=\"color: navy\">" </span><b>alias </b>SubscriptionR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Subscription<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SubscriptionR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SubscriptionR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</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\">'#SubscriptionStatusCodes'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.identifier -> tgt.identifier;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.topic -> tgt.topic;</span>\r\n src.end<span style=\"color: navy\"><b> -> </b></span>tgt.end<span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.managingEntity -> tgt.managingEntity;</span>\r\n src.channel<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.type<b> as </b><span style=\"color: maroon\">s1</span><span style=\"color: navy\"><b> -> </b></span> tgt.channelType = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.code = <span style=\"color: maroon\">s1</span><span style=\"color: navy\">;</span>\r\n s.endpoint<span style=\"color: navy\"><b> -> </b></span>tgt.endpoint<span style=\"color: navy\">;</span>\r\n s.header<b> as </b><span style=\"color: maroon\">s1</span><span style=\"color: navy\"><b> -> </b></span> tgt.parameter<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.name = <span style=\"color: navy\">(</span>%s1.substring(0, %s1.indexOf(': '))<span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: navy\">(</span>%s1.substring(%s1.indexOf(': ') + 1)<span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n s.payload<span style=\"color: navy\"><b> -> </b></span>tgt.contentType<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">criteria replaced - see subscriptions backport IG</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
] ; #
fhir:contained ( [
a fhir:ConceptMap ;
fhir:id [ fhir:v "SubscriptionStatusCodes" ] ;
fhir:status [ fhir:v "active" ] ;
( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/4.3/subscription-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.3/subscription-status> ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/subscription-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/subscription-status> ] ;
( fhir:element [
fhir:code [ fhir:v "requested" ] ;
( fhir:target [
fhir:code [ fhir:v "requested" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "active" ] ;
( fhir:target [
fhir:code [ fhir:v "active" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "error" ] ;
( fhir:target [
fhir:code [ fhir:v "error" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "off" ] ;
( fhir:target [
fhir:code [ fhir:v "off" ] ;
fhir:relationship [ fhir:v "related-to" ] ;
fhir:comment [ fhir:v "s:\"entered-in-error\" - t:\"entered-in-error\"" ] ] ) ] ) ] )
] ) ; #
fhir:extension ( [
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.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions> ] ] ) ]
] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "trial-use" ;
( 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.extensions"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions> ] ] ) ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/Subscription4Bto5"^^xsd:anyURI] ; #
fhir:version [ fhir:v "1.0.0"] ; #
fhir:name [ fhir:v "Subscription4Bto5"] ; #
fhir:title [ fhir:v "FML Conversion for Subscription: R4B to R5"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:date [ fhir:v "2023-03-26T08:47:34+11: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://hl7.org/Special/committees/fhir-i" ] ] )
] ) ; #
fhir:description [ fhir:v "FMLConversionforSubscriptionR4BtoR5"] ; #
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/4.3/StructureDefinition/Subscription"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.3/StructureDefinition/Subscription> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "SubscriptionR4B" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Subscription"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Subscription> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "SubscriptionR5" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*4Bto5"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*4Bto5>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "Subscription" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "SubscriptionR4B" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "SubscriptionR5" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "status" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "translate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] [
fhir:value [ fhir:v "#SubscriptionStatusCodes" ] ] [
fhir:value [ fhir:v "code" ] ] ) ] ) ;
fhir:documentation [ fhir:v "src.identifier -> tgt.identifier;" ] ] [
fhir:name [ fhir:v "contact" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "contact" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "contact" ] ;
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:documentation [ fhir:v "src.topic -> tgt.topic;" ] ] [
fhir:name [ fhir:v "end" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "end" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "end" ] ;
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 "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:documentation [ fhir:v "src.managingEntity -> tgt.managingEntity;" ] ] [
fhir:name [ fhir:v "channel" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "channel" ] ;
fhir:variable [ fhir:v "s" ] ] ) ;
( fhir:target [
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "tgt" ] ] ) ] ) ;
( fhir:rule [
fhir:name [ fhir:v "type" ] ;
( fhir:source [
fhir:context [ fhir:v "s" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "s1" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "channelType" ] ;
fhir:variable [ fhir:v "t" ] ;
fhir:transform [ fhir:v "create" ] ;
( fhir:parameter [
fhir:value [ fhir:v "Coding" ] ] ) ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
( fhir:parameter [
fhir:value [ fhir:v "s1" ] ] ) ] ) ] [
fhir:name [ fhir:v "endpoint" ] ;
( fhir:source [
fhir:context [ fhir:v "s" ] ;
fhir:element [ fhir:v "endpoint" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "endpoint" ] ;
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 "header" ] ;
( fhir:source [
fhir:context [ fhir:v "s" ] ;
fhir:element [ fhir:v "header" ] ;
fhir:variable [ fhir:v "s1" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "parameter" ] ;
fhir:variable [ fhir:v "t" ] ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:transform [ fhir:v "evaluate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "%s1.substring(0, %s1.indexOf(': '))" ] ] ) ] [
fhir:context [ fhir:v "t" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "evaluate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "%s1.substring(%s1.indexOf(': ') + 1)" ] ] ) ] ) ] [
fhir:name [ fhir:v "payload" ] ;
( fhir:source [
fhir:context [ fhir:v "s" ] ;
fhir:element [ fhir:v "payload" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "contentType" ] ;
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:documentation [ fhir:v "criteria replaced - see subscriptions backport IG" ] ] )
] ) . #
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