## Profile Comparison between http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan vs http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan

Left: | QICore CarePlan (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan)
Right: | QICore CarePlan (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan)

### Messages

Error | StructureDefinition.version | Values for version differ: '8.0.0-ballot' vs '7.0.2'
Information | StructureDefinition.short | Values for short differ: '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Who provided the content of the care plan' vs 'Who provided the content of the care plan'
Error | CarePlan.contributor | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/CareTeam]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan |
copyright |  |
date | 2019-07-28 |
description | The QI-Core CarePlan is based upon the US Core CarePlan Profile which 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. Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | QICoreCarePlan |
publisher | HL7 International / Clinical Quality Information |
purpose |  |
status | active |
title | QICore CarePlan |
type | CarePlan |
url | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan |
version | 8.0.0-ballot | 7.0.2 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
CarePlan |  | 0..* | USCoreCarePlanProfile | Healthcare plan for patient or group |  | 0..* | USCoreCarePlanProfile | Healthcare plan for patient or group |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text | S | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile constrains the narrative content by fixing the status codes to generated and additional This profile does not constrain the narrative in regard to language specific sections This profile does not constrain the narrative in regard to traceability to data elements | S | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
status | S | 1..1 | code | generated | additional Binding: ?? (required): Constrained value set of narrative statuses. | S | 1..1 | code | generated | additional Binding: ?? (required): Constrained value set of narrative statuses. |
div | S C | 1..1 | xhtml | Limited xhtml content | S C | 1..1 | xhtml | Limited xhtml content |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | External Ids for this plan | Σ | 0..* | Identifier | External Ids for this plan |
instantiatesCanonical | Σ | 0..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition | Σ | 0..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan) | Fulfills CarePlan | Σ | 0..* | Reference(CarePlan) | Fulfills CarePlan |
replaces | Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan | Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan |
partOf | Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan | Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan |
status | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
intent | ?!S Σ | 1..1 | code | proposal | plan | order | option Binding: ?? (required): Codes indicating the degree of authority/intentionality associated with a care plan | ?!S Σ | 1..1 | code | proposal | plan | order | option Binding: ?? (required): Codes indicating the degree of authority/intentionality associated with a care plan |
Slices for category | S Σ | 1..* | CodeableConcept | (QI) Type of plan Slice: Unordered, Open by value:$this Binding: ?? (preferred): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc. | S Σ | 1..* | CodeableConcept | (QI) Type of plan Slice: Unordered, Open by pattern:$this Binding: ?? (preferred): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc. |
title | Σ | 0..1 | string | Human-friendly name for the care plan | Σ | 0..1 | string | Human-friendly name for the care plan |
description | Σ | 0..1 | string | Summary of nature of plan | Σ | 0..1 | string | Summary of nature of plan |
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care plan is for. | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care plan is for. |
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | Σ | 0..1 | Reference(Encounter) | Encounter created as part of |
period | Σ | 0..1 | Period | Time period plan covers | Σ | 0..1 | Period | Time period plan covers |
created | Σ | 0..1 | dateTime | Date record was first recorded | Σ | 0..1 | dateTime | Date record was first recorded |
author | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who is the designated responsible party | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who is the designated responsible party |
contributor |  | 0..* | Reference(US Core Practitioner Profile | US Core Organization Profile | US Core Patient Profile | PractitionerRole | US Core CareTeam Profile | US Core RelatedPerson Profile | Device) | 𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Who provided the content of the care plan |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/CareTeam]])
careTeam |  | 0..* | Reference(CareTeam) | Who's involved in plan? |  | 0..* | Reference(CareTeam) | Who's involved in plan? |
addresses | Σ | 0..* | Reference(Condition) | Health issues this plan addresses | Σ | 0..* | Reference(Condition) | Health issues this plan addresses |
supportingInfo |  | 0..* | Reference(Resource) | Information considered as part of plan |  | 0..* | Reference(Resource) | Information considered as part of plan |
goal |  | 0..* | Reference(Goal) | Desired outcome of plan |  | 0..* | Reference(Goal) | Desired outcome of plan |
activity | C | 0..* | BackboneElement | Action to occur as part of plan | C | 0..* | BackboneElement | Action to occur as part of plan |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
outcomeCodeableConcept |  | 0..* | CodeableConcept | Results of the activity Binding: ?? (example): Identifies the results of the activity. |  | 0..* | CodeableConcept | Results of the activity Binding: ?? (example): Identifies the results of the activity. |
outcomeReference |  | 0..* | Reference(Resource) | Appointment, Encounter, Procedure, etc. |  | 0..* | Reference(Resource) | Appointment, Encounter, Procedure, etc. |
progress |  | 0..* | Annotation | Comments about the activity status/progress |  | 0..* | Annotation | Comments about the activity status/progress |
reference | C | 0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) | Activity details defined in specific resource | C | 0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) | Activity details defined in specific resource |
detail | C | 0..1 | BackboneElement | In-line definition of activity | C | 0..1 | BackboneElement | In-line definition of activity |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
kind |  | 0..1 | code | Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription Binding: ?? (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity. |  | 0..1 | code | Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription Binding: ?? (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity. |
instantiatesCanonical |  | 0..* | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition |  | 0..* | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri |  | 0..* | uri | Instantiates external protocol or definition |  | 0..* | uri | Instantiates external protocol or definition |
code |  | 0..1 | CodeableConcept | Detail type of activity Binding: ?? (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. |  | 0..1 | CodeableConcept | Detail type of activity Binding: ?? (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. |
reasonCode |  | 0..* | CodeableConcept | Why activity should be done or why activity was prohibited Binding: ?? (example): 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. |  | 0..* | CodeableConcept | Why activity should be done or why activity was prohibited Binding: ?? (example): 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. |
reasonReference |  | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why activity is needed |  | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why activity is needed |
goal |  | 0..* | Reference(Goal) | Goals this activity relates to |  | 0..* | Reference(Goal) | Goals this activity relates to |
status | ?! | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: ?? (required): Codes that reflect the current state of a care plan activity within its overall life cycle. | ?! | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: ?? (required): Codes that reflect the current state of a care plan activity within its overall life cycle. |
statusReason |  | 0..1 | CodeableConcept | Reason for current status |  | 0..1 | CodeableConcept | Reason for current status |
doNotPerform | ?! | 0..1 | boolean | If true, activity is prohibiting action | ?! | 0..1 | boolean | If true, activity is prohibiting action |
scheduled[x] |  | 0..1 | Timing, Period, string | When activity is to occur |  | 0..1 | Timing, Period, string | When activity is to occur |
location |  | 0..1 | Reference(Location) | Where it should happen |  | 0..1 | Reference(Location) | Where it should happen |
performer |  | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? |  | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? |
product[x] |  | 0..1 | CodeableConcept, Reference(Medication | Substance) | What is to be administered/supplied Binding: ?? (example): A product supplied or administered as part of a care plan activity. |  | 0..1 | CodeableConcept, Reference(Medication | Substance) | What is to be administered/supplied Binding: ?? (example): A product supplied or administered as part of a care plan activity. |
dailyAmount |  | 0..1 | ?? | How to consume/day? |  | 0..1 | ?? | How to consume/day? |
quantity |  | 0..1 | ?? | How much to administer/supply/consume |  | 0..1 | ?? | How much to administer/supply/consume |
description |  | 0..1 | string | Extra info describing activity to perform |  | 0..1 | string | Extra info describing activity to perform |
note |  | 0..* | Annotation | Comments about the plan |  | 0..* | Annotation | Comments about the plan |
Documentation for this format