FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.fml
Resource TypeStructureMap
IdStructureMap-SyntaxBackticks.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-SyntaxBackticks.html
URLhttp://hl7.org/fhir/uv/fml/StructureMap/SyntaxBackticks
Statusactive
NameSyntaxBackticks
Realmuv
Authorityhl7
DescriptionExample demonstrating backtick-escaped identifiers for reserved words and special characters

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap SyntaxBackticks

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: Basic

mode: Source Structure Definition

structure

url: Basic

mode: Target Structure Definition

group

name: SyntaxBackticks

input

mode: Source Instance

name: src

type: Basic

input

mode: Target Instance

name: tgt

type: Basic

rule

Sources

-ContextElementVariable
*srcgroup!v

target

context: tgt

element: group#

transform: copy

Parameters

-Value[x]
*v

documentation: backticks allow reserved words and special chars as element names

name: group!

rule

Sources

-ContextElementVariable
*srcsection4.5v

target

context: tgt

element: section4.5

transform: copy

Parameters

-Value[x]
*v

name: section4.5

rule

Sources

-ContextElementVariable
*srcsection4.6v

target

context: tgt

element: section4.6

transform: copy

Parameters

-Value[x]
*v

name: nextSection


Source1

{
  "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/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"
}