Extensions for Using Data Elements from FHIR R4B in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.3/StructureDefinition/profile-CarePlan | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4B_CarePlan_R5 | ||
This cross-version profile allows R4B CarePlan content to be represented via FHIR R5 CarePlan resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who the care plan is for |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CarePlan | 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 |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | CarePlan | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | CarePlan.implicitRules, CarePlan.modifierExtension, CarePlan.status, CarePlan.intent, CarePlan.subject | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CarePlan.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CarePlan
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | R4B: Results of the activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeCodeableConcept | |
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Resource for use in FHIR R5(0.1.0) | Resource) | R4B: Appointment, Encounter, Procedure, etc. (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeReference | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: In-line definition of activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this plan | ||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder) | Fulfills plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type of plan Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc. | ||||
![]() ![]() |
Σ | 0..1 | string | Human-friendly name for the care plan | ||||
![]() ![]() |
Σ | 0..1 | string | Summary of nature of plan | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who the care plan is for | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | The Encounter during which this CarePlan was created | ||||
![]() ![]() |
Σ | 0..1 | Period | Time period plan covers | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who is the designated responsible party | ||||
![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan | |||||
![]() ![]() |
0..* | Reference(CareTeam) | Who's involved in plan? | |||||
![]() ![]() |
Σ | 0..* | CodeableReference(Condition) | Health issues this plan addresses Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses. | ||||
![]() ![]() |
0..* | Reference(Resource) | Information considered as part of plan | |||||
![]() ![]() |
0..* | Reference(Goal) | Desired outcome of plan | |||||
![]() ![]() |
0..* | BackboneElement | Action to occur or has occurred as part of plan | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | R4B: Results of the activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeCodeableConcept Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Resource for use in FHIR R5(0.1.0) | Resource) | R4B: Appointment, Encounter, Procedure, etc. (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeReference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: In-line definition of activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | CodeableReference(Resource) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity. | |||||
![]() ![]() ![]() |
0..* | Annotation | Comments about the activity status/progress | |||||
![]() ![]() ![]() |
0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestOrchestration | ImmunizationRecommendation | SupplyRequest) | Activity that is intended to be part of the care plan | |||||
![]() ![]() |
0..* | Annotation | Comments about the plan | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std. |
| CarePlan.category | Base | example | Care Plan Category | 📍5.0.0 | FHIR Std. |
| CarePlan.addresses | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| CarePlan.activity.performedActivity | Base | example | Care Plan Activity Performed | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CarePlan | 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 |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | CarePlan | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | CarePlan.meta, CarePlan.implicitRules, CarePlan.language, CarePlan.text, CarePlan.extension, CarePlan.modifierExtension, CarePlan.identifier, CarePlan.instantiatesCanonical, CarePlan.instantiatesUri, CarePlan.basedOn, CarePlan.replaces, CarePlan.partOf, CarePlan.status, CarePlan.intent, CarePlan.category, CarePlan.title, CarePlan.description, CarePlan.subject, CarePlan.encounter, CarePlan.period, CarePlan.created, CarePlan.custodian, CarePlan.contributor, CarePlan.careTeam, CarePlan.addresses, CarePlan.supportingInfo, CarePlan.goal, CarePlan.activity, CarePlan.activity.extension, CarePlan.activity.extension:outcomeCodeableConcept, CarePlan.activity.extension:outcomeReference, CarePlan.activity.extension:detail, CarePlan.activity.modifierExtension, CarePlan.activity.performedActivity, CarePlan.activity.progress, CarePlan.activity.plannedActivityReference, CarePlan.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CarePlan.extension, CarePlan.modifierExtension, CarePlan.activity.extension, CarePlan.activity.extension:outcomeCodeableConcept, CarePlan.activity.extension:outcomeReference, CarePlan.activity.extension:detail, CarePlan.activity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CarePlan
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who the care plan is for |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CarePlan | 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 |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | CarePlan | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | CarePlan.implicitRules, CarePlan.modifierExtension, CarePlan.status, CarePlan.intent, CarePlan.subject | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CarePlan.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from CarePlan
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | R4B: Results of the activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeCodeableConcept | |
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Resource for use in FHIR R5(0.1.0) | Resource) | R4B: Appointment, Encounter, Procedure, etc. (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeReference | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: In-line definition of activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | CarePlan(5.0.0) | Healthcare plan for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this plan | ||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder) | Fulfills plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type of plan Binding: CarePlanCategory (example): Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc. | ||||
![]() ![]() |
Σ | 0..1 | string | Human-friendly name for the care plan | ||||
![]() ![]() |
Σ | 0..1 | string | Summary of nature of plan | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who the care plan is for | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | The Encounter during which this CarePlan was created | ||||
![]() ![]() |
Σ | 0..1 | Period | Time period plan covers | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who is the designated responsible party | ||||
![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan | |||||
![]() ![]() |
0..* | Reference(CareTeam) | Who's involved in plan? | |||||
![]() ![]() |
Σ | 0..* | CodeableReference(Condition) | Health issues this plan addresses Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses. | ||||
![]() ![]() |
0..* | Reference(Resource) | Information considered as part of plan | |||||
![]() ![]() |
0..* | Reference(Goal) | Desired outcome of plan | |||||
![]() ![]() |
0..* | BackboneElement | Action to occur or has occurred as part of plan | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | R4B: Results of the activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeCodeableConcept Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Resource for use in FHIR R5(0.1.0) | Resource) | R4B: Appointment, Encounter, Procedure, etc. (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.outcomeReference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: In-line definition of activity (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-CarePlan.activity.detail Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | CodeableReference(Resource) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity. | |||||
![]() ![]() ![]() |
0..* | Annotation | Comments about the activity status/progress | |||||
![]() ![]() ![]() |
0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestOrchestration | ImmunizationRecommendation | SupplyRequest) | Activity that is intended to be part of the care plan | |||||
![]() ![]() |
0..* | Annotation | Comments about the plan | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std. |
| CarePlan.category | Base | example | Care Plan Category | 📍5.0.0 | FHIR Std. |
| CarePlan.addresses | Base | example | SNOMED CT Clinical Findings | 📍5.0.0 | FHIR Std. |
| CarePlan.activity.performedActivity | Base | example | Care Plan Activity Performed | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CarePlan | 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 |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | CarePlan | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | CarePlan.meta, CarePlan.implicitRules, CarePlan.language, CarePlan.text, CarePlan.extension, CarePlan.modifierExtension, CarePlan.identifier, CarePlan.instantiatesCanonical, CarePlan.instantiatesUri, CarePlan.basedOn, CarePlan.replaces, CarePlan.partOf, CarePlan.status, CarePlan.intent, CarePlan.category, CarePlan.title, CarePlan.description, CarePlan.subject, CarePlan.encounter, CarePlan.period, CarePlan.created, CarePlan.custodian, CarePlan.contributor, CarePlan.careTeam, CarePlan.addresses, CarePlan.supportingInfo, CarePlan.goal, CarePlan.activity, CarePlan.activity.extension, CarePlan.activity.extension:outcomeCodeableConcept, CarePlan.activity.extension:outcomeReference, CarePlan.activity.extension:detail, CarePlan.activity.modifierExtension, CarePlan.activity.performedActivity, CarePlan.activity.progress, CarePlan.activity.plannedActivityReference, CarePlan.note | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CarePlan.extension, CarePlan.modifierExtension, CarePlan.activity.extension, CarePlan.activity.extension:outcomeCodeableConcept, CarePlan.activity.extension:outcomeReference, CarePlan.activity.extension:detail, CarePlan.activity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CarePlan
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron