This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) 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 |
@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 "Linkage4to5"] ; #
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/Linkage4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Linkage4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Linkage: R4 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>LinkageType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-linkage-type.html\" title=\"LinkageType\">http://hl7.org/fhir/4.0/linkage-type</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-linkage-type.html\" title=\"Linkage Type\">http://hl7.org/fhir/linkage-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>source <b>-</b> t<span style=\"color: navy\">:</span>source\r\n s<span style=\"color: navy\">:</span>alternate <b>-</b> t<span style=\"color: navy\">:</span>alternate\r\n s<span style=\"color: navy\">:</span>historical <b>-</b> t<span style=\"color: navy\">:</span>historical\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/R4/linkage.html\" title=\"Linkage\">http://hl7.org/fhir/4.0/StructureDefinition/Linkage</a><span style=\"color: navy\">" </span><b>alias </b>LinkageR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/linkage.html\" title=\"Linkage\">http://hl7.org/fhir/StructureDefinition/Linkage</a><span style=\"color: navy\">" </span><b>alias </b>LinkageR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Linkage<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>LinkageR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>LinkageR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.active<span style=\"color: navy\"><b> -> </b></span>tgt.active<span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -> </b></span>tgt.author<span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.item<b> as </b><span style=\"color: maroon\">t</span><b> then </b>LinkageItem<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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>LinkageItem<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.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#LinkageType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.resource<span style=\"color: navy\"><b> -> </b></span>tgt.resource<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
] ; #
fhir:contained ( [
a fhir:ConceptMap ;
fhir:id [ fhir:v "LinkageType" ] ;
fhir:status [ fhir:v "active" ] ;
( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/4.0/linkage-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/linkage-type> ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/linkage-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/linkage-type> ] ;
( fhir:element [
fhir:code [ fhir:v "source" ] ;
( fhir:target [
fhir:code [ fhir:v "source" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "alternate" ] ;
( fhir:target [
fhir:code [ fhir:v "alternate" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "historical" ] ;
( fhir:target [
fhir:code [ fhir:v "historical" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] ) ] )
] ) ; #
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.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/Linkage4to5"^^xsd:anyURI] ; #
fhir:version [ fhir:v "5.1.0-snapshot1"] ; #
fhir:name [ fhir:v "Linkage4to5"] ; #
fhir:title [ fhir:v "FML Conversion for Linkage: R4 to R5"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:date [ fhir:v "2024-03-12T13:30:10+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://www.hl7.org/Special/committees/fiwg" ] ] )
] ) ; #
fhir:description [ fhir:v "FMLConversionforLinkageR4toR5"] ; #
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.0/StructureDefinition/Linkage"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/Linkage> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "LinkageR4" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/Linkage"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Linkage> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "LinkageR5" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*4to5"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*4to5>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "Linkage" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "LinkageR4" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "LinkageR5" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "active" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "active" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "active" ] ;
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 "author" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "author" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "author" ] ;
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 "item" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "item" ] ;
fhir:variable [ fhir:v "s" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "item" ] ;
fhir:variable [ fhir:v "t" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "LinkageItem" ] ;
( fhir:parameter [
fhir:value [ fhir:v "s" ] ] [
fhir:value [ fhir:v "t" ] ] ) ] ) ] )
] [
fhir:name [ fhir:v "LinkageItem" ] ;
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 "type" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:transform [ fhir:v "translate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] [
fhir:value [ fhir:v "#LinkageType" ] ] [
fhir:value [ fhir:v "code" ] ] ) ] ) ] [
fhir:name [ fhir:v "resource" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "resource" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "resource" ] ;
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.extensions#5.1.0-snapshot1 based on FHIR 5.0.0. Generated 2024-03-12
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change