FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: FML Conversion for ObservationDefinition: R4 to R5 - JSON Representation

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "ObservationDefinition4to5",
  "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/ObservationDefinition4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ObservationDefinition4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for ObservationDefinition: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> &quot;</span>AdministrativeGender<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/4.0/administrative-gender</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/administrative-gender</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>male <b>-</b> t<span style=\"color: navy\">:</span>male\r\n  s<span style=\"color: navy\">:</span>female <b>-</b> t<span style=\"color: navy\">:</span>female\r\n  s<span style=\"color: navy\">:</span>other <b>-</b> t<span style=\"color: navy\">:</span>other\r\n  s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ObservationDataType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-permitted-data-type.html\" title=\"ObservationDataType\">http://hl7.org/fhir/4.0/permitted-data-type</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-permitted-data-type.html\" title=\"Observation Data Type\">http://hl7.org/fhir/permitted-data-type</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>Quantity <b>-</b> t<span style=\"color: navy\">:</span>Quantity\r\n  s<span style=\"color: navy\">:</span>CodeableConcept <b>-</b> t<span style=\"color: navy\">:</span>CodeableConcept\r\n  s<span style=\"color: navy\">:</span>string <b>-</b> t<span style=\"color: navy\">:</span>string\r\n  s<span style=\"color: navy\">:</span>boolean <b>-</b> t<span style=\"color: navy\">:</span>boolean\r\n  s<span style=\"color: navy\">:</span>integer <b>-</b> t<span style=\"color: navy\">:</span>integer\r\n  s<span style=\"color: navy\">:</span>Range <b>-</b> t<span style=\"color: navy\">:</span>Range\r\n  s<span style=\"color: navy\">:</span>Ratio <b>-</b> t<span style=\"color: navy\">:</span>Ratio\r\n  s<span style=\"color: navy\">:</span>SampledData <b>-</b> t<span style=\"color: navy\">:</span>SampledData\r\n  s<span style=\"color: navy\">:</span>time <b>-</b> t<span style=\"color: navy\">:</span>time\r\n  s<span style=\"color: navy\">:</span>dateTime <b>-</b> t<span style=\"color: navy\">:</span>dateTime\r\n  s<span style=\"color: navy\">:</span>Period <b>-</b> t<span style=\"color: navy\">:</span>Period\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ObservationRangeCategory<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-observation-range-category.html\" title=\"ObservationRangeCategory\">http://hl7.org/fhir/4.0/observation-range-category</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-observation-range-category.html\" title=\"Observation Range Category\">http://hl7.org/fhir/observation-range-category</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>reference <b>-</b> t<span style=\"color: navy\">:</span>reference\r\n  s<span style=\"color: navy\">:</span>critical <b>-</b> t<span style=\"color: navy\">:</span>critical\r\n  s<span style=\"color: navy\">:</span>absolute <b>-</b> t<span style=\"color: navy\">:</span>absolute\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>PublicationStatus<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R4/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/4.0/publication-status</a><span style=\"color: navy\">&quot;\r\n</span><b>  prefix </b>t<span style=\"color: navy\"> = &quot;</span><a href=\"http://hl7.org/fhir/R5/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/publication-status</a><span style=\"color: navy\">&quot;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n  s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n  s<span style=\"color: navy\">:</span>retired <b>-</b> t<span style=\"color: navy\">:</span>retired\r\n  s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/observationdefinition.html\" title=\"ObservationDefinition\">http://hl7.org/fhir/4.0/StructureDefinition/ObservationDefinition</a><span style=\"color: navy\">&quot; </span><b>alias </b>ObservationDefinitionR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R5/observationdefinition.html\" title=\"ObservationDefinition\">http://hl7.org/fhir/StructureDefinition/ObservationDefinition</a><span style=\"color: navy\">&quot; </span><b>alias </b>ObservationDefinitionR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>ObservationDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ObservationDefinitionR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ObservationDefinitionR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.url -&gt; tgt.url;</span>\r\n  src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.version -&gt; tgt.version;</span>\r\n  src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n  src.permittedDataType<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.permittedDataType = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#ObservationDataType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.multipleResultsAllowed<span style=\"color: navy\"><b> -&gt; </b></span>tgt.multipleResultsAllowed<span style=\"color: navy\">;</span>\r\n  src.method<span style=\"color: navy\"><b> -&gt; </b></span>tgt.method<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.bodySite -&gt; tgt.bodySite;</span>\r\n  src.preferredReportName<span style=\"color: navy\"><b> -&gt; </b></span>tgt.preferredReportName<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.specimen -&gt; tgt.specimen;</span>\r\n  src.quantitativeDetails<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then </b>ObservationDefinitionQuantitativeDetails<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.qualifiedInterval<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.qualifiedValue<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ObservationDefinitionQualifiedValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.validCodedValueSet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.qualifiedValue<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.validCodedValueSet = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.normalCodedValueSet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.qualifiedValue<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.normalCodedValueSet = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.abnormalCodedValueSet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.qualifiedValue<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.abnormalCodedValueSet = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.criticalCodedValueSet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.qualifiedValue<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.criticalCodedValueSet = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ObservationDefinitionQuantitativeDetails<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.customaryUnit<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    s.coding<span style=\"color: navy\"><b> -&gt; </b></span>tgt.permittedUnit<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src.unit<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    s.coding<span style=\"color: navy\"><b> -&gt; </b></span>tgt.permittedUnit<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ObservationDefinitionQualifiedValue<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.context<span style=\"color: navy\"><b> -&gt; </b></span>tgt.context<span style=\"color: navy\">;</span>\r\n  src.appliesTo<span style=\"color: navy\"><b> -&gt; </b></span>tgt.appliesTo<span style=\"color: navy\">;</span>\r\n  src.gender<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.gender = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#AdministrativeGender'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.age<span style=\"color: navy\"><b> -&gt; </b></span>tgt.age<span style=\"color: navy\">;</span>\r\n  src.gestationalAge<span style=\"color: navy\"><b> -&gt; </b></span>tgt.gestationalAge<span style=\"color: navy\">;</span>\r\n  src.condition<span style=\"color: navy\"><b> -&gt; </b></span>tgt.condition<span style=\"color: navy\">;</span>\r\n  src.category<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.rangeCategory = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#ObservationRangeCategory'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n  src.range<span style=\"color: navy\"><b> -&gt; </b></span>tgt.range<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "contained" : [
    {
      "resourceType" : "ConceptMap",
      "id" : "AdministrativeGender",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/4.0/administrative-gender",
          "target" : "http://hl7.org/fhir/administrative-gender",
          "element" : [
            {
              "code" : "male",
              "target" : [
                {
                  "code" : "male",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "female",
              "target" : [
                {
                  "code" : "female",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "other",
              "target" : [
                {
                  "code" : "other",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "unknown",
              "target" : [
                {
                  "code" : "unknown",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ObservationDataType",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/4.0/permitted-data-type",
          "target" : "http://hl7.org/fhir/permitted-data-type",
          "element" : [
            {
              "code" : "Quantity",
              "target" : [
                {
                  "code" : "Quantity",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "CodeableConcept",
              "target" : [
                {
                  "code" : "CodeableConcept",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "string",
              "target" : [
                {
                  "code" : "string",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "boolean",
              "target" : [
                {
                  "code" : "boolean",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "integer",
              "target" : [
                {
                  "code" : "integer",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "Range",
              "target" : [
                {
                  "code" : "Range",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "Ratio",
              "target" : [
                {
                  "code" : "Ratio",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "SampledData",
              "target" : [
                {
                  "code" : "SampledData",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "time",
              "target" : [
                {
                  "code" : "time",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "dateTime",
              "target" : [
                {
                  "code" : "dateTime",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "Period",
              "target" : [
                {
                  "code" : "Period",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ObservationRangeCategory",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/4.0/observation-range-category",
          "target" : "http://hl7.org/fhir/observation-range-category",
          "element" : [
            {
              "code" : "reference",
              "target" : [
                {
                  "code" : "reference",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "critical",
              "target" : [
                {
                  "code" : "critical",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "absolute",
              "target" : [
                {
                  "code" : "absolute",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "PublicationStatus",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/4.0/publication-status",
          "target" : "http://hl7.org/fhir/publication-status",
          "element" : [
            {
              "code" : "draft",
              "target" : [
                {
                  "code" : "draft",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "active",
              "target" : [
                {
                  "code" : "active",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "retired",
              "target" : [
                {
                  "code" : "retired",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "unknown",
              "target" : [
                {
                  "code" : "unknown",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "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.extensions"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/ObservationDefinition4to5",
  "version" : "5.1.0-snapshot1",
  "name" : "ObservationDefinition4to5",
  "title" : "FML Conversion for ObservationDefinition: R4 to R5",
  "status" : "active",
  "date" : "2024-03-12T13:30:10+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "FMLConversionforObservationDefinitionR4toR5",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/4.0/StructureDefinition/ObservationDefinition",
      "mode" : "source",
      "alias" : "ObservationDefinitionR4"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/ObservationDefinition",
      "mode" : "target",
      "alias" : "ObservationDefinitionR5"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*4to5"
  ],
  "group" : [
    {
      "name" : "ObservationDefinition",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "ObservationDefinitionR4",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "ObservationDefinitionR5",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "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"
                }
              ]
            }
          ],
          "documentation" : "src.url -> tgt.url;"
        },
        {
          "name" : "category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.version -> tgt.version;"
        },
        {
          "name" : "code",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "permittedDataType",
          "source" : [
            {
              "context" : "src",
              "element" : "permittedDataType",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "permittedDataType",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ObservationDataType"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "multipleResultsAllowed",
          "source" : [
            {
              "context" : "src",
              "element" : "multipleResultsAllowed",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "multipleResultsAllowed",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "method",
          "source" : [
            {
              "context" : "src",
              "element" : "method",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "method",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.bodySite -> tgt.bodySite;"
        },
        {
          "name" : "preferredReportName",
          "source" : [
            {
              "context" : "src",
              "element" : "preferredReportName",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "preferredReportName",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.specimen -> tgt.specimen;"
        },
        {
          "name" : "quantitativeDetails",
          "source" : [
            {
              "context" : "src",
              "element" : "quantitativeDetails",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ],
          "dependent" : [
            {
              "name" : "ObservationDefinitionQuantitativeDetails",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedInterval",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedInterval",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedValue",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ObservationDefinitionQualifiedValue",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "validCodedValueSet",
          "source" : [
            {
              "context" : "src",
              "element" : "validCodedValueSet",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedValue",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "validCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "normalCodedValueSet",
          "source" : [
            {
              "context" : "src",
              "element" : "normalCodedValueSet",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedValue",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "normalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "abnormalCodedValueSet",
          "source" : [
            {
              "context" : "src",
              "element" : "abnormalCodedValueSet",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedValue",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "abnormalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "criticalCodedValueSet",
          "source" : [
            {
              "context" : "src",
              "element" : "criticalCodedValueSet",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedValue",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "criticalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ObservationDefinitionQuantitativeDetails",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "customaryUnit",
          "source" : [
            {
              "context" : "src",
              "element" : "customaryUnit",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "coding",
              "source" : [
                {
                  "context" : "s",
                  "element" : "coding",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "permittedUnit",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "unit",
          "source" : [
            {
              "context" : "src",
              "element" : "unit",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "coding",
              "source" : [
                {
                  "context" : "s",
                  "element" : "coding",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "permittedUnit",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "ObservationDefinitionQualifiedValue",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "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" : "appliesTo",
          "source" : [
            {
              "context" : "src",
              "element" : "appliesTo",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "appliesTo",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "gender",
          "source" : [
            {
              "context" : "src",
              "element" : "gender",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "gender",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#AdministrativeGender"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "age",
          "source" : [
            {
              "context" : "src",
              "element" : "age",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "age",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "gestationalAge",
          "source" : [
            {
              "context" : "src",
              "element" : "gestationalAge",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "gestationalAge",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "condition",
          "source" : [
            {
              "context" : "src",
              "element" : "condition",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "condition",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "rangeCategory",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ObservationRangeCategory"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "range",
          "source" : [
            {
              "context" : "src",
              "element" : "range",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "range",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}