1.0.1 - ci-build
KLGatewayMunicipalityCareData - Local Development build (v1.0.1). See the Directory of published versions
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Procedure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Procedure | 0..* | Procedure | An 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..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) | |
statusReason | 0..0 | |||
category | 0..0 | |||
code | 1..1 | CodeableConcept | Identification of the procedure | |
Slices for coding | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system | |
coding:level2 | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (required) | |
system | 1..1 | uri | Identity of the terminology system Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII | |
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 | |
subject | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt | |
encounter | 0..0 | |||
performed[x] | 1..1 | dateTime | [DK] leveretIndsatsStart | |
recorder | 0..0 | |||
asserter | 0..0 | |||
performer | 0..0 | |||
location | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | S | 0..* | 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 | |||
Documentation for this format |
Path | Conformance | ValueSet |
Procedure.code.coding:level2 | required | FSIIICareInterventions |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Procedure | 0..* | Procedure | An action that is being or was performed on a patient | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) Binding: EventStatus (required): A code specifying the state of the procedure. |
code | Σ | 1..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . |
Slices for coding | Σ | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system |
coding:level2 | Σ | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII |
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 |
subject | Σ | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt |
performed[x] | Σ | 1..1 | dateTime | [DK] leveretIndsatsStart |
reasonReference | SΣ | 0..* | Reference(CareCondition) {b} | The justification that the procedure was performed |
Documentation for this format |
Path | Conformance | ValueSet |
Procedure.status | required | EventStatus |
Procedure.code | example | ProcedureCodes(SNOMEDCT) |
Procedure.code.coding:level2 | required | FSIIICareInterventions |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Procedure | 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 | Procedure | 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 | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Procedure | 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() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Procedure | 0..* | Procedure | An action that is being or was performed on a patient | |||||
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 | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) Binding: EventStatus (required): A code specifying the state of the procedure. | ||||
code | Σ | 1..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . | ||||
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 | Σ | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system | ||||
coding:level2 | Σ | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (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: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII | ||||
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 | ||||
subject | Σ | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt | ||||
performed[x] | Σ | 1..1 | dateTime | [DK] leveretIndsatsStart | ||||
reasonReference | SΣ | 0..* | Reference(CareCondition) {b} | The justification that the procedure was performed | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Procedure.language | preferred | CommonLanguages
| ||||
Procedure.status | required | EventStatus | ||||
Procedure.code | example | ProcedureCodes(SNOMEDCT) | ||||
Procedure.code.coding:level2 | required | FSIIICareInterventions | ||||
Procedure.performer.function | example | ProcedurePerformerRoleCodes | ||||
Procedure.focalDevice.action | preferred | ProcedureDeviceActionCodes |
Id | Grade | Path(s) | Details | Requirements |
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() |
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:
Differential View
This structure is derived from Procedure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Procedure | 0..* | Procedure | An 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..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) | |
statusReason | 0..0 | |||
category | 0..0 | |||
code | 1..1 | CodeableConcept | Identification of the procedure | |
Slices for coding | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system | |
coding:level2 | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (required) | |
system | 1..1 | uri | Identity of the terminology system Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII | |
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 | |
subject | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt | |
encounter | 0..0 | |||
performed[x] | 1..1 | dateTime | [DK] leveretIndsatsStart | |
recorder | 0..0 | |||
asserter | 0..0 | |||
performer | 0..0 | |||
location | 0..0 | |||
reasonCode | 0..0 | |||
reasonReference | S | 0..* | 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 | |||
Documentation for this format |
Path | Conformance | ValueSet |
Procedure.code.coding:level2 | required | FSIIICareInterventions |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Procedure | 0..* | Procedure | An action that is being or was performed on a patient | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
status | ?!Σ | 1..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) Binding: EventStatus (required): A code specifying the state of the procedure. |
code | Σ | 1..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . |
Slices for coding | Σ | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system |
coding:level2 | Σ | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (required) |
system | Σ | 1..1 | uri | Identity of the terminology system Required Pattern: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII |
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 |
subject | Σ | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt |
performed[x] | Σ | 1..1 | dateTime | [DK] leveretIndsatsStart |
reasonReference | SΣ | 0..* | Reference(CareCondition) {b} | The justification that the procedure was performed |
Documentation for this format |
Path | Conformance | ValueSet |
Procedure.status | required | EventStatus |
Procedure.code | example | ProcedureCodes(SNOMEDCT) |
Procedure.code.coding:level2 | required | FSIIICareInterventions |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Procedure | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Procedure | 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 | Procedure | 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 | Procedure | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Procedure | 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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Procedure | 0..* | Procedure | An action that is being or was performed on a patient | |||||
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 | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
status | ?!Σ | 1..1 | code | [DK] leveretIndsatsstatus (completed | entered-in-error) Binding: EventStatus (required): A code specifying the state of the procedure. | ||||
code | Σ | 1..1 | CodeableConcept | Identification of the procedure Binding: ProcedureCodes(SNOMEDCT) (example): A code to identify a specific procedure . | ||||
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 | Σ | 1..* | Coding | [DK] leveretIndsatsKode Slice: Unordered, Closed by value:system | ||||
coding:level2 | Σ | 1..1 | Coding | Code defined by a terminology system Binding: FSIIICareInterventions (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: http://kl.dk/fhir/common/caresocial/CodeSystem/FSIII | ||||
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 | ||||
subject | Σ | 1..1 | Reference(CareCitizen) {b} | [DK] leveretIndsatsSubjekt | ||||
performed[x] | Σ | 1..1 | dateTime | [DK] leveretIndsatsStart | ||||
reasonReference | SΣ | 0..* | Reference(CareCondition) {b} | The justification that the procedure was performed | ||||
Documentation for this format |
Path | Conformance | ValueSet | ||||
Procedure.language | preferred | CommonLanguages
| ||||
Procedure.status | required | EventStatus | ||||
Procedure.code | example | ProcedureCodes(SNOMEDCT) | ||||
Procedure.code.coding:level2 | required | FSIIICareInterventions | ||||
Procedure.performer.function | example | ProcedurePerformerRoleCodes | ||||
Procedure.focalDevice.action | preferred | ProcedureDeviceActionCodes |
Id | Grade | Path(s) | Details | Requirements |
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() |
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:
Other representations of profile: CSV, Excel, Schematron