Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Quantity5to4B |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Quantity5to4B.html |
URL | http://hl7.org/fhir/StructureMap/Quantity5to4B |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Quantity5to4B |
Title | Quantity Transforms: R5 to R4B |
Realm | uv |
Authority | hl7 |
Description | QuantityTransformsR5toR4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Quantity5to4B' /// name = 'Quantity5to4B' /// title = 'Quantity Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/Quantity" alias QuantityR5 as source uses "http://hl7.org/fhir/4.0/Quantity" alias QuantityR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Quantity(source src : QuantityR5, target tgt : QuantityR4B) extends Element <<type+>> { src.value -> tgt.value; src.comparator as v -> tgt.comparator = translate(v, 'http://hl7.org/fhir/ConceptMap/Quantity.comparator-R5toR4', 'code'); src.unit -> tgt.unit; src.system -> tgt.system; src.code -> tgt.code; }
{ "resourceType": "StructureMap", "id": "Quantity5to4B", "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/Quantity5to4B", "version": "0.1.0", "name": "Quantity5to4B", "title": "Quantity Transforms: R5 to R4B", "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": "QuantityTransformsR5toR4B", "jurisdiction": [ { "coding": [ { "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "code": "001" } ] } ], "structure": [ { "url": "http://hl7.org/fhir/5.0/Quantity", "mode": "source", "alias": "QuantityR5" }, { "url": "http://hl7.org/fhir/4.0/Quantity", "mode": "target", "alias": "QuantityR4B" } ], "import": [ "http://hl7.org/fhir/StructureMap/*5to4B" ], "group": [ { "name": "Quantity", "extends": "Element", "typeMode": "type-and-types", "input": [ { "name": "src", "type": "QuantityR5", "mode": "source" }, { "name": "tgt", "type": "QuantityR4B", "mode": "target" } ], "rule": [ { "name": "value", "source": [ { "context": "src", "element": "value", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "value", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "comparator", "source": [ { "context": "src", "element": "comparator", "variable": "v" } ], "target": [ { "context": "tgt", "element": "comparator", "transform": "translate", "parameter": [ { "valueId": "v" }, { "valueString": "http://hl7.org/fhir/ConceptMap/Quantity.comparator-R5toR4" }, { "valueString": "code" } ] } ] }, { "name": "unit", "source": [ { "context": "src", "element": "unit", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "unit", "variable": "vvv", "transform": "create" } ], "dependent": [ { "name": "DefaultMappingGroupAnonymousAlias", "parameter": [ { "valueId": "vvv" }, { "valueId": "vvv" } ] } ] }, { "name": "system", "source": [ { "context": "src", "element": "system", "variable": "vvv" } ], "target": [ { "context": "tgt", "element": "system", "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" } ] } ] } ] } ] }