This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "Address5to4B",
"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/Address5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Address5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Address: R5 to R4B'</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>AddressType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-address-type.html\" title=\"AddressType\">http://hl7.org/fhir/address-type</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-address-type.html\" title=\"AddressType\">http://hl7.org/fhir/4.3/address-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>postal <b>-</b> t<span style=\"color: navy\">:</span>postal\r\n s<span style=\"color: navy\">:</span>physical <b>-</b> t<span style=\"color: navy\">:</span>physical\r\n s<span style=\"color: navy\">:</span>both <b>-</b> t<span style=\"color: navy\">:</span>both\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>AddressUse<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-address-use.html\" title=\"AddressUse\">http://hl7.org/fhir/address-use</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-address-use.html\" title=\"AddressUse\">http://hl7.org/fhir/4.3/address-use</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>home <b>-</b> t<span style=\"color: navy\">:</span>home\r\n s<span style=\"color: navy\">:</span>work <b>-</b> t<span style=\"color: navy\">:</span>work\r\n s<span style=\"color: navy\">:</span>temp <b>-</b> t<span style=\"color: navy\">:</span>temp\r\n s<span style=\"color: navy\">:</span>old <b>-</b> t<span style=\"color: navy\">:</span>old\r\n s<span style=\"color: navy\">:</span>billing <b>-</b> t<span style=\"color: navy\">:</span>billing\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/datatypes.html#Address\" title=\"Address\">http://hl7.org/fhir/StructureDefinition/Address</a><span style=\"color: navy\">" </span><b>alias </b>AddressR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/datatypes.html#Address\" title=\"Address\">http://hl7.org/fhir/4.3/StructureDefinition/Address</a><span style=\"color: navy\">" </span><b>alias </b>AddressR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Address<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>AddressR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>AddressR4B<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.use<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.use = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#AddressUse'</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.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\">'#AddressType'</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.text<span style=\"color: navy\"><b> -> </b></span>tgt.text<span style=\"color: navy\">;</span>\r\n src.line<span style=\"color: navy\"><b> -> </b></span>tgt.line<span style=\"color: navy\">;</span>\r\n src.city<span style=\"color: navy\"><b> -> </b></span>tgt.city<span style=\"color: navy\">;</span>\r\n src.district<span style=\"color: navy\"><b> -> </b></span>tgt.district<span style=\"color: navy\">;</span>\r\n src.state<span style=\"color: navy\"><b> -> </b></span>tgt.state<span style=\"color: navy\">;</span>\r\n src.postalCode<span style=\"color: navy\"><b> -> </b></span>tgt.postalCode<span style=\"color: navy\">;</span>\r\n src.country<span style=\"color: navy\"><b> -> </b></span>tgt.country<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<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "AddressType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/address-type",
"target" : "http://hl7.org/fhir/4.3/address-type",
"element" : [
{
"code" : "postal",
"target" : [
{
"code" : "postal",
"relationship" : "related-to"
}
]
},
{
"code" : "physical",
"target" : [
{
"code" : "physical",
"relationship" : "related-to"
}
]
},
{
"code" : "both",
"target" : [
{
"code" : "both",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "AddressUse",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/address-use",
"target" : "http://hl7.org/fhir/4.3/address-use",
"element" : [
{
"code" : "home",
"target" : [
{
"code" : "home",
"relationship" : "related-to"
}
]
},
{
"code" : "work",
"target" : [
{
"code" : "work",
"relationship" : "related-to"
}
]
},
{
"code" : "temp",
"target" : [
{
"code" : "temp",
"relationship" : "related-to"
}
]
},
{
"code" : "old",
"target" : [
{
"code" : "old",
"relationship" : "related-to"
}
]
},
{
"code" : "billing",
"target" : [
{
"code" : "billing",
"relationship" : "related-to"
}
]
}
]
}
]
}
],
"extension" : [
{
"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.extensions"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Address5to4B",
"version" : "1.0.0",
"name" : "Address5to4B",
"title" : "FML Conversion for Address: R5 to R4B",
"status" : "active",
"date" : "2023-03-26T08:47:34+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://hl7.org/Special/committees/fhir-i"
}
]
}
],
"description" : "FMLConversionforAddressR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/Address",
"mode" : "source",
"alias" : "AddressR5"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/Address",
"mode" : "target",
"alias" : "AddressR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "Address",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "AddressR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "AddressR4B",
"mode" : "target"
}
],
"rule" : [
{
"name" : "use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#AddressUse"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#AddressType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "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" : "line",
"source" : [
{
"context" : "src",
"element" : "line",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "line",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "city",
"source" : [
{
"context" : "src",
"element" : "city",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "city",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "district",
"source" : [
{
"context" : "src",
"element" : "district",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "district",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "state",
"source" : [
{
"context" : "src",
"element" : "state",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "state",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "postalCode",
"source" : [
{
"context" : "src",
"element" : "postalCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "postalCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "country",
"source" : [
{
"context" : "src",
"element" : "country",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "country",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "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"
}
]
}
]
}
]
}
]
}
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#1.0.0 based on FHIR 5.0.0. Generated 2023-03-26
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change