This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "DiagnosticReport4Bto5",
"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/DiagnosticReport4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DiagnosticReport4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for DiagnosticReport: 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>DiagnosticReportStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-diagnostic-report-status.html\" title=\"DiagnosticReportStatus\">http://hl7.org/fhir/4.3/diagnostic-report-status</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-diagnostic-report-status.html\" title=\"Diagnostic Report Status\">http://hl7.org/fhir/diagnostic-report-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>registered <b>-</b> t<span style=\"color: navy\">:</span>registered\r\n s<span style=\"color: navy\">:</span>partial <b>-</b> t<span style=\"color: navy\">:</span>partial\r\n s<span style=\"color: navy\">:</span>preliminary <b>-</b> t<span style=\"color: navy\">:</span>preliminary\r\n s<span style=\"color: navy\">:</span>final <b>-</b> t<span style=\"color: navy\">:</span>final\r\n s<span style=\"color: navy\">:</span>amended <b>-</b> t<span style=\"color: navy\">:</span>amended\r\n s<span style=\"color: navy\">:</span>corrected <b>-</b> t<span style=\"color: navy\">:</span>corrected\r\n s<span style=\"color: navy\">:</span>appended <b>-</b> t<span style=\"color: navy\">:</span>appended\r\n s<span style=\"color: navy\">:</span>cancelled <b>-</b> t<span style=\"color: navy\">:</span>cancelled\r\n s<span style=\"color: navy\">:</span>"entered-in-error" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>entered-in-error<span style=\"color: navy\">"</span>\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>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/diagnosticreport.html\" title=\"DiagnosticReport\">http://hl7.org/fhir/4.3/StructureDefinition/DiagnosticReport</a><span style=\"color: navy\">" </span><b>alias </b>DiagnosticReportR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/diagnosticreport.html\" title=\"DiagnosticReport\">http://hl7.org/fhir/StructureDefinition/DiagnosticReport</a><span style=\"color: navy\">" </span><b>alias </b>DiagnosticReportR5 <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>DiagnosticReport<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DiagnosticReportR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DiagnosticReportR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.basedOn<span style=\"color: navy\"><b> -> </b></span>tgt.basedOn<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#DiagnosticReportStatus'</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.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.issued<span style=\"color: navy\"><b> -> </b></span>tgt.issued<span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer<span style=\"color: navy\">;</span>\r\n src.resultsInterpreter<span style=\"color: navy\"><b> -> </b></span>tgt.resultsInterpreter<span style=\"color: navy\">;</span>\r\n src.specimen<span style=\"color: navy\"><b> -> </b></span>tgt.specimen<span style=\"color: navy\">;</span>\r\n src.result<span style=\"color: navy\"><b> -> </b></span>tgt.result<span style=\"color: navy\">;</span>\r\n src.media<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.media<b> as </b><span style=\"color: maroon\">t</span><b> then </b>DiagnosticReportMedia<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.note -> tgt.note;</span>\r\n src.conclusion<span style=\"color: navy\"><b> -> </b></span>tgt.conclusion<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.composition -> tgt.composition;</span>\r\n src.conclusionCode<span style=\"color: navy\"><b> -> </b></span>tgt.conclusionCode<span style=\"color: navy\">;</span>\r\n src.presentedForm<span style=\"color: navy\"><b> -> </b></span>tgt.presentedForm<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group DiagnosticReportSupportingInfo(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reference -> tgt.reference;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>DiagnosticReportMedia<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.comment<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span>\r\n src.link<span style=\"color: navy\"><b> -> </b></span>tgt.link<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "DiagnosticReportStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/diagnostic-report-status",
"target" : "http://hl7.org/fhir/diagnostic-report-status",
"element" : [
{
"code" : "registered",
"target" : [
{
"code" : "registered",
"relationship" : "related-to"
}
]
},
{
"code" : "partial",
"target" : [
{
"code" : "partial",
"relationship" : "related-to"
}
]
},
{
"code" : "preliminary",
"target" : [
{
"code" : "preliminary",
"relationship" : "related-to"
}
]
},
{
"code" : "final",
"target" : [
{
"code" : "final",
"relationship" : "related-to"
}
]
},
{
"code" : "amended",
"target" : [
{
"code" : "amended",
"relationship" : "related-to"
}
]
},
{
"code" : "corrected",
"target" : [
{
"code" : "corrected",
"relationship" : "related-to"
}
]
},
{
"code" : "appended",
"target" : [
{
"code" : "appended",
"relationship" : "related-to"
}
]
},
{
"code" : "cancelled",
"target" : [
{
"code" : "cancelled",
"relationship" : "related-to"
}
]
},
{
"code" : "entered-in-error",
"target" : [
{
"code" : "entered-in-error",
"relationship" : "related-to"
}
]
},
{
"code" : "unknown",
"target" : [
{
"code" : "unknown",
"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/DiagnosticReport4Bto5",
"version" : "5.1.0-ballot1",
"name" : "DiagnosticReport4Bto5",
"title" : "FML Conversion for DiagnosticReport: R4B to R5",
"status" : "active",
"date" : "2023-12-19T08:40:03+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforDiagnosticReportR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/DiagnosticReport",
"mode" : "source",
"alias" : "DiagnosticReportR4B"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
"mode" : "target",
"alias" : "DiagnosticReportR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "DiagnosticReport",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DiagnosticReportR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DiagnosticReportR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "basedOn",
"source" : [
{
"context" : "src",
"element" : "basedOn",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "basedOn",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#DiagnosticReportStatus"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "encounter",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "encounter",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectiveDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectivePeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "issued",
"source" : [
{
"context" : "src",
"element" : "issued",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issued",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "performer",
"source" : [
{
"context" : "src",
"element" : "performer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "performer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "resultsInterpreter",
"source" : [
{
"context" : "src",
"element" : "resultsInterpreter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "resultsInterpreter",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "specimen",
"source" : [
{
"context" : "src",
"element" : "specimen",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specimen",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "result",
"source" : [
{
"context" : "src",
"element" : "result",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "result",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "media",
"source" : [
{
"context" : "src",
"element" : "media",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "media",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "DiagnosticReportMedia",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.note -> tgt.note;"
},
{
"name" : "conclusion",
"source" : [
{
"context" : "src",
"element" : "conclusion",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "conclusion",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.composition -> tgt.composition;"
},
{
"name" : "conclusionCode",
"source" : [
{
"context" : "src",
"element" : "conclusionCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "conclusionCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "presentedForm",
"source" : [
{
"context" : "src",
"element" : "presentedForm",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "presentedForm",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DiagnosticReportMedia",
"extends" : "BackboneElement",
"documentation" : "group DiagnosticReportSupportingInfo(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.reference -> tgt.reference;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "comment",
"source" : [
{
"context" : "src",
"element" : "comment",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "link",
"source" : [
{
"context" : "src",
"element" : "link",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "link",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#5.1.0-ballot1 based on FHIR 5.0.0. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change