FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "ObservationDefinition5to4",
  "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/ObservationDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ObservationDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for ObservationDefinition: R5 to R4'</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/R5/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/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/R4/codesystem-administrative-gender.html\" title=\"AdministrativeGender\">http://hl7.org/fhir/4.0/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/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><b>  prefix </b>t<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>\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/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><b>  prefix </b>t<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>\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/R5/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/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/R4/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/4.0/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/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>source</b>\r\n<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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<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>ObservationDefinitionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ObservationDefinitionR4<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.permittedUnit<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.quantitativeDetails<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.customaryUnit<b> as </b><span style=\"color: maroon\">t1</span><span style=\"color: navy\">, </span> t1.coding = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n  src.qualifiedValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.qualifiedInterval<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.qualifiedValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.validCodedValueSet = <span style=\"color: maroon\">t.validCodedValueSet</span><span style=\"color: navy\">;</span>\r\n  src.qualifiedValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.normalCodedValueSet = <span style=\"color: maroon\">t.normalCodedValueSet</span><span style=\"color: navy\">;</span>\r\n  src.qualifiedValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.abnormalCodedValueSet = <span style=\"color: maroon\">t.abnormalCodedValueSet</span><span style=\"color: navy\">;</span>\r\n  src.qualifiedValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.criticalCodedValueSet = <span style=\"color: maroon\">t.criticalCodedValueSet</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.rangeCategory<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.category = <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/administrative-gender",
          "target" : "http://hl7.org/fhir/4.0/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/permitted-data-type",
          "target" : "http://hl7.org/fhir/4.0/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/observation-range-category",
          "target" : "http://hl7.org/fhir/4.0/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/publication-status",
          "target" : "http://hl7.org/fhir/4.0/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-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/ObservationDefinition5to4",
  "version" : "1.0.0",
  "name" : "ObservationDefinition5to4",
  "title" : "FML Conversion for ObservationDefinition: R5 to R4",
  "status" : "active",
  "date" : "2023-03-26T08:47:34+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/fhir-i"
        }
      ]
    }
  ],
  "description" : "FMLConversionforObservationDefinitionR5toR4",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/ObservationDefinition",
      "mode" : "source",
      "alias" : "ObservationDefinitionR5"
    },
    {
      "url" : "http://hl7.org/fhir/4.0/StructureDefinition/ObservationDefinition",
      "mode" : "target",
      "alias" : "ObservationDefinitionR4"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*5to4"
  ],
  "group" : [
    {
      "name" : "ObservationDefinition",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "ObservationDefinitionR5",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "ObservationDefinitionR4",
          "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" : "permittedUnit",
          "source" : [
            {
              "context" : "src",
              "element" : "permittedUnit",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "quantitativeDetails",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "customaryUnit",
              "variable" : "t1"
            },
            {
              "context" : "t1",
              "element" : "coding",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedValue",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedValue",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "qualifiedInterval",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "ObservationDefinitionQualifiedValue",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedValue",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedValue",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "validCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "t.validCodedValueSet"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedValue",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedValue",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "normalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "t.normalCodedValueSet"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedValue",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedValue",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "abnormalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "t.abnormalCodedValueSet"
                }
              ]
            }
          ]
        },
        {
          "name" : "qualifiedValue",
          "source" : [
            {
              "context" : "src",
              "element" : "qualifiedValue",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "criticalCodedValueSet",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "t.criticalCodedValueSet"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "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" : "rangeCategory",
          "source" : [
            {
              "context" : "src",
              "element" : "rangeCategory",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "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"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}