FHIR IG analytics| Package | hl7.fhir.uv.fml |
| Resource Type | StructureMap |
| Id | StructureMap-Comments.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-Comments.html |
| URL | http://hl7.org/fhir/uv/fml/StructureMap/Comments |
| Status | active |
| Name | Comments |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating the use of comments in FML |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap Comments
url: http://hl7.org/fhir/uv/fml/StructureMap/Comments
name: Comments
status: Active
description:
Example demonstrating the use of comments in FML
structure
url: Patient
documentation: comment on source structure import
mode: Source Structure Definition
structure
url: Patient
documentation: comment on target structure import
mode: Target Structure Definition
group
documentation: This is a comment on the group
input
mode: Source Instance
name: src
type: Patient
input
mode: Target Instance
name: tgt
type: Patient
rule
Sources
Context Element Variable src birthDate vvv Targets
Context Element Variable Transform tgt birthDate vvv create documentation: A comment preceding a rule R1 with more than one line
name: R1
rule
Sources
Context Element Variable src active vvv Targets
Context Element Variable Transform tgt active vvv create name: R2
rule
Sources
Context Element Variable src name v Targets
Context Element Variable tgt name tn rule
Sources
Context Element Variable v family vvv Targets
Context Element Variable Transform tn family vvv create documentation: before R3 comment
name: R3
name: R4
name: CommentsDemo
{
"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/Comments",
"name": "Comments",
"status": "active",
"description": "Example demonstrating the use of comments in FML",
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"documentation": "comment on source structure import",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Patient",
"documentation": "comment on target structure import",
"mode": "target"
}
],
"group": [
{
"documentation": "This is a comment on the group",
"input": [
{
"mode": "source",
"name": "src",
"type": "Patient"
},
{
"mode": "target",
"name": "tgt",
"type": "Patient"
}
],
"rule": [
{
"source": [
{
"context": "src",
"element": [
"birthDate"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"birthDate"
],
"variable": "vvv",
"transform": "create"
}
],
"documentation": "A comment preceding a rule R1\r\nwith more than one line",
"name": "R1"
},
{
"source": [
{
"context": "src",
"element": [
"active"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": [
"active"
],
"variable": "vvv",
"transform": "create"
}
],
"name": "R2"
},
{
"source": [
{
"context": "src",
"element": [
"name"
],
"variable": "v"
}
],
"target": [
{
"context": "tgt",
"element": [
"name"
],
"variable": "tn"
}
],
"rule": [
{
"source": [
{
"context": "v",
"element": [
"family"
],
"variable": "vvv"
}
],
"target": [
{
"context": "tn",
"element": [
"family"
],
"variable": "vvv",
"transform": "create"
}
],
"documentation": "before R3 comment",
"name": "R3"
}
],
"name": "R4"
}
],
"name": "CommentsDemo"
}
],
"id": "Comments"
}