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" : "HumanName2to3",
"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/HumanName2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'HumanName2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'HumanName 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/HumanName<span style=\"color: navy\">" </span><b>alias </b>HumanNameR2 <b>as </b><b>source</b>\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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<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>HumanNameR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>HumanName<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> 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.family not_first<b> as </b><span style=\"color: maroon\">f</span><span style=\"color: navy\"><b> -> </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">ex</span><span style=\"color: navy\">, </span> ex.url = <span style=\"color: blue\">'http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat'</span><span style=\"color: navy\">, </span> ex.value = <span style=\"color: maroon\">f</span> <i>"HumanName-family-rpt"</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></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/HumanName2to3",
"version" : "0.1.0",
"name" : "HumanName2to3",
"title" : "HumanName 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" : "HumanNameTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/HumanName",
"mode" : "source",
"alias" : "HumanNameR2"
},
{
"url" : "http://hl7.org/fhir/3.0/HumanName",
"mode" : "target",
"alias" : "HumanName"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "HumanName",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "HumanNameR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "HumanName",
"mode" : "target"
}
],
"rule" : [
{
"name" : "HumanName-use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-text",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-family",
"source" : [
{
"context" : "src",
"element" : "family",
"listMode" : "first",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "family",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-family-rpt",
"source" : [
{
"context" : "src",
"element" : "family",
"listMode" : "not_first",
"variable" : "f"
}
],
"target" : [
{
"context" : "tgt",
"element" : "extension",
"variable" : "ex"
},
{
"context" : "ex",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/StructureDefinition/HumanName-familyRepeat"
}
]
},
{
"context" : "ex",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "f"
}
]
}
]
},
{
"name" : "HumanName-given",
"source" : [
{
"context" : "src",
"element" : "given",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "given",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-prefix",
"source" : [
{
"context" : "src",
"element" : "prefix",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "prefix",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-suffix",
"source" : [
{
"context" : "src",
"element" : "suffix",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "suffix",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "HumanName-period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}