Open Health Hub FHIR Implementation Guide
0.1.0 - v0.1.0
Open Health Hub FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-retrieve-care-plan | Version: 0.1.0 | |||
| Active as of 2025-12-03 | Computable Name: OhhRetrieveCarePlan | |||
A profile on the CarePlan resource describing the information returned by the GET operation.
A CarePlan contains the task for the patient and/or caregivers for a specific PlanDefinition. The tasks will reference the Open Health Hub Form Filler to easily fill out forms.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from OhhBaseCarePlan
| Id | Grade | Path(s) | Description | Expression |
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | OhhBaseCarePlan | Healthcare plan for patient or group Constraints: care-providers-requirement, caregivers-requirement |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
S | 0..1 | string | Program Link URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-link |
![]() ![]() ![]() |
S | 0..1 | string | Program PIN URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-pin |
![]() ![]() ![]() |
S | 0..1 | Attachment | Custom Invite Image URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-image |
![]() ![]() ![]() |
S | 0..1 | string | Custom Invite Text URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-text |
![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Timeline URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-timeline |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | canonical(OHH Plan Definition Profile) | Instantiates FHIR protocol or definition |
![]() ![]() |
?!SΣ | 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 Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who the care plan is for |
![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: ohh-patient |
![]() ![]() |
SΣ | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary |
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
![]() ![]() |
SΣC | 0..1 | Reference(Practitioner) | Who is the designated responsible party Constraints: author-name-requirement |
![]() ![]() |
S | 1..2 | Reference(CareTeam) | Who's involved in plan? |
![]() ![]() |
SC | 0..* | BackboneElement | Action to occur as part of plan Constraints: cpl-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Appointment, Encounter, Procedure, etc. |
![]() ![]() ![]() |
SC | 1..1 | BackboneElement | In-line definition of activity Constraints: valid-activity-detail-code |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Task URL URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-task |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Task UUID URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/task-uuid |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Ohh Questionnaire Profile) | Related Questionnaire URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/related-questionnaire |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |
![]() ![]() ![]() ![]() |
?!S | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. |
![]() ![]() ![]() ![]() |
?! | 0..1 | boolean | If true, activity is prohibiting action |
![]() ![]() ![]() ![]() |
0..1 | When activity is to occur Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | When activity is to occur | |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | End time with inclusive boundary, if not ongoing |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Extra info describing activity to perform |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍4.0.1 | FHIR Std. |
| CarePlan.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.code | Base | example | Procedure Codes (SNOMED CT) | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.status | Base | required | CarePlanActivityStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| author-name-requirement | error | CarePlan.author | Author name must be present |
resolve().name.text.exists()
|
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both |
detail.empty() or reference.empty()
|
| 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().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()
|
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | OhhBaseCarePlan | Healthcare plan for patient or group Constraints: care-providers-requirement, caregivers-requirement | ||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | string | Program Link URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-link | ||||
![]() ![]() ![]() |
S | 0..1 | string | Program PIN URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-pin | ||||
![]() ![]() ![]() |
S | 0..1 | Attachment | Custom Invite Image URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-image | ||||
![]() ![]() ![]() |
S | 0..1 | string | Custom Invite Text URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-text | ||||
![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Timeline URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-timeline | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this plan | ||||
![]() ![]() |
SΣ | 1..1 | canonical(OHH Plan Definition Profile) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Fulfills CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan | ||||
![]() ![]() |
?!SΣ | 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 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 | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who the care plan is for | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: ohh-patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 1..1 | Period | Time period plan covers | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
SΣC | 0..1 | Reference(Practitioner) | Who is the designated responsible party Constraints: author-name-requirement | ||||
![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan | |||||
![]() ![]() |
S | 1..2 | Reference(CareTeam) | Who's involved in plan? | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition) | Health issues this plan addresses | ||||
![]() ![]() |
0..* | Reference(Resource) | Information considered as part of plan | |||||
![]() ![]() |
0..* | Reference(Goal) | Desired outcome of plan | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Action to occur as part of plan Constraints: cpl-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Results of the activity Binding: CarePlanActivityOutcome (example): Identifies the results of the activity. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Appointment, Encounter, Procedure, etc. | ||||
![]() ![]() ![]() |
0..* | Annotation | Comments about the activity status/progress | |||||
![]() ![]() ![]() |
C | 0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) | Activity details defined in specific resource | ||||
![]() ![]() ![]() |
SC | 1..1 | BackboneElement | In-line definition of activity Constraints: valid-activity-detail-code | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Task URL URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-task | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Task UUID URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/task-uuid | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Ohh Questionnaire Profile) | Related Questionnaire URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/related-questionnaire | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | code | Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity. | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() ![]() ![]() |
0..* | uri | Instantiates external protocol or definition | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Why activity should be done or why activity was prohibited Binding: SNOMEDCTClinicalFindings (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..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why activity is needed | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Goal) | Goals this activity relates to | |||||
![]() ![]() ![]() ![]() |
?!S | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for current status | |||||
![]() ![]() ![]() ![]() |
?! | 0..1 | boolean | If true, activity is prohibiting action | ||||
![]() ![]() ![]() ![]() |
0..1 | When activity is to occur Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | When activity is to occur | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | Where it should happen | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? | ||||
![]() ![]() ![]() ![]() |
0..1 | What is to be administered/supplied Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity. | ||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Medication | Substance) | |||||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | How to consume/day? | |||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | How much to administer/supply/consume | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Extra info describing activity to perform | ||||
![]() ![]() |
0..* | Annotation | Comments about the plan | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| CarePlan.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍4.0.1 | FHIR Std. |
| CarePlan.category | Base | example | Care Plan Category | 📍4.0.1 | FHIR Std. |
| CarePlan.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.outcomeCodeableConcept | Base | example | Care Plan Activity Outcome | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.kind | Base | required | Care Plan Activity Kind | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.code | Base | example | Procedure Codes (SNOMED CT) | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.reasonCode | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.status | Base | required | CarePlanActivityStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.product[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| author-name-requirement | error | CarePlan.author | Author name must be present |
resolve().name.text.exists()
|
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both |
detail.empty() or reference.empty()
|
| 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().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()
|
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
This structure is derived from OhhBaseCarePlan
Summary
Mandatory: 1 element(4 nested mandatory elements)
Must-Support: 20 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from OhhBaseCarePlan
| Id | Grade | Path(s) | Description | Expression |
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | OhhBaseCarePlan | Healthcare plan for patient or group Constraints: care-providers-requirement, caregivers-requirement |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
S | 0..1 | string | Program Link URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-link |
![]() ![]() ![]() |
S | 0..1 | string | Program PIN URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-pin |
![]() ![]() ![]() |
S | 0..1 | Attachment | Custom Invite Image URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-image |
![]() ![]() ![]() |
S | 0..1 | string | Custom Invite Text URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-text |
![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Timeline URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-timeline |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | canonical(OHH Plan Definition Profile) | Instantiates FHIR protocol or definition |
![]() ![]() |
?!SΣ | 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 Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who the care plan is for |
![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: ohh-patient |
![]() ![]() |
SΣ | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary |
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
![]() ![]() |
SΣC | 0..1 | Reference(Practitioner) | Who is the designated responsible party Constraints: author-name-requirement |
![]() ![]() |
S | 1..2 | Reference(CareTeam) | Who's involved in plan? |
![]() ![]() |
SC | 0..* | BackboneElement | Action to occur as part of plan Constraints: cpl-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Appointment, Encounter, Procedure, etc. |
![]() ![]() ![]() |
SC | 1..1 | BackboneElement | In-line definition of activity Constraints: valid-activity-detail-code |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Task URL URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-task |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Task UUID URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/task-uuid |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Ohh Questionnaire Profile) | Related Questionnaire URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/related-questionnaire |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |
![]() ![]() ![]() ![]() |
?!S | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. |
![]() ![]() ![]() ![]() |
?! | 0..1 | boolean | If true, activity is prohibiting action |
![]() ![]() ![]() ![]() |
0..1 | When activity is to occur Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | When activity is to occur | |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | End time with inclusive boundary, if not ongoing |
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Extra info describing activity to perform |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍4.0.1 | FHIR Std. |
| CarePlan.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.code | Base | example | Procedure Codes (SNOMED CT) | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.status | Base | required | CarePlanActivityStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| author-name-requirement | error | CarePlan.author | Author name must be present |
resolve().name.text.exists()
|
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both |
detail.empty() or reference.empty()
|
| 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().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()
|
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | OhhBaseCarePlan | Healthcare plan for patient or group Constraints: care-providers-requirement, caregivers-requirement | ||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
S | 0..1 | string | Program Link URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-link | ||||
![]() ![]() ![]() |
S | 0..1 | string | Program PIN URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/program-pin | ||||
![]() ![]() ![]() |
S | 0..1 | Attachment | Custom Invite Image URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-image | ||||
![]() ![]() ![]() |
S | 0..1 | string | Custom Invite Text URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/custom-invite-text | ||||
![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Timeline URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-timeline | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Ids for this plan | ||||
![]() ![]() |
SΣ | 1..1 | canonical(OHH Plan Definition Profile) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Fulfills CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan | ||||
![]() ![]() |
?!SΣ | 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 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 | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient | Group) | Who the care plan is for | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: ohh-patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
![]() ![]() |
SΣ | 1..1 | Period | Time period plan covers | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date record was first recorded | ||||
![]() ![]() |
SΣC | 0..1 | Reference(Practitioner) | Who is the designated responsible party Constraints: author-name-requirement | ||||
![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan | |||||
![]() ![]() |
S | 1..2 | Reference(CareTeam) | Who's involved in plan? | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition) | Health issues this plan addresses | ||||
![]() ![]() |
0..* | Reference(Resource) | Information considered as part of plan | |||||
![]() ![]() |
0..* | Reference(Goal) | Desired outcome of plan | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Action to occur as part of plan Constraints: cpl-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Results of the activity Binding: CarePlanActivityOutcome (example): Identifies the results of the activity. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Resource) | Appointment, Encounter, Procedure, etc. | ||||
![]() ![]() ![]() |
0..* | Annotation | Comments about the activity status/progress | |||||
![]() ![]() ![]() |
C | 0..1 | Reference(Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup) | Activity details defined in specific resource | ||||
![]() ![]() ![]() |
SC | 1..1 | BackboneElement | In-line definition of activity Constraints: valid-activity-detail-code | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Form Filler Program Task URL URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/form-filler-program-task | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Task UUID URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/task-uuid | ||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Reference(Ohh Questionnaire Profile) | Related Questionnaire URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/related-questionnaire | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | code | Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription Binding: CarePlanActivityKind (required): Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity. | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() ![]() ![]() |
0..* | uri | Instantiates external protocol or definition | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Why activity should be done or why activity was prohibited Binding: SNOMEDCTClinicalFindings (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..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Why activity is needed | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Goal) | Goals this activity relates to | |||||
![]() ![]() ![]() ![]() |
?!S | 1..1 | code | not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. | ||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for current status | |||||
![]() ![]() ![]() ![]() |
?! | 0..1 | boolean | If true, activity is prohibiting action | ||||
![]() ![]() ![]() ![]() |
0..1 | When activity is to occur Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | When activity is to occur | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | Where it should happen | |||||
![]() ![]() ![]() ![]() |
S | 0..* | Reference(Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device) | Who will be responsible? | ||||
![]() ![]() ![]() ![]() |
0..1 | What is to be administered/supplied Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity. | ||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Medication | Substance) | |||||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | How to consume/day? | |||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | How much to administer/supply/consume | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Extra info describing activity to perform | ||||
![]() ![]() |
0..* | Annotation | Comments about the plan | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CarePlan.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| CarePlan.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.intent | Base | required | Care Plan Intent | 📍4.0.1 | FHIR Std. |
| CarePlan.category | Base | example | Care Plan Category | 📍4.0.1 | FHIR Std. |
| CarePlan.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.outcomeCodeableConcept | Base | example | Care Plan Activity Outcome | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.kind | Base | required | Care Plan Activity Kind | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.code | Base | example | Procedure Codes (SNOMED CT) | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.reasonCode | Base | example | SNOMED CT Clinical Findings | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.status | Base | required | CarePlanActivityStatus | 📍4.0.1 | FHIR Std. |
| CarePlan.activity.detail.product[x] | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| author-name-requirement | error | CarePlan.author | Author name must be present |
resolve().name.text.exists()
|
| care-providers-requirement | error | CarePlan | Exactly 1 care providers CareTeam |
careTeam.where(reference.exists() and reference.matches('^CareTeam/[0-9]+$')).count() = 1
|
| caregivers-requirement | error | CarePlan | At most 1 caregivers CareTeam |
careTeam.where(reference.exists() and reference.matches('CareTeam/[0-9]+-caregivers$')).count() <= 1
|
| cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both |
detail.empty() or reference.empty()
|
| 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().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()
|
| 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| valid-activity-detail-code | error | CarePlan.activity.detail | Activity detail code must be from questionnaire-types or action-type code systems |
code.coding.where(system.endsWith('/questionnaire-types') or system.endsWith('/action-type')).exists()
|
This structure is derived from OhhBaseCarePlan
Summary
Mandatory: 1 element(4 nested mandatory elements)
Must-Support: 20 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron
A CarePlan can be retrieved by its ID using a GET request. Alongside standard FHIR fields, the CarePlan will contain the following customised fields:
-caregivers suffix lists the Practitioners that have activities in this CarePlan. They are referenced
by their role.Besides using the embedded form filler links in the extensions, you can also build the links to the embedded form filler yourself:
URL format: https://formfiller.openhealthhub.com/user/<user-uuid>/program/<program-uuid>-<invite-id>/module/<task-uuid>?signature=<signature>&key=<key>
Values are retrieved from the following CarePlan fields: