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

: R4 to R3 Conversion for Immunization - JSON Representation

Page standards status: Draft Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "Immunization4to3",
  "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\">'hImmunization4to3 Transforms: R4 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Immunization4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'R4 to R3 Conversion for Immunization'</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/4.0/Immunization<span style=\"color: navy\">&quot; </span><b>alias </b>Immunization <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/Immunization<span style=\"color: navy\">&quot; </span><b>alias </b>ImmunizationR3 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>Immunization<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Immunization, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ImmunizationR3<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>\r\n  src.status<b> where </b>value != 'not-done'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n  src.status<b> where </b>value = 'not-done'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.status = <span style=\"color: blue\">'completed'</span><span style=\"color: navy\">, </span> tgt.notGiven = <span style=\"color: blue\">'true'</span><span style=\"color: navy\">;</span>\r\n  src.extension<b> as </b><span style=\"color: maroon\">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.notGiven'<b> then</b><span style=\"color: navy\"> {\r\n</span>    e.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.notGiven<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src.vaccineCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.vaccineCode<span style=\"color: navy\">;</span>\r\n  src.patient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n  src.encounter<span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n  src.occurrence<span style=\"color: navy\"> : </span>dateTime<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.date<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>dateTime<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><span style=\"color: navy\">;</span>\r\n  src.primarySource<span style=\"color: navy\"><b> -&gt; </b></span>tgt.primarySource<span style=\"color: navy\">;</span>\r\n  src.reportOrigin<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reportOrigin<span style=\"color: navy\">;</span>\r\n  src.location<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n  src.manufacturer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.manufacturer<span style=\"color: navy\">;</span>\r\n  src.lotNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.lotNumber<span style=\"color: navy\">;</span>\r\n  src.expirationDate<span style=\"color: navy\"><b> -&gt; </b></span>tgt.expirationDate<span style=\"color: navy\">;</span>\r\n  src.site<span style=\"color: navy\"><b> -&gt; </b></span>tgt.site<span style=\"color: navy\">;</span>\r\n  src.route<span style=\"color: navy\"><b> -&gt; </b></span>tgt.route<span style=\"color: navy\">;</span>\r\n  src.doseQuantity<span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseQuantity<span style=\"color: navy\">;</span>\r\n  src.performer<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.practitioner<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>practitioner<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><span style=\"color: navy\">;</span>\r\n  src.note<span style=\"color: navy\"><b> -&gt; </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n  src.reasonCode<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>src.status != 'not-done'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.explanation<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.reason = <span style=\"color: maroon\">vs</span><span style=\"color: navy\">;</span>\r\n  src.reasonCode<b> as </b><span style=\"color: maroon\">vs</span><b> where </b>src.status = 'not-done'<span style=\"color: navy\"><b> -&gt; </b></span> tgt.explanation<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.reasonNotGiven = <span style=\"color: maroon\">vs</span><span style=\"color: navy\">;</span>\r\n  src.reaction<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.reaction<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>reaction<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><span style=\"color: navy\">;</span>\r\n  src.protocolApplied<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.vaccinationProtocol<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>protocol<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><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>practitioner<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.function<span style=\"color: navy\"><b> -&gt; </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n  src.actor<span style=\"color: navy\"><b> -&gt; </b></span>tgt.actor<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>reaction<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.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n  src.detail<span style=\"color: navy\"><b> -&gt; </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n  src.reported<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reported<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>protocol<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.doseNumber<span style=\"color: navy\"> : </span>positiveInt<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseSequence<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>positiveInt<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><span style=\"color: navy\">;</span>\r\n  src.extension<b> as </b><span style=\"color: maroon\">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.description'<b> then</b><span style=\"color: navy\"> {\r\n</span>    e.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src.authority<span style=\"color: navy\"><b> -&gt; </b></span>tgt.authority<span style=\"color: navy\">;</span>\r\n  src.series<span style=\"color: navy\"><b> -&gt; </b></span>tgt.series<span style=\"color: navy\">;</span>\r\n  src.seriesDoses<span style=\"color: navy\"> : </span>positiveInt<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.seriesDoses<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>positiveInt<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><span style=\"color: navy\">;</span>\r\n  src.targetDisease<span style=\"color: navy\"><b> -&gt; </b></span>tgt.targetDisease<span style=\"color: navy\">;</span>\r\n  src.extension<b> as </b><span style=\"color: maroon\">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatus'<b> then</b><span style=\"color: navy\"> {\r\n</span>    e.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseStatus<span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src.extension<b> as </b><span style=\"color: maroon\">e</span><b> where </b>url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatusReason'<b> then</b><span style=\"color: navy\"> {\r\n</span>    e.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseStatusReason<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></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" : "hImmunization4to3 Transforms: R4 to R3",
  "version" : "0.1.0",
  "name" : "Immunization4to3",
  "title" : "R4 to R3 Conversion for Immunization",
  "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" : "R4toR3ConversionforImmunization",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/4.0/Immunization",
      "mode" : "source",
      "alias" : "Immunization"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/Immunization",
      "mode" : "target",
      "alias" : "ImmunizationR3"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*4to3"
  ],
  "group" : [
    {
      "name" : "Immunization",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "Immunization",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "ImmunizationR3",
          "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"
                }
              ]
            }
          ]
        },
        {
          "name" : "status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv",
              "condition" : "value != 'not-done'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "condition" : "value = 'not-done'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "completed"
                }
              ]
            },
            {
              "context" : "tgt",
              "element" : "notGiven",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "true"
                }
              ]
            }
          ]
        },
        {
          "name" : "extension",
          "source" : [
            {
              "context" : "src",
              "element" : "extension",
              "variable" : "e",
              "condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.notGiven'"
            }
          ],
          "rule" : [
            {
              "name" : "value",
              "source" : [
                {
                  "context" : "e",
                  "element" : "value",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "notGiven",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "vaccineCode",
          "source" : [
            {
              "context" : "src",
              "element" : "vaccineCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "vaccineCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "patient",
          "source" : [
            {
              "context" : "src",
              "element" : "patient",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "patient",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "encounter",
          "source" : [
            {
              "context" : "src",
              "element" : "encounter",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "encounter",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "occurrenceDateTime",
          "source" : [
            {
              "context" : "src",
              "type" : "dateTime",
              "element" : "occurrence",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "date",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "dateTime",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "primarySource",
          "source" : [
            {
              "context" : "src",
              "element" : "primarySource",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "primarySource",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reportOrigin",
          "source" : [
            {
              "context" : "src",
              "element" : "reportOrigin",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reportOrigin",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "location",
          "source" : [
            {
              "context" : "src",
              "element" : "location",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "location",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "manufacturer",
          "source" : [
            {
              "context" : "src",
              "element" : "manufacturer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "manufacturer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "lotNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "lotNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "lotNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "expirationDate",
          "source" : [
            {
              "context" : "src",
              "element" : "expirationDate",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "expirationDate",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "site",
          "source" : [
            {
              "context" : "src",
              "element" : "site",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "site",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "route",
          "source" : [
            {
              "context" : "src",
              "element" : "route",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "route",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "doseQuantity",
          "source" : [
            {
              "context" : "src",
              "element" : "doseQuantity",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "doseQuantity",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "performer",
          "source" : [
            {
              "context" : "src",
              "element" : "performer",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "practitioner",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "practitioner",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "note",
          "source" : [
            {
              "context" : "src",
              "element" : "note",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "note",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reasonCode",
          "source" : [
            {
              "context" : "src",
              "element" : "reasonCode",
              "variable" : "vs",
              "condition" : "src.status != 'not-done'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "explanation",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "reason",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "vs"
                }
              ]
            }
          ]
        },
        {
          "name" : "reasonCode",
          "source" : [
            {
              "context" : "src",
              "element" : "reasonCode",
              "variable" : "vs",
              "condition" : "src.status = 'not-done'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "explanation",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "reasonNotGiven",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "vs"
                }
              ]
            }
          ]
        },
        {
          "name" : "reaction",
          "source" : [
            {
              "context" : "src",
              "element" : "reaction",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reaction",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "reaction",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "protocolApplied",
          "source" : [
            {
              "context" : "src",
              "element" : "protocolApplied",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "vaccinationProtocol",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "protocol",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "practitioner",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "function",
          "source" : [
            {
              "context" : "src",
              "element" : "function",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "role",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "actor",
          "source" : [
            {
              "context" : "src",
              "element" : "actor",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "actor",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "reaction",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "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" : "detail",
          "source" : [
            {
              "context" : "src",
              "element" : "detail",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detail",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reported",
          "source" : [
            {
              "context" : "src",
              "element" : "reported",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reported",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "protocol",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "doseNumberPositiveInt",
          "source" : [
            {
              "context" : "src",
              "type" : "positiveInt",
              "element" : "doseNumber",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "doseSequence",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "positiveInt",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "extension",
          "source" : [
            {
              "context" : "src",
              "element" : "extension",
              "variable" : "e",
              "condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.description'"
            }
          ],
          "rule" : [
            {
              "name" : "value",
              "source" : [
                {
                  "context" : "e",
                  "element" : "value",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "description",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "authority",
          "source" : [
            {
              "context" : "src",
              "element" : "authority",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "authority",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "series",
          "source" : [
            {
              "context" : "src",
              "element" : "series",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "series",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "seriesDosesPositiveInt",
          "source" : [
            {
              "context" : "src",
              "type" : "positiveInt",
              "element" : "seriesDoses",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "seriesDoses",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "positiveInt",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "targetDisease",
          "source" : [
            {
              "context" : "src",
              "element" : "targetDisease",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "targetDisease",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "extension",
          "source" : [
            {
              "context" : "src",
              "element" : "extension",
              "variable" : "e",
              "condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatus'"
            }
          ],
          "rule" : [
            {
              "name" : "value",
              "source" : [
                {
                  "context" : "e",
                  "element" : "value",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "doseStatus",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "extension",
          "source" : [
            {
              "context" : "src",
              "element" : "extension",
              "variable" : "e",
              "condition" : "url = 'http://hl7.org/fhir/3.0/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatusReason'"
            }
          ],
          "rule" : [
            {
              "name" : "value",
              "source" : [
                {
                  "context" : "e",
                  "element" : "value",
                  "variable" : "vvv"
                }
              ],
              "target" : [
                {
                  "context" : "tgt",
                  "element" : "doseStatusReason",
                  "variable" : "vvv",
                  "transform" : "create"
                }
              ],
              "dependent" : [
                {
                  "name" : "DefaultMappingGroupAnonymousAlias",
                  "parameter" : [
                    {
                      "valueId" : "vvv"
                    },
                    {
                      "valueId" : "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}