Cumuluz Translate Implementation Guide
0.1.0 - ci-build

Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: LogicalCarePlanActivity - JSON Profile

Draft as of 2026-10-29

JSON representation of the logical-care-plan-activity logical model.

Raw json | Download

{
  "resourceType" : "StructureDefinition",
  "id" : "logical-care-plan-activity",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition logical-care-plan-activity</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"xhtTableBorder0\"><tr class=\"xhtRowBorder1\"><th scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th scope=\"col\" style=\"; width: 100px\" class=\"hierarchy xhtCellBorder0\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th scope=\"col\" style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck1.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity\" title=\"CarePlan activity detail semantics used by nl-core care plan routes.\">logical-care-plan-activity</a><a name=\"logical-care-plan-activity\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( logical-care-plan-activity-scheduled-choice, logical-care-plan-activity-product-choice )\" class=\"xhtConstraintStyle\">C</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><span class=\"xhtPieceDeEmphasized\">0</span><span class=\"xhtPieceDeEmphasized\">..</span><span class=\"xhtPieceDeEmphasized\">*</span></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Element\">Element</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Logical Model: CarePlan Activity<br/><br/>Elements defined in Ancestors:<a href=\"http://hl7.org/fhir/R4/datatypes.html#Element\" title=\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\">@id</a>, <a href=\"http://hl7.org/fhir/R4/datatypes.html#Element\" title=\"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.\">extension</a><br class=\"constraint\"/><span class=\"constraint\">Constraints: </span><span title=\"Only one scheduled activity value may be present.\" class=\"xhtPieceBold constraint\">logical-care-plan-activity-scheduled-choice</span><span class=\"constraint\">, </span><span title=\"Only one activity product value may be present.\" class=\"xhtPieceBold constraint\">logical-care-plan-activity-product-choice</span></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.reference\" title=\"Request or event resource representing the activity.\">reference</a><a name=\"logical-care-plan-activity.reference\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Request or event resource representing the activity.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.kind\" title=\"Kind of resource described by the activity detail.\">kind</a><a name=\"logical-care-plan-activity.kind\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Kind of resource described by the activity detail.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.instantiatesCanonical\" title=\"Canonical protocols instantiated by the activity.\">instantiatesCanonical</a><a name=\"logical-care-plan-activity.instantiatesCanonical\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">canonical</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Canonical protocols instantiated by the activity.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.instantiatesUri\" title=\"External protocols instantiated by the activity.\">instantiatesUri</a><a name=\"logical-care-plan-activity.instantiatesUri\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">External protocols instantiated by the activity.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.code\" title=\"Activity detail code.\">code</a><a name=\"logical-care-plan-activity.code\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity detail code.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.reasonCode\" title=\"Coded reasons for the activity.\">reasonCode</a><a name=\"logical-care-plan-activity.reasonCode\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Coded reasons for the activity.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.reasonReference\" title=\"Referenced reasons for the activity.\">reasonReference</a><a name=\"logical-care-plan-activity.reasonReference\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Referenced reasons for the activity.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.goal\" title=\"Goals served by the activity.\">goal</a><a name=\"logical-care-plan-activity.goal\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Goals served by the activity.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.status\" title=\"Activity detail status.\">status</a><a name=\"logical-care-plan-activity.status\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity detail status.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.statusReason\" title=\"Reason for the activity status.\">statusReason</a><a name=\"logical-care-plan-activity.statusReason\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Reason for the activity status.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.doNotPerform\" title=\"Whether the activity must not be performed.\">doNotPerform</a><a name=\"logical-care-plan-activity.doNotPerform\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Whether the activity must not be performed.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck13.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span>(Choice of one)<a name=\"logical-care-plan-activity-logical-care-plan-activity-scheduled-choice\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\"/></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck130.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.(Choice of one).</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.scheduledTiming\" title=\"Activity schedule expressed as timing.\">scheduledTiming</a><a name=\"logical-care-plan-activity.scheduledTiming\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Timing\">Timing</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity schedule expressed as timing.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck130.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.(Choice of one).</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.scheduledPeriod\" title=\"Activity schedule expressed as a period.\">scheduledPeriod</a><a name=\"logical-care-plan-activity.scheduledPeriod\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity schedule expressed as a period.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck120.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.(Choice of one).</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.scheduledString\" title=\"Narrative activity schedule.\">scheduledString</a><a name=\"logical-care-plan-activity.scheduledString\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Narrative activity schedule.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.location\" title=\"Activity location.\">location</a><a name=\"logical-care-plan-activity.location\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity location.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.performer\" title=\"Activity detail performers.\">performer</a><a name=\"logical-care-plan-activity.performer\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Activity detail performers.<br/></td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck13.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span>(Choice of one)<a name=\"logical-care-plan-activity-logical-care-plan-activity-product-choice\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\"/></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck130.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.(Choice of one).</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.productCodeableConcept\" title=\"Coded product used by the activity.\">productCodeableConcept</a><a name=\"logical-care-plan-activity.productCodeableConcept\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Coded product used by the activity.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck120.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.(Choice of one).</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.productReference\" title=\"Referenced product used by the activity.\">productReference</a><a name=\"logical-care-plan-activity.productReference\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Referenced product used by the activity.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.dailyAmount\" title=\"Daily amount of the product.\">dailyAmount</a><a name=\"logical-care-plan-activity.dailyAmount\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Daily amount of the product.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.quantity\" title=\"Total amount of the product.\">quantity</a><a name=\"logical-care-plan-activity.quantity\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Total amount of the product.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowOdd\"><td style=\"background-image: url(tbl_bck10.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\"\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.description\" title=\"Narrative activity detail.\">description</a><a name=\"logical-care-plan-activity.description\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..1</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Narrative activity detail.</td></tr>\r\n<tr class=\"xhtRowBorder0 xhtRowEven\"><td style=\"background-image: url(tbl_bck00.png)\" class=\"hierarchy xhtCellBorder0 xhtCellNoWrap\"><img src=\"tbl_spacer.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\"\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\"\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <span style=\"position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0\" class=\"sr-only\">logical-care-plan-activity.</span><a href=\"StructureDefinition-logical-care-plan-activity-definitions.html#logical-care-plan-activity.medicalDevice\" title=\"Devices or device use statements used in activity details.\">medicalDevice</a><a name=\"logical-care-plan-activity.medicalDevice\"> </a></td><td style=\"\" class=\"hierarchy xhtCellBorder0\"/><td style=\"\" class=\"hierarchy xhtCellBorder0\">0..*</td><td style=\"\" class=\"hierarchy xhtCellBorder0\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>()</td><td style=\"\" class=\"hierarchy xhtCellBorder0\">Devices or device use statements used in activity details.<br/></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "url" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity",
  "version" : "0.1.0",
  "name" : "LogicalCarePlanActivity",
  "title" : "Logical Model: CarePlan Activity",
  "status" : "draft",
  "date" : "2026-10-29T15:53:40+01:00",
  "publisher" : "Cumuluz",
  "description" : "CarePlan activity detail semantics used by nl-core care plan routes.",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    }
  ],
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation" : "specialization",
  "snapshot" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString" : "4.0.1"
      }
    ],
    "element" : [
      {
        "id" : "logical-care-plan-activity",
        "path" : "logical-care-plan-activity",
        "short" : "Logical Model: CarePlan Activity",
        "definition" : "CarePlan activity detail semantics used by nl-core care plan routes.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element",
          "min" : 0,
          "max" : "*"
        },
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "logical-care-plan-activity-scheduled-choice",
            "severity" : "error",
            "human" : "Only one scheduled activity value may be present.",
            "expression" : "(scheduledTiming | scheduledPeriod | scheduledString).count() <= 1",
            "source" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity"
          },
          {
            "key" : "logical-care-plan-activity-product-choice",
            "severity" : "error",
            "human" : "Only one activity product value may be present.",
            "expression" : "(productCodeableConcept | productReference).count() <= 1",
            "source" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity"
          }
        ],
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.id",
        "path" : "logical-care-plan-activity.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.extension",
        "path" : "logical-care-plan-activity.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reference",
        "path" : "logical-care-plan-activity.reference",
        "short" : "Request or event resource representing the activity.",
        "definition" : "Request or event resource representing the activity.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.reference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.kind",
        "path" : "logical-care-plan-activity.kind",
        "short" : "Kind of resource described by the activity detail.",
        "definition" : "Kind of resource described by the activity detail.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.kind",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.instantiatesCanonical",
        "path" : "logical-care-plan-activity.instantiatesCanonical",
        "short" : "Canonical protocols instantiated by the activity.",
        "definition" : "Canonical protocols instantiated by the activity.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.instantiatesCanonical",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "canonical"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.instantiatesUri",
        "path" : "logical-care-plan-activity.instantiatesUri",
        "short" : "External protocols instantiated by the activity.",
        "definition" : "External protocols instantiated by the activity.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.instantiatesUri",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.code",
        "path" : "logical-care-plan-activity.code",
        "short" : "Activity detail code.",
        "definition" : "Activity detail code.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reasonCode",
        "path" : "logical-care-plan-activity.reasonCode",
        "short" : "Coded reasons for the activity.",
        "definition" : "Coded reasons for the activity.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.reasonCode",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reasonReference",
        "path" : "logical-care-plan-activity.reasonReference",
        "short" : "Referenced reasons for the activity.",
        "definition" : "Referenced reasons for the activity.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.reasonReference",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.goal",
        "path" : "logical-care-plan-activity.goal",
        "short" : "Goals served by the activity.",
        "definition" : "Goals served by the activity.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.goal",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.status",
        "path" : "logical-care-plan-activity.status",
        "short" : "Activity detail status.",
        "definition" : "Activity detail status.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.status",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.statusReason",
        "path" : "logical-care-plan-activity.statusReason",
        "short" : "Reason for the activity status.",
        "definition" : "Reason for the activity status.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.statusReason",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.doNotPerform",
        "path" : "logical-care-plan-activity.doNotPerform",
        "short" : "Whether the activity must not be performed.",
        "definition" : "Whether the activity must not be performed.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.doNotPerform",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledTiming",
        "path" : "logical-care-plan-activity.scheduledTiming",
        "short" : "Activity schedule expressed as timing.",
        "definition" : "Activity schedule expressed as timing.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.scheduledTiming",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Timing"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledPeriod",
        "path" : "logical-care-plan-activity.scheduledPeriod",
        "short" : "Activity schedule expressed as a period.",
        "definition" : "Activity schedule expressed as a period.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.scheduledPeriod",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledString",
        "path" : "logical-care-plan-activity.scheduledString",
        "short" : "Narrative activity schedule.",
        "definition" : "Narrative activity schedule.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.scheduledString",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.location",
        "path" : "logical-care-plan-activity.location",
        "short" : "Activity location.",
        "definition" : "Activity location.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.location",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.performer",
        "path" : "logical-care-plan-activity.performer",
        "short" : "Activity detail performers.",
        "definition" : "Activity detail performers.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.performer",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.productCodeableConcept",
        "path" : "logical-care-plan-activity.productCodeableConcept",
        "short" : "Coded product used by the activity.",
        "definition" : "Coded product used by the activity.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.productCodeableConcept",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.productReference",
        "path" : "logical-care-plan-activity.productReference",
        "short" : "Referenced product used by the activity.",
        "definition" : "Referenced product used by the activity.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.productReference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.dailyAmount",
        "path" : "logical-care-plan-activity.dailyAmount",
        "short" : "Daily amount of the product.",
        "definition" : "Daily amount of the product.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.dailyAmount",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Quantity"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.quantity",
        "path" : "logical-care-plan-activity.quantity",
        "short" : "Total amount of the product.",
        "definition" : "Total amount of the product.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.quantity",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Quantity"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.description",
        "path" : "logical-care-plan-activity.description",
        "short" : "Narrative activity detail.",
        "definition" : "Narrative activity detail.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "logical-care-plan-activity.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.medicalDevice",
        "path" : "logical-care-plan-activity.medicalDevice",
        "short" : "Devices or device use statements used in activity details.",
        "definition" : "Devices or device use statements used in activity details.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "logical-care-plan-activity.medicalDevice",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "logical-care-plan-activity",
        "path" : "logical-care-plan-activity",
        "short" : "Logical Model: CarePlan Activity",
        "definition" : "CarePlan activity detail semantics used by nl-core care plan routes.",
        "constraint" : [
          {
            "key" : "logical-care-plan-activity-scheduled-choice",
            "severity" : "error",
            "human" : "Only one scheduled activity value may be present.",
            "expression" : "(scheduledTiming | scheduledPeriod | scheduledString).count() <= 1",
            "source" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity"
          },
          {
            "key" : "logical-care-plan-activity-product-choice",
            "severity" : "error",
            "human" : "Only one activity product value may be present.",
            "expression" : "(productCodeableConcept | productReference).count() <= 1",
            "source" : "https://translate-ig.cumuluz.dev/ig/StructureDefinition/logical-care-plan-activity"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reference",
        "path" : "logical-care-plan-activity.reference",
        "short" : "Request or event resource representing the activity.",
        "definition" : "Request or event resource representing the activity.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.kind",
        "path" : "logical-care-plan-activity.kind",
        "short" : "Kind of resource described by the activity detail.",
        "definition" : "Kind of resource described by the activity detail.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.instantiatesCanonical",
        "path" : "logical-care-plan-activity.instantiatesCanonical",
        "short" : "Canonical protocols instantiated by the activity.",
        "definition" : "Canonical protocols instantiated by the activity.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "canonical"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.instantiatesUri",
        "path" : "logical-care-plan-activity.instantiatesUri",
        "short" : "External protocols instantiated by the activity.",
        "definition" : "External protocols instantiated by the activity.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "uri"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.code",
        "path" : "logical-care-plan-activity.code",
        "short" : "Activity detail code.",
        "definition" : "Activity detail code.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reasonCode",
        "path" : "logical-care-plan-activity.reasonCode",
        "short" : "Coded reasons for the activity.",
        "definition" : "Coded reasons for the activity.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.reasonReference",
        "path" : "logical-care-plan-activity.reasonReference",
        "short" : "Referenced reasons for the activity.",
        "definition" : "Referenced reasons for the activity.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.goal",
        "path" : "logical-care-plan-activity.goal",
        "short" : "Goals served by the activity.",
        "definition" : "Goals served by the activity.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.status",
        "path" : "logical-care-plan-activity.status",
        "short" : "Activity detail status.",
        "definition" : "Activity detail status.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.statusReason",
        "path" : "logical-care-plan-activity.statusReason",
        "short" : "Reason for the activity status.",
        "definition" : "Reason for the activity status.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.doNotPerform",
        "path" : "logical-care-plan-activity.doNotPerform",
        "short" : "Whether the activity must not be performed.",
        "definition" : "Whether the activity must not be performed.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledTiming",
        "path" : "logical-care-plan-activity.scheduledTiming",
        "short" : "Activity schedule expressed as timing.",
        "definition" : "Activity schedule expressed as timing.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Timing"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledPeriod",
        "path" : "logical-care-plan-activity.scheduledPeriod",
        "short" : "Activity schedule expressed as a period.",
        "definition" : "Activity schedule expressed as a period.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Period"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.scheduledString",
        "path" : "logical-care-plan-activity.scheduledString",
        "short" : "Narrative activity schedule.",
        "definition" : "Narrative activity schedule.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.location",
        "path" : "logical-care-plan-activity.location",
        "short" : "Activity location.",
        "definition" : "Activity location.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.performer",
        "path" : "logical-care-plan-activity.performer",
        "short" : "Activity detail performers.",
        "definition" : "Activity detail performers.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.productCodeableConcept",
        "path" : "logical-care-plan-activity.productCodeableConcept",
        "short" : "Coded product used by the activity.",
        "definition" : "Coded product used by the activity.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.productReference",
        "path" : "logical-care-plan-activity.productReference",
        "short" : "Referenced product used by the activity.",
        "definition" : "Referenced product used by the activity.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.dailyAmount",
        "path" : "logical-care-plan-activity.dailyAmount",
        "short" : "Daily amount of the product.",
        "definition" : "Daily amount of the product.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Quantity"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.quantity",
        "path" : "logical-care-plan-activity.quantity",
        "short" : "Total amount of the product.",
        "definition" : "Total amount of the product.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Quantity"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.description",
        "path" : "logical-care-plan-activity.description",
        "short" : "Narrative activity detail.",
        "definition" : "Narrative activity detail.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "logical-care-plan-activity.medicalDevice",
        "path" : "logical-care-plan-activity.medicalDevice",
        "short" : "Devices or device use statements used in activity details.",
        "definition" : "Devices or device use statements used in activity details.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference"
          }
        ]
      }
    ]
  }
}