Package | hl7.fhir.uv.xver |
Resource Type | StructureMap |
Id | ClinicalImpression2to3 |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-ClinicalImpression2to3.html |
URL | http://hl7.org/fhir/StructureMap/ClinicalImpression2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | ClinicalImpression2to3 |
Title | ClinicalImpression Transforms: R2 to R3 |
Realm | uv |
Authority | hl7 |
Description | ClinicalImpressionTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/ClinicalImpression2to3' /// name = 'ClinicalImpression2to3' /// title = 'ClinicalImpression Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/ClinicalImpression" alias ClinicalImpressionR2 as source uses "http://hl7.org/fhir/3.0/ClinicalImpression" alias ClinicalImpression as target imports "http://hl7.org/fhir/StructureMap/*2to3" group ClinicalImpression(source src : ClinicalImpressionR2, target tgt : ClinicalImpression) extends DomainResource <<type+>> { src.patient -> tgt.subject "ClinicalImpression-subject"; src.assessor -> tgt.assessor "ClinicalImpression-assessor"; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/ClinicalImpression.status-R2toR3', 'code') "ClinicalImpression-status"; src.date -> tgt.date "ClinicalImpression-date"; src.description -> tgt.description "ClinicalImpression-description"; src.previous -> tgt.previous "ClinicalImpression-previous"; src.problem -> tgt.problem "ClinicalImpression-problem"; src.investigations as vs0 -> tgt.investigation as vt0 then cimInvestigation(vs0, vt0) "ClinicalImpression-investigations"; src.protocol -> tgt.protocol "ClinicalImpression-protocol"; src.summary -> tgt.summary "ClinicalImpression-summary"; src.finding as vs0 -> tgt.finding as vt0 then cimFinding(vs0, vt0) "ClinicalImpression-finding"; src.action -> tgt.action "ClinicalImpression-action"; } group cimFinding(source src, target tgt) extends BackboneElement { src.item -> tgt.item "finding-item"; src.reason -> tgt.basis "finding-reason"; } group cimInvestigation(source src, target tgt) extends BackboneElement { src.code -> tgt.code "finding-code"; src.item -> tgt.item "finding-item"; }
{ "resourceType": "StructureMap", "id": "ClinicalImpression2to3", "text": { "status": "generated", "div": "<!-- snip (see above) -->" }, "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/ClinicalImpression2to3", "version": "0.1.0", "name": "ClinicalImpression2to3", "title": "ClinicalImpression 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": "ClinicalImpressionTransformsR2toR3", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/1.0/ClinicalImpression", "mode": "source", "alias": "ClinicalImpressionR2" }, { "url": "http://hl7.org/fhir/3.0/ClinicalImpression", "mode": "target", "alias": "ClinicalImpression" } ], "import": [ "http://hl7.org/fhir/StructureMap/*2to3" ], "group": [ { "name": "ClinicalImpression", "extends": "DomainResource", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "ClinicalImpressionR2", "mode": "source" }, { "name": "tgt", "type": "ClinicalImpression", "mode": "target" } ], "rule": [ { "name": "ClinicalImpression-subject", "source": [ { "context": "src", "element": "patient", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "subject", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-assessor", "source": [ { "context": "src", "element": "assessor", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "assessor", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-status", "source": [ { "context": "src", "element": "status", "variable": "v" } ], "target": [ { "context": "tgt", "element": "status", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/ClinicalImpression.status-R2toR3" }, { "valueString": "code" } ] } ] }, { "name": "ClinicalImpression-date", "source": [ { "context": "src", "element": "date", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "date", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-description", "source": [ { "context": "src", "element": "description", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "description", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-previous", "source": [ { "context": "src", "element": "previous", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "previous", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-problem", "source": [ { "context": "src", "element": "problem", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "problem", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-investigations", "source": [ { "context": "src", "element": "investigations", "variable": "vs0" } ], "target": [ { "context": "tgt", "element": "investigation", "variable": "vt0" } ], "dependent": [ { "name": "cimInvestigation", "parameter": [ { "valueId": "vs0" }, { "valueId": "vt0" } ] } ] }, { "name": "ClinicalImpression-protocol", "source": [ { "context": "src", "element": "protocol", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "protocol", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "ClinicalImpression-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": "ClinicalImpression-finding", "source": [ { "context": "src", "element": "finding", "variable": "vs0" } ], "target": [ { "context": "tgt", "element": "finding", "variable": "vt0" } ], "dependent": [ { "name": "cimFinding", "parameter": [ { "valueId": "vs0" }, { "valueId": "vt0" } ] } ] }, { "name": "ClinicalImpression-action", "source": [ { "context": "src", "element": "action", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "action", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] }, { "name": "cimFinding", "extends": "BackboneElement", "input": [ { "name": "src", "mode": "source" }, { "name": "tgt", "mode": "target" } ], "rule": [ { "name": "finding-item", "source": [ { "context": "src", "element": "item", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "item", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "finding-reason", "source": [ { "context": "src", "element": "reason", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "basis", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] }, { "name": "cimInvestigation", "extends": "BackboneElement", "input": [ { "name": "src", "mode": "source" }, { "name": "tgt", "mode": "target" } ], "rule": [ { "name": "finding-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": "finding-item", "source": [ { "context": "src", "element": "item", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "item", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] } ] }