FHIR Cross-Version Mapping Pack
0.1.0 - Ballot for Release 5.1.0 International flag

FHIR Cross-Version Mapping Pack, 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/fhir-cross-version/ and changes regularly. See the Directory of published versions

: StructureDefinition Transforms: R3 to R2 - JSON Representation

Page standards status: Draft Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "StructureDefinition3to2",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/StructureDefinition3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'StructureDefinition3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'StructureDefinition Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/StructureDefinition<span style=\"color: navy\">&quot; </span><b>alias </b>StructureDefinition <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/StructureDefinition<span style=\"color: navy\">&quot; </span><b>alias </b>StructureDefinitionR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>StructureDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>StructureDefinition, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>StructureDefinitionR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.url<span style=\"color: navy\"><b> -&gt; </b></span>tgt.url <i>&quot;StructureDefinition-url&quot;</i><span style=\"color: navy\">;</span>\r\n  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;StructureDefinition-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n  src.version<span style=\"color: navy\"><b> -&gt; </b></span>tgt.version <i>&quot;StructureDefinition-version&quot;</i><span style=\"color: navy\">;</span>\r\n  src.name<span style=\"color: navy\"><b> -&gt; </b></span>tgt.name <i>&quot;StructureDefinition-name&quot;</i><span style=\"color: navy\">;</span>\r\n  src.title<span style=\"color: navy\"><b> -&gt; </b></span>tgt.display <i>&quot;StructureDefinition-display&quot;</i><span style=\"color: navy\">;</span>\r\n  src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;StructureDefinition-status&quot;</i><span style=\"color: navy\">;</span>\r\n  src.experimental<span style=\"color: navy\"><b> -&gt; </b></span>tgt.experimental <i>&quot;StructureDefinition-experimental&quot;</i><span style=\"color: navy\">;</span>\r\n  src.publisher<span style=\"color: navy\"><b> -&gt; </b></span>tgt.publisher <i>&quot;StructureDefinition-publisher&quot;</i><span style=\"color: navy\">;</span>\r\n  src.contact<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.contact<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.name<span style=\"color: navy\"><b> -&gt; </b></span>vt0.name <i>&quot;contact-name&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.telecom<span style=\"color: navy\"><b> -&gt; </b></span>vt0.telecom <i>&quot;contact-telecom&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-contact&quot;</i><span style=\"color: navy\">;</span>\r\n  src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date <i>&quot;StructureDefinition-date&quot;</i><span style=\"color: navy\">;</span>\r\n  src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;StructureDefinition-description&quot;</i><span style=\"color: navy\">;</span>\r\n  src.jurisdiction<span style=\"color: navy\"><b> -&gt; </b></span>tgt.useContext <i>&quot;StructureDefinition-useContext&quot;</i><span style=\"color: navy\">;</span>\r\n  src.purpose<span style=\"color: navy\"><b> -&gt; </b></span>tgt.requirements <i>&quot;StructureDefinition-requirements&quot;</i><span style=\"color: navy\">;</span>\r\n  src.copyright<span style=\"color: navy\"><b> -&gt; </b></span>tgt.copyright <i>&quot;StructureDefinition-copyright&quot;</i><span style=\"color: navy\">;</span>\r\n  src.keyword<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code <i>&quot;StructureDefinition-code&quot;</i><span style=\"color: navy\">;</span>\r\n  src.fhirVersion<span style=\"color: navy\"><b> -&gt; </b></span>tgt.fhirVersion <i>&quot;StructureDefinition-fhirVersion&quot;</i><span style=\"color: navy\">;</span>\r\n  src.mapping<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.mapping<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.identity<span style=\"color: navy\"><b> -&gt; </b></span>vt0.identity <i>&quot;mapping-identity&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.uri<span style=\"color: navy\"><b> -&gt; </b></span>vt0.uri <i>&quot;mapping-uri&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.name<span style=\"color: navy\"><b> -&gt; </b></span>vt0.name <i>&quot;mapping-name&quot;</i><span style=\"color: navy\">;</span>\r\n    vs0.comment<span style=\"color: navy\"><b> -&gt; </b></span>vt0.comments <i>&quot;mapping-comments&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-mapping&quot;</i><span style=\"color: navy\">;</span>\r\n  src.kind<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.kind = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/StructureDefinition.kind-R3toR2'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>&quot;StructureDefinition-kind&quot;</i><span style=\"color: navy\">;</span>\r\n  src.contextType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.contextType <i>&quot;StructureDefinition-contextType&quot;</i><span style=\"color: navy\">;</span>\r\n  src.context<span style=\"color: navy\"><b> -&gt; </b></span>tgt.context <i>&quot;StructureDefinition-context&quot;</i><span style=\"color: navy\">;</span>\r\n  src.type<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>src.derivation = 'constraint'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.constrainedType<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>code<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;StructureDefinition-constrainedType&quot;</i><span style=\"color: navy\">;</span>\r\n  src.abstract<span style=\"color: navy\"><b> -&gt; </b></span>tgt.abstract <i>&quot;StructureDefinition-abstract&quot;</i><span style=\"color: navy\">;</span>\r\n  src.baseDefinition<span style=\"color: navy\"><b> -&gt; </b></span>tgt.base <i>&quot;StructureDefinition-base&quot;</i><span style=\"color: navy\">;</span>\r\n  src.snapshot<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.snapshot<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.element<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>vt0.element<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>ElementDefinition<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;snapshot-element&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-snapshot&quot;</i><span style=\"color: navy\">;</span>\r\n  src.differential<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.differential<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    vs0.element<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>vt0.element<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>ElementDefinition<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;differential-element&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;StructureDefinition-differential&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/StructureDefinition3to2",
  "version" : "0.1.0",
  "name" : "StructureDefinition3to2",
  "title" : "StructureDefinition Transforms: R3 to R2",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "StructureDefinitionTransformsR3toR2",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/3.0/StructureDefinition",
      "mode" : "source",
      "alias" : "StructureDefinition"
    },
    {
      "url" : "http://hl7.org/fhir/1.0/StructureDefinition",
      "mode" : "target",
      "alias" : "StructureDefinitionR2"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*3to2"
  ],
  "group" : [
    {
      "name" : "StructureDefinition",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "StructureDefinition",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "StructureDefinitionR2",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "StructureDefinition-url",
          "source" : [
            {
              "context" : "src",
              "element" : "url",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "url",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-version",
          "source" : [
            {
              "context" : "src",
              "element" : "version",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "version",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-name",
          "source" : [
            {
              "context" : "src",
              "element" : "name",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "name",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-display",
          "source" : [
            {
              "context" : "src",
              "element" : "title",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "display",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-experimental",
          "source" : [
            {
              "context" : "src",
              "element" : "experimental",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "experimental",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-publisher",
          "source" : [
            {
              "context" : "src",
              "element" : "publisher",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "publisher",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-contact",
          "source" : [
            {
              "context" : "src",
              "element" : "contact",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "contact",
              "variable" : "vt0"
            }
          ],
          "rule" : [
            {
              "name" : "contact-name",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "name",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "name",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "contact-telecom",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "telecom",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "telecom",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-date",
          "source" : [
            {
              "context" : "src",
              "element" : "date",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "date",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-useContext",
          "source" : [
            {
              "context" : "src",
              "element" : "jurisdiction",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "useContext",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-requirements",
          "source" : [
            {
              "context" : "src",
              "element" : "purpose",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "requirements",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-copyright",
          "source" : [
            {
              "context" : "src",
              "element" : "copyright",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "copyright",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-code",
          "source" : [
            {
              "context" : "src",
              "element" : "keyword",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-fhirVersion",
          "source" : [
            {
              "context" : "src",
              "element" : "fhirVersion",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "fhirVersion",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-mapping",
          "source" : [
            {
              "context" : "src",
              "element" : "mapping",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "mapping",
              "variable" : "vt0"
            }
          ],
          "rule" : [
            {
              "name" : "mapping-identity",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "identity",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "identity",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "mapping-uri",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "uri",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "uri",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "mapping-name",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "name",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "name",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "mapping-comments",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "comment",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "comments",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-kind",
          "source" : [
            {
              "context" : "src",
              "element" : "kind",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "kind",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "http://hl7.org/fhir/ConceptMap/StructureDefinition.kind-R3toR2"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-contextType",
          "source" : [
            {
              "context" : "src",
              "element" : "contextType",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "contextType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-context",
          "source" : [
            {
              "context" : "src",
              "element" : "context",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "context",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-constrainedType",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vs",
              "condition" : "src.derivation = 'constraint'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "constrainedType",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "code",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-abstract",
          "source" : [
            {
              "context" : "src",
              "element" : "abstract",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "abstract",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-base",
          "source" : [
            {
              "context" : "src",
              "element" : "baseDefinition",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "base",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-snapshot",
          "source" : [
            {
              "context" : "src",
              "element" : "snapshot",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "snapshot",
              "variable" : "vt0"
            }
          ],
          "rule" : [
            {
              "name" : "snapshot-element",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "element",
                  "variable" : "vs"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "element",
                  "variable" : "vt"
                }
              ],
              "dependent" : [
                {
                  "name" : "ElementDefinition",
                  "parameter" : [
                    {
                      "valueId" : "src"
                    },
                    {
                      "valueId" : "vs"
                    },
                    {
                      "valueId" : "vt"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "StructureDefinition-differential",
          "source" : [
            {
              "context" : "src",
              "element" : "differential",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "differential",
              "variable" : "vt0"
            }
          ],
          "rule" : [
            {
              "name" : "differential-element",
              "source" : [
                {
                  "context" : "vs0",
                  "element" : "element",
                  "variable" : "vs"
                }
              ],
              "target" : [
                {
                  "context" : "vt0",
                  "element" : "element",
                  "variable" : "vt"
                }
              ],
              "dependent" : [
                {
                  "name" : "ElementDefinition",
                  "parameter" : [
                    {
                      "valueId" : "src"
                    },
                    {
                      "valueId" : "vs"
                    },
                    {
                      "valueId" : "vt"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}