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
| Official URL: https://fhir.cambio.se/StructureDefinition/BasicUnitBedSituationSe/v1 | Version: 1.0.0 | |||
| Active as of 2024-02-29 | Computable Name: BasicUnitBedSituationSe | |||
BasicUnitBedSituationSe is created from the Basic resource in FHIR R4 edition.
For the given unit, return bed overview information. The information can be used to find current and near future prognosis of the bed situation for the requested unit, used to overview the bed situation, finding free beds for patients who needs to be admitted, in cases of overcrowding act on changes in planned inflow or outflow from one or many units, etc.
| Type | Description | 
|---|---|
| Rule | The intended users of this API are healthcare professionals. | 
| COS version | Profile version | Required COSMIC version | Date | Description | 
|---|---|---|---|---|
| 3.0.0 | 1.0.0 | R8.3.05 | Nov 2021 | Initial version, Support for GET and search. | 
| Extension | Data type Description | |
|---|---|---|
| AvailableBedsPeriod | complex | Total number of available beds at a unit at any given point of time | 
| NumberOfPatients | integer | The number of patients currently at the care unit | 
| FreeBeds | integer | The current number of free beds at the care unit | 
| Prognosis | complex | A prognosis of free beds for a specified time into the future | 
| ReadyForDischarge | integer | The number of patients ready to be discharged | 
| ProbableDischarge | integer | The number of patients whom are currently likely to be discharged from the care unit | 
| AtTechnicalUnit | complex | The number of patients, currently at each technical unit | 
| Absences | complex | Statistics of the patients who are absent | 
| AdmittedOutliers | complex | Number of patients placed on ward that is not the serving unit of the medical responsible unit of the patient | 
| Transferable | complex | Statistics of the transferable patients | 
| BedSituationComment | complex | Latest created comment describing the current bed situation at the care unit | 
| ContagionComment | complex | Latest created comment to raise awareness regarding any known contagions at the unit | 
| HTTP Method | Description | 
|---|---|
| GET | search for current and near future prognosis of the bed situation for a specified unit | 
| 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/BasicUnitBedSituationSe/v1) | 
GET /Basic/_search?subject={}&_profile={}| 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Conformance | ValueSet / Code | URI | 
| Basic.code | example | BasicResourceTypeshttp://hl7.org/fhir/ValueSet/basic-resource-typeFrom the FHIR Standard  | |
| Basic.subject.type | extensible | Fixed Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | Basic | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | 
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | Basic | Resource for non-supported content | |||||
![]() ![]()  | 
Σ | 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 Binding: 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 Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-availableBeds/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-numberOfPatients/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-freeBeds/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-prognosis/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-readyForDischarge/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-probableDischarge/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-atTechnicalUnit/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-absences/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-outliers/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-transferable/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-bedSituationComment/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-contagionComment/v1  | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | string | Plain text representation of the concept Fixed Value: UnitBedSituation  | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(Organization) | Identifies the focus of this resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 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  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 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.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example 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 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 0..1 | date | When created | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Basic.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Basic.code | example | BasicResourceTypeshttp://hl7.org/fhir/ValueSet/basic-resource-typeFrom the FHIR Standard  | ||||
| Basic.subject.type | extensible | Fixed Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Basic.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Basic.subject.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | Basic | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | 
This structure is derived from Basic
Summary
Mandatory: 3 elements(2 nested mandatory elements)
 Fixed: 3 elements
 Prohibited: 2 elements
Extensions
This structure refers to these extensions:
Key Elements View
| Path | Conformance | ValueSet / Code | URI | 
| Basic.code | example | BasicResourceTypeshttp://hl7.org/fhir/ValueSet/basic-resource-typeFrom the FHIR Standard  | |
| Basic.subject.type | extensible | Fixed Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | Basic | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | 
Differential View
This structure is derived from Basic
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | Basic | Resource for non-supported content | |||||
![]() ![]()  | 
Σ | 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 Binding: 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 Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-availableBeds/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-numberOfPatients/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-freeBeds/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-prognosis/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-readyForDischarge/v1  | |||||
![]() ![]() ![]()  | 
0..1 | integer | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-probableDischarge/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-atTechnicalUnit/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-absences/v1  | |||||
![]() ![]() ![]()  | 
0..* | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-outliers/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-transferable/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-bedSituationComment/v1  | |||||
![]() ![]() ![]()  | 
0..1 | (Complex) | Extension URL: https://fhir.cambio.se/StructureDefinition/unitBedSituation-contagionComment/v1  | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | string | Plain text representation of the concept Fixed Value: UnitBedSituation  | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(Organization) | Identifies the focus of this resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 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  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 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.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example 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 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 0..1 | date | When created | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Basic.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Basic.code | example | BasicResourceTypeshttp://hl7.org/fhir/ValueSet/basic-resource-typeFrom the FHIR Standard  | ||||
| Basic.subject.type | extensible | Fixed Value: Organizationhttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Basic.subject.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Basic.subject.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | Basic | 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 | Basic | 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 | Basic | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | Basic | A resource should have narrative for robust management : text.`div`.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists()  | 
This structure is derived from Basic
Summary
Mandatory: 3 elements(2 nested mandatory elements)
 Fixed: 3 elements
 Prohibited: 2 elements
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron