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 "HumanName3to2"] ; #
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/HumanName3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'HumanName3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'HumanName 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/HumanName<span style=\"color: navy\">" </span><b>alias </b>HumanName <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/HumanName<span style=\"color: navy\">" </span><b>alias </b>HumanNameR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>HumanName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>HumanName, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>HumanNameR2<span style=\"color: navy\">)</span><b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.id<span style=\"color: navy\"><b> -> </b></span>tgt.id <i>"HumanName-id"</i><span style=\"color: navy\">;</span>\r\n src.extension<b> where </b>url != 'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'<span style=\"color: navy\"><b> -> </b></span>tgt.extension <i>"HumanName-extensions"</i><span style=\"color: navy\">;</span>\r\n src.use<span style=\"color: navy\"><b> -> </b></span>tgt.use <i>"HumanName-use"</i><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"HumanName-text"</i><span style=\"color: navy\">;</span>\r\n src.family first<span style=\"color: navy\"><b> -> </b></span>tgt.family <i>"HumanName-family"</i><span style=\"color: navy\">;</span>\r\n src.extension<b> as </b><span style=\"color: maroon\">ex</span><b> where </b>url = 'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'<span style=\"color: navy\"><b> -> </b></span>tgt.family<b> as </b><span style=\"color: maroon\">f</span><b> then </b>nameRepeat<span style=\"color: navy\">(</span><span style=\"color: maroon\">ex</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">f</span><span style=\"color: navy\">)</span> <i>"HumanName-family-rpt-ex"</i><span style=\"color: navy\">;</span>\r\n src.given<span style=\"color: navy\"><b> -> </b></span>tgt.given <i>"HumanName-given"</i><span style=\"color: navy\">;</span>\r\n src.prefix<span style=\"color: navy\"><b> -> </b></span>tgt.prefix <i>"HumanName-prefix"</i><span style=\"color: navy\">;</span>\r\n src.suffix<span style=\"color: navy\"><b> -> </b></span>tgt.suffix <i>"HumanName-suffix"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"HumanName-period"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>nameRepeat<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><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><b> then </b>string<span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"HumanName-family-rpt-2"</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/HumanName3to2"^^xsd:anyURI] ; #
fhir:version [ fhir:v "0.1.0"] ; #
fhir:name [ fhir:v "HumanName3to2"] ; #
fhir:title [ fhir:v "HumanName 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 "HumanNameTransformsR3toR2"] ; #
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/HumanName"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/3.0/HumanName> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "HumanName" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/1.0/HumanName"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/1.0/HumanName> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "HumanNameR2" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*3to2"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*3to2>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "HumanName" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "HumanName" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "HumanNameR2" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "HumanName-id" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "id" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "id" ] ;
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 "HumanName-extensions" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "extension" ] ;
fhir:variable [ fhir:v "vvv" ] ;
fhir:condition [ fhir:v "url != 'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "extension" ] ;
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 "HumanName-use" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "use" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "use" ] ;
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 "HumanName-text" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "text" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "text" ] ;
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 "HumanName-family" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "family" ] ;
fhir:listMode [ fhir:v "first" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "family" ] ;
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 "HumanName-family-rpt-ex" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "extension" ] ;
fhir:variable [ fhir:v "ex" ] ;
fhir:condition [ fhir:v "url = 'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "family" ] ;
fhir:variable [ fhir:v "f" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "nameRepeat" ] ;
( fhir:parameter [
fhir:value [ fhir:v "ex" ] ] [
fhir:value [ fhir:v "f" ] ] ) ] ) ] [
fhir:name [ fhir:v "HumanName-given" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "given" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "given" ] ;
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 "HumanName-prefix" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "prefix" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "prefix" ] ;
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 "HumanName-suffix" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "suffix" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "suffix" ] ;
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 "HumanName-period" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "period" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
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 "nameRepeat" ] ;
( 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 "HumanName-family-rpt-2" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "string" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] [
fhir:value [ fhir:v "tgt" ] ] ) ] ) ] )
] ) . #
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