1.0.0 - release

CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: BasicHospitalBedSituationSe

Official URL: https://fhir.cambio.se/StructureDefinition/BasicHospitalBedSituationSe/v1 Version: 1.0.0
Active as of 2024-02-29 Computable Name: BasicHospitalBedSituationSe

Introduction

BasicHospitalBedSituationSe is created from the Basic resource in FHIR R4 edition.

Intended Use

For the given hospital, return bed overview information including the following:

  • Prognosis for responsible units.
  • Emergency situation.
  • Likely admissions.
  • Transfers to other hospitals.

This information can be used to get an overview of the bed situation in a hospital. The intended users of the information provided in this API are healthcare professionals and administrators.

Specific Rules and Limitations

Type Description
Rule N/A

Versions

COS version Profile version Required COSMIC version Date Description
3.0.0 1.0.0 R8.3.05 Oct 2021 Initial version, Support for GET and search.

Extensions

Extension Data type Description  
SpecificPrognosis complex prognosis of number of patients and available beds for a specific date and time
TransferToOtherHospital complex Current number of patients whom are planned to be transferred from one hospital to another hospital
EmergencySituation complex Current number of patients for each responsible unit at emergency units located in the hospital
LikelyAdmission complex Current number of patients whom are likely to be admitted to inpatient care

Supported Operations

HTTP Method Description
GET search for current and near future prognosis of the bed situation for a specified unit

Search Parameters

Parameter Format Comment
subject string Organization reference where the bed situation overview has to be fetched
_profile string Canonical url for specific profile (https://fhir.cambio.se/StructureDefinition/BasicHospitalBedSituationSe/v1)

Supported Queries

  1. GET /Basic/_search?subject={}&_profile={}

Error Codes

Code Description Comment
400 subject is mandatory cause: empty subject
400 Invalid resource type for the parameter cause: not provided a value for _profile

Usages:

  • CapabilityStatements using this Profile: Cambio Open Services
  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... coding Σ 0..1 Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
... subject Σ 1..1 Reference(Organization) Identifies the focus of this resource
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Organization

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.codeexampleBasicResourceTypes
http://hl7.org/fhir/ValueSet/basic-resource-type
From the FHIR Standard
Basic.subject.typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Basic

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... identifier 0..0
... code
.... coding 0..1 Coding Code defined by a terminology system
.... text 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Organization
.... identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value 1..1 string The value that is unique
... author 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... 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
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code ?!Σ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
.... 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..1 Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
... subject Σ 1..1 Reference(Organization) Identifies the focus of this resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Organization
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... created Σ 0..1 date When created

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Basic.codeexampleBasicResourceTypes
http://hl7.org/fhir/ValueSet/basic-resource-type
From the FHIR Standard
Basic.subject.typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
Basic.subject.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Basic.subject.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... coding Σ 0..1 Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
... subject Σ 1..1 Reference(Organization) Identifies the focus of this resource
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Organization

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.codeexampleBasicResourceTypes
http://hl7.org/fhir/ValueSet/basic-resource-type
From the FHIR Standard
Basic.subject.typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Basic

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... identifier 0..0
... code
.... coding 0..1 Coding Code defined by a terminology system
.... text 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Organization
.... identifier
..... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value 1..1 string The value that is unique
... author 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Basic 0..* Basic Resource for non-supported content
... 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
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:specificPrognosis 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-specificPrognosis/v1
.... extension:transferToOtherHospital 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-transferToOtherHospital/v1
.... extension:emergencySituation 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-emergencySituation/v1
.... extension:likelyAdmission 0..* (Complex) Extension
URL: https://fhir.cambio.se/StructureDefinition/hospitalBedSituation-likelyAdmission/v1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code ?!Σ 1..1 CodeableConcept Kind of Resource
Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.
.... 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..1 Coding Code defined by a terminology system
.... text Σ 1..1 string Plain text representation of the concept
Fixed Value: HospitalBedSituation
... subject Σ 1..1 Reference(Organization) Identifies the focus of this resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Organization
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.129.2.1.4.1
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... created Σ 0..1 date When created

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Basic.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Basic.codeexampleBasicResourceTypes
http://hl7.org/fhir/ValueSet/basic-resource-type
From the FHIR Standard
Basic.subject.typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
Basic.subject.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Basic.subject.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorBasicIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorBasicIf 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-4errorBasicIf 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-5errorBasicIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceBasicA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron