PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.eltss@0.1.0
    http://hl7.org/fhir/us/eLTSS/StructureDefinition/careplan-eltss
{
  "description": "CarePlan for eLTSS",
  "_filename": "StructureDefinition-careplan-eltss.json",
  "package_name": "hl7.fhir.us.eltss",
  "date": "2019-02-17T00:00:00+11:00",
  "derivation": "constraint",
  "publisher": "HL7 CBCP",
  "fhirVersion": "4.0.0",
  "name": "careplan-eltss",
  "mapping": [ {
    "uri": "http://unknown.org/Argonaut-DQ-DSTU2",
    "name": "Argonaut-DQ-DSTU2",
    "identity": "argonaut-dq-dstu2"
  }, {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  } ],
  "abstract": false,
  "type": "CarePlan",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.1.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.div.exists()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      } ],
      "path": "CarePlan",
      "min": 0,
      "definition": "The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.",
      "isModifier": false,
      "short": "US Core CarePlan Profile",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Request",
        "identity": "workflow"
      }, {
        "map": "Act[classCode=PCPR, moodCode=INT]",
        "identity": "rim"
      }, {
        "map": "CarePlan",
        "identity": "argonaut-dq-dstu2"
      } ],
      "mustSupport": false,
      "alias": [ "Care Team" ],
      "max": "*",
      "id": "CarePlan",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "CarePlan.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "CarePlan.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "CarePlan.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "path": "CarePlan.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "CarePlan.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.text",
      "min": 1,
      "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      }, {
        "map": "CarePlan.text",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "CarePlan.text",
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.text.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "CarePlan.text.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.text.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "CarePlan.text.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.text.status",
      "min": 1,
      "definition": "generated | additional.",
      "isModifier": false,
      "short": "generated | extensions | additional | empty",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "CarePlan.text.status",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status",
        "description": "Constrained value set of narrative statuses."
      },
      "max": "1",
      "id": "CarePlan.text.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Narrative.status"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "txt-1",
        "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard,  elements (either name or href), images and internally contained style attributes",
        "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])",
        "severity": "error",
        "expression": "htmlChecks()"
      }, {
        "key": "txt-2",
        "human": "The narrative SHALL have some non-whitespace content",
        "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]",
        "severity": "error",
        "expression": "htmlChecks()"
      } ],
      "path": "CarePlan.text.div",
      "min": 1,
      "definition": "The actual narrative content, a stripped down version of XHTML.",
      "isModifier": false,
      "short": "Limited xhtml content",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "xhtml"
      } ],
      "max": "1",
      "id": "CarePlan.text.div",
      "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard,  elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Narrative.div"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.contained",
      "min": 0,
      "definition": "Description of planned activities to minimize identified risks that endanger the person’s health and safety.",
      "isModifier": false,
      "short": "Risk Management Plan",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": false,
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "CarePlan.contained",
      "comment": "The preferred LOINC value \"71482-4\" indicates a \"Risk Assessment Document\".",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "CarePlan.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "CarePlan.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "path": "CarePlan.identifier",
      "requirements": "Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.",
      "min": 0,
      "definition": "Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "isModifier": false,
      "short": "External Ids for this plan",
      "mapping": [ {
        "map": "Request.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "PTH-3",
        "identity": "v2"
      }, {
        "map": ".id",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "CarePlan.identifier",
      "comment": "This is a business identifier, not a resource identifier (see [discussion](http://build.fhir.org/resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.identifier"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.instantiatesCanonical",
      "min": 0,
      "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.",
      "isModifier": false,
      "short": "Instantiates FHIR protocol or definition",
      "mapping": [ {
        "map": "Request.instantiatesCanonical",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/OperationDefinition" ]
      } ],
      "max": "*",
      "id": "CarePlan.instantiatesCanonical",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.instantiatesCanonical"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.instantiatesUri",
      "min": 0,
      "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.",
      "isModifier": false,
      "short": "Instantiates external protocol or definition",
      "mapping": [ {
        "map": "Request.instantiatesUri",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "*",
      "id": "CarePlan.instantiatesUri",
      "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.instantiatesUri"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.basedOn",
      "requirements": "Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.",
      "min": 0,
      "definition": "A care plan that is fulfilled in whole or in part by this care plan.",
      "isModifier": false,
      "short": "Fulfills CarePlan",
      "mapping": [ {
        "map": "Request.basedOn",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": true
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/CarePlan" ]
      } ],
      "alias": [ "fulfills" ],
      "max": "*",
      "id": "CarePlan.basedOn",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.basedOn"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.replaces",
      "requirements": "Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.",
      "min": 0,
      "definition": "Completed or terminated care plan whose function is taken by this new care plan.",
      "isModifier": false,
      "short": "CarePlan replaced by this CarePlan",
      "mapping": [ {
        "map": "Request.replaces",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": true
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/CarePlan" ]
      } ],
      "alias": [ "supersedes" ],
      "max": "*",
      "id": "CarePlan.replaces",
      "comment": "The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.replaces"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.partOf",
      "min": 0,
      "definition": "Description of how to address unforeseen events, emergency health events, emergency events, problems with medical equipment and supplies, and unavailable staffing situations for critical services that put the person’s health and safety at risk.\n\nThis can be included as free text or attachment.",
      "isModifier": false,
      "short": "Emergency Backup Plan",
      "type": [ {
        "code": "Reference",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean": true
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/CarePlan" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "CarePlan.partOf",
      "comment": "The CarePlan resource containing the emergency backup plan refers to the \"main\" CarePlan resource, rather than the other way around, by using the emergency backup plan CarePlan -> partOf data element to reference the \"main\" CarePlan data element.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.partOf"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.status",
      "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
      "min": 1,
      "definition": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
      "isModifier": true,
      "short": "draft | active | suspended | completed | entered-in-error | cancelled | unknown",
      "mapping": [ {
        "map": "Request.status {uses different ValueSet}",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      }, {
        "map": "PTH-5",
        "identity": "v2"
      }, {
        "map": ".statusCode planned = new active = active completed = completed",
        "identity": "rim"
      }, {
        "map": "CarePlan.status",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/request-status",
        "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record."
      },
      "max": "1",
      "id": "CarePlan.status",
      "comment": "The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "CarePlan.status"
      },
      "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "path": "CarePlan.intent",
      "requirements": "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.",
      "min": 1,
      "definition": "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.",
      "isModifier": true,
      "short": "proposal | plan | order | option",
      "mapping": [ {
        "map": "Request.intent",
        "identity": "workflow"
      }, {
        "map": "NA (new element in STU3)",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent",
        "description": "Codes indicating the degree of authority/intentionality associated with a care plan"
      },
      "max": "1",
      "id": "CarePlan.intent",
      "comment": "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "CarePlan.intent"
      },
      "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "us-core-1",
        "human": "Must have a category of 'assess-plan' and a code system 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category'",
        "xpath": "exists(f:coding/code[@value='assess-plan']) and exists(f:coding/system[@value='http://hl7.org/fhir/us/core/CodeSystem/careplan-category'])",
        "severity": "error",
        "expression": "where(coding.system='http://hl7.org/fhir/us/core/CodeSystem/careplan-category' and coding.code='assess-plan').exists()"
      } ],
      "path": "CarePlan.category",
      "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.",
      "min": 1,
      "definition": "Type of plan.",
      "isModifier": false,
      "short": "Type of plan",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": "CarePlan.category",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanCategory"
        } ],
        "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc."
      },
      "max": "*",
      "id": "CarePlan.category",
      "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes.  In some cases, this may be redundant with references to CarePlan.concern.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.category"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.title",
      "min": 0,
      "definition": "Human-friendly name for the care plan.",
      "isModifier": false,
      "short": "Human-friendly name for the care plan",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "CarePlan.title",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.title"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.description",
      "requirements": "Provides more detail than conveyed by category.",
      "min": 0,
      "definition": "A description of the scope and nature of the plan.",
      "isModifier": false,
      "short": "Summary of nature of plan",
      "mapping": [ {
        "map": "FiveWs.what[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "CarePlan.description",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.description"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.subject",
      "requirements": "Identifies the patient or group whose intended care is described by the plan.",
      "min": 1,
      "definition": "Referencing the Person from CarePlan.",
      "isModifier": false,
      "short": "CarePlan Subject",
      "mapping": [ {
        "map": "Request.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "PID-3",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PAT].role[classCode=PAT]",
        "identity": "rim"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      }, {
        "map": "CarePlan.subject",
        "identity": "argonaut-dq-dstu2"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" ]
      } ],
      "mustSupport": false,
      "alias": [ "patient" ],
      "max": "1",
      "id": "CarePlan.subject",
      "comment": "Reference the Patient for the care plan being developed.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "CarePlan.subject"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.encounter",
      "min": 0,
      "definition": "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.",
      "isModifier": false,
      "short": "Encounter created as part of",
      "mapping": [ {
        "map": "Request.context",
        "identity": "workflow"
      }, {
        "map": "FiveWs.context",
        "identity": "w5"
      }, {
        "map": "Associated PV1",
        "identity": "v2"
      }, {
        "map": ".",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ]
      } ],
      "max": "1",
      "id": "CarePlan.encounter",
      "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.encounter"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.period",
      "requirements": "Allows tracking what plan(s) are in effect at a particular time.",
      "min": 0,
      "definition": "The date upon which the plan goes into effect. Start date is required, end date is optional.",
      "isModifier": false,
      "short": "Plan Effective Date",
      "mapping": [ {
        "map": "Request.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.planned",
        "identity": "w5"
      }, {
        "map": "GOL-7 / GOL-8",
        "identity": "v2"
      }, {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "mustSupport": true,
      "alias": [ "timing" ],
      "max": "1",
      "id": "CarePlan.period",
      "comment": "Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.period"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.created",
      "min": 0,
      "definition": "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.",
      "isModifier": false,
      "short": "Date record was first recorded",
      "mapping": [ {
        "map": "Request.authoredOn",
        "identity": "workflow"
      }, {
        "map": "FiveWs.recorded",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=AUT].time",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "alias": [ "authoredOn" ],
      "max": "1",
      "id": "CarePlan.created",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.created"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.author",
      "min": 0,
      "definition": "The  person (e.g., Case Manager, Care Coordinator, Plan Coordinator) who helped develop the plan.",
      "isModifier": false,
      "short": "Support Planner",
      "mapping": [ {
        "map": "Request.requester",
        "identity": "workflow"
      }, {
        "map": "FiveWs.author",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/CareTeam" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "CarePlan.author",
      "comment": "Support Planner Name + Phone.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.author"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.contributor",
      "min": 0,
      "definition": "Identifies the individual(s) or organization who provided the contents of the care plan.",
      "isModifier": false,
      "short": "Who provided the content of the care plan",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/CareTeam" ]
      } ],
      "max": "*",
      "id": "CarePlan.contributor",
      "comment": "Collaborative care plans may have multiple contributors.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.contributor"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.careTeam",
      "requirements": "Allows representation of care teams, helps scope care plan.  In some cases may be a determiner of access permissions.",
      "min": 0,
      "definition": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.",
      "isModifier": false,
      "short": "Who's involved in plan?",
      "mapping": [ {
        "map": "Request.performer {similar but does not entail CareTeam}",
        "identity": "workflow"
      }, {
        "map": "FiveWs.actor",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/CareTeam" ]
      } ],
      "max": "*",
      "id": "CarePlan.careTeam",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.careTeam"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.addresses",
      "requirements": "Links plan to the conditions it manages.  The element can identify risks addressed by the plan as well as active conditions.  (The Condition resource can include things like \"at risk for hypertension\" or \"fall risk\".)  Also scopes plans - multiple plans may exist addressing different concerns.",
      "min": 0,
      "definition": "The clinical and/or community-based necessity or desire as identified through an assessment that should be addressed by a service.",
      "isModifier": false,
      "short": "Assessed Need",
      "mapping": [ {
        "map": "Request.reasonReference",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      }, {
        "map": "PRB-4",
        "identity": "v2"
      }, {
        "map": ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "CarePlan.addresses",
      "comment": "Each assessed need should go into a separate Condition element so each can potentially be linked to a service(s) that addresses it.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.addresses"
      },
      "isSummary": true
    }, {
      "path": "CarePlan.supportingInfo",
      "requirements": "Identifies barriers and other considerations associated with the care plan.",
      "min": 0,
      "definition": "Identifies portions of the patient's record that specifically influenced the formation of the plan.  These might include comorbidities, recent procedures, limitations, recent assessments, etc.",
      "isModifier": false,
      "short": "Information considered as part of plan",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "*",
      "id": "CarePlan.supportingInfo",
      "comment": "Use \"concern\" to identify specific conditions addressed by the care plan.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.goal",
      "requirements": "Provides context for plan.  Allows plan effectiveness to be evaluated by clinicians.",
      "min": 0,
      "definition": "Describes the intended objective(s) of carrying out the care plan.",
      "isModifier": false,
      "short": "Desired outcome of plan",
      "mapping": [ {
        "map": "GOL.1",
        "identity": "v2"
      }, {
        "map": ".outboundRelationship[typeCode<=OBJ].",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Goal" ]
      } ],
      "max": "*",
      "id": "CarePlan.goal",
      "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.goal"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "cpl-3",
        "human": "Provide a reference or detail, not both",
        "xpath": "not(exists(f:detail)) or not(exists(f:reference))",
        "source": "CarePlan.activity",
        "severity": "error",
        "expression": "detail.empty() or reference.empty()"
      } ],
      "path": "CarePlan.activity",
      "requirements": "Allows systems to prompt for performance of planned activities, and validate plans against best practice.",
      "min": 0,
      "definition": "A planned measurable step or action that needs to be taken to accomplish a goal identified by the person.",
      "isModifier": false,
      "short": "Action to occur as part of plan",
      "mapping": [ {
        "map": "{no mapping\nNOTE: This is a list of contained Request-Event tuples!}",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=COMP].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "CarePlan.activity",
      "comment": "Note that a stated goal may lead directly to a service, and not necessarily to an explicit Step or Action. For example, a person's goal could be to attend church regularly, and this would be achieved through a transportation service.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "CarePlan.activity.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "CarePlan.activity.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "CarePlan.activity.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "CarePlan.activity.outcomeCodeableConcept",
      "min": 0,
      "definition": "Identifies the outcome at the point when the status of the activity is assessed.  For example, the outcome of an education activity could be patient understands (or not).",
      "isModifier": false,
      "short": "Results of the activity",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-outcome",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanActivityOutcome"
        } ],
        "description": "Identifies the results of the activity."
      },
      "max": "*",
      "id": "CarePlan.activity.outcomeCodeableConcept",
      "comment": "Note that this should not duplicate the activity status (e.g. completed or in progress).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.outcomeCodeableConcept"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.outcomeReference",
      "requirements": "Links plan to resulting actions.",
      "min": 0,
      "definition": "Details of the outcome or action resulting from the activity.  The reference to an \"event\" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself.  The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).",
      "isModifier": false,
      "short": "Appointment, Encounter, Procedure, etc.",
      "mapping": [ {
        "map": "{Event that is outcome of Request in activity.reference}",
        "identity": "workflow"
      }, {
        "map": ".inboundRelationship[typeCode=FLFS].source",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "*",
      "id": "CarePlan.activity.outcomeReference",
      "comment": "The activity outcome is independent of the outcome of the related goal(s).  For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.outcomeReference"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.progress",
      "requirements": "Can be used to capture information about adherence, progress, concerns, etc.",
      "min": 0,
      "definition": "Notes about the adherence/status/progress of the activity.",
      "isModifier": false,
      "short": "Comments about the activity status/progress",
      "mapping": [ {
        "map": "NTE?",
        "identity": "v2"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "CarePlan.activity.progress",
      "comment": "This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.progress"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.reference",
      "requirements": "Details in a form consistent with other applications and contexts of use.",
      "min": 0,
      "definition": "The details of the proposed activity represented in a specific resource.",
      "isModifier": false,
      "short": "Activity details defined in specific resource",
      "mapping": [ {
        "map": "{Request that resulted in Event in activity.actionResulting}",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=COMP].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Appointment", "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", "http://hl7.org/fhir/StructureDefinition/DeviceRequest", "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://hl7.org/fhir/StructureDefinition/NutritionOrder", "http://hl7.org/fhir/StructureDefinition/Task", "http://hl7.org/fhir/StructureDefinition/ServiceRequest", "http://hl7.org/fhir/StructureDefinition/VisionPrescription", "http://hl7.org/fhir/StructureDefinition/RequestGroup" ]
      } ],
      "max": "1",
      "id": "CarePlan.activity.reference",
      "condition": [ "cpl-3" ],
      "comment": "Standard extension exists ([resource-pertainsToGoal](http://build.fhir.org/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference.  \rThe goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan.  Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the \"basedOn\" element.  i.e. Requests that are part of a CarePlan are not \"based on\" the CarePlan.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.reference"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "CarePlan.activity.detail",
      "requirements": "Details in a simple form for generic care plan systems.",
      "min": 0,
      "definition": "A planned measurable step or action that needs to be taken to accomplish a goal identified by the person.",
      "isModifier": false,
      "short": "Step or Action",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "CarePlan.activity.detail",
      "condition": [ "cpl-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "CarePlan.activity.detail.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "CarePlan.activity.detail.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "CarePlan.activity.detail.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "CarePlan.activity.detail.kind",
      "requirements": "May determine what types of extensions are permitted.",
      "min": 0,
      "definition": "A description of the kind of resource the in-line definition of a care plan activity is representing.  The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference.  For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.",
      "isModifier": false,
      "short": "Kind of resource",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanActivityKind"
        } ],
        "description": "Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity."
      },
      "max": "1",
      "id": "CarePlan.activity.detail.kind",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.kind"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.instantiatesCanonical",
      "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.",
      "min": 0,
      "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.",
      "isModifier": false,
      "short": "Instantiates FHIR protocol or definition",
      "mapping": [ {
        "map": "Request.instantiatesCanonical",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "canonical",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/OperationDefinition" ]
      } ],
      "max": "*",
      "id": "CarePlan.activity.detail.instantiatesCanonical",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.instantiatesCanonical"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.instantiatesUri",
      "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.",
      "min": 0,
      "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.",
      "isModifier": false,
      "short": "Instantiates external protocol or definition",
      "mapping": [ {
        "map": "Request.instantiatesUri",
        "identity": "workflow"
      }, {
        "map": ".outboundRelationship[typeCode=DEFN].target",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "*",
      "id": "CarePlan.activity.detail.instantiatesUri",
      "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.instantiatesUri"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.code",
      "requirements": "Allows matching performed to planned as well as validation against protocols.",
      "min": 0,
      "definition": "Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.",
      "isModifier": false,
      "short": "Detail type of activity",
      "mapping": [ {
        "map": "Request.code",
        "identity": "workflow"
      }, {
        "map": "OBR-4 / RXE-2 / RXO-1 / RXD-2",
        "identity": "v2"
      }, {
        "map": ".code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanActivityType"
        } ],
        "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter."
      },
      "max": "1",
      "id": "CarePlan.activity.detail.code",
      "comment": "Tends to be less relevant for activities involving particular products.  Codes should not convey negation - use \"prohibited\" instead.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.code"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.reasonCode",
      "min": 0,
      "definition": "Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.",
      "isModifier": false,
      "short": "Why activity should be done or why activity was prohibited",
      "mapping": [ {
        "map": "Request.reasonCode",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanActivityReason"
        } ],
        "description": "Identifies why a care plan activity is needed.  Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc."
      },
      "max": "*",
      "id": "CarePlan.activity.detail.reasonCode",
      "comment": "This could be a diagnosis code.  If a full condition record exists or additional detail is needed, use reasonCondition instead.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.reasonCode"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.reasonReference",
      "min": 0,
      "definition": "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.",
      "isModifier": false,
      "short": "Why activity is needed",
      "mapping": [ {
        "map": "Request.reasonReference",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "max": "*",
      "id": "CarePlan.activity.detail.reasonReference",
      "comment": "Conditions can be identified at the activity level that are not identified as reasons for the overall plan.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.reasonReference"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.goal",
      "requirements": "So that participants know the link explicitly.",
      "min": 0,
      "definition": "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.",
      "isModifier": false,
      "short": "Goals this activity relates to",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode<=OBJ].",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Goal" ]
      } ],
      "max": "*",
      "id": "CarePlan.activity.detail.goal",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.goal"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.status",
      "requirements": "Indicates progress against the plan, whether the activity is still relevant for the plan.",
      "min": 1,
      "definition": "Identifies what progress is being made for the specific activity.",
      "isModifier": true,
      "short": "not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error",
      "mapping": [ {
        "map": "Request.status",
        "identity": "workflow"
      }, {
        "map": "ORC-5?",
        "identity": "v2"
      }, {
        "map": ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanActivityStatus"
        } ],
        "description": "Codes that reflect the current state of a care plan activity within its overall life cycle."
      },
      "max": "1",
      "id": "CarePlan.activity.detail.status",
      "comment": "Some aspects of status can be inferred based on the resources linked in actionTaken.  Note that \"status\" is only as current as the plan was most recently updated.  \nThe unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "CarePlan.activity.detail.status"
      },
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid",
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.statusReason",
      "min": 0,
      "definition": "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.",
      "isModifier": false,
      "short": "Reason for current status",
      "mapping": [ {
        "map": "Request.statusReason",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "CarePlan.activity.detail.statusReason",
      "comment": "Will generally not be present if status is \"complete\".  Be sure to prompt to update this (or at least remove the existing value) if the status is changed.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.statusReason"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.doNotPerform",
      "requirements": "Captures intention to not do something that may have been previously typical.",
      "min": 0,
      "definition": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan.  If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.",
      "isModifier": true,
      "short": "If true, activity is prohibiting action",
      "mapping": [ {
        "map": "Request.doNotPerform",
        "identity": "workflow"
      }, {
        "map": "actionNegationInd",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "meaningWhenMissing": "If missing indicates that the described activity is one that should be engaged in when following the plan.",
      "max": "1",
      "id": "CarePlan.activity.detail.doNotPerform",
      "comment": "This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.doNotPerform"
      },
      "isModifierReason": "If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.",
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.scheduled[x]",
      "requirements": "Allows prompting for activities and detection of missed planned activities.",
      "min": 0,
      "definition": "The period, timing or frequency upon which the described activity is to occur.",
      "isModifier": false,
      "short": "When activity is to occur",
      "mapping": [ {
        "map": "Request.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "TQ1",
        "identity": "v2"
      }, {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Timing"
      }, {
        "code": "Period"
      }, {
        "code": "string"
      } ],
      "max": "1",
      "id": "CarePlan.activity.detail.scheduled[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.scheduled[x]"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.location",
      "requirements": "Helps in planning of activity.",
      "min": 0,
      "definition": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.",
      "isModifier": false,
      "short": "Where it should happen",
      "mapping": [ {
        "map": "OBR-24(???!!)",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=LOC].role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "max": "1",
      "id": "CarePlan.activity.detail.location",
      "comment": "May reference a specific clinical location or may identify a type of location.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.location"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.performer",
      "requirements": "Helps in planning of activity.",
      "min": 0,
      "definition": "Identifies who's expected to be involved in the activity.",
      "isModifier": false,
      "short": "Who will be responsible?",
      "mapping": [ {
        "map": "Request.performer",
        "identity": "workflow"
      }, {
        "map": "PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PFM]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/CareTeam", "http://hl7.org/fhir/StructureDefinition/HealthcareService", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "*",
      "id": "CarePlan.activity.detail.performer",
      "comment": "A performer MAY also be a participant in the care plan.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.activity.detail.performer"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.product[x]",
      "min": 0,
      "definition": "Identifies the food, drug or other product to be consumed or supplied in the activity.",
      "isModifier": false,
      "short": "What is to be administered/supplied",
      "mapping": [ {
        "map": "RXE-2 / RXO-1 / RXD-2",
        "identity": "v2"
      }, {
        "map": ".participation[typeCode=PRD].role",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Medication", "http://hl7.org/fhir/StructureDefinition/Substance" ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CarePlanProduct"
        } ],
        "description": "A product supplied or administered as part of a care plan activity."
      },
      "max": "1",
      "id": "CarePlan.activity.detail.product[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.product[x]"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.dailyAmount",
      "requirements": "Allows rough dose checking.",
      "min": 0,
      "definition": "Identifies the quantity expected to be consumed in a given day.",
      "isModifier": false,
      "short": "How to consume/day?",
      "mapping": [ {
        "map": "RXO-23 / RXE-19 / RXD-12",
        "identity": "v2"
      }, {
        "map": ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "alias": [ "daily dose" ],
      "max": "1",
      "id": "CarePlan.activity.detail.dailyAmount",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.dailyAmount"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.quantity",
      "min": 0,
      "definition": "Identifies the quantity expected to be supplied, administered or consumed by the subject.",
      "isModifier": false,
      "short": "How much to administer/supply/consume",
      "mapping": [ {
        "map": "RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 /  TQ1-2.1  *and*  RXO-12 /  RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2",
        "identity": "v2"
      }, {
        "map": ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "max": "1",
      "id": "CarePlan.activity.detail.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.quantity"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.activity.detail.description",
      "min": 0,
      "definition": "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities.  It may also include objectives, pre-conditions and end-conditions.  Finally, it may convey specifics about the activity such as body site, method, route, etc.",
      "isModifier": false,
      "short": "Extra info describing activity to perform",
      "mapping": [ {
        "map": "NTE?",
        "identity": "v2"
      }, {
        "map": ".text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "CarePlan.activity.detail.description",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CarePlan.activity.detail.description"
      },
      "isSummary": false
    }, {
      "path": "CarePlan.note",
      "requirements": "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.",
      "min": 0,
      "definition": "General notes about the care plan not covered elsewhere.",
      "isModifier": false,
      "short": "Comments about the plan",
      "mapping": [ {
        "map": "Request.note",
        "identity": "workflow"
      }, {
        "map": "NTE?",
        "identity": "v2"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "max": "*",
      "id": "CarePlan.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CarePlan.note"
      },
      "isSummary": false
    } ]
  },
  "status": "draft",
  "id": "ed288485-ff22-468b-a9f8-f38631b7e8a5",
  "kind": "resource",
  "url": "http://hl7.org/fhir/us/eLTSS/StructureDefinition/careplan-eltss",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "CarePlan",
      "path": "CarePlan",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.contained",
      "path": "CarePlan.contained",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "short": "Risk Management Plan",
      "comment": "The preferred LOINC value \"71482-4\" indicates a \"Risk Assessment Document\".",
      "definition": "Description of planned activities to minimize identified risks that endanger the person’s health and safety.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.partOf",
      "path": "CarePlan.partOf",
      "short": "Emergency Backup Plan",
      "comment": "The CarePlan resource containing the emergency backup plan refers to the \"main\" CarePlan resource, rather than the other way around, by using the emergency backup plan CarePlan -> partOf data element to reference the \"main\" CarePlan data element.",
      "definition": "Description of how to address unforeseen events, emergency health events, emergency events, problems with medical equipment and supplies, and unavailable staffing situations for critical services that put the person’s health and safety at risk.\n\nThis can be included as free text or attachment.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.subject",
      "path": "CarePlan.subject",
      "short": "CarePlan Subject",
      "comment": "Reference the Patient for the care plan being developed.",
      "definition": "Referencing the Person from CarePlan.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.period",
      "path": "CarePlan.period",
      "short": "Plan Effective Date",
      "definition": "The date upon which the plan goes into effect. Start date is required, end date is optional.",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "CarePlan.author",
      "path": "CarePlan.author",
      "short": "Support Planner",
      "comment": "Support Planner Name + Phone.",
      "definition": "The  person (e.g., Case Manager, Care Coordinator, Plan Coordinator) who helped develop the plan.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.addresses",
      "path": "CarePlan.addresses",
      "short": "Assessed Need",
      "comment": "Each assessed need should go into a separate Condition element so each can potentially be linked to a service(s) that addresses it.",
      "definition": "The clinical and/or community-based necessity or desire as identified through an assessment that should be addressed by a service.",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "CarePlan.activity",
      "path": "CarePlan.activity",
      "comment": "Note that a stated goal may lead directly to a service, and not necessarily to an explicit Step or Action. For example, a person's goal could be to attend church regularly, and this would be achieved through a transportation service.",
      "definition": "A planned measurable step or action that needs to be taken to accomplish a goal identified by the person.",
      "isModifier": false,
      "mustSupport": false
    }, {
      "id": "CarePlan.activity.detail",
      "path": "CarePlan.activity.detail",
      "short": "Step or Action",
      "definition": "A planned measurable step or action that needs to be taken to accomplish a goal identified by the person.",
      "isModifier": false,
      "mustSupport": false
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"
}