FHIR IG analytics| Package | hl7.fhir.uv.fml |
| Resource Type | StructureMap |
| Id | StructureMap-Constants.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-Constants.html |
| URL | http://hl7.org/fhir/uv/fml/StructureMap/Constants |
| Status | active |
| Name | Constants |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating reusable constants defined with the let keyword |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap Constants
url: http://hl7.org/fhir/uv/fml/StructureMap/Constants
name: Constants
status: Active
description:
Example demonstrating reusable constants defined with the let keyword
structure
url: Patient
mode: Source Structure Definition
structure
url: Patient
mode: Target Structure Definition
const
name: defaultSystem
value: 'http://example.org/systems/id'
const
name: maxLen
value: 20
group
name: Constants
input
mode: Source Instance
name: src
type: Patient
input
mode: Target Instance
name: tgt
type: Patient
rule
Sources
Context Element Variable src id v target
context: tgt
element: id
transform: truncate
parameter
value: v
parameter
value: maxLen
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/Constants",
"name": "Constants",
"status": "active",
"description": "Example demonstrating reusable constants defined with the let keyword",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "target"
}
],
"const": [
{
"name": "defaultSystem",
"value": "'http://example.org/systems/id'"
},
{
"name": "maxLen",
"value": "20"
}
],
"group": [
{
"name": "Constants",
"input": [
{
"mode": "source",
"name": "src",
"type": "Patient"
},
{
"mode": "target",
"name": "tgt",
"type": "Patient"
}
],
"rule": [
{
"source": [
{
"context": "src",
"element": [
"id"
],
"variable": "v"
}
],
"target": [
{
"context": "tgt",
"element": [
"id"
],
"transform": "truncate",
"parameter": [
{
"valueId": "v"
},
{
"valueId": "maxLen"
}
]
}
],
"name": "r1"
}
]
}
],
"id": "Constants"
}