This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. 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 "RelatedPerson5to4"] ; #
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/RelatedPerson5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RelatedPerson5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for RelatedPerson: R5 to R4'</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>AdministrativeGender<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/administrative-gender</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/4.0/administrative-gender</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>male <b>-</b> t<span style=\"color: navy\">:</span>male\r\n s<span style=\"color: navy\">:</span>female <b>-</b> t<span style=\"color: navy\">:</span>female\r\n s<span style=\"color: navy\">:</span>other <b>-</b> t<span style=\"color: navy\">:</span>other\r\n s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\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/R5/relatedperson.html\" title=\"RelatedPerson\">http://hl7.org/fhir/StructureDefinition/RelatedPerson</a><span style=\"color: navy\">" </span><b>alias </b>RelatedPersonR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/relatedperson.html\" title=\"RelatedPerson\">http://hl7.org/fhir/4.0/StructureDefinition/RelatedPerson</a><span style=\"color: navy\">" </span><b>alias </b>RelatedPersonR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>RelatedPerson<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>RelatedPersonR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RelatedPersonR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.active<span style=\"color: navy\"><b> -> </b></span>tgt.active<span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n src.relationship<span style=\"color: navy\"><b> -> </b></span>tgt.relationship<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.telecom<span style=\"color: navy\"><b> -> </b></span>tgt.telecom<span style=\"color: navy\">;</span>\r\n src.gender<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.gender = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#AdministrativeGender'</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.birthDate<span style=\"color: navy\"><b> -> </b></span>tgt.birthDate<span style=\"color: navy\">;</span>\r\n src.address<span style=\"color: navy\"><b> -> </b></span>tgt.address<span style=\"color: navy\">;</span>\r\n src.photo<span style=\"color: navy\"><b> -> </b></span>tgt.photo<span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period<span style=\"color: navy\">;</span>\r\n src.communication<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.communication<b> as </b><span style=\"color: maroon\">t</span><b> then </b>RelatedPersonCommunication<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>RelatedPersonCommunication<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.language<span style=\"color: navy\"><b> -> </b></span>tgt.language<span style=\"color: navy\">;</span>\r\n src.preferred<span style=\"color: navy\"><b> -> </b></span>tgt.preferred<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 "AdministrativeGender" ] ;
fhir:status [ fhir:v "active" ] ;
( fhir:group [
fhir:source [
fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/administrative-gender> ] ;
fhir:target [
fhir:v "http://hl7.org/fhir/4.0/administrative-gender"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/administrative-gender> ] ;
( fhir:element [
fhir:code [ fhir:v "male" ] ;
( fhir:target [
fhir:code [ fhir:v "male" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "female" ] ;
( fhir:target [
fhir:code [ fhir:v "female" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "other" ] ;
( fhir:target [
fhir:code [ fhir:v "other" ] ;
fhir:relationship [ fhir:v "related-to" ] ] ) ] [
fhir:code [ fhir:v "unknown" ] ;
( fhir:target [
fhir:code [ fhir:v "unknown" ] ;
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/RelatedPerson5to4"^^xsd:anyURI] ; #
fhir:version [ fhir:v "5.1.0"] ; #
fhir:name [ fhir:v "RelatedPerson5to4"] ; #
fhir:title [ fhir:v "FML Conversion for RelatedPerson: R5 to R4"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:date [ fhir:v "2024-04-27T18:54:50+10: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 "FMLConversionforRelatedPersonR5toR4"] ; #
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/StructureDefinition/RelatedPerson"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson> ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "RelatedPersonR5" ]
] [
fhir:url [
fhir:v "http://hl7.org/fhir/4.0/StructureDefinition/RelatedPerson"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/RelatedPerson> ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "RelatedPersonR4" ]
] ) ; #
fhir:import ( [
fhir:v "http://hl7.org/fhir/StructureMap/*5to4"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureMap/*5to4>
] ) ; #
fhir:group ( [
fhir:name [ fhir:v "RelatedPerson" ] ;
fhir:extends [ fhir:v "DomainResource" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
( fhir:input [
fhir:name [ fhir:v "src" ] ;
fhir:type [ fhir:v "RelatedPersonR5" ] ;
fhir:mode [ fhir:v "source" ] ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "RelatedPersonR4" ] ;
fhir:mode [ fhir:v "target" ] ] ) ;
( fhir:rule [
fhir:name [ fhir:v "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 "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 "patient" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "patient" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "patient" ] ;
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 "relationship" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "relationship" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "relationship" ] ;
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 "name" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "name" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "name" ] ;
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 "telecom" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "telecom" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "telecom" ] ;
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 "gender" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "gender" ] ;
fhir:variable [ fhir:v "v" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "gender" ] ;
fhir:transform [ fhir:v "translate" ] ;
( fhir:parameter [
fhir:value [ fhir:v "v" ] ] [
fhir:value [ fhir:v "#AdministrativeGender" ] ] [
fhir:value [ fhir:v "code" ] ] ) ] ) ] [
fhir:name [ fhir:v "birthDate" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "birthDate" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "birthDate" ] ;
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 "address" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "address" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "address" ] ;
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 "photo" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "photo" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "photo" ] ;
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 "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 "communication" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "communication" ] ;
fhir:variable [ fhir:v "s" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "communication" ] ;
fhir:variable [ fhir:v "t" ] ] ) ;
( fhir:dependent [
fhir:name [ fhir:v "RelatedPersonCommunication" ] ;
( fhir:parameter [
fhir:value [ fhir:v "s" ] ] [
fhir:value [ fhir:v "t" ] ] ) ] ) ] )
] [
fhir:name [ fhir:v "RelatedPersonCommunication" ] ;
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 "language" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "language" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "language" ] ;
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 "preferred" ] ;
( fhir:source [
fhir:context [ fhir:v "src" ] ;
fhir:element [ fhir:v "preferred" ] ;
fhir:variable [ fhir:v "vvv" ] ] ) ;
( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:element [ fhir:v "preferred" ] ;
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 based on FHIR 5.0.0. Generated 2024-04-27
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change