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-bokningsrum | Version: 0.22.0 | |||
| Draft as of 2026-11-18 | Computable Name: AiideraBokningsrum | |||
Ett rum eller ett fordon som en bokning tar, med identifierare i resursrymden och slaget i physicalType. Rummet bär inget om personen det är personligt för eller om utrustningen i det: personresursen pekar på rummet, och utrustningen gör det. Härledd ur location-eu-core.
Ett annat system ser vilka rum och fordon som går att boka utan Aiideras beskrivning. Vems rummet är och vad som sitter i det står på personresursen och på utrustningen, där R4 har plats för det.
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: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. |
![]() ![]() ![]() ![]() |
?!Σ | 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 Obligatoriskt mönster: https://id.aiidera.se/resurs |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Bindning: LocationStatus (required): Indicates whether the location is still in use. |
![]() ![]() |
Σ | 1..1 | string | Location name |
![]() ![]() |
Σ | 1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.identifier:resurs.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR-std. |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | 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 | Location | 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 | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | bästa praxis | Location | 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()
|
This structure is derived from LocationEuCore
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |
![]() ![]() |
1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system | |
![]() ![]() ![]() |
1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Obligatoriskt mönster: https://id.aiidera.se/resurs | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | string | Location name | |
![]() ![]() |
1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) | |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |||||
![]() ![]() |
Σ | 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. | ||||
![]() ![]() ![]() ![]() |
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 Obligatoriskt mönster: https://id.aiidera.se/resurs | ||||
![]() ![]() ![]() ![]() |
Σ | 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..1 | code | active | suspended | inactive Bindning: LocationStatus (required): Indicates whether the location is still in use. | ||||
![]() ![]() |
Σ | 0..1 | Coding | The operational status of the location (typically only for a bed/room) Bindning: hl7VS-bedStatus (preferred): The operational status if the location (where typically a bed/room). | ||||
![]() ![]() |
Σ | 1..1 | string | Location name | ||||
![]() ![]() |
0..* | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]() |
Σ | 0..1 | string | Description of the location | ||||
![]() ![]() |
Σ | 0..1 | code | instance | kind Bindning: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type of function performed Bindning: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location. | ||||
![]() ![]() |
0..* | ContactPoint | Location telecom | |||||
![]() ![]() |
0..1 | AddressEu | Physical location | |||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) | ||||
![]() ![]() |
0..1 | BackboneElement | The absolute geographic location | |||||
![]() ![]() ![]() |
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 | decimal | Longitude with WGS84 datum | |||||
![]() ![]() ![]() |
1..1 | decimal | Latitude with WGS84 datum | |||||
![]() ![]() ![]() |
0..1 | decimal | Altitude with WGS84 datum | |||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Managing organization | ||||
![]() ![]() |
0..1 | Reference(Location) | Location this one is physically a part of | |||||
![]() ![]() |
0..* | BackboneElement | What days/times during a week is this location usually open | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Bindning: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | The Location is open all day | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location opens | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location closes | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the location | |||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Location.identifier:resurs.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Location.identifier:resurs.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR-std. |
| Location.operationalStatus | Base | preferred | hl7VS-bedStatus | 📦3.0.0 | THO v7.5 |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR-std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.5 |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
| Location.hoursOfOperation.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | 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 | Location | 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 | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | bästa praxis | Location | 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()
|
This structure is derived from LocationEuCore
Sammanfattning
Obligatorisk: 6 elements
Skivor
Denna struktur definierar följande skivor:
Key Elements View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. |
![]() ![]() ![]() ![]() |
?!Σ | 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 Obligatoriskt mönster: https://id.aiidera.se/resurs |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Bindning: LocationStatus (required): Indicates whether the location is still in use. |
![]() ![]() |
Σ | 1..1 | string | Location name |
![]() ![]() |
Σ | 1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.identifier:resurs.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR-std. |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | 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 | Location | 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 | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | bästa praxis | Location | 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()
|
Differential View
This structure is derived from LocationEuCore
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |
![]() ![]() |
1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system | |
![]() ![]() ![]() |
1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Obligatoriskt mönster: https://id.aiidera.se/resurs | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | string | Location name | |
![]() ![]() |
1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) | |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
Snapshot View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | LocationEuCore | Details and position information for a physical place | |||||
![]() ![]() |
Σ | 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..* | Identifier | Location identifier Skiva: Oordnad, Öppen av value:system | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Rummets eller fordonets identifierare i resursrymden, satt av administrationen. | ||||
![]() ![]() ![]() ![]() |
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 Obligatoriskt mönster: https://id.aiidera.se/resurs | ||||
![]() ![]() ![]() ![]() |
Σ | 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..1 | code | active | suspended | inactive Bindning: LocationStatus (required): Indicates whether the location is still in use. | ||||
![]() ![]() |
Σ | 0..1 | Coding | The operational status of the location (typically only for a bed/room) Bindning: hl7VS-bedStatus (preferred): The operational status if the location (where typically a bed/room). | ||||
![]() ![]() |
Σ | 1..1 | string | Location name | ||||
![]() ![]() |
0..* | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]() |
Σ | 0..1 | string | Description of the location | ||||
![]() ![]() |
Σ | 0..1 | code | instance | kind Bindning: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type of function performed Bindning: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location. | ||||
![]() ![]() |
0..* | ContactPoint | Location telecom | |||||
![]() ![]() |
0..1 | AddressEu | Physical location | |||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | ro för ett rum, ve för ett fordon. Bindning: Bokningsrummets slag (required) | ||||
![]() ![]() |
0..1 | BackboneElement | The absolute geographic location | |||||
![]() ![]() ![]() |
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 | decimal | Longitude with WGS84 datum | |||||
![]() ![]() ![]() |
1..1 | decimal | Latitude with WGS84 datum | |||||
![]() ![]() ![]() |
0..1 | decimal | Altitude with WGS84 datum | |||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Managing organization | ||||
![]() ![]() |
0..1 | Reference(Location) | Location this one is physically a part of | |||||
![]() ![]() |
0..* | BackboneElement | What days/times during a week is this location usually open | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Bindning: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | The Location is open all day | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location opens | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location closes | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the location | |||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Location.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Location.identifier:resurs.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Location.identifier:resurs.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR-std. |
| Location.operationalStatus | Base | preferred | hl7VS-bedStatus | 📦3.0.0 | THO v7.5 |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR-std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.5 |
| Location.physicalType | Base | required | Bokningsrummets slag | 📦0.22.0 | Denna IG |
| Location.hoursOfOperation.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | 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 | Location | 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 | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | bästa praxis | Location | 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()
|
This structure is derived from LocationEuCore
Sammanfattning
Obligatorisk: 6 elements
Skivor
Denna struktur definierar följande skivor:
Other representations of profile: CSV, Excel, Schematron