HospCapacityDailyIncomingData Schema

https://covid19.admin.ch#/definitions/HospCapacityDailyIncomingData

Capacity and occupancy of intensive care unit (ICU) and total hospital beds.

The resources needed to operate a hospital bed consist of a bed, space, medical devices, medication and qualified care professionals.

Data treatment hospital capacity:
For the period between March 30th, 2020 and November 9th, 2020, the capacities for ICU beds and total beds have been retroactively adjusted to match the patient numbers if lower capacity than patient numbers had been reported. Over the reported time period, continuous improvement steps have been taken to improve the data quality including automatic data controls when data is entered by hospitals and clinics. After November 9th, no retroactive adjustments have been necessary.
For the entire time period, erroneous entries have been corrected manually in consultation with the hospitals and clinics.
Depending on the prevalence of Covid-19 in Switzerland, hospitals are required to provide data between two times per week and two times per day. If multiple entries per day are reported, only the last entry is used in this dataset. If hospitals did not report data, the last entry is forward propagated to fill missing data points.
The data has been corrected as described above and aggregated on cantonal and national level with effectively reported values (nfp) and propagated values (fp7d).

Given that the reported patient numbers reported by hospitals are more reliable and accurate, the capacity data was retroactively adjusted to ensure a consistent dataset where capacity and patient numbers do not produce implausible results.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none sources.schema.json*

HospCapacityDailyIncomingData Type

object (HospCapacityDailyIncomingData)

HospCapacityDailyIncomingData Properties

Property Type Required Nullable Defined by
ICUPercent_AllPatients number Optional cannot be null COVID-19 Dashboard Source Data
ICUPercent_Capacity number Optional cannot be null COVID-19 Dashboard Source Data
ICUPercent_Covid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
ICUPercent_FreeCapacity number Optional cannot be null COVID-19 Dashboard Source Data
ICUPercent_NonCovid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
ICU_AllPatients number Optional cannot be null COVID-19 Dashboard Source Data
ICU_AllPatients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
ICU_Capacity number Optional cannot be null COVID-19 Dashboard Source Data
ICU_Capacity_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
ICU_Covid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
ICU_Covid19Patients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
ICU_FreeCapacity number Optional cannot be null COVID-19 Dashboard Source Data
ICU_FreeCapacity_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
ICU_NonCovid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
ICU_NonCovid19Patients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
TotalPercent_AllPatients number Optional cannot be null COVID-19 Dashboard Source Data
TotalPercent_Capacity number Optional cannot be null COVID-19 Dashboard Source Data
TotalPercent_Covid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
TotalPercent_FreeCapacity number Optional cannot be null COVID-19 Dashboard Source Data
TotalPercent_NonCovid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
Total_AllPatients number Optional cannot be null COVID-19 Dashboard Source Data
Total_AllPatients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
Total_Capacity number Optional cannot be null COVID-19 Dashboard Source Data
Total_Capacity_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
Total_Covid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
Total_Covid19Patients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
Total_FreeCapacity number Optional cannot be null COVID-19 Dashboard Source Data
Total_FreeCapacity_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
Total_NonCovid19Patients number Optional cannot be null COVID-19 Dashboard Source Data
Total_NonCovid19Patients_mean15d number Optional cannot be null COVID-19 Dashboard Source Data
date string Optional cannot be null COVID-19 Dashboard Source Data
geoRegion string Optional cannot be null COVID-19 Dashboard Source Data
timeframe_14d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_28d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_7d boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_all boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase2 boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase2b boolean Optional cannot be null COVID-19 Dashboard Source Data
timeframe_phase3 boolean Optional cannot be null COVID-19 Dashboard Source Data
type string Optional cannot be null COVID-19 Dashboard Source Data
type_variant string Optional cannot be null COVID-19 Dashboard Source Data
version string Optional cannot be null COVID-19 Dashboard Source Data

ICUPercent_AllPatients

Percentage of all ICU beds in use.

ICUPercent_AllPatients

ICUPercent_AllPatients Type

number (ICUPercent_AllPatients)

ICUPercent_AllPatients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

ICUPercent_Capacity

ICU capacity percentage, always 100. Provided as helper value for visualisations.

ICUPercent_Capacity

ICUPercent_Capacity Type

number (ICUPercent_Capacity)

ICUPercent_Capacity Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 100

ICUPercent_Covid19Patients

Percentage of ICU beds in use by COVID-19 patients.

ICUPercent_Covid19Patients

ICUPercent_Covid19Patients Type

number (ICUPercent_Covid19Patients)

ICUPercent_Covid19Patients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

ICUPercent_FreeCapacity

Percentage of free ICU beds.

ICUPercent_FreeCapacity

ICUPercent_FreeCapacity Type

number (ICUPercent_FreeCapacity)

ICUPercent_FreeCapacity Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

ICUPercent_NonCovid19Patients

Percentage of ICU beds in use not related to COVID-19 patients.

ICUPercent_NonCovid19Patients

ICUPercent_NonCovid19Patients Type

number (ICUPercent_NonCovid19Patients)

ICUPercent_NonCovid19Patients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

ICU_AllPatients

Absolute number of all ICU beds in use.

ICU_AllPatients

ICU_AllPatients Type

number (ICU_AllPatients)

ICU_AllPatients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "ICU_AllPatients" values. Only for type_variant fp7d.

ICU_AllPatients_mean15d

ICU_AllPatients_mean15d Type

number (ICU_AllPatients_mean15d)

ICU_Capacity

Absolute number of all available ICU beds (max capacity).

ICU_Capacity

ICU_Capacity Type

number (ICU_Capacity)

ICU_Capacity_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "ICU_Capacity" values. Only for type_variant fp7d.

ICU_Capacity_mean15d

ICU_Capacity_mean15d Type

number (ICU_Capacity_mean15d)

ICU_Covid19Patients

Absolute number of ICU beds in use by COVID-19 patients.

ICU_Covid19Patients

ICU_Covid19Patients Type

number (ICU_Covid19Patients)

ICU_Covid19Patients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "ICU_Covid19Patients" values. Only for type_variant fp7d.

ICU_Covid19Patients_mean15d

ICU_Covid19Patients_mean15d Type

number (ICU_Covid19Patients_mean15d)

ICU_FreeCapacity

Absolute number of free ICU beds.

ICU_FreeCapacity

ICU_FreeCapacity Type

number (ICU_FreeCapacity)

ICU_FreeCapacity_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "ICU_FreeCapacity" values. Only for type_variant fp7d.

ICU_FreeCapacity_mean15d

ICU_FreeCapacity_mean15d Type

number (ICU_FreeCapacity_mean15d)

ICU_NonCovid19Patients

Absolute number of ICU beds in use not related to COVID-19 patients.

ICU_NonCovid19Patients

ICU_NonCovid19Patients Type

number (ICU_NonCovid19Patients)

ICU_NonCovid19Patients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "ICU_NonCovid19Patients" values. Only for type_variant fp7d.

ICU_NonCovid19Patients_mean15d

ICU_NonCovid19Patients_mean15d Type

number (ICU_NonCovid19Patients_mean15d)

TotalPercent_AllPatients

Percentage of all beds in use.

TotalPercent_AllPatients

TotalPercent_AllPatients Type

number (TotalPercent_AllPatients)

TotalPercent_AllPatients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

TotalPercent_Capacity

Total capacity percentage, always 100. Provided as helper value for visualisations.

TotalPercent_Capacity

TotalPercent_Capacity Type

number (TotalPercent_Capacity)

TotalPercent_Capacity Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 100

TotalPercent_Covid19Patients

Percentage of beds in use by COVID-19 patients.

TotalPercent_Covid19Patients

TotalPercent_Covid19Patients Type

number (TotalPercent_Covid19Patients)

TotalPercent_Covid19Patients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

TotalPercent_FreeCapacity

Percentage of free ICU beds.

TotalPercent_FreeCapacity

TotalPercent_FreeCapacity Type

number (TotalPercent_FreeCapacity)

TotalPercent_FreeCapacity Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

TotalPercent_NonCovid19Patients

Percentage of beds in use not related to COVID-19 patients.

TotalPercent_NonCovid19Patients

TotalPercent_NonCovid19Patients Type

number (TotalPercent_NonCovid19Patients)

TotalPercent_NonCovid19Patients Constraints

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

Total_AllPatients

Absolute number of all beds in use.

Total_AllPatients

Total_AllPatients Type

number (Total_AllPatients)

Total_AllPatients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "Total_AllPatients" values. Only for type_variant fp7d.

Total_AllPatients_mean15d

Total_AllPatients_mean15d Type

number (Total_AllPatients_mean15d)

Total_Capacity

Absolute number of all available beds (max capacity).

Total_Capacity

Total_Capacity Type

number (Total_Capacity)

Total_Capacity_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "Total_Capacity" values. Only for type_variant fp7d.

Total_Capacity_mean15d

Total_Capacity_mean15d Type

number (Total_Capacity_mean15d)

Total_Covid19Patients

Absolute number of beds in use by COVID-19 patients.

Total_Covid19Patients

Total_Covid19Patients Type

number (Total_Covid19Patients)

Total_Covid19Patients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "Total_Covid19Patients" values. Only for type_variant fp7d.

Total_Covid19Patients_mean15d

Total_Covid19Patients_mean15d Type

number (Total_Covid19Patients_mean15d)

Total_FreeCapacity

Absolute number of free beds.

Total_FreeCapacity

Total_FreeCapacity Type

number (Total_FreeCapacity)

Total_FreeCapacity_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "Total_FreeCapacity" values. Only for type_variant fp7d.

Total_FreeCapacity_mean15d

Total_FreeCapacity_mean15d Type

number (Total_FreeCapacity_mean15d)

Total_NonCovid19Patients

Absolute number of beds in use not related to COVID-19 patients.

Total_NonCovid19Patients

Total_NonCovid19Patients Type

number (Total_NonCovid19Patients)

Total_NonCovid19Patients_mean15d

Rolling 15 day average (-7 days/ +7 days from the current day) of the "Total_NonCovid19Patients" values. Only for type_variant fp7d.

Total_NonCovid19Patients_mean15d

Total_NonCovid19Patients_mean15d Type

number (Total_NonCovid19Patients_mean15d)

date

Date of the hospital capacity data.

Formatted as ISO-Date 2020-10-12

date

date Type

string (date)

geoRegion

Geographical unit of the data records.

May be either one of the top level Units CHFL, CH or FL for aggregated record sets or the canton of residence when available or the administrative canton i.e. the canton in which the case was diagnosed (if the place of residence is unknown or if the patient lives abroad).

geoRegion

geoRegion Type

string (GeoUnit)

geoRegion Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"AG"
"AI"
"AR"
"BE"
"BL"
"BS"
"CH"
"CH01"
"CH02"
"CH03"
"CH04"
"CH05"
"CH06"
"CH07"
"CHFL"
"FL"
"FR"
"GE"
"GL"
"GR"
"JU"
"LU"
"NE"
"NW"
"OW"
"SG"
"SH"
"SO"
"SZ"
"TG"
"TI"
"UR"
"VD"
"VS"
"ZG"
"ZH"

timeframe_14d

Indicator if the record belongs to the latest 14 days timeframe. Current day is usually excluded.

timeframe_14d

timeframe_14d Type

boolean (timeframe_14d)

timeframe_28d

Indicator if the record belongs to the latest 28 days timeframe. Current day is usually excluded.

timeframe_28d

timeframe_28d Type

boolean (timeframe_28d)

timeframe_7d

Indicator if the record belongs to the latest 7 days timeframe. Current day is usually excluded.

timeframe_7d

timeframe_7d Type

boolean (timeframe_7d)

timeframe_all

Indicator if the record belongs to the timeframe for all available data

Starts at 24.02.2020 (Iso-Week 2020-09) for COVID19Cases, COVID19Hosp and COVID19Death types
Starts at 24.01.2020 for COVID19Test type for CH+FL data combined and from 23.05.2020 for data by canton/CH/FL individually
Starts at 30.03.2020 for COVID19HospCapacity type

timeframe_all

timeframe_all Type

boolean (timeframe_all)

timeframe_phase2

Indicator if the record belongs to the phase 2 timeframe. Starts at 08.06.2020 (Iso-Week 2020-24)

timeframe_phase2

timeframe_phase2 Type

boolean (timeframe_phase2)

timeframe_phase2b

Indicator if the record belongs to the phase 2b timeframe. Starts at 28.09.2020 (Iso-Week 2020-40)

timeframe_phase2b

timeframe_phase2b Type

boolean (timeframe_phase2b)

timeframe_phase3

Indicator if the record belongs to the phase 3 timeframe. Starts at 15.02.2020 (Iso-Week 2021-09).

timeframe_phase3

timeframe_phase3 Type

boolean (timeframe_phase3)

type

COVID19Cases - Refers to persons that have at least one positive PCR/Antigen result for COVID-19. The number of cases differs from the number of new declarations announced daily due to the reporting delay.

COVID19Death - Refers to persons that have at least one positive PCR/Antigen result for COVID-19 for which we have received a declaration of death.

COVID19Hosp - Refers to persons that have at least one positive PCR result for COVID-19 for which we have received a clinical declaration stating that the person was hospitalized (at least one night stay). Hospitalizations without date of hospital entry will not occur in this table.

COVID19Test - Refers to PCR/Antigen tests for COVID-19 with a positive or a negative result.

COVID19HospCapacity - Refers to hospital (ICU/Total) capacity and occupancy information.

type

type Type

string (IncomingDataType)

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"COVID19Cases"
"COVID19Death"
"COVID19Hosp"
"COVID19HospCapacity"
"COVID19Re"
"COVID19Test"

type_variant

Type variant to indicate how the reported data is handled for days where a hospital does not report any new data.

fp7d The latest reported data is considered valid for 7 days and the latest values are forward propagated for 7 days on each record.

nfp Reported date is only valid for the current day, no forward propagation is done. Each record reflects the data reported for that specific day.

type_variant

type_variant Type

string (type_variant)

type_variant Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"fp7d"
"nfp"

version

Timestamp of data processing.

format YYYY-MM-DD_HH-mm-SS

version

version Type

string (version)