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" : "GuidanceResponse5to4",
"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/GuidanceResponse5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'GuidanceResponse5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for GuidanceResponse: 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>GuidanceResponseStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-guidance-response-status.html\" title=\"Guidance Response Status\">http://hl7.org/fhir/guidance-response-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-guidance-response-status.html\" title=\"GuidanceResponseStatus\">http://hl7.org/fhir/4.0/guidance-response-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>success <b>-</b> t<span style=\"color: navy\">:</span>success\r\n s<span style=\"color: navy\">:</span>"data-requested" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>data-requested<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"data-required" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>data-required<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"in-progress" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>in-progress<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>failure <b>-</b> t<span style=\"color: navy\">:</span>failure\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<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/guidanceresponse.html\" title=\"GuidanceResponse\">http://hl7.org/fhir/StructureDefinition/GuidanceResponse</a><span style=\"color: navy\">" </span><b>alias </b>GuidanceResponseR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/guidanceresponse.html\" title=\"GuidanceResponse\">http://hl7.org/fhir/4.0/StructureDefinition/GuidanceResponse</a><span style=\"color: navy\">" </span><b>alias </b>GuidanceResponseR4 <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>GuidanceResponse<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>GuidanceResponseR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>GuidanceResponseR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.requestIdentifier<span style=\"color: navy\"><b> -> </b></span>tgt.requestIdentifier<span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.module<span style=\"color: navy\"> : </span>uri<span style=\"color: navy\"><b> -> </b></span>tgt.module<span style=\"color: navy\">;</span>\r\n src.module<span style=\"color: navy\"> : </span>canonical<span style=\"color: navy\"><b> -> </b></span>tgt.module<span style=\"color: navy\">;</span>\r\n src.module<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.module<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\">'#GuidanceResponseStatus'</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.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.occurrenceDateTime<span style=\"color: navy\"><b> -> </b></span>tgt.occurrenceDateTime<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.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reasonCode<span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reasonReference<span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n src.evaluationMessage<span style=\"color: navy\"><b> -> </b></span>tgt.evaluationMessage<span style=\"color: navy\">;</span>\r\n src.outputParameters<span style=\"color: navy\"><b> -> </b></span>tgt.outputParameters<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.dataRequirement<span style=\"color: navy\"><b> -> </b></span>tgt.dataRequirement<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "GuidanceResponseStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/guidance-response-status",
"target" : "http://hl7.org/fhir/4.0/guidance-response-status",
"element" : [
{
"code" : "success",
"target" : [
{
"code" : "success",
"relationship" : "related-to"
}
]
},
{
"code" : "data-requested",
"target" : [
{
"code" : "data-requested",
"relationship" : "related-to"
}
]
},
{
"code" : "data-required",
"target" : [
{
"code" : "data-required",
"relationship" : "related-to"
}
]
},
{
"code" : "in-progress",
"target" : [
{
"code" : "in-progress",
"relationship" : "related-to"
}
]
},
{
"code" : "failure",
"target" : [
{
"code" : "failure",
"relationship" : "related-to"
}
]
},
{
"code" : "entered-in-error",
"target" : [
{
"code" : "entered-in-error",
"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/GuidanceResponse5to4",
"version" : "5.1.0",
"name" : "GuidanceResponse5to4",
"title" : "FML Conversion for GuidanceResponse: 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" : "FMLConversionforGuidanceResponseR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/GuidanceResponse",
"mode" : "source",
"alias" : "GuidanceResponseR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/GuidanceResponse",
"mode" : "target",
"alias" : "GuidanceResponseR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "GuidanceResponse",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "GuidanceResponseR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "GuidanceResponseR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "requestIdentifier",
"source" : [
{
"context" : "src",
"element" : "requestIdentifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requestIdentifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "moduleUri",
"source" : [
{
"context" : "src",
"type" : "uri",
"element" : "module",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "module",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "moduleCanonical",
"source" : [
{
"context" : "src",
"type" : "canonical",
"element" : "module",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "module",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "moduleCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "module",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "module",
"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" : "#GuidanceResponseStatus"
},
{
"valueString" : "code"
}
]
}
]
},
{
"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" : "occurrenceDateTime",
"source" : [
{
"context" : "src",
"element" : "occurrenceDateTime",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrenceDateTime",
"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" : "reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reasonCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reasonReference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "evaluationMessage",
"source" : [
{
"context" : "src",
"element" : "evaluationMessage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "evaluationMessage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "outputParameters",
"source" : [
{
"context" : "src",
"element" : "outputParameters",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outputParameters",
"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" : "dataRequirement",
"source" : [
{
"context" : "src",
"element" : "dataRequirement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dataRequirement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}