eHealth Infrastructure
2021.3.0 - build

eHealth Infrastructure - Local Development build (v2021.3.0). See the Directory of published versions

Resource Profile: ehealth-careplan

Defining URL:http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan
Version:2021.3.0
Name:ehealth-careplan
Status:Active as of 2021-11-25T09:32:14+00:00
Publisher:Systematic | Trifork
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan

Introduction

A CarePlan describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.

Scope and Usage

In scope of the eHealth infrastructure CarePlans represent specific tele-medicine plans prepared by a Practitioner and applied to a specific Patient for the treatment a condition such as chronic obstructive pulmonary disease (COPD).

Hierarchies of care plans

A CarePlan can be constructed as a hierarchy of sub plans. The initial hierarchy is inherited from the PlanDefinition, but can be modified for the specific patient. This modification is possible both when instantiating the CarePlan and during execution of the plan.

Sub plans can be attached by making them partOf the parent plan.

Restrictions on deletion

In order to preserve the context and history, it is not allowed to delete sub plans or remove ProcedureRequest from the CarePlan. The status element can be used to either cancel or complete a CarePlan or ProcedureRequest, if it is no longer relevant for the Patient.

The history of changes in status is automatically maintained in the element ehealth-careplan-statusHistory.

Responsible CareTeam and responsibleHistory

A CarePlan can have a number of responsible CareTeam set in careTeam. The history of changes in careTeam is automatically maintained in the element ehealth-teamHistory.

Formal Views of Profile Content

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

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... workflow-episodeOfCare 1..1Reference(EpisodeOfCare)Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
... ehealth-careplan-statusHistory 0..*(Complex)Careplan status history
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory
... ehealth-careplan-statusschedule 0..*(Complex)Careplan status schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule
... ehealth-teamschedule 0..*(Complex)Team Schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule
... basedOn 0..0
... replaces 0..0
... partOf 0..1Reference(ehealth-careplan) {r}Part of referenced CarePlan
... status 1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required)
... category 0..*CodeableConceptType of plan
Binding: Careplan Category (required)
... subject 1..1Reference(ehealth-patient) {r}Who the care plan is for
... period 1..1PeriodTime period plan covers
... author 0..1Reference(ehealth-patient | ehealth-practitioner | ehealth-relatedperson | ehealth-organization | ehealth-careteam)Who is the designated responsible party
... careTeam 0..*Reference(ehealth-careteam) {r}Who's involved in plan?
... addresses 1..1Reference(ehealth-condition) {r}Health issues this plan addresses
... supportingInfo 0..*Reference(Resource) {r}Information considered as part of plan
... goal 0..*Reference(ehealth-goal) {r}Desired outcome of plan
... activity
.... outcomeReference 0..*Reference(Resource) {r}Appointment, Encounter, Procedure, etc.
.... progress
..... authorReference 0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
..... authorString 0..1stringIndividual responsible for the annotation
.... reference 1..1Reference(ehealth-servicerequest) {rrb}Activity details defined in specific resource
.... detail
..... reasonReference 0..*Reference(ehealth-condition) {r}Why activity is needed
..... goal 0..*Reference(Goal) {r}Goals this activity relates to
..... location 0..1Reference(Location) {r}Where it should happen
..... performer 0..*Reference(ehealth-practitioner | ehealth-organization | ehealth-relatedperson | ehealth-patient | ehealth-careteam) {r}Who will be responsible?
... note
.... authorReference 0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
.... authorString 0..1stringIndividual responsible for the annotation

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... workflow-episodeOfCare 1..1Reference(EpisodeOfCare)Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
... ehealth-careplan-statusHistory 0..*(Complex)Careplan status history
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory
... ehealth-teamHistory 0..*(Complex)History of assigned careTeam
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory
... ehealth-careplan-statusschedule 0..*(Complex)Careplan status schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule
... ehealth-teamschedule 0..*(Complex)Team Schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... partOf Σ0..1Reference(ehealth-careplan) {r}Part of referenced CarePlan
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | option
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category Σ0..*CodeableConceptType of plan
Binding: Careplan Category (required)
... title Σ0..1stringHuman-friendly name for the care plan
... description Σ0..1stringSummary of nature of plan
... subject Σ1..1Reference(ehealth-patient) {r}Who the care plan is for
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... created Σ0..1dateTimeDate record was first recorded
... author Σ0..1Reference(ehealth-patient | ehealth-practitioner | ehealth-relatedperson | ehealth-organization | ehealth-careteam)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(ehealth-careteam) {r}Who's involved in plan?
... addresses Σ1..1Reference(ehealth-condition) {r}Health issues this plan addresses
... supportingInfo 0..*Reference(Resource) {r}Information considered as part of plan
... goal 0..*Reference(ehealth-goal) {r}Desired outcome of plan
... activity I0..*BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept 0..*CodeableConceptResults of the activity
Binding: CarePlanActivityOutcome (example): Identifies the results of the activity.


.... outcomeReference 0..*Reference(Resource) {r}Appointment, Encounter, Procedure, etc.
.... progress 0..*AnnotationComments about the activity status/progress
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for author[x] Σ0..1Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
...... authorReferenceReference(Any)
...... authorStringstring
...... author[x]:authorReference Σ0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
...... author[x]:authorString Σ0..1stringIndividual responsible for the annotation
..... time Σ0..1dateTimeWhen the annotation was made
..... text Σ1..1markdownThe annotation - text content (as markdown)
.... reference I1..1Reference(ehealth-servicerequest) {rrb}Activity details defined in specific resource
.... detail I0..1BackboneElementIn-line definition of activity
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind 0..1codeAppointment | 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.

..... instantiatesCanonical 0..*canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition)Instantiates FHIR protocol or definition
..... instantiatesUri 0..*uriInstantiates external protocol or definition
..... code 0..1CodeableConceptDetail 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.

..... reasonCode 0..*CodeableConceptWhy 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.


..... reasonReference 0..*Reference(ehealth-condition) {r}Why activity is needed
..... goal 0..*Reference(Goal) {r}Goals this activity relates to
..... status ?!1..1codenot-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.

..... statusReason 0..1CodeableConceptReason for current status
..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... scheduled[x] 0..1When activity is to occur
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
..... location 0..1Reference(Location) {r}Where it should happen
..... performer 0..*Reference(ehealth-practitioner | ehealth-organization | ehealth-relatedperson | ehealth-patient | ehealth-careteam) {r}Who will be responsible?
..... product[x] 0..1What is to be administered/supplied
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
..... dailyAmount 0..1SimpleQuantityHow to consume/day?
..... quantity 0..1SimpleQuantityHow much to administer/supply/consume
..... description 0..1stringExtra info describing activity to perform
... note 0..*AnnotationComments about the plan
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for author[x] Σ0..1Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
..... authorReferenceReference(Any)
..... authorStringstring
..... author[x]:authorReference Σ0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
..... author[x]:authorString Σ0..1stringIndividual responsible for the annotation
.... time Σ0..1dateTimeWhen the annotation was made
.... text Σ1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... workflow-episodeOfCare 1..1Reference(EpisodeOfCare)Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
... ehealth-careplan-statusHistory 0..*(Complex)Careplan status history
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory
... ehealth-careplan-statusschedule 0..*(Complex)Careplan status schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule
... ehealth-teamschedule 0..*(Complex)Team Schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule
... basedOn 0..0
... replaces 0..0
... partOf 0..1Reference(ehealth-careplan) {r}Part of referenced CarePlan
... status 1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required)
... category 0..*CodeableConceptType of plan
Binding: Careplan Category (required)
... subject 1..1Reference(ehealth-patient) {r}Who the care plan is for
... period 1..1PeriodTime period plan covers
... author 0..1Reference(ehealth-patient | ehealth-practitioner | ehealth-relatedperson | ehealth-organization | ehealth-careteam)Who is the designated responsible party
... careTeam 0..*Reference(ehealth-careteam) {r}Who's involved in plan?
... addresses 1..1Reference(ehealth-condition) {r}Health issues this plan addresses
... supportingInfo 0..*Reference(Resource) {r}Information considered as part of plan
... goal 0..*Reference(ehealth-goal) {r}Desired outcome of plan
... activity
.... outcomeReference 0..*Reference(Resource) {r}Appointment, Encounter, Procedure, etc.
.... progress
..... authorReference 0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
..... authorString 0..1stringIndividual responsible for the annotation
.... reference 1..1Reference(ehealth-servicerequest) {rrb}Activity details defined in specific resource
.... detail
..... reasonReference 0..*Reference(ehealth-condition) {r}Why activity is needed
..... goal 0..*Reference(Goal) {r}Goals this activity relates to
..... location 0..1Reference(Location) {r}Where it should happen
..... performer 0..*Reference(ehealth-practitioner | ehealth-organization | ehealth-relatedperson | ehealth-patient | ehealth-careteam) {r}Who will be responsible?
... note
.... authorReference 0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
.... authorString 0..1stringIndividual responsible for the annotation

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan 0..*CarePlanHealthcare plan for patient or group
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... workflow-episodeOfCare 1..1Reference(EpisodeOfCare)Associated Encounter episode of care
URL: http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
... ehealth-careplan-statusHistory 0..*(Complex)Careplan status history
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory
... ehealth-teamHistory 0..*(Complex)History of assigned careTeam
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory
... ehealth-careplan-statusschedule 0..*(Complex)Careplan status schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusschedule
... ehealth-teamschedule 0..*(Complex)Team Schedule
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamschedule
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this plan
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | Measure | ActivityDefinition | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... partOf Σ0..1Reference(ehealth-careplan) {r}Part of referenced CarePlan
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required)
... intent ?!Σ1..1codeproposal | plan | order | option
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... category Σ0..*CodeableConceptType of plan
Binding: Careplan Category (required)
... title Σ0..1stringHuman-friendly name for the care plan
... description Σ0..1stringSummary of nature of plan
... subject Σ1..1Reference(ehealth-patient) {r}Who the care plan is for
... encounter Σ0..1Reference(Encounter)Encounter created as part of
... period Σ1..1PeriodTime period plan covers
... created Σ0..1dateTimeDate record was first recorded
... author Σ0..1Reference(ehealth-patient | ehealth-practitioner | ehealth-relatedperson | ehealth-organization | ehealth-careteam)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(ehealth-careteam) {r}Who's involved in plan?
... addresses Σ1..1Reference(ehealth-condition) {r}Health issues this plan addresses
... supportingInfo 0..*Reference(Resource) {r}Information considered as part of plan
... goal 0..*Reference(ehealth-goal) {r}Desired outcome of plan
... activity I0..*BackboneElementAction to occur as part of plan
cpl-3: Provide a reference or detail, not both
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeCodeableConcept 0..*CodeableConceptResults of the activity
Binding: CarePlanActivityOutcome (example): Identifies the results of the activity.


.... outcomeReference 0..*Reference(Resource) {r}Appointment, Encounter, Procedure, etc.
.... progress 0..*AnnotationComments about the activity status/progress
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for author[x] Σ0..1Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
...... authorReferenceReference(Any)
...... authorStringstring
...... author[x]:authorReference Σ0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
...... author[x]:authorString Σ0..1stringIndividual responsible for the annotation
..... time Σ0..1dateTimeWhen the annotation was made
..... text Σ1..1markdownThe annotation - text content (as markdown)
.... reference I1..1Reference(ehealth-servicerequest) {rrb}Activity details defined in specific resource
.... detail I0..1BackboneElementIn-line definition of activity
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... kind 0..1codeAppointment | 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.

..... instantiatesCanonical 0..*canonical(PlanDefinition | ActivityDefinition | Questionnaire | Measure | OperationDefinition)Instantiates FHIR protocol or definition
..... instantiatesUri 0..*uriInstantiates external protocol or definition
..... code 0..1CodeableConceptDetail 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.

..... reasonCode 0..*CodeableConceptWhy 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.


..... reasonReference 0..*Reference(ehealth-condition) {r}Why activity is needed
..... goal 0..*Reference(Goal) {r}Goals this activity relates to
..... status ?!1..1codenot-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.

..... statusReason 0..1CodeableConceptReason for current status
..... doNotPerform ?!0..1booleanIf true, activity is prohibiting action
..... scheduled[x] 0..1When activity is to occur
...... scheduledTimingTiming
...... scheduledPeriodPeriod
...... scheduledStringstring
..... location 0..1Reference(Location) {r}Where it should happen
..... performer 0..*Reference(ehealth-practitioner | ehealth-organization | ehealth-relatedperson | ehealth-patient | ehealth-careteam) {r}Who will be responsible?
..... product[x] 0..1What is to be administered/supplied
Binding: SNOMEDCTMedicationCodes (example): A product supplied or administered as part of a care plan activity.

...... productCodeableConceptCodeableConcept
...... productReferenceReference(Medication | Substance)
..... dailyAmount 0..1SimpleQuantityHow to consume/day?
..... quantity 0..1SimpleQuantityHow much to administer/supply/consume
..... description 0..1stringExtra info describing activity to perform
... note 0..*AnnotationComments about the plan
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for author[x] Σ0..1Individual responsible for the annotation
Slice: Unordered, Closed by type:$this
..... authorReferenceReference(Any)
..... authorStringstring
..... author[x]:authorReference Σ0..1Reference(ehealth-practitioner | ehealth-patient | ehealth-relatedperson)Individual responsible for the annotation
..... author[x]:authorString Σ0..1stringIndividual responsible for the annotation
.... time Σ0..1dateTimeWhen the annotation was made
.... text Σ1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
CarePlan.languagepreferredCommonLanguages
Max Binding: AllLanguages
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.categoryrequiredCareplanCategory
CarePlan.activity.outcomeCodeableConceptexampleCarePlanActivityOutcome
CarePlan.activity.detail.kindrequiredCarePlanActivityKind
CarePlan.activity.detail.codeexampleProcedureCodes(SNOMEDCT)
CarePlan.activity.detail.reasonCodeexampleSNOMEDCTClinicalFindings
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes

Constraints

IdPathDetailsRequirements
dom-2CarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3CarePlanIf 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-4CarePlanIf 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-5CarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6CarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1CarePlan.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.extension:episodeOfCareAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extension:episodeOfCareMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.extension:statusHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extension:statusHistoryMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.extension:teamHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extension:teamHistoryMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.extension:statusScheduleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extension:statusScheduleMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.extension:teamScheduleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.extension:teamScheduleMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.instantiatesCanonicalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.instantiatesUriAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.intentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.createdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.contributorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.careTeamAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.addressesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.supportingInfoAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.goalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
cpl-3CarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
ele-1CarePlan.activityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.activity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.activity.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.activity.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.activity.outcomeCodeableConceptAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.outcomeReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progress.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.activity.progress.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.activity.progress.author[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progress.author[x]:authorReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progress.author[x]:authorStringAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progress.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.progress.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detailAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.activity.detail.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.activity.detail.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.activity.detail.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.activity.detail.kindAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.instantiatesCanonicalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.instantiatesUriAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.goalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.doNotPerformAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.scheduled[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.performerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.product[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.dailyAmountAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.quantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.activity.detail.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.note.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1CarePlan.note.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1CarePlan.note.author[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.note.author[x]:authorReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.note.author[x]:authorStringAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.note.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1CarePlan.note.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())