SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

## Resource Profile: SGHI Care Plan

Official URL: https://fhir.slade360.co.ke/fhir/StructureDefinition/careplan | Version: 0.1.0
Draft as of 2026-05-21 | Computable Name: SGHICarePlan

A profile on the R5 CarePlan resource to represent a patient's treatment or management plan, such as a chemotherapy regimen.

Usages:

- Examples for this Profile: CarePlan/ExampleSGHICarePlan

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | External Ids for this plan
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S Σ | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
status | ?!Σ | 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.
intent | ?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.
title | S Σ | 1..1 | string | Human-friendly name for the care plan
description | Σ | 1..1 | string | Summary of nature of plan
subject | Σ | 1..1 | Reference(SGHI Patient) | Who the care plan is for
created | Σ | 1..1 | dateTime | Date record was first recorded
custodian | S Σ | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std.
CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std.
CarePlan.activity.performedActivity | Base | example | Care Plan Activity Performed | 📍5.0.0 | FHIR Std.

#### Constraints

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 | **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()`

This structure is derived from CarePlan

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
identifier |  | 1..* | Identifier | External Ids for this plan
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type |  | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system |  | 1..1 | uri | The namespace for the identifier value
value |  | 1..1 | string | The value that is unique
assigner |  | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
title | S | 1..1 | string | Human-friendly name for the care plan
description |  | 1..1 | string | Summary of nature of plan
subject |  | 1..1 | Reference(SGHI Patient) | Who the care plan is for
created |  | 1..1 | dateTime | Date record was first recorded
custodian | S | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.)
note |  |  |  |
Slices for author[x] |  | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation Slice: Unordered, Open by type:$this
author[x]:authorReference |  | 0..1 | Reference(SGHI Organization | SGHI Practitioner) | Individual responsible for the annotation
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | External Ids for this plan
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S Σ | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder) | Fulfills plan, proposal or order
replaces | Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan
partOf | Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan
status | ?!Σ | 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.
intent | ?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.
category | Σ | 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.
title | S Σ | 1..1 | string | Human-friendly name for the care plan
description | Σ | 1..1 | string | Summary of nature of plan
subject | Σ | 1..1 | Reference(SGHI Patient) | Who the care plan is for
encounter | Σ | 0..1 | Reference(Encounter) | The Encounter during which this CarePlan was created
period | Σ | 0..1 | Period | Time period plan covers
created | Σ | 1..1 | dateTime | Date record was first recorded
custodian | S Σ | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
contributor |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan
careTeam |  | 0..* | Reference(CareTeam) | Who's involved in plan?
addresses | Σ | 0..* | CodeableReference(Condition) | Health issues this plan addresses Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.
supportingInfo |  | 0..* | Reference(Resource) | Information considered as part of plan
goal |  | 0..* | Reference(Goal) | Desired outcome of plan
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.
progress |  | 0..* | Annotation | Comments about the activity status/progress
plannedActivityReference |  | 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
note |  | 0..* | Annotation | Comments about the plan
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for author[x] | Σ | 0..1 |  | Individual responsible for the annotation Slice: Unordered, Open by type:$this
authorReference |  |  | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
author[x]:authorReference | Σ | 0..1 | Reference(SGHI Organization | SGHI Practitioner) | Individual responsible for the annotation
time | Σ | 0..1 | dateTime | When the annotation was made
text | Σ | 1..1 | markdown | The annotation - text content (as markdown)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CarePlan.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
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.

#### Constraints

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 | **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()`

This structure is derived from CarePlan

Summary

Mandatory: 11 elements
Must-Support: 5 elements

Structures

This structure refers to these other structures:

- SGHI CodeableConcept (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept)
- SGHI Reference (https://fhir.slade360.co.ke/fhir/StructureDefinition/reference)
- SGHI Organization (https://fhir.slade360.co.ke/fhir/StructureDefinition/organization)
- SGHI Patient (https://fhir.slade360.co.ke/fhir/StructureDefinition/patient)
- SGHI CodeableReference (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeable-reference)
- SGHI Task (https://fhir.slade360.co.ke/fhir/StructureDefinition/task)
- SGHI Practitioner (https://fhir.slade360.co.ke/fhir/StructureDefinition/practitioner)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of CarePlan.note.author[x]

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | External Ids for this plan
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S Σ | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
status | ?!Σ | 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.
intent | ?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.
title | S Σ | 1..1 | string | Human-friendly name for the care plan
description | Σ | 1..1 | string | Summary of nature of plan
subject | Σ | 1..1 | Reference(SGHI Patient) | Who the care plan is for
created | Σ | 1..1 | dateTime | Date record was first recorded
custodian | S Σ | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
CarePlan.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std.
CarePlan.intent | Base | required | Care Plan Intent | 📍5.0.0 | FHIR Std.
CarePlan.activity.performedActivity | Base | example | Care Plan Activity Performed | 📍5.0.0 | FHIR Std.

#### Constraints

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 | **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()`

Differential View

This structure is derived from CarePlan

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
identifier |  | 1..* | Identifier | External Ids for this plan
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type |  | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system |  | 1..1 | uri | The namespace for the identifier value
value |  | 1..1 | string | The value that is unique
assigner |  | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
title | S | 1..1 | string | Human-friendly name for the care plan
description |  | 1..1 | string | Summary of nature of plan
subject |  | 1..1 | Reference(SGHI Patient) | Who the care plan is for
created |  | 1..1 | dateTime | Date record was first recorded
custodian | S | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.)
note |  |  |  |
Slices for author[x] |  | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization), string | Individual responsible for the annotation Slice: Unordered, Open by type:$this
author[x]:authorReference |  | 0..1 | Reference(SGHI Organization | SGHI Practitioner) | Individual responsible for the annotation
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CarePlan |  | 0..* | CarePlan | Healthcare plan for patient or group
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | External Ids for this plan
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
instantiatesCanonical | S Σ | 1..* | canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition) | Instantiates FHIR protocol or definition
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest | RequestOrchestration | NutritionOrder) | Fulfills plan, proposal or order
replaces | Σ | 0..* | Reference(CarePlan) | CarePlan replaced by this CarePlan
partOf | Σ | 0..* | Reference(CarePlan) | Part of referenced CarePlan
status | ?!Σ | 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.
intent | ?!Σ | 1..1 | code | proposal | plan | order | option | directive Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.
category | Σ | 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.
title | S Σ | 1..1 | string | Human-friendly name for the care plan
description | Σ | 1..1 | string | Summary of nature of plan
subject | Σ | 1..1 | Reference(SGHI Patient) | Who the care plan is for
encounter | Σ | 0..1 | Reference(Encounter) | The Encounter during which this CarePlan was created
period | Σ | 0..1 | Period | Time period plan covers
created | Σ | 1..1 | dateTime | Date record was first recorded
custodian | S Σ | 1..1 | Reference(SGHI Organization) | Who is the designated responsible party
contributor |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) | Who provided the content of the care plan
careTeam |  | 0..* | Reference(CareTeam) | Who's involved in plan?
addresses | Σ | 0..* | CodeableReference(Condition) | Health issues this plan addresses Binding: SNOMEDCTClinicalFindings (example): Codes that describe the health issues this plan addresses.
supportingInfo |  | 0..* | Reference(Resource) | Information considered as part of plan
goal |  | 0..* | Reference(Goal) | Desired outcome of plan
activity | S | 1..* | BackboneElement | Action to occur or has occurred as part of plan
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
performedActivity | S | 1..* | SGHICodeableReference(SGHI Task) | Results of the activity (concept, or Appointment, Encounter, Procedure, etc.) Binding: CarePlanActivityPerformed (example): Identifies the results of the activity.
progress |  | 0..* | Annotation | Comments about the activity status/progress
plannedActivityReference |  | 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
note |  | 0..* | Annotation | Comments about the plan
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for author[x] | Σ | 0..1 |  | Individual responsible for the annotation Slice: Unordered, Open by type:$this
authorReference |  |  | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
author[x]:authorReference | Σ | 0..1 | Reference(SGHI Organization | SGHI Practitioner) | Individual responsible for the annotation
time | Σ | 0..1 | dateTime | When the annotation was made
text | Σ | 1..1 | markdown | The annotation - text content (as markdown)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CarePlan.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
CarePlan.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
CarePlan.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
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.

#### Constraints

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 | **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()`

This structure is derived from CarePlan

Summary

Mandatory: 11 elements
Must-Support: 5 elements

Structures

This structure refers to these other structures:

- SGHI CodeableConcept (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept)
- SGHI Reference (https://fhir.slade360.co.ke/fhir/StructureDefinition/reference)
- SGHI Organization (https://fhir.slade360.co.ke/fhir/StructureDefinition/organization)
- SGHI Patient (https://fhir.slade360.co.ke/fhir/StructureDefinition/patient)
- SGHI CodeableReference (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeable-reference)
- SGHI Task (https://fhir.slade360.co.ke/fhir/StructureDefinition/task)
- SGHI Practitioner (https://fhir.slade360.co.ke/fhir/StructureDefinition/practitioner)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of CarePlan.note.author[x]

Other representations of profile: CSV, Excel, Schematron