Implementation Guide for FFB reporting (FFB uddatasæt)
1.0.0 - release
This page is part of the KLFFBReporting (v1.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | code | [DK] indsatsforløbstatus |
![]() ![]() ![]() | S | 1..1 | code | [DK] indsatsforløbhensigt |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() ![]() | S | 1..1 | dateTime | [DK] indsatsforløbBevillingstid |
![]() ![]() ![]() ![]() | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud |
![]() ![]() ![]() | S | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe |
![]() ![]() ![]() ![]() | 1..* | Extension | Extension | |
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank |
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |
![]() ![]() ![]() ![]() | S | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål |
![]() ![]() ![]() | S | 0..1 | BackboneElement | Action to occur as part of plan |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbhensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() ![]() | SΣ | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt |
![]() ![]() ![]() | SΣ | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | [DK] indsatsforløbBevillingstid |
![]() ![]() ![]() ![]() | ΣC | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid |
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud |
![]() ![]() ![]() | SΣ | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe |
![]() ![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "http://fhir.kl.dk/core/StructureDefinition/ConditionRank" | |
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |
![]() ![]() ![]() ![]() | SΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål |
![]() ![]() ![]() | SC | 0..1 | BackboneElement | Action to occur as part of plan |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering |
![]() |
Path | Conformance | ValueSet |
CarePlan.status | required | RequestStatus |
CarePlan.intent | required | CarePlanIntent |
CarePlan.activity.detail.status | required | CarePlanActivityStatus |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber | ||||
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension | ||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbhensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. | ||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt | ||||
![]() ![]() ![]() | SΣ | 1..1 | Period | Time period plan covers | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | [DK] indsatsforløbBevillingstid | ||||
![]() ![]() ![]() ![]() | ΣC | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid | ||||
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud | ||||
![]() ![]() ![]() | SΣ | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..0 | |||||||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "http://fhir.kl.dk/core/StructureDefinition/ConditionRank" | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål | ||||
![]() ![]() ![]() | SC | 0..1 | BackboneElement | Action to occur as part of plan | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering | ||||
![]() |
Path | Conformance | ValueSet | ||||
CarePlan.language | preferred | CommonLanguages
| ||||
CarePlan.status | required | RequestStatus | ||||
CarePlan.intent | required | CarePlanIntent | ||||
CarePlan.activity.detail.kind | required | CarePlanActivityKind | ||||
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT) | ||||
CarePlan.activity.detail.reasonCode | example | SNOMEDCTClinicalFindings | ||||
CarePlan.activity.detail.status | required | CarePlanActivityStatus | ||||
CarePlan.activity.detail.product[x] | example | SNOMEDCTMedicationCodes |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
This structure is derived from CarePlan
Summary
Mandatory: 4 elements (4 nested mandatory elements)
Must-Support: 14 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | code | [DK] indsatsforløbstatus |
![]() ![]() ![]() | S | 1..1 | code | [DK] indsatsforløbhensigt |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() ![]() | S | 1..1 | dateTime | [DK] indsatsforløbBevillingstid |
![]() ![]() ![]() ![]() | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud |
![]() ![]() ![]() | S | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe |
![]() ![]() ![]() ![]() | 1..* | Extension | Extension | |
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank |
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |
![]() ![]() ![]() ![]() | S | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål |
![]() ![]() ![]() | S | 0..1 | BackboneElement | Action to occur as part of plan |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Id | Grade | Path(s) | Details | Requirements |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 |
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber |
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension |
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbhensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. |
![]() ![]() ![]() | SΣ | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt |
![]() ![]() ![]() | SΣ | 1..1 | Period | Time period plan covers |
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | [DK] indsatsforløbBevillingstid |
![]() ![]() ![]() ![]() | ΣC | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid |
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud |
![]() ![]() ![]() | SΣ | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe |
![]() ![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank |
![]() ![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "http://fhir.kl.dk/core/StructureDefinition/ConditionRank" | |
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |
![]() ![]() ![]() ![]() | SΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål |
![]() ![]() ![]() | SC | 0..1 | BackboneElement | Action to occur as part of plan |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering |
![]() |
Path | Conformance | ValueSet |
CarePlan.status | required | RequestStatus |
CarePlan.intent | required | CarePlanIntent |
CarePlan.activity.detail.status | required | CarePlanActivityStatus |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | CarePlan | Healthcare 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 | ||||
![]() ![]() ![]() | Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() | Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() | S | 1..1 | (Complex) | [DK] anledningDokumenteretISag URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-municipalityCaseNumber | ||||
![]() ![]() ![]() | S | 0..1 | Reference(FollowUpEncounter) {b} | FollowUpDateExtension URL: http://fhir.kl.dk/ffbreporting/StructureDefinition/kl-reporting-ffb-follow-up-date-extension | ||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
![]() ![]() ![]() | ?!SΣ | 1..1 | code | [DK] indsatsforløbhensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. | ||||
![]() ![]() ![]() | SΣ | 1..1 | Reference(Citizen) {b} | [DK] indsatsforløbsubjekt | ||||
![]() ![]() ![]() | SΣ | 1..1 | Period | Time period plan covers | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | dateTime | [DK] indsatsforløbBevillingstid | ||||
![]() ![]() ![]() ![]() | ΣC | 0..1 | dateTime | [DK] indsatsforløbAfslutningstid | ||||
![]() ![]() ![]() | S | 0..* | Reference(CareTeam) | [DK] indsatsforløbsleverandør og indsatsforløbtilbud | ||||
![]() ![]() ![]() | SΣ | 0..* | Reference(TargetGroup) {b} | [DK] indsatsforløbmålgruppe | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | S | 1..1 | positiveInt | [DK] indsatsforløbsmålgruppeRang - 1 = primær, 2 = sekundær URL: http://fhir.kl.dk/core/StructureDefinition/ConditionRank | ||||
![]() ![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() | 0..0 | |||||||
![]() ![]() ![]() ![]() ![]() | 1..1 | uri | "http://fhir.kl.dk/core/StructureDefinition/ConditionRank" | |||||
![]() ![]() ![]() ![]() ![]() | 1..1 | positiveInt | Value of extension | |||||
![]() ![]() ![]() ![]() | SΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() | S | 0..* | Reference(InterventionGoal) {b} | [DK] indsatsforløbsmål | ||||
![]() ![]() ![]() | SC | 0..1 | BackboneElement | Action to occur as part of plan | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() | S | 1..1 | Reference(CareEvaluation) {b} | [DK] støttebehovsvurdering | ||||
![]() |
Path | Conformance | ValueSet | ||||
CarePlan.language | preferred | CommonLanguages
| ||||
CarePlan.status | required | RequestStatus | ||||
CarePlan.intent | required | CarePlanIntent | ||||
CarePlan.activity.detail.kind | required | CarePlanActivityKind | ||||
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT) | ||||
CarePlan.activity.detail.reasonCode | example | SNOMEDCTClinicalFindings | ||||
CarePlan.activity.detail.status | required | CarePlanActivityStatus | ||||
CarePlan.activity.detail.product[x] | example | SNOMEDCTMedicationCodes |
Id | Grade | Path(s) | Details | Requirements |
cpl-3 | error | CarePlan.activity | Provide a reference or detail, not both : detail.empty() or reference.empty() | |
dom-2 | error | CarePlan | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | CarePlan | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | CarePlan | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | CarePlan | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
kl-reporting-ffb-care-plan-1 | error | CarePlan | CarePlan 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-2 | error | CarePlan | CarePlan 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-4 | error | CarePlan | CarePlan shall contain evaluation if ordered and not completed : (intent != 'order') or (status = 'completed') or activity.outcomeReference.exists() | |
kl-reporting-ffb-care-plan-5 | error | CarePlan | CarePlan shall contain target groups if ordered and not completed : (intent != 'order') or (status = 'completed') or addresses.exists() |
This structure is derived from CarePlan
Summary
Mandatory: 4 elements (4 nested mandatory elements)
Must-Support: 14 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron