FHIR IG analytics| Package | hl7.fhir.uv.fml |
| Resource Type | StructureMap |
| Id | StructureMap-TransformQty.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-TransformQty.html |
| URL | http://hl7.org/fhir/uv/fml/StructureMap/TransformQty |
| Status | active |
| Name | TransformQty |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating the qty transform to create a Quantity |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap TransformQty
url: http://hl7.org/fhir/uv/fml/StructureMap/TransformQty
name: TransformQty
status: Active
description:
Example demonstrating the qty transform to create a Quantity
structure
url: Observation
mode: Source Structure Definition
structure
url: Observation
mode: Target Structure Definition
group
name: TransformQty
input
mode: Source Instance
name: src
type: Observation
input
mode: Target Instance
name: tgt
type: Observation
rule
Sources
Context src target
context: tgt
element: value
transform: qty
parameter
value: 42
parameter
value: kg
parameter
value: http://unitsofmeasure.org
parameter
value: kg
name: r1
{
"resourceType": "StructureMap",
"resourceDefinition": "http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://hl7.org/fhir/uv/fml/StructureMap/TransformQty",
"name": "TransformQty",
"status": "active",
"description": "Example demonstrating the qty transform to create a Quantity",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Observation",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Observation",
"mode": "target"
}
],
"group": [
{
"name": "TransformQty",
"input": [
{
"mode": "source",
"name": "src",
"type": "Observation"
},
{
"mode": "target",
"name": "tgt",
"type": "Observation"
}
],
"rule": [
{
"source": [
{
"context": "src"
}
],
"target": [
{
"context": "tgt",
"element": [
"value"
],
"transform": "qty",
"parameter": [
{
"valueInteger": 42
},
{
"valueString": "kg"
},
{
"valueString": "http://unitsofmeasure.org"
},
{
"valueString": "kg"
}
]
}
],
"name": "r1"
}
]
}
],
"id": "TransformQty"
}