Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release Denmark flag

This page is part of the KLFFBReporting (v1.0.0: Release) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: CarePlan

Official URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-carePlan Version: 1.0.0
Active as of 2023-08-27 Computable Name: KLReportingFFBCarePlan

FFB care plan

Usage:

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 C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... followUpDate S0..1Reference(FollowUpEncounter) {b}FollowUpDateExtension
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... partOf 0..0
... status S1..1code[DK] indsatsforløbstatus
... intent S1..1code[DK] indsatsforløbhensigt
... category 0..0
... title 0..0
... description 0..0
... subject S1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... encounter 0..0
... period S1..1PeriodTime period plan covers
.... start S1..1dateTime[DK] indsatsforløbBevillingstid
.... end 0..1dateTime[DK] indsatsforløbAfslutningstid
... created 0..0
... author 0..0
... contributor 0..0
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses S0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... extension 1..*ExtensionExtension
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... value[x] 1..1positiveIntValue of extension
.... reference S1..1stringLiteral reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity S0..1BackboneElementAction to occur as part of plan
.... outcomeCodeableConcept 0..0
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering
.... progress 0..0
.... reference 0..0
.... detail 0..0
... note 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!SΣ1..1code[DK] indsatsforløbstatus
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1code[DK] indsatsforløbhensigt
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... subject SΣ1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... period SΣ1..1PeriodTime period plan covers
.... start SΣC1..1dateTime[DK] indsatsforløbBevillingstid
.... end ΣC0..1dateTime[DK] indsatsforløbAfslutningstid
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses SΣ0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... extension 0..0
..... url 1..1uri"http://fhir.kl.dk/core/StructureDefinition/ConditionRank"
..... value[x] 1..1positiveIntValue of extension
.... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity SC0..1BackboneElementAction to occur as part of plan
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... 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
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... followUpDate S0..1Reference(FollowUpEncounter) {b}FollowUpDateExtension
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!SΣ1..1code[DK] indsatsforløbstatus
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1code[DK] indsatsforløbhensigt
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... subject SΣ1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... period SΣ1..1PeriodTime period plan covers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTime[DK] indsatsforløbBevillingstid
.... end ΣC0..1dateTime[DK] indsatsforløbAfslutningstid
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses SΣ0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://fhir.kl.dk/core/StructureDefinition/ConditionRank"
..... value[x] 1..1positiveIntValue of extension
.... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity SC0..1BackboneElementAction to occur as part of plan
.... 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
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.activity.detail.kindrequiredCarePlanActivityKind
CarePlan.activity.detail.codeexampleProcedureCodes(SNOMEDCT)
CarePlan.activity.detail.reasonCodeexampleSNOMEDCTClinicalFindings
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()

Differential View

This structure is derived from CarePlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... followUpDate S0..1Reference(FollowUpEncounter) {b}FollowUpDateExtension
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... partOf 0..0
... status S1..1code[DK] indsatsforløbstatus
... intent S1..1code[DK] indsatsforløbhensigt
... category 0..0
... title 0..0
... description 0..0
... subject S1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... encounter 0..0
... period S1..1PeriodTime period plan covers
.... start S1..1dateTime[DK] indsatsforløbBevillingstid
.... end 0..1dateTime[DK] indsatsforløbAfslutningstid
... created 0..0
... author 0..0
... contributor 0..0
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses S0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... extension 1..*ExtensionExtension
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... value[x] 1..1positiveIntValue of extension
.... reference S1..1stringLiteral reference, Relative, internal or absolute URL
.... type 0..0
.... identifier 0..0
.... display 0..0
... supportingInfo 0..0
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity S0..1BackboneElementAction to occur as part of plan
.... outcomeCodeableConcept 0..0
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering
.... progress 0..0
.... reference 0..0
.... detail 0..0
... note 0..0

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!SΣ1..1code[DK] indsatsforløbstatus
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1code[DK] indsatsforløbhensigt
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... subject SΣ1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... period SΣ1..1PeriodTime period plan covers
.... start SΣC1..1dateTime[DK] indsatsforløbBevillingstid
.... end ΣC0..1dateTime[DK] indsatsforløbAfslutningstid
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses SΣ0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... extension 0..0
..... url 1..1uri"http://fhir.kl.dk/core/StructureDefinition/ConditionRank"
..... value[x] 1..1positiveIntValue of extension
.... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity SC0..1BackboneElementAction to occur as part of plan
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. CarePlan C0..*CarePlanHealthcare plan for patient or group
kl-reporting-ffb-care-plan-1: CarePlan must have a follow-up encounter if ordered and not completed
kl-reporting-ffb-care-plan-2: CarePlan shall address no more than one condition with rank 1
kl-reporting-ffb-care-plan-4: CarePlan shall contain evaluation if ordered and not completed
kl-reporting-ffb-care-plan-5: CarePlan shall contain target groups if ordered and not completed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... 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
... municipalityCaseNumber S1..1(Complex)[DK] anledningDokumenteretISag
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber
... followUpDate S0..1Reference(FollowUpEncounter) {b}FollowUpDateExtension
URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!SΣ1..1code[DK] indsatsforløbstatus
Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.

... intent ?!SΣ1..1code[DK] indsatsforløbhensigt
Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan.

... subject SΣ1..1Reference(Citizen) {b}[DK] indsatsforløbsubjekt
... period SΣ1..1PeriodTime period plan covers
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTime[DK] indsatsforløbBevillingstid
.... end ΣC0..1dateTime[DK] indsatsforløbAfslutningstid
... careTeam S0..*Reference(CareTeam)[DK] indsatsforløbsleverandør og indsatsforløbtilbud
... addresses SΣ0..*Reference(TargetGroup) {b}[DK] indsatsforløbmålgruppe
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
.... conditionRank S1..1positiveInt[DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær
URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://fhir.kl.dk/core/StructureDefinition/ConditionRank"
..... value[x] 1..1positiveIntValue of extension
.... reference SΣC1..1stringLiteral reference, Relative, internal or absolute URL
... goal S0..*Reference(InterventionGoal) {b}[DK] indsatsforløbsmål
... activity SC0..1BackboneElementAction to occur as part of plan
.... 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
.... outcomeReference S1..1Reference(CareEvaluation) {b}[DK] støttebehovsvurdering

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
CarePlan.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
CarePlan.statusrequiredRequestStatus
CarePlan.intentrequiredCarePlanIntent
CarePlan.activity.detail.kindrequiredCarePlanActivityKind
CarePlan.activity.detail.codeexampleProcedureCodes(SNOMEDCT)
CarePlan.activity.detail.reasonCodeexampleSNOMEDCTClinicalFindings
CarePlan.activity.detail.statusrequiredCarePlanActivityStatus
CarePlan.activity.detail.product[x]exampleSNOMEDCTMedicationCodes

Constraints

IdGradePath(s)DetailsRequirements
cpl-3errorCarePlan.activityProvide a reference or detail, not both
: detail.empty() or reference.empty()
dom-2errorCarePlanIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCarePlanIf 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-4errorCarePlanIf 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-5errorCarePlanIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCarePlanA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
kl-reporting-ffb-care-plan-1errorCarePlanCarePlan must have a follow-up encounter if ordered and not completed
: (intent != 'order') or (status = 'completed') or extension('http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension').exists()
kl-reporting-ffb-care-plan-2errorCarePlanCarePlan shall address no more than one condition with rank 1
: addresses.where(extension('http://fhir.kl.dk/core/StructureDefinition/ConditionRank').valuePositiveInt = '1').count() < 2
kl-reporting-ffb-care-plan-4errorCarePlanCarePlan shall contain evaluation if ordered and not completed
: (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists()
kl-reporting-ffb-care-plan-5errorCarePlanCarePlan shall contain target groups if ordered and not completed
: (intent != 'order') or (status = 'completed') or addresses.exists()

 

Other representations of profile: CSV, Excel, Schematron