FHIR IG analytics| Package | hl7.fhir.uv.fml |
| Resource Type | StructureMap |
| Id | StructureMap-SimpleBatch.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-SimpleBatch.html |
| URL | http://hl7.org/fhir/uv/fml/StructureMap/SimpleBatch |
| Status | active |
| Name | SimpleBatch |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating the batch identity shorthand for copying multiple simple elements in a single rule |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap SimpleBatch
url: http://hl7.org/fhir/uv/fml/StructureMap/SimpleBatch
name: SimpleBatch
status: Active
description:
Example demonstrating the batch identity shorthand for copying multiple simple elements in a single rule
structure
url: Patient
mode: Source Structure Definition
structure
url: Patient
mode: Target Structure Definition
group
name: SimpleBatch
input
mode: Source Instance
name: src
type: Patient
input
mode: Target Instance
name: tgt
type: Patient
rule
Sources
Context Element Variable src id vvv Targets
Context Element Variable Transform tgt id vvv create name: unnamedid
rule
name: unnamedactive
Sources
Context Element Variable src active vvv Targets
Context Element Variable Transform tgt active vvv create rule
name: unnamedgender
Sources
Context Element Variable src gender vvv Targets
Context Element Variable Transform tgt gender vvv create rule
Sources
Context Element Variable src maritalStatus vvv Targets
Context Element Variable Transform tgt maritalStatus vvv create name: OthersmaritalStatus
rule
name: OthersbirthDate
Sources
Context Element Variable src birthDate vvv Targets
Context Element Variable Transform tgt birthDate vvv create
{
"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/SimpleBatch",
"name": "SimpleBatch",
"status": "active",
"description": "Example demonstrating the batch identity shorthand for copying multiple simple elements in a single rule",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"mode": "target"
}
],
"group": [
{
"name": "SimpleBatch",
"input": [
{
"mode": "source",
"name": "src",
"type": "Patient"
},
{
"mode": "target",
"name": "tgt",
"type": "Patient"
}
],
"rule": [
{
"source": [
{
"context": "src",
"element": [
"id"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"id"
],
"variable": "vvv",
"transform": "create"
}
],
"name": "unnamedid"
},
{
"name": "unnamedactive",
"source": [
{
"context": "src",
"element": [
"active"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"active"
],
"variable": "vvv",
"transform": "create"
}
]
},
{
"name": "unnamedgender",
"source": [
{
"context": "src",
"element": [
"gender"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"gender"
],
"variable": "vvv",
"transform": "create"
}
]
},
{
"source": [
{
"context": "src",
"element": [
"maritalStatus"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"maritalStatus"
],
"variable": "vvv",
"transform": "create"
}
],
"name": "OthersmaritalStatus"
},
{
"name": "OthersbirthDate",
"source": [
{
"context": "src",
"element": [
"birthDate"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"birthDate"
],
"variable": "vvv",
"transform": "create"
}
]
}
]
}
],
"id": "SimpleBatch"
}