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 |
No resources found
No resources found
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"; }
{
"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\"> "</span>http://hl7.org/fhir/1.0/CarePlan<span style=\"color: navy\">" </span><b>alias </b>CarePlanR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/CarePlan<span style=\"color: navy\">" </span><b>alias </b>CarePlan <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\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> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"CarePlan-identifier"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"CarePlan-subject"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"CarePlan-status"</i><span style=\"color: navy\">;</span>\r\n src.context<span style=\"color: navy\"><b> -> </b></span>tgt.context <i>"CarePlan-context"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"CarePlan-period"</i><span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -> </b></span>tgt.author <i>"CarePlan-author"</i><span style=\"color: navy\">;</span>\r\n src.modified<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </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>"CarePlan-modified"</i><span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category <i>"CarePlan-category"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"CarePlan-description"</i><span style=\"color: navy\">;</span>\r\n src.addresses<span style=\"color: navy\"><b> -> </b></span>tgt.addresses <i>"CarePlan-addresses"</i><span style=\"color: navy\">;</span>\r\n src.support<span style=\"color: navy\"><b> -> </b></span>tgt.supportingInfo <i>"CarePlan-support"</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> -> </b></span>tgt.basedOn = <span style=\"color: navy\">(</span>vs0.plan<span style=\"color: navy\">)</span> <i>"CarePlan-relatedPlan2"</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> -> </b></span>tgt.replaces = <span style=\"color: navy\">(</span>vs0.plan<span style=\"color: navy\">)</span> <i>"CarePlan-relatedPlan3"</i><span style=\"color: navy\">;</span>\r\n src<b> where </b>src.participant.exists()<span style=\"color: navy\"><b> -> </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>"CarePlan-participant"</i><span style=\"color: navy\">;</span>\r\n src.goal<span style=\"color: navy\"><b> -> </b></span>tgt.goal <i>"CarePlan-goal"</i><span style=\"color: navy\">;</span>\r\n src.activity<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </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>"CarePlan-activity"</i><span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note <i>"CarePlan-note"</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> -> </b></span>tgt.code <i>"relatedPlan-code"</i><span style=\"color: navy\">;</span>\r\n src.plan<span style=\"color: navy\"><b> -> </b></span>tgt.plan <i>"relatedPlan-plan"</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> -> </b></span>tgt.outcomeReference <i>"activity-actionResulting"</i><span style=\"color: navy\">;</span>\r\n src.progress<span style=\"color: navy\"><b> -> </b></span>tgt.progress <i>"activity-progress"</i><span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference <i>"activity-reference"</i><span style=\"color: navy\">;</span>\r\n src.detail<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </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>"activity-detail"</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> -> </b></span>tgt.category <i>"detail-category"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"detail-code"</i><span style=\"color: navy\">;</span>\r\n src.reasonCode<span style=\"color: navy\"><b> -> </b></span>tgt.reasonCode <i>"detail-reasonCode"</i><span style=\"color: navy\">;</span>\r\n src.reasonReference<span style=\"color: navy\"><b> -> </b></span>tgt.reasonReference <i>"detail-reasonReference"</i><span style=\"color: navy\">;</span>\r\n src.goal<span style=\"color: navy\"><b> -> </b></span>tgt.goal <i>"detail-goal"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"detail-status"</i><span style=\"color: navy\">;</span>\r\n src.statusReason<span style=\"color: navy\"><b> -> </b></span>tgt.statusReason <i>"detail-statusReason"</i><span style=\"color: navy\">;</span>\r\n src.prohibited<span style=\"color: navy\"><b> -> </b></span>tgt.prohibited <i>"detail-prohibited"</i><span style=\"color: navy\">;</span>\r\n src.scheduled<span style=\"color: navy\"><b> -> </b></span>tgt.scheduled <i>"detail-scheduled"</i><span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location <i>"detail-location"</i><span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer <i>"detail-performer"</i><span style=\"color: navy\">;</span>\r\n src.product<span style=\"color: navy\"><b> -> </b></span>tgt.product <i>"detail-product"</i><span style=\"color: navy\">;</span>\r\n src.dailyAmount<span style=\"color: navy\"><b> -> </b></span>tgt.dailyAmount <i>"detail-dailyAmount"</i><span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity <i>"detail-quantity"</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description <i>"detail-description"</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> -> </b></span>tgtE.careTeam = <b>reference</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"participant-link"</i><span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </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>"participant-member"</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> -> </b></span>tgt.role <i>"participant-role"</i><span style=\"color: navy\">;</span>\r\n src.member<span style=\"color: navy\"><b> -> </b></span>tgt.member <i>"participant-member"</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.