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" : "Condition5to4",
"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/Condition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Condition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Condition: 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>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/condition.html\" title=\"Condition\">http://hl7.org/fhir/StructureDefinition/Condition</a><span style=\"color: navy\">" </span><b>alias </b>ConditionR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/condition.html\" title=\"Condition\">http://hl7.org/fhir/4.0/StructureDefinition/Condition</a><span style=\"color: navy\">" </span><b>alias </b>ConditionR4 <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>Condition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ConditionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ConditionR4<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.clinicalStatus<span style=\"color: navy\"><b> -> </b></span>tgt.clinicalStatus<span style=\"color: navy\">;</span>\r\n src.verificationStatus<span style=\"color: navy\"><b> -> </b></span>tgt.verificationStatus<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.severity<span style=\"color: navy\"><b> -> </b></span>tgt.severity<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.bodySite<span style=\"color: navy\"><b> -> </b></span>tgt.bodySite<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.onset<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.onset<span style=\"color: navy\">;</span>\r\n src.onset<span style=\"color: navy\"> : </span>Age<span style=\"color: navy\"><b> -> </b></span>tgt.onset<span style=\"color: navy\">;</span>\r\n src.onset<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.onset<span style=\"color: navy\">;</span>\r\n src.onset<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.onset<span style=\"color: navy\">;</span>\r\n src.onset<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.onset<span style=\"color: navy\">;</span>\r\n src.abatement<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.abatement<span style=\"color: navy\">;</span>\r\n src.abatement<span style=\"color: navy\"> : </span>Age<span style=\"color: navy\"><b> -> </b></span>tgt.abatement<span style=\"color: navy\">;</span>\r\n src.abatement<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.abatement<span style=\"color: navy\">;</span>\r\n src.abatement<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.abatement<span style=\"color: navy\">;</span>\r\n src.abatement<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.abatement<span style=\"color: navy\">;</span>\r\n src.recordedDate<span style=\"color: navy\"><b> -> </b></span>tgt.recordedDate<span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'enterer'<span style=\"color: navy\"><b> -> </b></span>tgt.recorder = <span style=\"color: maroon\">s.actor</span> <i>"recorder"</i><span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'author'<span style=\"color: navy\"><b> -> </b></span>tgt.asserter = <span style=\"color: maroon\">s.actor</span> <i>"asserter"</i><span style=\"color: navy\">;</span>\r\n src.stage<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.stage<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ConditionStage<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>\r\n src.evidence<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.evidence<b> as </b><span style=\"color: maroon\">t</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.concept<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>t.code<span style=\"color: navy\">;</span>\r\n s.reference<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>t.detail<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><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<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ConditionStage<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.summary<span style=\"color: navy\"><b> -> </b></span>tgt.summary<span style=\"color: navy\">;</span>\r\n src.assessment<span style=\"color: navy\"><b> -> </b></span>tgt.assessment<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"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/Condition5to4",
"version" : "5.1.0-ballot1",
"name" : "Condition5to4",
"title" : "FML Conversion for Condition: R5 to R4",
"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" : "FMLConversionforConditionR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/Condition",
"mode" : "source",
"alias" : "ConditionR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/Condition",
"mode" : "target",
"alias" : "ConditionR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "Condition",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ConditionR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ConditionR4",
"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" : "clinicalStatus",
"source" : [
{
"context" : "src",
"element" : "clinicalStatus",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "clinicalStatus",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "verificationStatus",
"source" : [
{
"context" : "src",
"element" : "verificationStatus",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "verificationStatus",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "severity",
"source" : [
{
"context" : "src",
"element" : "severity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "severity",
"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" : "bodySite",
"source" : [
{
"context" : "src",
"element" : "bodySite",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bodySite",
"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" : "onsetDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "onset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "onsetAge",
"source" : [
{
"context" : "src",
"type" : "Age",
"element" : "onset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "onsetPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "onset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "onsetRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "onset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "onsetString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "onset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "abatementDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "abatement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abatement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "abatementAge",
"source" : [
{
"context" : "src",
"type" : "Age",
"element" : "abatement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abatement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "abatementPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "abatement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abatement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "abatementRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "abatement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abatement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "abatementString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "abatement",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "abatement",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "recordedDate",
"source" : [
{
"context" : "src",
"element" : "recordedDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "recordedDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "recorder",
"source" : [
{
"context" : "src",
"element" : "participant",
"variable" : "s",
"condition" : "code = 'enterer'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "recorder",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.actor"
}
]
}
]
},
{
"name" : "asserter",
"source" : [
{
"context" : "src",
"element" : "participant",
"variable" : "s",
"condition" : "code = 'author'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "asserter",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.actor"
}
]
}
]
},
{
"name" : "stage",
"source" : [
{
"context" : "src",
"element" : "stage",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "stage",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ConditionStage",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "evidence",
"source" : [
{
"context" : "src",
"element" : "evidence",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "evidence",
"variable" : "t"
}
],
"rule" : [
{
"name" : "conceptCodeableConcept",
"source" : [
{
"context" : "s",
"type" : "CodeableConcept",
"element" : "concept",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "t",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "referenceReference",
"source" : [
{
"context" : "s",
"type" : "Reference",
"element" : "reference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "t",
"element" : "detail",
"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" : "ConditionStage",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "summary",
"source" : [
{
"context" : "src",
"element" : "summary",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "summary",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "assessment",
"source" : [
{
"context" : "src",
"element" : "assessment",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "assessment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"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