FHIR IG analytics| Package | hl7.fhir.uv.fml |
| Resource Type | StructureMap |
| Id | StructureMap-SourceCopy.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-SourceCopy.html |
| URL | http://hl7.org/fhir/uv/fml/StructureMap/SourceCopy |
| Status | active |
| Name | SourceCopy |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating a simple copy of a source element to a target element |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap SourceCopy
url: http://hl7.org/fhir/uv/fml/StructureMap/SourceCopy
name: SourceCopy
status: Active
description:
Example demonstrating a simple copy of a source element to a target element
structure
url: Patient
mode: Source Structure Definition
structure
url: Patient
mode: Target Structure Definition
group
name: SourceCopy
input
mode: Source Instance
name: src
type: Patient
input
mode: Target Instance
name: tgt
type: Patient
rule
Sources
Context Element Variable src active v target
context: tgt
element: active
transform: copy
Parameters
Value[x] v documentation: copies src.active to tgt.active via variable 'v'
name: active
{
"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/SourceCopy",
"name": "SourceCopy",
"status": "active",
"description": "Example demonstrating a simple copy of a source element to a target element",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "target"
}
],
"group": [
{
"name": "SourceCopy",
"input": [
{
"mode": "source",
"name": "src",
"type": "Patient"
},
{
"mode": "target",
"name": "tgt",
"type": "Patient"
}
],
"rule": [
{
"source": [
{
"context": "src",
"element": [
"active"
],
"variable": "v"
}
],
"target": [
{
"context": "tgt",
"element": [
"active"
],
"transform": "copy",
"parameter": [
{
"valueId": "v"
}
]
}
],
"documentation": "copies src.active to tgt.active via variable 'v'",
"name": "active"
}
]
}
],
"id": "SourceCopy"
}