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
| Page standards status: Informative |
{
"resourceType" : "StructureMap",
"resourceDefinition" : "http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap SyntaxBackticks</b></p><a name=\"SyntaxBackticks\"> </a><a name=\"hcSyntaxBackticks\"> </a><p><b>url</b>: <a href=\"http://hl7.org/fhir/uv/fml/StructureMap/SyntaxBackticks\">http://hl7.org/fhir/uv/fml/StructureMap/SyntaxBackticks</a></p><p><b>name</b>: SyntaxBackticks</p><p><b>status</b>: Active</p><p><b>description</b>: </p><div><p>Example demonstrating backtick-escaped identifiers for reserved words and special characters</p>\n</div><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/basic.html\">Basic</a></p><p><b>mode</b>: Source Structure Definition</p></blockquote><blockquote><p><b>structure</b></p><p><b>url</b>: <a href=\"http://hl7.org/fhir/R5/basic.html\">Basic</a></p><p><b>mode</b>: Target Structure Definition</p></blockquote><blockquote><p><b>group</b></p><p><b>name</b>: SyntaxBackticks</p><blockquote><p><b>input</b></p><p><b>mode</b>: Source Instance</p><p><b>name</b>: src</p><p><b>type</b>: Basic</p></blockquote><blockquote><p><b>input</b></p><p><b>mode</b>: Target Instance</p><p><b>name</b>: tgt</p><p><b>type</b>: Basic</p></blockquote><blockquote><p><b>rule</b></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>src</td><td>`group!`</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: `group#`</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>v</td></tr></table></blockquote><p><b>documentation</b>: backticks allow reserved words and special chars as element names</p><p><b>name</b>: `group!`</p></blockquote><blockquote><p><b>rule</b></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>src</td><td>`section4.5`</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: `section4.5`</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>v</td></tr></table></blockquote><p><b>name</b>: `section4.5`</p></blockquote><blockquote><p><b>rule</b></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Context</b></td><td><b>Element</b></td><td><b>Variable</b></td></tr><tr><td style=\"display: none\">*</td><td>src</td><td>`section4.6`</td><td>v</td></tr></table><blockquote><p><b>target</b></p><p><b>context</b>: tgt</p><p><b>element</b>: `section4.6`</p><p><b>transform</b>: copy</p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>v</td></tr></table></blockquote><p><b>name</b>: nextSection</p></blockquote></blockquote></div>"
},
"url" : "http://hl7.org/fhir/uv/fml/StructureMap/SyntaxBackticks",
"name" : "SyntaxBackticks",
"status" : "active",
"description" : "Example demonstrating backtick-escaped identifiers for reserved words and special characters",
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/Basic",
"mode" : "source"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Basic",
"mode" : "target"
}
],
"group" : [
{
"name" : "SyntaxBackticks",
"input" : [
{
"mode" : "source",
"name" : "src",
"type" : "Basic"
},
{
"mode" : "target",
"name" : "tgt",
"type" : "Basic"
}
],
"rule" : [
{
"source" : [
{
"context" : "src",
"element" : [
"`group!`"
],
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : [
"`group#`"
],
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
],
"documentation" : "backticks allow reserved words and special chars as element names",
"name" : "`group!`"
},
{
"source" : [
{
"context" : "src",
"element" : [
"`section4.5`"
],
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : [
"`section4.5`"
],
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
],
"name" : "`section4.5`"
},
{
"source" : [
{
"context" : "src",
"element" : [
"`section4.6`"
],
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : [
"`section4.6`"
],
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
],
"name" : "nextSection"
}
]
}
],
"id" : "SyntaxBackticks"
}