Package | hl7.fhir.uv.xver |
Resource Type | StructureMap |
Id | CodeableConcept3to2 |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-CodeableConcept3to2.html |
URL | http://hl7.org/fhir/StructureMap/CodeableConcept3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | CodeableConcept3to2 |
Title | CodeableConcept Transforms: R3 to R2 |
Realm | uv |
Authority | hl7 |
Description | CodeableConceptTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/CodeableConcept3to2' /// name = 'CodeableConcept3to2' /// title = 'CodeableConcept Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/CodeableConcept" alias CodeableConcept as source uses "http://hl7.org/fhir/1.0/CodeableConcept" alias CodeableConceptR2 as target uses "http://hl7.org/fhir/1.0/Coding" alias CodingR2 as target uses "http://hl7.org/fhir/1.0/string" alias stringR2 as target imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/Element3to2" imports "http://hl7.org/fhir/StructureMap/Coding3to2" group CodeableConcept(source src : CodeableConcept, target tgt : CodeableConceptR2) extends Element <<type+>> { src.coding -> tgt.coding "CodeableConcept-coding"; src.text -> tgt.text "CodeableConcept-text"; } group CodeableConceptToCoding(source src : CodeableConcept, target tgt : CodingR2) extends Element <<types>> { src.coding only_one as vs then Coding(vs, tgt) "CodeableConcept-coding"; } group CodingToCodeableConcept(source src : Coding, target tgt : CodeableConceptR2) extends Element <<types>> { src -> tgt.coding as vt then Coding(src, vt) "CodingToCodeableConcept-coding"; } group CodeableConceptToString(source src : CodeableConcept, target tgt : stringR2) extends Element <<types>> { src.text as vs then string(vs, tgt) "CodeableConceptToString-text"; }
{ "resourceType": "StructureMap", "id": "CodeableConcept3to2", "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/CodeableConcept3to2", "version": "0.1.0", "name": "CodeableConcept3to2", "title": "CodeableConcept Transforms: R3 to R2", "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": "CodeableConceptTransformsR3toR2", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/3.0/CodeableConcept", "mode": "source", "alias": "CodeableConcept" }, { "url": "http://hl7.org/fhir/1.0/CodeableConcept", "mode": "target", "alias": "CodeableConceptR2" }, { "url": "http://hl7.org/fhir/1.0/Coding", "mode": "target", "alias": "CodingR2" }, { "url": "http://hl7.org/fhir/1.0/string", "mode": "target", "alias": "stringR2" } ], "import": [ "http://hl7.org/fhir/StructureMap/primitives3to2", "http://hl7.org/fhir/StructureMap/Element3to2", "http://hl7.org/fhir/StructureMap/Coding3to2" ], "group": [ { "name": "CodeableConcept", "extends": "Element", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "CodeableConcept", "mode": "source" }, { "name": "tgt", "type": "CodeableConceptR2", "mode": "target" } ], "rule": [ { "name": "CodeableConcept-coding", "source": [ { "context": "src", "element": "coding", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "coding", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "CodeableConcept-text", "source": [ { "context": "src", "element": "text", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "text", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] } ] }, { "name": "CodeableConceptToCoding", "extends": "Element", "typeMode": "types", "input": [ { "name": "src", "type": "CodeableConcept", "mode": "source" }, { "name": "tgt", "type": "CodingR2", "mode": "target" } ], "rule": [ { "name": "CodeableConcept-coding", "source": [ { "context": "src", "element": "coding", "listMode": "only_one", "variable": "vs" } ], "dependent": [ { "name": "Coding", "parameter": [ { "valueId": "vs" }, { "valueId": "tgt" } ] } ] } ] }, { "name": "CodingToCodeableConcept", "extends": "Element", "typeMode": "types", "input": [ { "name": "src", "type": "Coding", "mode": "source" }, { "name": "tgt", "type": "CodeableConceptR2", "mode": "target" } ], "rule": [ { "name": "CodingToCodeableConcept-coding", "source": [ { "context": "src" } ], "target": [ { "context": "tgt", "element": "coding", "variable": "vt" } ], "dependent": [ { "name": "Coding", "parameter": [ { "valueId": "src" }, { "valueId": "vt" } ] } ] } ] }, { "name": "CodeableConceptToString", "extends": "Element", "typeMode": "types", "input": [ { "name": "src", "type": "CodeableConcept", "mode": "source" }, { "name": "tgt", "type": "stringR2", "mode": "target" } ], "rule": [ { "name": "CodeableConceptToString-text", "source": [ { "context": "src", "element": "text", "variable": "vs" } ], "dependent": [ { "name": "string", "parameter": [ { "valueId": "vs" }, { "valueId": "tgt" } ] } ] } ] } ] }