FHIR Mapping Language (FML), published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/mapping-language-ig/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/fml/StructureMap/Comments | Version: | |||
| Standards status: Informative | Computable Name: Comments | |||
Example demonstrating the use of comments in FML
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
mode: Source Structure Definition
documentation: trailing comment 1
structure
url: Patient
mode: Target Structure Definition
documentation: trailing comment 2
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 dependent
name: DefaultMappingGroupAnonymousAlias
Parameters
Value[x] vvv vvv documentation: A comment preceding a rule R1
name: R1
rule
Sources
Context Element Variable src active vvv Targets
Context Element Variable Transform tgt active vvv create dependent
name: DefaultMappingGroupAnonymousAlias
Parameters
Value[x] vvv vvv 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 dependent
name: DefaultMappingGroupAnonymousAlias
Parameters
Value[x] vvv vvv documentation: before R3 comment
name: R3
documentation: A comment after R2
name: R4
name: CommentsDemo