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 |
{
"resourceType" : "StructureMap",
"id" : "NamingSystem",
"text" : {
"status" : "generated",
"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/NamingSystem2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'NamingSystem'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'NamingSystem 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/NamingSystem<span style=\"color: navy\">" </span><b>alias </b>NamingSystemR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/NamingSystem<span style=\"color: navy\">" </span><b>alias </b>NamingSystem <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives2to3.html\" title=\"Primitive Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/primitives2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-DomainResource2to3.html\" title=\"DomainResource Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/DomainResource2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-ContactPoint2to3.html\" title=\"ContactPoint Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/ContactPoint2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Reference2to3.html\" title=\"Reference Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Reference2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Period2to3.html\" title=\"Period Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/Period2to3</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-CodeableConcept2to3.html\" title=\"CodeableConcept Transforms: R2 to R3\">http://hl7.org/fhir/StructureMap/CodeableConcept2to3</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>NamingSystem<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>NamingSystemR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>NamingSystem<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"NamingSystem-name"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"NamingSystem-status"</i><span style=\"color: navy\">;</span>\r\n src.kind<span style=\"color: navy\"><b> -> </b></span>tgt.kind <i>"NamingSystem-kind"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date <i>"NamingSystem-date"</i><span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher <i>"NamingSystem-publisher"</i><span style=\"color: navy\">;</span>\r\n src.contact<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.name<span style=\"color: navy\"><b> -> </b></span>vt0.name <i>"ContactDetail-name"</i><span style=\"color: navy\">;</span>\r\n vs0.telecom<span style=\"color: navy\"><b> -> </b></span>vt0.telecom <i>"ContactDetail-telecom"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"NamingSystem-contact"</i><span style=\"color: navy\">;</span>\r\n src.responsible<span style=\"color: navy\"><b> -> </b></span>tgt.responsible <i>"NamingSystem-responsible"</i><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"NamingSystem-type"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"NamingSystem-description"</i><span style=\"color: navy\">;</span>\r\n src.usage<span style=\"color: navy\"><b> -> </b></span>tgt.usage <i>"NamingSystem-usage"</i><span style=\"color: navy\">;</span>\r\n src.uniqueId<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.uniqueId<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.type<span style=\"color: navy\"><b> -> </b></span>vt0.type <i>"uniqueId-type"</i><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"><b> -> </b></span>vt0.value <i>"uniqueId-value"</i><span style=\"color: navy\">;</span>\r\n vs0.preferred<span style=\"color: navy\"><b> -> </b></span>vt0.preferred <i>"uniqueId-preferred"</i><span style=\"color: navy\">;</span>\r\n vs0.period<span style=\"color: navy\"><b> -> </b></span>vt0.period <i>"uniqueId-period"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"NamingSystem-uniqueId"</i><span style=\"color: navy\">;</span>\r\n src.replacedBy<span style=\"color: navy\"><b> -> </b></span>tgt.replacedBy <i>"NamingSystem-replacedBy"</i><span style=\"color: navy\">;</span>\r\n src.useContext<b> where </b>coding.system = 'urn:iso:std:iso:3166'<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction <i>"NamingSystem-jurisdiction"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/NamingSystem2to3",
"version" : "0.1.0",
"name" : "NamingSystem",
"title" : "NamingSystem Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "NamingSystemTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/NamingSystem",
"mode" : "source",
"alias" : "NamingSystemR2"
},
{
"url" : "http://hl7.org/fhir/3.0/NamingSystem",
"mode" : "target",
"alias" : "NamingSystem"
}
],
"import" : [
🔗 "http://hl7.org/fhir/StructureMap/primitives2to3"🔗 ,
"http://hl7.org/fhir/StructureMap/DomainResource2to3"🔗 ,
"http://hl7.org/fhir/StructureMap/ContactPoint2to3"🔗 ,
"http://hl7.org/fhir/StructureMap/Reference2to3"🔗 ,
"http://hl7.org/fhir/StructureMap/Period2to3"🔗 ,
"http://hl7.org/fhir/StructureMap/CodeableConcept2to3"
],
"group" : [
{
"name" : "NamingSystem",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "NamingSystemR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "NamingSystem",
"mode" : "target"
}
],
"rule" : [
{
"name" : "NamingSystem-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-kind",
"source" : [
{
"context" : "src",
"element" : "kind",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "kind",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "ContactDetail-name",
"source" : [
{
"context" : "vs0",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "ContactDetail-telecom",
"source" : [
{
"context" : "vs0",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NamingSystem-responsible",
"source" : [
{
"context" : "src",
"element" : "responsible",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "responsible",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-usage",
"source" : [
{
"context" : "src",
"element" : "usage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "usage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-uniqueId",
"source" : [
{
"context" : "src",
"element" : "uniqueId",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "uniqueId",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "uniqueId-type",
"source" : [
{
"context" : "vs0",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "uniqueId-value",
"source" : [
{
"context" : "vs0",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "uniqueId-preferred",
"source" : [
{
"context" : "vs0",
"element" : "preferred",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "preferred",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "uniqueId-period",
"source" : [
{
"context" : "vs0",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NamingSystem-replacedBy",
"source" : [
{
"context" : "src",
"element" : "replacedBy",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "replacedBy",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "NamingSystem-jurisdiction",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vvv",
"condition" : "coding.system = 'urn:iso:std:iso:3166'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}