2.1.1 - Release
This page is part of the KLGatewayPrevention (v2.1.1: Release) based on FHIR (HL7® FHIR® Standard) 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
Official URL: http://fhir.kl.dk/prevention/StructureDefinition/klgateway-119-planned-intervention | Version: 2.1.1 | |||
Active as of 2024-06-24 | Computable Name: KLGateway119PlannedIntervention |
Planned interventions for §119 prevention/health promotion in Danish Municipalities.
The PlannedIntervention for §119 is used whenever a prevention/health promotion intervention is planned for a citizen in Danish municipalities.
CarePlan.activity.detail.code.coding holds the intervention code, which has to come from FSIII. Some interventions can be delivered in a group or individually. The code should be chosen accordingly.
It is important to distiguish correctly between the dates and times stated in the model. CarePlan.period.start is when the PlannedIntervention was authorized (bevillingstid). The planned end-date is CarePlan.period.end, unless the date has already occured and the status is ‘completed’, then it is the actual end-date. Notice that end-date is not madatory to report. All dates may be repported with or without time of day.
CarePlan.status and CarePlan.intent are mandatory in the FHIR CarePlan resource. CarePlan.intent is always ‘plan’ in this implementation guide. CarePlan status should be either ‘unknown’, ‘entered-in-error’, or the status of the intervention at the time of reporting. Note that the meaning of ‘active’ is “ready to be acted upon”, so it does not signify that the first activity has occured.
CarePlan.activity.detail.status is also mandatory, and all the statuses in the FHIR ValueSet may be used, however ‘unknown’ is permitted from the time where the intervention occurs in the record until its completion. It is recommended not to use ‘entered-in-error’ - if the CarePlan is entered-in-error use CarePlan.status.
The CarePlan.extension[basedOnServiceRequest] points to the ServiceRequest which was the starting point for the intervention. It is not mandatory, but can be used to link the starting point (MedCom henvisning) to the resulting investigation activity e.g. ‘Afklarende samtale’ or ‘Statussamtale’.
CarePlan.subject references the citizen. CarePlan.activity.detail.performer is the organisation that carries out the intervention (leverandør).
CarePlan.activity.detail.reasonReference holds the link between conditions and interventions. It is optional to report.
CarePlan.basedOn referes to the care-pathway or plan, that this intervention is part of. It is mandatory to report for plannend interventions with a treatment focus. See which intervention codes apply in the invariant klgateway-119-intervention-1.
Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificere hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet
FKI-attribut | Definition | FHIR |
---|---|---|
indsatsskode | Udtrykker hvilken klasse indsatsen tilhører. | CarePlan.activity.detail.code.coding |
indsatsbevillingstid | Tidspunktet for hvornår indsatsen er bevilget | CarePlan.period.start |
indsatsafslutningstid | Tidspunktet for hvornår indsatsen er afsluttet, eller planlægges afsluttet | CarePlan.period.end |
indsatsstatus | Indikerer om indsatsplanen er klar til at blive handlet på, om dokumentationen repræsentere en fremtidig intention eller er historisk. | CarePlan.status |
indsatshensigt | Indikerer niveauet af autorisation og hvor langt i planlægningen indsatsen er | CarePlan.intent |
indsatsAktivitetsstatus | Indikerer om indsatsen er igangsat, eller om den ikke er startet, er aflyst, eller er færdiggjort | CarePlan.activity.detail.status |
indsatsAnledning | Den henvendelse/henvisning, der er anledning til, at denne indsats igangsættes | CarePlan.extension:basedOnServiceRequest |
indsatsleverandør | Organisation, der har ansvaret for at udføre den planlagte indsats | CarePlan.activity.detail.performer |
indsatssubjekt | Den borger som den planlagte indsats retter sig mod | CarePlan.subject |
indsatsbegrundelse | Tilstand som indsatsen rettes mod | CarePlan.activity.detail.reasonReference |
indsatsDelAfPlan | Det indsatsforløb, som denne indsats er en del af | CarePlan.basedOn |
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan | |
replaces | 0..0 | |||
partOf | 0..0 | |||
status | 1..1 | code | [DK] indsatsstatus | |
intent | 1..1 | code | [DK] indsatshensigt Required Pattern: plan | |
category | 0..0 | |||
title | 0..0 | |||
description | 0..0 | |||
subject | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt | |
encounter | 0..0 | |||
period | 1..1 | Period | Time period plan covers | |
start | 1..1 | dateTime | [DK] indsatsbevillingstid | |
end | 0..1 | dateTime | [DK] indsatsafslutningstid | |
created | 0..0 | |||
author | 0..0 | |||
contributor | 0..0 | |||
careTeam | 0..0 | |||
addresses | 0..0 | |||
supportingInfo | 0..0 | |||
goal | 0..0 | |||
activity | 1..1 | BackboneElement | Action to occur as part of plan | |
outcomeCodeableConcept | 0..0 | |||
outcomeReference | 0..0 | |||
progress | 0..0 | |||
reference | 0..0 | |||
detail | 1..1 | BackboneElement | In-line definition of activity | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |
value[x] | ||||
coding | 0..* | Coding | Code defined by a terminology system Binding: DeliveryTypes (required) | |
kind | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
code | 1..1 | CodeableConcept | Detail type of activity | |
Slices for coding | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system | |
coding:level2 | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) | |
system | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | |
coding:level3 | S | 0..1 | Coding | Code defined by a terminology system |
system | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions | |
code | 1..1 | code | Symbol in syntax defined by the system | |
display | 1..1 | string | Representation defined by the system | |
reasonCode | 0..0 | |||
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse |
goal | 0..0 | |||
status | 1..1 | code | [DK] indsatsAktivitetsstatus | |
statusReason | 0..0 | |||
doNotPerform | 0..0 | |||
scheduled[x] | 0..0 | |||
location | 0..0 | |||
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |
product[x] | 0..0 | |||
dailyAmount | 0..0 | |||
quantity | 0..0 | |||
description | 0..0 | |||
note | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
CarePlan.activity.detail.extension:deliveryType.value[x].coding | required | DeliveryTypes119http://fhir.kl.dk/prevention/ValueSet/DeliveryTypes119 from this IG | |
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG |
Id | Grade | Path(s) | Details | Requirements |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension" | |
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
basedOn | Σ | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan |
status | ?!Σ | 1..1 | code | [DK] indsatsstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
intent | ?!Σ | 1..1 | code | [DK] indsatshensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. Required Pattern: plan |
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt |
period | Σ | 1..1 | Period | Time period plan covers |
start | ΣC | 1..1 | dateTime | [DK] indsatsbevillingstid |
end | ΣC | 0..1 | dateTime | [DK] indsatsafslutningstid |
activity | C | 1..1 | BackboneElement | Action to occur as part of plan cpl-3: Provide a reference or detail, not both |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
detail | C | 1..1 | BackboneElement | In-line definition of activity |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType" | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |
Slices for coding | Σ | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system |
coding:level2 | Σ | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 |
coding:level3 | SΣ | 0..1 | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions |
code | Σ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 1..1 | string | Representation defined by the system |
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse |
status | ?! | 1..1 | code | [DK] indsatsAktivitetsstatus Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. |
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
CarePlan.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1 from the FHIR Standard | |
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | |
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG | |
CarePlan.activity.detail.status | required | CarePlanActivityStatushttp://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1 from the FHIR Standard |
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() | |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension" | |||||
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
basedOn | Σ | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan | ||||
status | ?!Σ | 1..1 | code | [DK] indsatsstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
intent | ?!Σ | 1..1 | code | [DK] indsatshensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. Required Pattern: plan | ||||
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt | ||||
period | Σ | 1..1 | Period | Time period plan covers | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
start | ΣC | 1..1 | dateTime | [DK] indsatsbevillingstid | ||||
end | ΣC | 0..1 | dateTime | [DK] indsatsafslutningstid | ||||
activity | C | 1..1 | BackboneElement | Action to occur as part of plan cpl-3: Provide a reference or detail, not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
detail | C | 1..1 | BackboneElement | In-line definition of activity | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType" | |||||
value[x] | 0..1 | CodeableConcept | Value of extension | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: DeliveryTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | 1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
Slices for coding | Σ | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system | ||||
coding:level2 | Σ | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:level3 | SΣ | 0..1 | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 1..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse | ||||
status | ?! | 1..1 | code | [DK] indsatsAktivitetsstatus Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. | ||||
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
CarePlan.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
CarePlan.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
CarePlan.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1 from the FHIR Standard | ||||
CarePlan.activity.detail.extension:deliveryType.value[x].coding | required | DeliveryTypes119http://fhir.kl.dk/prevention/ValueSet/DeliveryTypes119 from this IG | ||||
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | ||||
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG | ||||
CarePlan.activity.detail.status | required | CarePlanActivityStatushttp://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1 from the FHIR Standard |
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() | |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
This structure is derived from CarePlan
Differential View
This structure is derived from CarePlan
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |
identifier | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
basedOn | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan | |
replaces | 0..0 | |||
partOf | 0..0 | |||
status | 1..1 | code | [DK] indsatsstatus | |
intent | 1..1 | code | [DK] indsatshensigt Required Pattern: plan | |
category | 0..0 | |||
title | 0..0 | |||
description | 0..0 | |||
subject | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt | |
encounter | 0..0 | |||
period | 1..1 | Period | Time period plan covers | |
start | 1..1 | dateTime | [DK] indsatsbevillingstid | |
end | 0..1 | dateTime | [DK] indsatsafslutningstid | |
created | 0..0 | |||
author | 0..0 | |||
contributor | 0..0 | |||
careTeam | 0..0 | |||
addresses | 0..0 | |||
supportingInfo | 0..0 | |||
goal | 0..0 | |||
activity | 1..1 | BackboneElement | Action to occur as part of plan | |
outcomeCodeableConcept | 0..0 | |||
outcomeReference | 0..0 | |||
progress | 0..0 | |||
reference | 0..0 | |||
detail | 1..1 | BackboneElement | In-line definition of activity | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |
value[x] | ||||
coding | 0..* | Coding | Code defined by a terminology system Binding: DeliveryTypes (required) | |
kind | 0..0 | |||
instantiatesCanonical | 0..0 | |||
instantiatesUri | 0..0 | |||
code | 1..1 | CodeableConcept | Detail type of activity | |
Slices for coding | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system | |
coding:level2 | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) | |
system | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | |
coding:level3 | S | 0..1 | Coding | Code defined by a terminology system |
system | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions | |
code | 1..1 | code | Symbol in syntax defined by the system | |
display | 1..1 | string | Representation defined by the system | |
reasonCode | 0..0 | |||
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse |
goal | 0..0 | |||
status | 1..1 | code | [DK] indsatsAktivitetsstatus | |
statusReason | 0..0 | |||
doNotPerform | 0..0 | |||
scheduled[x] | 0..0 | |||
location | 0..0 | |||
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |
product[x] | 0..0 | |||
dailyAmount | 0..0 | |||
quantity | 0..0 | |||
description | 0..0 | |||
note | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
CarePlan.activity.detail.extension:deliveryType.value[x].coding | required | DeliveryTypes119http://fhir.kl.dk/prevention/ValueSet/DeliveryTypes119 from this IG | |
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG |
Id | Grade | Path(s) | Details | Requirements |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension" | |
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
basedOn | Σ | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan |
status | ?!Σ | 1..1 | code | [DK] indsatsstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. |
intent | ?!Σ | 1..1 | code | [DK] indsatshensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. Required Pattern: plan |
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt |
period | Σ | 1..1 | Period | Time period plan covers |
start | ΣC | 1..1 | dateTime | [DK] indsatsbevillingstid |
end | ΣC | 0..1 | dateTime | [DK] indsatsafslutningstid |
activity | C | 1..1 | BackboneElement | Action to occur as part of plan cpl-3: Provide a reference or detail, not both |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
detail | C | 1..1 | BackboneElement | In-line definition of activity |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |
extension | 0..0 | |||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType" | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |
Slices for coding | Σ | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system |
coding:level2 | Σ | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 |
coding:level3 | SΣ | 0..1 | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions |
code | Σ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 1..1 | string | Representation defined by the system |
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse |
status | ?! | 1..1 | code | [DK] indsatsAktivitetsstatus Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. |
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
CarePlan.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | |
CarePlan.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1 from the FHIR Standard | |
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | |
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG | |
CarePlan.activity.detail.status | required | CarePlanActivityStatushttp://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1 from the FHIR Standard |
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() | |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
CarePlan | C | 0..* | CarePlan | Healthcare plan for patient or group klgateway-119-intervention-1: Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. klgateway-119-intervention-2: does not have a reference to careplan if the intervention is a certain type of intervention | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
basedOnServiceRequest | 0..1 | (Complex) | [DK] indsatsAnledning URL: http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/BasedOnServiceRequestExtension" | |||||
value[x] | 1..1 | Reference(KLGateway119ServiceRequest) {b} | Value of extension | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
basedOn | Σ | 0..1 | Reference(KLGateway119CarePlan) {b} | [DK] indsatsDelAfPlan | ||||
status | ?!Σ | 1..1 | code | [DK] indsatsstatus Binding: RequestStatus (required): Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record. | ||||
intent | ?!Σ | 1..1 | code | [DK] indsatshensigt Binding: CarePlanIntent (required): Codes indicating the degree of authority/intentionality associated with a care plan. Required Pattern: plan | ||||
subject | Σ | 1..1 | Reference(KLGateway119Citizen) {b} | [DK] indsatssubjekt | ||||
period | Σ | 1..1 | Period | Time period plan covers | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
start | ΣC | 1..1 | dateTime | [DK] indsatsbevillingstid | ||||
end | ΣC | 0..1 | dateTime | [DK] indsatsafslutningstid | ||||
activity | C | 1..1 | BackboneElement | Action to occur as part of plan cpl-3: Provide a reference or detail, not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
detail | C | 1..1 | BackboneElement | In-line definition of activity | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
deliveryType | 1..1 | (Complex) | DeliveryType URL: http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..0 | |||||||
url | 1..1 | uri | "http://fhir.kl.dk/prevention/StructureDefinition/DeliveryType" | |||||
value[x] | 0..1 | CodeableConcept | Value of extension | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | Σ | 0..* | Coding | Code defined by a terminology system Binding: DeliveryTypes (required) | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
code | 1..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodes(SNOMEDCT) (example): Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter. | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
Slices for coding | Σ | 0..* | Coding | [DK] indsatsskode Slice: Unordered, Closed by value:system | ||||
coding:level2 | Σ | 0..1 | Coding | Code defined by a terminology system Binding: KLInterventionCodes119 (required) | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: urn:oid:1.2.208.176.2.21 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
coding:level3 | SΣ | 0..1 | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
display | Σ | 1..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | Σ | 0..1 | string | Plain text representation of the concept | ||||
reasonReference | S | 0..* | Reference(KLGateway119Condition) {b} | [DK] indsatsbegrundelse | ||||
status | ?! | 1..1 | code | [DK] indsatsAktivitetsstatus Binding: CarePlanActivityStatus (required): Codes that reflect the current state of a care plan activity within its overall life cycle. | ||||
performer | 1..1 | Reference(KLGateway119Organization) {b} | [DK] indsatsleverandør | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI | |||
CarePlan.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
CarePlan.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1 from the FHIR Standard | ||||
CarePlan.intent | required | Pattern: planhttp://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1 from the FHIR Standard | ||||
CarePlan.activity.detail.extension:deliveryType.value[x].coding | required | DeliveryTypes119http://fhir.kl.dk/prevention/ValueSet/DeliveryTypes119 from this IG | ||||
CarePlan.activity.detail.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-code from the FHIR Standard | ||||
CarePlan.activity.detail.code.coding:level2 | required | KLInterventionCodes119http://fhir.kl.dk/prevention/ValueSet/KLInterventionCodes119 from this IG | ||||
CarePlan.activity.detail.status | required | CarePlanActivityStatushttp://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1 from the FHIR Standard |
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() | |
klgateway-119-intervention-1 | error | CarePlan | Planned interventions with a treatment focus, should have its basedOn attribute populated with a carePlan. : activity.detail.code.coding.code = 'f30cab6d-2a42-4358-99d7-811127fb6e05' or activity.detail.code.coding.code = 'e71b7d85-5c78-49c2-8624-8499d162317b' or activity.detail.code.coding.code = '01a500f6-c221-4fd0-b518-cd361218b60d' or activity.detail.code.coding.code = 'c203c6b5-3be0-40a8-8204-e93751deabf5' or activity.detail.code.coding.code = 'c9a99304-1788-43b7-b7be-e187b092ae9c' or activity.detail.code.coding.code = 'ab87c0b5-40be-4e0a-b749-d9f833bfed2d' or activity.detail.code.coding.code = '61692d91-69b8-4830-9453-3d58454e49d3' or activity.detail.code.coding.code = 'abe847e0-1ce0-44dc-a675-ce05b66f47e6' or activity.detail.code.coding.code = 'd1e016b5-150a-4ac4-97ba-d3e19e28471e' or activity.detail.code.coding.code = 'cf7a55c2-7061-47ed-b7c5-e29620fe93bf' or activity.detail.code.coding.code = '924e9828-84cf-4689-9551-0ebb6dc71b98' implies basedOn.exists() | |
klgateway-119-intervention-2 | error | CarePlan | does not have a reference to careplan if the intervention is a certain type of intervention : activity.detail.code.coding.code = '03a3ebdb-9e2d-4be1-b32b-42f0bd2a3362' or activity.detail.code.coding.code = 'ee5606ac-1bed-487e-aa3c-72dcc30ec037' or activity.detail.code.coding.code = '6eddbaf7-2a73-49d4-91e7-6138d419f58c' implies basedOn.empty() |
This structure is derived from CarePlan
Other representations of profile: CSV, Excel, Schematron