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" : "RelatedArtifact5to4",
"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/RelatedArtifact5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RelatedArtifact5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for RelatedArtifact: 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>RelatedArtifactPublicationStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/publication-status</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-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/4.0/publication-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n s<span style=\"color: navy\">:</span>retired <b>-</b> t<span style=\"color: navy\">:</span>retired\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>conceptmap</b><span style=\"color: navy\"> "</span>RelatedArtifactType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-related-artifact-type.html\" title=\"RelatedArtifactType\">http://hl7.org/fhir/related-artifact-type</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-related-artifact-type.html\" title=\"RelatedArtifactType\">http://hl7.org/fhir/4.0/related-artifact-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>documentation <b>-</b> t<span style=\"color: navy\">:</span>documentation\r\n s<span style=\"color: navy\">:</span>justification <b>-</b> t<span style=\"color: navy\">:</span>justification\r\n s<span style=\"color: navy\">:</span>citation <b>-</b> t<span style=\"color: navy\">:</span>citation\r\n s<span style=\"color: navy\">:</span>predecessor <b>-</b> t<span style=\"color: navy\">:</span>predecessor\r\n s<span style=\"color: navy\">:</span>successor <b>-</b> t<span style=\"color: navy\">:</span>successor\r\n s<span style=\"color: navy\">:</span>"derived-from" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>derived-from<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"depends-on" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>depends-on<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"composed-of" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>composed-of<span style=\"color: navy\">"</span>\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/metadatatypes.html#RelatedArtifact\" title=\"RelatedArtifact\">http://hl7.org/fhir/StructureDefinition/RelatedArtifact</a><span style=\"color: navy\">" </span><b>alias </b>RelatedArtifactR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/metadatatypes.html#RelatedArtifact\" title=\"RelatedArtifact\">http://hl7.org/fhir/4.0/StructureDefinition/RelatedArtifact</a><span style=\"color: navy\">" </span><b>alias </b>RelatedArtifactR4 <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>RelatedArtifact<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>RelatedArtifactR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RelatedArtifactR4<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> 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\">'#RelatedArtifactType'</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.label<span style=\"color: navy\"><b> -> </b></span>tgt.label<span style=\"color: navy\">;</span>\r\n src.display<span style=\"color: navy\"><b> -> </b></span>tgt.display<span style=\"color: navy\">;</span>\r\n src.citation<span style=\"color: navy\"><b> -> </b></span>tgt.citation<span style=\"color: navy\">;</span>\r\n src.document<span style=\"color: navy\"><b> -> </b></span>tgt.document<span style=\"color: navy\">;</span>\r\n src.resource<span style=\"color: navy\"><b> -> </b></span>tgt.resource<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "RelatedArtifactPublicationStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/publication-status",
"target" : "http://hl7.org/fhir/4.0/publication-status",
"element" : [
{
"code" : "draft",
"target" : [
{
"code" : "draft",
"relationship" : "related-to"
}
]
},
{
"code" : "active",
"target" : [
{
"code" : "active",
"relationship" : "related-to"
}
]
},
{
"code" : "retired",
"target" : [
{
"code" : "retired",
"relationship" : "related-to"
}
]
},
{
"code" : "unknown",
"target" : [
{
"code" : "unknown",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "RelatedArtifactType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/related-artifact-type",
"target" : "http://hl7.org/fhir/4.0/related-artifact-type",
"element" : [
{
"code" : "documentation",
"target" : [
{
"code" : "documentation",
"relationship" : "related-to"
}
]
},
{
"code" : "justification",
"target" : [
{
"code" : "justification",
"relationship" : "related-to"
}
]
},
{
"code" : "citation",
"target" : [
{
"code" : "citation",
"relationship" : "related-to"
}
]
},
{
"code" : "predecessor",
"target" : [
{
"code" : "predecessor",
"relationship" : "related-to"
}
]
},
{
"code" : "successor",
"target" : [
{
"code" : "successor",
"relationship" : "related-to"
}
]
},
{
"code" : "derived-from",
"target" : [
{
"code" : "derived-from",
"relationship" : "related-to"
}
]
},
{
"code" : "depends-on",
"target" : [
{
"code" : "depends-on",
"relationship" : "related-to"
}
]
},
{
"code" : "composed-of",
"target" : [
{
"code" : "composed-of",
"relationship" : "related-to",
"comment" : "introduced in R5"
}
]
}
]
}
]
}
],
"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/RelatedArtifact5to4",
"version" : "5.1.0",
"name" : "RelatedArtifact5to4",
"title" : "FML Conversion for RelatedArtifact: R5 to R4",
"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" : "FMLConversionforRelatedArtifactR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/RelatedArtifact",
"mode" : "source",
"alias" : "RelatedArtifactR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/RelatedArtifact",
"mode" : "target",
"alias" : "RelatedArtifactR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "RelatedArtifact",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "RelatedArtifactR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "RelatedArtifactR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#RelatedArtifactType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "label",
"source" : [
{
"context" : "src",
"element" : "label",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "label",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "src",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "display",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "citation",
"source" : [
{
"context" : "src",
"element" : "citation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "citation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "document",
"source" : [
{
"context" : "src",
"element" : "document",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "document",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "resource",
"source" : [
{
"context" : "src",
"element" : "resource",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "resource",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}