Aiidera FHIR-definitioner
0.22.0 - Draft
Aiidera FHIR-definitioner 0.22.0, utkast. Utgiven av Aiidera på fhir.aiidera.se. Varje publicerad utgåva ligger kvar under sin version, som fhir.aiidera.se/0.22.0.
| Official URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin | Version: 0.22.0 | |||
| Draft as of 2026-11-18 | Computable Name: AiideraSarskildVardrutin | |||
Information eller ett beslut som kan leda till särskild vårdrutin, ur Socialstyrelsens informationsspecifikation för uppmärksamhetsinformation 6.1.2: koden ur undergruppens urval, bifallet eller förekomsten i valueBoolean, tidpunkten i effectivePeriod.start och upphävandet i end, beskrivningen i note och den beslutande i performer. Ett läkarbeslut om att inte utföra hjärt-lungräddning eller om att avsluta livsuppehållande behandling har en omprövningsdag, som aldrig släcker beslutet. Markeringen aiidera-umi pekar hit med flag-detail.
Den kliniska uppgiften ska stå i en resurs som en anteckning, en vårdplan och markeringen kan peka på, och som kan avslutas utan att markeringen bär beslutet.
Användningar:
Du kan också kontrollera användningar i FHIR IG-statistiken
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: obs-6, obs-7, aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | final; entered-in-error när handlingen makulerats Bindning: ObservationStatus (required): Codes providing the status of an observation. |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) |
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Snomed CT, ur undergruppens urval |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
Σ | 1..1 | string | Texten som visas för uppgiften |
![]() ![]() |
SΣ | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about |
![]() ![]() |
SΣ | 1..1 | Period | Clinically relevant time/time-period for observation |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig |
![]() ![]() |
SΣ | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare |
![]() ![]() |
SΣC | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna |
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning |
![]() ![]() |
SΣ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.identifier:handling.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR-std. |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
| 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 | bästa praxis | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| 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
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status |
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
S | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | code | final; entered-in-error när handlingen makulerats |
![]() ![]() |
S | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) |
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Snomed CT, ur undergruppens urval |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
1..1 | string | Texten som visas för uppgiften | |
![]() ![]() |
S | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about |
![]() ![]() |
S | 1..1 | Period | Clinically relevant time/time-period for observation |
![]() ![]() ![]() |
1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades | |
![]() ![]() ![]() |
0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig | |
![]() ![]() |
S | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare |
![]() ![]() |
S | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna |
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning |
![]() ![]() |
S | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: obs-6, obs-7, aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Bindning: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Bindning: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | ||||
![]() ![]() |
?!SΣ | 1..1 | code | final; entered-in-error när handlingen makulerats Bindning: ObservationStatus (required): Codes providing the status of an observation. | ||||
![]() ![]() |
0..* | CodeableConcept | Classification of type of observation Bindning: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Snomed CT, ur undergruppens urval | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Texten som visas för uppgiften | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made | ||||
![]() ![]() |
SΣ | 1..1 | Period | Clinically relevant time/time-period for observation | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig | ||||
![]() ![]() |
Σ | 0..1 | instant | Date/Time this version was made available | ||||
![]() ![]() |
SΣ | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare | ||||
![]() ![]() |
SΣC | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why the result is missing Bindning: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Bindning: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning | ||||
![]() ![]() |
0..1 | CodeableConcept | Observed body part Bindning: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
![]() ![]() |
0..1 | CodeableConcept | How it was done Bindning: ObservationMethods (example): Methods for simple observations. | |||||
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for this observation | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |||||
![]() ![]() |
C | 0..* | BackboneElement | Provides guide for interpretation Constraints: obs-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | Low Range, if relevant | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | High Range, if relevant | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Bindning: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Bindning: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||
![]() ![]() ![]() |
0..1 | string | Text based reference range in an observation | |||||
![]() ![]() |
Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | ||||
![]() ![]() |
SΣ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Component results | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Bindning: LOINCCodes (example): Codes identifying names of simple observations. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual component result | |||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the component result is missing Bindning: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Bindning: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() ![]() |
0..* | Se referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Observation.identifier:handling.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Observation.identifier:handling.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR-std. |
| Observation.category | Base | preferred | Observation Category Codes | 📍4.0.1 | FHIR-std. |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📍4.0.1 | FHIR-std. |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📍4.0.1 | FHIR-std. |
| Observation.bodySite | Base | example | SNOMED CT Body Structures | 📍4.0.1 | FHIR-std. |
| Observation.method | Base | example | Observation Methods | 📍4.0.1 | FHIR-std. |
| Observation.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍4.0.1 | FHIR-std. |
| Observation.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍4.0.1 | FHIR-std. |
| Observation.component.code | Base | example | LOINC Codes | 📍4.0.1 | FHIR-std. |
| Observation.component.dataAbsentReason | Base | extensible | DataAbsentReason | 📍4.0.1 | FHIR-std. |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
| 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 | bästa praxis | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| 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
Sammanfattning
Obligatorisk: 10 elements(3 nästlade obligatoriska elements)
Måste stödjas: 12 elements
Fast: 1 element
Strukturer
Denna struktur refererar till dessa andra strukturer:
Extensions
Denna struktur refererar till dessa extensions:
Skivor
Denna struktur definierar följande skivor:
Key Elements View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: obs-6, obs-7, aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | final; entered-in-error när handlingen makulerats Bindning: ObservationStatus (required): Codes providing the status of an observation. |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) |
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Snomed CT, ur undergruppens urval |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Version of the system - if relevant |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() |
Σ | 1..1 | string | Texten som visas för uppgiften |
![]() ![]() |
SΣ | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about |
![]() ![]() |
SΣ | 1..1 | Period | Clinically relevant time/time-period for observation |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig |
![]() ![]() |
SΣ | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare |
![]() ![]() |
SΣC | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna |
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning |
![]() ![]() |
SΣ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.identifier:handling.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR-std. |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
| 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 | bästa praxis | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| 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()
|
Differential View
This structure is derived from Observation
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status |
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning |
![]() ![]() |
S | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
S | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | code | final; entered-in-error när handlingen makulerats |
![]() ![]() |
S | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) |
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Snomed CT, ur undergruppens urval |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
1..1 | string | Texten som visas för uppgiften | |
![]() ![]() |
S | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about |
![]() ![]() |
S | 1..1 | Period | Clinically relevant time/time-period for observation |
![]() ![]() ![]() |
1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades | |
![]() ![]() ![]() |
0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig | |
![]() ![]() |
S | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare |
![]() ![]() |
S | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna |
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning |
![]() ![]() |
S | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
Snapshot View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Observation | Measurements and simple assertions Constraints: obs-6, obs-7, aiidera-sarskild-vardrutin-omprovning, aiidera-sarskild-vardrutin-status | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Bindning: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
S | 0..1 | date | Omprövningsdag URL: https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Business Identifier for observation Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Den signerade handlingen, i dokumentrymden | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Bindning: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fast värde: https://id.aiidera.se/document | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event | ||||
![]() ![]() |
?!SΣ | 1..1 | code | final; entered-in-error när handlingen makulerats Bindning: ObservationStatus (required): Codes providing the status of an observation. | ||||
![]() ![]() |
0..* | CodeableConcept | Classification of type of observation Bindning: ObservationCategoryCodes (preferred): Codes for high level observation categories. | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Type of observation (code / type) Bindning: Särskild vårdrutin (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Snomed CT, ur undergruppens urval | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Obligatoriskt mönster: http://snomed.info/sct | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Texten som visas för uppgiften | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient (EU core)) | Who and/or what the observation is about | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made | ||||
![]() ![]() |
SΣ | 1..1 | Period | Clinically relevant time/time-period for observation | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | När beslutet fattades, eller när informationen dokumenterades | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | När beslutet upphävdes. Omprövningsdagen sätter det aldrig | ||||
![]() ![]() |
Σ | 0..1 | instant | Date/Time this version was made available | ||||
![]() ![]() |
SΣ | 1..* | Reference(Practitioner | PractitionerRole) | Den som beslutade; för ett beslut en läkare | ||||
![]() ![]() |
SΣC | 1..1 | boolean | Bifallet för ett beslut, förekomsten för information. Sant för de nya koderna | ||||
![]() ![]() |
C | 0..1 | CodeableConcept | Why the result is missing Bindning: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Bindning: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() |
S | 0..1 | Annotation | Specifikationens beskrivning | ||||
![]() ![]() |
0..1 | CodeableConcept | Observed body part Bindning: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality. | |||||
![]() ![]() |
0..1 | CodeableConcept | How it was done Bindning: ObservationMethods (example): Methods for simple observations. | |||||
![]() ![]() |
0..1 | Reference(Specimen) | Specimen used for this observation | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric) | (Measurement) Device | |||||
![]() ![]() |
C | 0..* | BackboneElement | Provides guide for interpretation Constraints: obs-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | Low Range, if relevant | ||||
![]() ![]() ![]() |
C | 0..1 | SimpleQuantity(4.0.1) | High Range, if relevant | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference range qualifier Bindning: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reference range population Bindning: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to. | |||||
![]() ![]() ![]() |
0..1 | Range | Applicable age range, if relevant | |||||
![]() ![]() ![]() |
0..1 | string | Text based reference range in an observation | |||||
![]() ![]() |
Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group | ||||
![]() ![]() |
SΣ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Component results | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Bindning: LOINCCodes (example): Codes identifying names of simple observations. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual component result | |||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
C | 0..1 | CodeableConcept | Why the component result is missing Bindning: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing. | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | High, low, normal, etc. Bindning: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations. | |||||
![]() ![]() ![]() |
0..* | Se referenceRange (Observation) | Provides guide for interpretation of component result | |||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Observation.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Observation.identifier:handling.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Observation.identifier:handling.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Observation.status | Base | required | ObservationStatus | 📍4.0.1 | FHIR-std. |
| Observation.category | Base | preferred | Observation Category Codes | 📍4.0.1 | FHIR-std. |
| Observation.code | Base | extensible | Särskild vårdrutin | 📦0.22.0 | Denna IG |
| Observation.dataAbsentReason | Base | extensible | DataAbsentReason | 📍4.0.1 | FHIR-std. |
| Observation.interpretation | Base | extensible | Observation Interpretation Codes | 📍4.0.1 | FHIR-std. |
| Observation.bodySite | Base | example | SNOMED CT Body Structures | 📍4.0.1 | FHIR-std. |
| Observation.method | Base | example | Observation Methods | 📍4.0.1 | FHIR-std. |
| Observation.referenceRange.type | Base | preferred | Observation Reference Range Meaning Codes | 📍4.0.1 | FHIR-std. |
| Observation.referenceRange.appliesTo | Base | example | Observation Reference Range Applies To Codes | 📍4.0.1 | FHIR-std. |
| Observation.component.code | Base | example | LOINC Codes | 📍4.0.1 | FHIR-std. |
| Observation.component.dataAbsentReason | Base | extensible | DataAbsentReason | 📍4.0.1 | FHIR-std. |
| Observation.component.interpretation | Base | extensible | Observation Interpretation Codes | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-sarskild-vardrutin-omprovning | error | Observation | Ett läkarbeslut om att inte utföra hjärt-lungräddning (61921000052102) eller om att avsluta livsuppehållande behandling (61931000052100) har en omprövningsdag, och ingen annan kod har det. |
code.coding.where(system = 'http://snomed.info/sct' and (code = '61921000052102' or code = '61931000052100')).exists() = extension.where(url = 'https://fhir.aiidera.se/StructureDefinition/aiidera-sarskild-vardrutin-omprovning').exists()
|
| aiidera-sarskild-vardrutin-status | error | Observation | Uppgiften är final, eller entered-in-error när handlingen makulerats. |
status = 'final' or status = 'entered-in-error'
|
| 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 | bästa praxis | Observation | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| obs-3 | error | Observation.referenceRange | Must have at least a low or a high or text |
low.exists() or high.exists() or text.exists()
|
| 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
Sammanfattning
Obligatorisk: 10 elements(3 nästlade obligatoriska elements)
Måste stödjas: 12 elements
Fast: 1 element
Strukturer
Denna struktur refererar till dessa andra strukturer:
Extensions
Denna struktur refererar till dessa extensions:
Skivor
Denna struktur definierar följande skivor:
Other representations of profile: CSV, Excel, Schematron