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 |
{
"resourceType" : "StructureMap",
"id" : "ContactPoint4Bto5",
"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/ContactPoint4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ContactPoint4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for ContactPoint: R4B to R5'</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>ContactPointSystem<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-contact-point-system.html\" title=\"ContactPointSystem\">http://hl7.org/fhir/4.3/contact-point-system</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-contact-point-system.html\" title=\"ContactPointSystem\">http://hl7.org/fhir/contact-point-system</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>phone <b>-</b> t<span style=\"color: navy\">:</span>phone\r\n s<span style=\"color: navy\">:</span>fax <b>-</b> t<span style=\"color: navy\">:</span>fax\r\n s<span style=\"color: navy\">:</span>email <b>-</b> t<span style=\"color: navy\">:</span>email\r\n s<span style=\"color: navy\">:</span>pager <b>-</b> t<span style=\"color: navy\">:</span>pager\r\n s<span style=\"color: navy\">:</span>url <b>-</b> t<span style=\"color: navy\">:</span>url\r\n s<span style=\"color: navy\">:</span>sms <b>-</b> t<span style=\"color: navy\">:</span>sms\r\n s<span style=\"color: navy\">:</span>other <b>-</b> t<span style=\"color: navy\">:</span>other\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>ContactPointUse<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-contact-point-use.html\" title=\"ContactPointUse\">http://hl7.org/fhir/4.3/contact-point-use</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-contact-point-use.html\" title=\"ContactPointUse\">http://hl7.org/fhir/contact-point-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>mobile <b>-</b> t<span style=\"color: navy\">:</span>mobile\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/R4B/datatypes.html#ContactPoint\" title=\"ContactPoint\">http://hl7.org/fhir/4.3/StructureDefinition/ContactPoint</a><span style=\"color: navy\">" </span><b>alias </b>ContactPointR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/datatypes.html#ContactPoint\" title=\"ContactPoint\">http://hl7.org/fhir/StructureDefinition/ContactPoint</a><span style=\"color: navy\">" </span><b>alias </b>ContactPointR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ContactPoint<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ContactPointR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ContactPointR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.system<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.system = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#ContactPointSystem'</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.value<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n 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\">'#ContactPointUse'</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.rank<span style=\"color: navy\"><b> -> </b></span>tgt.rank<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" : "ContactPointSystem",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/contact-point-system",
"target" : "http://hl7.org/fhir/contact-point-system",
"element" : [
{
"code" : "phone",
"target" : [
{
"code" : "phone",
"relationship" : "related-to"
}
]
},
{
"code" : "fax",
"target" : [
{
"code" : "fax",
"relationship" : "related-to"
}
]
},
{
"code" : "email",
"target" : [
{
"code" : "email",
"relationship" : "related-to"
}
]
},
{
"code" : "pager",
"target" : [
{
"code" : "pager",
"relationship" : "related-to"
}
]
},
{
"code" : "url",
"target" : [
{
"code" : "url",
"relationship" : "related-to"
}
]
},
{
"code" : "sms",
"target" : [
{
"code" : "sms",
"relationship" : "related-to"
}
]
},
{
"code" : "other",
"target" : [
{
"code" : "other",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "ContactPointUse",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/contact-point-use",
"target" : "http://hl7.org/fhir/contact-point-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" : "mobile",
"target" : [
{
"code" : "mobile",
"relationship" : "related-to"
}
]
}
]
}
]
}
],
"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.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/ContactPoint4Bto5",
"version" : "5.1.0",
"name" : "ContactPoint4Bto5",
"title" : "FML Conversion for ContactPoint: R4B to R5",
"status" : "active",
"date" : "2024-04-27T18:54:50+10:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforContactPointR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/ContactPoint",
"mode" : "source",
"alias" : "ContactPointR4B"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/ContactPoint",
"mode" : "target",
"alias" : "ContactPointR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "ContactPoint",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ContactPointR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ContactPointR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#ContactPointSystem"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#ContactPointUse"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "rank",
"source" : [
{
"context" : "src",
"element" : "rank",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "rank",
"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"
}
]
}
]
}
]
}
]
}