FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (78 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-CarePlan2to3.html
Url http://hl7.org/fhir/StructureMap/CarePlan2to3
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name CarePlan2to3
Title CarePlan Transforms: R2 to R3
Experimental False
Realm uv
Authority hl7
Description CarePlanTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

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

/// url = 'http://hl7.org/fhir/StructureMap/CarePlan2to3'
/// name = 'CarePlan2to3'
/// title = 'CarePlan Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/CarePlan" alias CarePlanR2 as source
uses "http://hl7.org/fhir/3.0/CarePlan" alias CarePlan as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group CarePlan(source src : CarePlanR2, target tgt : CarePlan) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier "CarePlan-identifier";
  src.subject -> tgt.subject "CarePlan-subject";
  src.status -> tgt.status "CarePlan-status";
  src.context -> tgt.context "CarePlan-context";
  src.period -> tgt.period "CarePlan-period";
  src.author -> tgt.author "CarePlan-author";
  src.modified as v ->  tgt.extension as t,  t.url = 'http://hl7.org/fhir/CarePlan-r2-modified',  t.value = v "CarePlan-modified";
  src.category -> tgt.category "CarePlan-category";
  src.description -> tgt.description "CarePlan-description";
  src.addresses -> tgt.addresses "CarePlan-addresses";
  src.support -> tgt.supportingInfo "CarePlan-support";
  src.relatedPlan as vs0 where vs0.code = 'replaces' -> tgt.basedOn = (vs0.plan) "CarePlan-relatedPlan2";
  src.relatedPlan as vs0 where vs0.code = 'fulfills' -> tgt.replaces = (vs0.plan) "CarePlan-relatedPlan3";
  src where src.participant.exists() -> create('CareTeam') as vt0 then plnParticipant(src, vt0, tgt) "CarePlan-participant";
  src.goal -> tgt.goal "CarePlan-goal";
  src.activity as vs0 -> tgt.activity as vt0 then plnActivity(vs0, vt0) "CarePlan-activity";
  src.note -> tgt.note "CarePlan-note";
}

group plnRelated(source src, target tgt) extends BackboneElement {
  src.code -> tgt.code "relatedPlan-code";
  src.plan -> tgt.plan "relatedPlan-plan";
}

group plnActivity(source src, target tgt) extends BackboneElement {
  src.actionResulting -> tgt.outcomeReference "activity-actionResulting";
  src.progress -> tgt.progress "activity-progress";
  src.reference -> tgt.reference "activity-reference";
  src.detail as vs0 -> tgt.detail as vt0 then plnDetail(vs0, vt0) "activity-detail";
}

group plnDetail(source src, target tgt) extends BackboneElement {
  src.category -> tgt.category "detail-category";
  src.code -> tgt.code "detail-code";
  src.reasonCode -> tgt.reasonCode "detail-reasonCode";
  src.reasonReference -> tgt.reasonReference "detail-reasonReference";
  src.goal -> tgt.goal "detail-goal";
  src.status -> tgt.status "detail-status";
  src.statusReason -> tgt.statusReason "detail-statusReason";
  src.prohibited -> tgt.prohibited "detail-prohibited";
  src.scheduled -> tgt.scheduled "detail-scheduled";
  src.location -> tgt.location "detail-location";
  src.performer -> tgt.performer "detail-performer";
  src.product -> tgt.product "detail-product";
  src.dailyAmount -> tgt.dailyAmount "detail-dailyAmount";
  src.quantity -> tgt.quantity "detail-quantity";
  src.description -> tgt.description "detail-description";
}

group plnParticipant(source src, target tgt, target tgtE) {
  src -> tgtE.careTeam = reference(tgt) "participant-link";
  src.participant as vs -> tgt.participant as vt then plnParticipantMember(vs, vt) "participant-member";
}

group plnParticipantMember(source src, target tgt) extends BackboneElement {
  src.role -> tgt.role "participant-role";
  src.member -> tgt.member "participant-member";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "CarePlan2to3",
  "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/CarePlan2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'CarePlan2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'CarePlan Transforms: R2 to R3'</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/1.0/CarePlan<span style=\"color: navy\">&quot; </span><b>alias </b>CarePlanR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/CarePlan<span style=\"color: navy\">&quot; </span><b>alias </b>CarePlan <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>CarePlan<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CarePlanR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CarePlan<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 <i>&quot;CarePlan-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject <i>&quot;CarePlan-subject&quot;</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;CarePlan-status&quot;</i><span style=\"color: navy\">;</span>\r\n src.context<span style=\"color: navy\"><b> -&gt; </b></span>tgt.context <i>&quot;CarePlan-context&quot;</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -&gt; </b></span>tgt.period <i>&quot;CarePlan-period&quot;</i><span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -&gt; </b></span>tgt.author <i>&quot;CarePlan-author&quot;</i><span style=\"color: navy\">;</span>\r\n src.modified<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.url = <span style=\"color: blue\">'http://hl7.org/fhir/CarePlan-r2-modified'</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">v</span> <i>&quot;CarePlan-modified&quot;</i><span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category <i>&quot;CarePlan-category&quot;</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;CarePlan-description&quot;</i><span style=\"color: navy\">;</span>\r\n src.addresses<span style=\"color: navy\"><b> -&gt; </b></span>tgt.addresses <i>&quot;CarePlan-addresses&quot;</i><span style=\"color: navy\">;</span>\r\n src.support<span style=\"color: navy\"><b> -&gt; </b></span>tgt.supportingInfo <i>&quot;CarePlan-support&quot;</i><span style=\"color: navy\">;</span>\r\n src.relatedPlan<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>vs0.code = 'replaces'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.basedOn = <span style=\"color: navy\">(</span>vs0.plan<span style=\"color: navy\">)</span> <i>&quot;CarePlan-relatedPlan2&quot;</i><span style=\"color: navy\">;</span>\r\n src.relatedPlan<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>vs0.code = 'fulfills'<span style=\"color: navy\"><b> -&gt; </b></span>tgt.replaces = <span style=\"color: navy\">(</span>vs0.plan<span style=\"color: navy\">)</span> <i>&quot;CarePlan-relatedPlan3&quot;</i><span style=\"color: navy\">;</span>\r\n src<b> where </b>src.participant.exists()<span style=\"color: navy\"><b> -&gt; </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CareTeam'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>plnParticipant<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>&quot;CarePlan-participant&quot;</i><span style=\"color: navy\">;</span>\r\n src.goal<span style=\"color: navy\"><b> -&gt; </b></span>tgt.goal <i>&quot;CarePlan-goal&quot;</i><span style=\"color: navy\">;</span>\r\n src.activity<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.activity<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>plnActivity<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;CarePlan-activity&quot;</i><span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -&gt; </b></span>tgt.note <i>&quot;CarePlan-note&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>plnRelated<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.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code <i>&quot;relatedPlan-code&quot;</i><span style=\"color: navy\">;</span>\r\n src.plan<span style=\"color: navy\"><b> -&gt; </b></span>tgt.plan <i>&quot;relatedPlan-plan&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>plnActivity<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.actionResulting<span style=\"color: navy\"><b> -&gt; </b></span>tgt.outcomeReference <i>&quot;activity-actionResulting&quot;</i><span style=\"color: navy\">;</span>\r\n src.progress<span style=\"color: navy\"><b> -&gt; </b></span>tgt.progress <i>&quot;activity-progress&quot;</i><span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reference <i>&quot;activity-reference&quot;</i><span style=\"color: navy\">;</span>\r\n src.detail<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.detail<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>plnDetail<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;activity-detail&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>plnDetail<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.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category <i>&quot;detail-category&quot;</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code <i>&quot;detail-code&quot;</i><span style=\"color: navy\">;</span>\r\n src.reasonCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reasonCode <i>&quot;detail-reasonCode&quot;</i><span style=\"color: navy\">;</span>\r\n src.reasonReference<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reasonReference <i>&quot;detail-reasonReference&quot;</i><span style=\"color: navy\">;</span>\r\n src.goal<span style=\"color: navy\"><b> -&gt; </b></span>tgt.goal <i>&quot;detail-goal&quot;</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;detail-status&quot;</i><span style=\"color: navy\">;</span>\r\n src.statusReason<span style=\"color: navy\"><b> -&gt; </b></span>tgt.statusReason <i>&quot;detail-statusReason&quot;</i><span style=\"color: navy\">;</span>\r\n src.prohibited<span style=\"color: navy\"><b> -&gt; </b></span>tgt.prohibited <i>&quot;detail-prohibited&quot;</i><span style=\"color: navy\">;</span>\r\n src.scheduled<span style=\"color: navy\"><b> -&gt; </b></span>tgt.scheduled <i>&quot;detail-scheduled&quot;</i><span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -&gt; </b></span>tgt.location <i>&quot;detail-location&quot;</i><span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.performer <i>&quot;detail-performer&quot;</i><span style=\"color: navy\">;</span>\r\n src.product<span style=\"color: navy\"><b> -&gt; </b></span>tgt.product <i>&quot;detail-product&quot;</i><span style=\"color: navy\">;</span>\r\n src.dailyAmount<span style=\"color: navy\"><b> -&gt; </b></span>tgt.dailyAmount <i>&quot;detail-dailyAmount&quot;</i><span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -&gt; </b></span>tgt.quantity <i>&quot;detail-quantity&quot;</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;detail-description&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>plnParticipant<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span>, <b>target</b> <span style=\"color: maroon\">tgtE</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -&gt; </b></span>tgtE.careTeam = <b>reference</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>&quot;participant-link&quot;</i><span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.participant<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>plnParticipantMember<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;participant-member&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>plnParticipantMember<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.role<span style=\"color: navy\"><b> -&gt; </b></span>tgt.role <i>&quot;participant-role&quot;</i><span style=\"color: navy\">;</span>\r\n src.member<span style=\"color: navy\"><b> -&gt; </b></span>tgt.member <i>&quot;participant-member&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/CarePlan2to3",
  "version" : "0.1.0",
  "name" : "CarePlan2to3",
  "title" : "CarePlan Transforms: R2 to R3",
  "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" : "CarePlanTransformsR2toR3",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/1.0/CarePlan",
      "mode" : "source",
      "alias" : "CarePlanR2"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/CarePlan",
      "mode" : "target",
      "alias" : "CarePlan"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*2to3"
  ],
  "group" : [
    {
      "name" : "CarePlan",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "CarePlanR2",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "CarePlan",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "CarePlan-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" : "CarePlan-subject",
          "source" : [
            {
              "context" : "src",
              "element" : "subject",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-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" : "CarePlan-period",
          "source" : [
            {
              "context" : "src",
              "element" : "period",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "period",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-author",
          "source" : [
            {
              "context" : "src",
              "element" : "author",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "author",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-modified",
          "source" : [
            {
              "context" : "src",
              "element" : "modified",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "extension",
              "variable" : "t"
            },
            {
              "context" : "t",
              "element" : "url",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "http://hl7.org/fhir/CarePlan-r2-modified"
                }
              ]
            },
            {
              "context" : "t",
              "element" : "value",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "v"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-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"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-addresses",
          "source" : [
            {
              "context" : "src",
              "element" : "addresses",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "addresses",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-support",
          "source" : [
            {
              "context" : "src",
              "element" : "support",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "supportingInfo",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-relatedPlan2",
          "source" : [
            {
              "context" : "src",
              "element" : "relatedPlan",
              "variable" : "vs0",
              "condition" : "vs0.code = 'replaces'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "basedOn",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "vs0.plan"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-relatedPlan3",
          "source" : [
            {
              "context" : "src",
              "element" : "relatedPlan",
              "variable" : "vs0",
              "condition" : "vs0.code = 'fulfills'"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "replaces",
              "transform" : "evaluate",
              "parameter" : [
                {
                  "valueString" : "vs0.plan"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-participant",
          "source" : [
            {
              "context" : "src",
              "condition" : "src.participant.exists()"
            }
          ],
          "target" : [
            {
              "variable" : "vt0",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CareTeam"
                }
              ]
            }
          ],
          "dependent" : [
            {
              "name" : "plnParticipant",
              "parameter" : [
                {
                  "valueId" : "src"
                },
                {
                  "valueId" : "vt0"
                },
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-goal",
          "source" : [
            {
              "context" : "src",
              "element" : "goal",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "goal",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-activity",
          "source" : [
            {
              "context" : "src",
              "element" : "activity",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "activity",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "plnActivity",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        },
        {
          "name" : "CarePlan-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" : "plnRelated",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "relatedPlan-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" : "relatedPlan-plan",
          "source" : [
            {
              "context" : "src",
              "element" : "plan",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "plan",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "plnActivity",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "activity-actionResulting",
          "source" : [
            {
              "context" : "src",
              "element" : "actionResulting",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "outcomeReference",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "activity-progress",
          "source" : [
            {
              "context" : "src",
              "element" : "progress",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "progress",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "activity-reference",
          "source" : [
            {
              "context" : "src",
              "element" : "reference",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reference",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "activity-detail",
          "source" : [
            {
              "context" : "src",
              "element" : "detail",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "detail",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "plnDetail",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "plnDetail",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "detail-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"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-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" : "detail-reasonCode",
          "source" : [
            {
              "context" : "src",
              "element" : "reasonCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reasonCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-reasonReference",
          "source" : [
            {
              "context" : "src",
              "element" : "reasonReference",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reasonReference",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-goal",
          "source" : [
            {
              "context" : "src",
              "element" : "goal",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "goal",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-statusReason",
          "source" : [
            {
              "context" : "src",
              "element" : "statusReason",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "statusReason",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-prohibited",
          "source" : [
            {
              "context" : "src",
              "element" : "prohibited",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "prohibited",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-scheduled",
          "source" : [
            {
              "context" : "src",
              "element" : "scheduled",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "scheduled",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-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" : "detail-performer",
          "source" : [
            {
              "context" : "src",
              "element" : "performer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "performer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-product",
          "source" : [
            {
              "context" : "src",
              "element" : "product",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "product",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-dailyAmount",
          "source" : [
            {
              "context" : "src",
              "element" : "dailyAmount",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "dailyAmount",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-quantity",
          "source" : [
            {
              "context" : "src",
              "element" : "quantity",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "quantity",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "detail-description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "plnParticipant",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        },
        {
          "name" : "tgtE",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "participant-link",
          "source" : [
            {
              "context" : "src"
            }
          ],
          "target" : [
            {
              "context" : "tgtE",
              "element" : "careTeam",
              "transform" : "reference",
              "parameter" : [
                {
                  "valueId" : "tgt"
                }
              ]
            }
          ]
        },
        {
          "name" : "participant-member",
          "source" : [
            {
              "context" : "src",
              "element" : "participant",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "participant",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "plnParticipantMember",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "plnParticipantMember",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "participant-role",
          "source" : [
            {
              "context" : "src",
              "element" : "role",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "role",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "participant-member",
          "source" : [
            {
              "context" : "src",
              "element" : "member",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "member",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.