FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "RiskAssessment2to3",
"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/RiskAssessment2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RiskAssessment2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'RiskAssessment Transforms: R2 to R3'</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>http://hl7.org/fhir/1.0/RiskAssessment<span style=\"color: navy\">" </span><b>alias </b>RiskAssessmentR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/RiskAssessment<span style=\"color: navy\">" </span><b>alias </b>RiskAssessment <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>RiskAssessment<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>RiskAssessmentR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RiskAssessment<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"RiskAssessment-subject"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"RiskAssessment-date"</i><span style=\"color: navy\">;</span>\r\n src.condition<span style=\"color: navy\"><b> -> </b></span>tgt.condition <i>"RiskAssessment-condition"</i><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.context <i>"RiskAssessment-context"</i><span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer <i>"RiskAssessment-performer"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"RiskAssessment-identifier"</i><span style=\"color: navy\">;</span>\r\n src.method<span style=\"color: navy\"><b> -> </b></span>tgt.method <i>"RiskAssessment-method"</i><span style=\"color: navy\">;</span>\r\n src.basis<span style=\"color: navy\"><b> -> </b></span>tgt.basis <i>"RiskAssessment-basis"</i><span style=\"color: navy\">;</span>\r\n src.prediction<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.prediction<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>rskPrediction<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"RiskAssessment-prediction"</i><span style=\"color: navy\">;</span>\r\n src.mitigation<span style=\"color: navy\"><b> -> </b></span>tgt.mitigation <i>"RiskAssessment-mitigation"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>rskPrediction<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.outcome<span style=\"color: navy\"><b> -> </b></span>tgt.outcome <i>"prediction-outcome"</i><span style=\"color: navy\">;</span>\r\n src.probability<span style=\"color: navy\"><b> -> </b></span>tgt.probability <i>"prediction-probability"</i><span style=\"color: navy\">;</span>\r\n src.relativeRisk<span style=\"color: navy\"><b> -> </b></span>tgt.relativeRisk <i>"prediction-relativeRisk"</i><span style=\"color: navy\">;</span>\r\n src.when<span style=\"color: navy\"><b> -> </b></span>tgt.when <i>"prediction-when"</i><span style=\"color: navy\">;</span>\r\n src.rationale<span style=\"color: navy\"><b> -> </b></span>tgt.rationale <i>"prediction-rationale"</i><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.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/RiskAssessment2to3",
"version" : "0.1.0",
"name" : "RiskAssessment2to3",
"title" : "RiskAssessment Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "RiskAssessmentTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/RiskAssessment",
"mode" : "source",
"alias" : "RiskAssessmentR2"
},
{
"url" : "http://hl7.org/fhir/3.0/RiskAssessment",
"mode" : "target",
"alias" : "RiskAssessment"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "RiskAssessment",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "RiskAssessmentR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "RiskAssessment",
"mode" : "target"
}
],
"rule" : [
{
"name" : "RiskAssessment-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" : "RiskAssessment-date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "RiskAssessment-condition",
"source" : [
{
"context" : "src",
"element" : "condition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "condition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "RiskAssessment-context",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "context",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "RiskAssessment-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" : "RiskAssessment-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" : "RiskAssessment-method",
"source" : [
{
"context" : "src",
"element" : "method",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "method",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "RiskAssessment-basis",
"source" : [
{
"context" : "src",
"element" : "basis",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "basis",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "RiskAssessment-prediction",
"source" : [
{
"context" : "src",
"element" : "prediction",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "prediction",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "rskPrediction",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "RiskAssessment-mitigation",
"source" : [
{
"context" : "src",
"element" : "mitigation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "mitigation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "rskPrediction",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "prediction-outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "prediction-probability",
"source" : [
{
"context" : "src",
"element" : "probability",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "probability",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "prediction-relativeRisk",
"source" : [
{
"context" : "src",
"element" : "relativeRisk",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relativeRisk",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "prediction-when",
"source" : [
{
"context" : "src",
"element" : "when",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "when",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "prediction-rationale",
"source" : [
{
"context" : "src",
"element" : "rationale",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "rationale",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}