1.2.0 - release
This page is part of the KL Gateway (v1.2.0: 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/gateway/StructureDefinition/klgateway-care-citizens-own-observation | Version: 1.2.0 | |||
Active as of 2024-10-31 | Computable Name: KLGatewayCareCitizensOwnObservation |
Measurements and simple assertions made about a patient by the patient.
CitizensOwnObservation is used to document, performance level (udførelse) or importance level (betydning) as defined by FSIII. Note that each of the observations require its own instance of this model. The observation only makes sense linked to an already defined Condition or MatterOfInterest. Consequently, the focus-attribute is mandatory.
The code-attribute refers to either performance level or importance level using a required ValueSet, and the result is expressed in valueCodeableConcept, which is also bound to a required FSIII valueSet. Observation and value codes should be correctly matched, so that a performance-result is not used with a importance observation-code.
Notice that the status-attribute is mandatory. For normal use, just set to "final". If data is missing or another problem has occured, follow the FHIR guidance to populate the field correctly.
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 specificerer, hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet.
FKI-attribut | Definition | FHIR |
---|---|---|
borgervurderingskode | Klasse som udtrykker, at der observeres på borgers evne til at udføre funktion eller aktivitet. | Observation.code.coding |
borgervurderingsresultat | Klasse, der udtrykker resultatet af borgers vurdering. | Observation.valueCodeableConcept.coding |
borgervurderingssubjekt | Den borger, som er genstand for vurdering. | Observation.subject |
borgervurderingsfokus | Tilstand eller matter of interest, som denne borgervurdering er direkte observation på. | Observation.focus |
borgervurderingstid | Tidspunkt for borgervurderingen. | Observation.effectiveDateTime |
borgervurderingsstatus | Klasse der udtrykker, hvor i sin proces, borgervurderingen er. | Observation.status |
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest |
identifier | 0..0 | |||
basedOn | 0..0 | |||
partOf | 0..0 | |||
status | 1..1 | code | [DK] borgervurderingsstatus | |
category | 0..0 | |||
code | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (required) | |
coding | 0..* | Coding | [DK] borgervurderingskode | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
subject | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt | |
focus | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus | |
encounter | 0..0 | |||
effective[x] | 1..1 | dateTime | [DK] borgervurderingstid | |
issued | 0..0 | |||
performer | 0..0 | |||
value[x] | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (required) | |
coding | 0..* | Coding | [DK] borgervurderingsresultat | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
dataAbsentReason | 0..0 | |||
interpretation | 0..0 | |||
note | 0..0 | |||
bodySite | 0..0 | |||
method | 0..0 | |||
specimen | 0..0 | |||
device | 0..0 | |||
referenceRange | 0..0 | |||
hasMember | 0..0 | |||
derivedFrom | 0..0 | |||
component | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | |
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII |
Id | Grade | Path(s) | Details | Requirements |
klgateway-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest |
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] borgervurderingsstatus Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | Σ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (required) |
coding | Σ | 0..* | Coding | [DK] borgervurderingskode |
subject | Σ | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt |
focus | Σ | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus |
effective[x] | Σ | 1..1 | dateTime | [DK] borgervurderingstid |
value[x] | ΣC | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (required) |
coding | Σ | 0..* | Coding | [DK] borgervurderingsresultat |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | |
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII | |
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Observation | 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-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') | |
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present : value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest | ||||
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] borgervurderingsstatus Binding: ObservationStatus (required): Codes providing the status of an observation. | ||||
code | Σ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (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 | |||||
coding | Σ | 0..* | Coding | [DK] borgervurderingskode | ||||
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 | Σ | 0..1 | uri | Identity of the terminology system | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
subject | Σ | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt | ||||
focus | Σ | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus | ||||
effective[x] | Σ | 1..1 | dateTime | [DK] borgervurderingstid | ||||
value[x] | ΣC | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (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 | |||||
coding | Σ | 0..* | Coding | [DK] borgervurderingsresultat | ||||
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 | Σ | 0..1 | uri | Identity of the terminology system | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Observation.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | ||||
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII | ||||
Observation.referenceRange.type | preferred | ObservationReferenceRangeMeaningCodeshttp://hl7.org/fhir/ValueSet/referencerange-meaning from the FHIR Standard | ||||
Observation.referenceRange.appliesTo | example | ObservationReferenceRangeAppliesToCodeshttp://hl7.org/fhir/ValueSet/referencerange-appliesto from the FHIR Standard | ||||
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard | ||||
Observation.component.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.component.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Observation | 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-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') | |
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present : value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty() |
This structure is derived from Observation
Differential View
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest |
identifier | 0..0 | |||
basedOn | 0..0 | |||
partOf | 0..0 | |||
status | 1..1 | code | [DK] borgervurderingsstatus | |
category | 0..0 | |||
code | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (required) | |
coding | 0..* | Coding | [DK] borgervurderingskode | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
subject | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt | |
focus | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus | |
encounter | 0..0 | |||
effective[x] | 1..1 | dateTime | [DK] borgervurderingstid | |
issued | 0..0 | |||
performer | 0..0 | |||
value[x] | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (required) | |
coding | 0..* | Coding | [DK] borgervurderingsresultat | |
version | 0..0 | |||
display | 0..0 | |||
userSelected | 0..0 | |||
text | 0..0 | |||
dataAbsentReason | 0..0 | |||
interpretation | 0..0 | |||
note | 0..0 | |||
bodySite | 0..0 | |||
method | 0..0 | |||
specimen | 0..0 | |||
device | 0..0 | |||
referenceRange | 0..0 | |||
hasMember | 0..0 | |||
derivedFrom | 0..0 | |||
component | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | |
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII |
Id | Grade | Path(s) | Details | Requirements |
klgateway-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest |
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] borgervurderingsstatus Binding: ObservationStatus (required): Codes providing the status of an observation. |
code | Σ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (required) |
coding | Σ | 0..* | Coding | [DK] borgervurderingskode |
subject | Σ | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt |
focus | Σ | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus |
effective[x] | Σ | 1..1 | dateTime | [DK] borgervurderingstid |
value[x] | ΣC | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (required) |
coding | Σ | 0..* | Coding | [DK] borgervurderingsresultat |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | |
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | |
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII | |
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Observation | 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-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') | |
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present : value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Observation | C | 0..* | Observation | Measurements and simple assertions obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present klgateway-citizen-observation-code-and-value-must-match: The value of the observation shall be member of the valueset matching the code of the observation klgateway-focus-must-be-home-care-condition-or-area: The focus shall be a home care condition or a home care matter of interest | ||||
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] borgervurderingsstatus Binding: ObservationStatus (required): Codes providing the status of an observation. | ||||
code | Σ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: KLBorgervurderingsObservationskoderFSIII (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 | |||||
coding | Σ | 0..* | Coding | [DK] borgervurderingskode | ||||
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 | Σ | 0..1 | uri | Identity of the terminology system | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
subject | Σ | 0..1 | Reference(CareCitizen) {b} | [DK] borgervurderingssubjekt | ||||
focus | Σ | 1..1 | Reference(CareCondition | CareMatterOfInterestObservation) {b} | [DK] borgervurderingsfokus | ||||
effective[x] | Σ | 1..1 | dateTime | [DK] borgervurderingstid | ||||
value[x] | ΣC | 1..1 | CodeableConcept | Actual result Binding: KLBorgervurderingsResultatkoderFSIII (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 | |||||
coding | Σ | 0..* | Coding | [DK] borgervurderingsresultat | ||||
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 | Σ | 0..1 | uri | Identity of the terminology system | ||||
code | Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Observation.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Observation.status | required | ObservationStatushttp://hl7.org/fhir/ValueSet/observation-status|4.0.1 from the FHIR Standard | ||||
Observation.code | required | KLCitizenObservationCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationCodesFSIII | ||||
Observation.value[x] | required | KLCitizenObservationResultCodesFSIIIhttp://fhir.kl.dk/term/ValueSet/KLCitizenObservationResultCodesFSIII | ||||
Observation.referenceRange.type | preferred | ObservationReferenceRangeMeaningCodeshttp://hl7.org/fhir/ValueSet/referencerange-meaning from the FHIR Standard | ||||
Observation.referenceRange.appliesTo | example | ObservationReferenceRangeAppliesToCodeshttp://hl7.org/fhir/ValueSet/referencerange-appliesto from the FHIR Standard | ||||
Observation.component.code | example | LOINCCodes (a valid code from LOINC)http://hl7.org/fhir/ValueSet/observation-codes from the FHIR Standard | ||||
Observation.component.dataAbsentReason | extensible | DataAbsentReasonhttp://hl7.org/fhir/ValueSet/data-absent-reason from the FHIR Standard | ||||
Observation.component.interpretation | extensible | ObservationInterpretationCodeshttp://hl7.org/fhir/ValueSet/observation-interpretation from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Observation | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Observation | 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 | Observation | 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 | Observation | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Observation | 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-citizen-observation-code-and-value-must-match | error | Observation | The value of the observation shall be member of the valueset matching the code of the observation : ((code.coding.code = 'C') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLPerformanceLevelCodesFSIII'))) or ((code.coding.code = 'D') and ((value.ofType(CodeableConcept)).memberOf('http://fhir.kl.dk/term/ValueSet/KLImportanceLevelCodesFSIII'))) | |
klgateway-focus-must-be-home-care-condition-or-area | error | Observation | The focus shall be a home care condition or a home care matter of interest : focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLConditionCodesHomeCare') or focus.resolve().code.coding.memberOf('http://fhir.kl.dk/term/ValueSet/KLHomeCareAreasFSIII') | |
obs-6 | error | Observation | dataAbsentReason SHALL only be present if Observation.value[x] is not present : dataAbsentReason.empty() or value.empty() | |
obs-7 | error | Observation | If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present : value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty() |
This structure is derived from Observation
Other representations of profile: CSV, Excel, Schematron