1.0.1 - ci-build Denmark flag

KLGatewayMunicipalityCareData - Local Development build (v1.0.1). See the Directory of published versions

Resource Profile: CareCompletedIntervention

Official URL: http://municipality-care-data.gateway.kl.dk/1.0/StructureDefinition/klgateway-care-completed-intervention Version: 1.0.1
Draft as of 2023-08-21 Computable Name: KLGatewayCareCompletedIntervention

Documentation for completed interventions (activities related to one and only one encounter) in Danish municipalities

Usage:

Formal Views of Profile Content

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

This structure is derived from Procedure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
... statusReason 0..0
... category 0..0
... code 1..1CodeableConceptIdentification of the procedure
.... Slices for coding 1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... system 1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
..... coding:level3 S0..1CodingCode defined by a terminology system
...... system 1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system
... subject 1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... encounter 0..0
... performed[x] 1..1dateTime[DK] leveretIndsatsStart
... recorder 0..0
... asserter 0..0
... performer 0..0
... location 0..0
... reasonCode 0..0
... reasonReference S0..*Reference(CareCondition) {b}The justification that the procedure was performed
... bodySite 0..0
... outcome 0..0
... report 0..0
... complication 0..0
... complicationDetail 0..0
... followUp 0..0
... note 0..0
... focalDevice 0..0
... usedReference 0..0
... usedCode 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Procedure.code.coding:level2requiredFSIIICareInterventions
NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
Binding: EventStatus (required): A code specifying the state of the procedure.

.... Slices for coding Σ1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 Σ1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
..... coding:level3 SΣ0..1CodingCode defined by a terminology system
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... code Σ1..1codeSymbol in syntax defined by the system
...... display Σ1..1stringRepresentation defined by the system
... subject Σ1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... performed[x] Σ1..1dateTime[DK] leveretIndsatsStart
... reasonReference SΣ0..*Reference(CareCondition) {b}The justification that the procedure was performed

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Procedure.statusrequiredEventStatus
Procedure.codeexampleProcedureCodes(SNOMEDCT)
Procedure.code.coding:level2requiredFSIIICareInterventions

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProcedureIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProcedureIf 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-4errorProcedureIf 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-5errorProcedureIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProcedureA 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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... 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
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
Binding: EventStatus (required): A code specifying the state of the procedure.

... code Σ1..1CodeableConceptIdentification of the procedure
Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure .

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 Σ1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:level3 SΣ0..1CodingCode defined by a terminology system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ1..1codeSymbol in syntax defined by the system
...... display Σ1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... performed[x] Σ1..1dateTime[DK] leveretIndsatsStart
... reasonReference SΣ0..*Reference(CareCondition) {b}The justification that the procedure was performed

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Procedure.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Procedure.statusrequiredEventStatus
Procedure.codeexampleProcedureCodes(SNOMEDCT)
Procedure.code.coding:level2requiredFSIIICareInterventions
Procedure.performer.functionexampleProcedurePerformerRoleCodes
Procedure.focalDevice.actionpreferredProcedureDeviceActionCodes

Constraints

IdGradePath(s)DetailsRequirements
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()

This structure is derived from Procedure

Summary

Mandatory: 5 elements (3 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 23 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Procedure.code.coding is sliced based on the value of value:system (Closed)

Differential View

This structure is derived from Procedure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... identifier 0..0
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... partOf 0..0
... status 1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
... statusReason 0..0
... category 0..0
... code 1..1CodeableConceptIdentification of the procedure
.... Slices for coding 1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... system 1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
..... coding:level3 S0..1CodingCode defined by a terminology system
...... system 1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system
... subject 1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... encounter 0..0
... performed[x] 1..1dateTime[DK] leveretIndsatsStart
... recorder 0..0
... asserter 0..0
... performer 0..0
... location 0..0
... reasonCode 0..0
... reasonReference S0..*Reference(CareCondition) {b}The justification that the procedure was performed
... bodySite 0..0
... outcome 0..0
... report 0..0
... complication 0..0
... complicationDetail 0..0
... followUp 0..0
... note 0..0
... focalDevice 0..0
... usedReference 0..0
... usedCode 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Procedure.code.coding:level2requiredFSIIICareInterventions

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
Binding: EventStatus (required): A code specifying the state of the procedure.

.... Slices for coding Σ1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 Σ1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
..... coding:level3 SΣ0..1CodingCode defined by a terminology system
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... code Σ1..1codeSymbol in syntax defined by the system
...... display Σ1..1stringRepresentation defined by the system
... subject Σ1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... performed[x] Σ1..1dateTime[DK] leveretIndsatsStart
... reasonReference SΣ0..*Reference(CareCondition) {b}The justification that the procedure was performed

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Procedure.statusrequiredEventStatus
Procedure.codeexampleProcedureCodes(SNOMEDCT)
Procedure.code.coding:level2requiredFSIIICareInterventions

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorProcedureIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorProcedureIf 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-4errorProcedureIf 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-5errorProcedureIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceProcedureA 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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Procedure 0..*ProcedureAn action that is being or was performed on a patient
... 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
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1code[DK] leveretIndsatsstatus (completed | entered-in-error)
Binding: EventStatus (required): A code specifying the state of the procedure.

... code Σ1..1CodeableConceptIdentification of the procedure
Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure .

.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*Coding[DK] leveretIndsatsKode
Slice: Unordered, Closed by value:system
..... coding:level2 Σ1..1CodingCode defined by a terminology system
Binding: FSIIICareInterventions (required)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ0..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:level3 SΣ0..1CodingCode defined by a terminology system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Required Pattern: http://gateway.kl.dk/1.0/CodeSystem/LocallyDefinedInterventions
...... version Σ0..1stringVersion of the system - if relevant
...... code Σ1..1codeSymbol in syntax defined by the system
...... display Σ1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... subject Σ1..1Reference(CareCitizen) {b}[DK] leveretIndsatsSubjekt
... performed[x] Σ1..1dateTime[DK] leveretIndsatsStart
... reasonReference SΣ0..*Reference(CareCondition) {b}The justification that the procedure was performed

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Procedure.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Procedure.statusrequiredEventStatus
Procedure.codeexampleProcedureCodes(SNOMEDCT)
Procedure.code.coding:level2requiredFSIIICareInterventions
Procedure.performer.functionexampleProcedurePerformerRoleCodes
Procedure.focalDevice.actionpreferredProcedureDeviceActionCodes

Constraints

IdGradePath(s)DetailsRequirements
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()

This structure is derived from Procedure

Summary

Mandatory: 5 elements (3 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 23 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Procedure.code.coding is sliced based on the value of value:system (Closed)

 

Other representations of profile: CSV, Excel, Schematron