knitr::opts_chunk$set(echo = FALSE, warning=FALSE)

Describe datasets

The dataset includes 4 tables linked to each other by the patient ID (Opnamenummer). The tables are:

  1. Table 1 gives information about the admission.

  2. Table 2 gives information about all diagnosis of the admission including main diagnosis (the reason of admission), primary diagnosis (diagnosis that has been known at the admission), and secondary diagnosis (diagnosis that has been known during the admission).

  3. Table 3 gives information about the departments where the patient has been admitted and the total duration of care (including a day of visiting)

  4. Table 4 gives information about the DBC cost of the admission. DBC stands for Diagnose Behandeling Combinatie, or in English, Diagnosis Treatment Combination of a care path. DBC healthcare products form the basis of Dutch hospital care finance. This means that patients do not settle each component of the examination or treatment separately, but pay one price for the entire care path. A DBC healthcare product has a maximum duration of 120 days. If a patient has a chronic illness and undergoes long-term treatment, consecutive DBC healthcare products are registered over the years.

The scope of the treatment is important – there is a difference between a patient staying overnight in hospital or returning home immediately. Whether or not a patient needs an operation also makes a difference. The number of visits to the medical specialist can also play a role.

Data manipulation

  1. Categorize patients by infectious disease
  1. Categorize patients by Charlson comorbidity index (CCI)
  1. Categorize patients by age Patients will be categorized into 6 age groups: 50-64, 65-69, 70-74, 75-79, 80-84, and 85+.

Result tables

Overview of the dataset

Characteristic Sub_characteristic Number_of_Patients Percentage_of_Patients
Total 1114 100
By year
2018 6 0.5
2019 172 15.4
2020 258 23.2
2021 365 32.8
2022 313 28.1
Age
50-64 378 33.9
65-69 191 17.1
70-74 223 20
75-79 158 14.2
80-84 106 9.5
85+ 58 5.2
Primary/secondary infection
Primary 883 79.3
Secondary 181 16.2
Both 22 2
Neither 28 2.5
Type of infection
Influenza 95 8.5
Pneumonia 506 45.4
COVID-19 539 48.4
CCI
0 315 28.3
1 201 18
2 133 11.9
3+ 465 41.7
ICU admission
Yes 197 17.7
No 917 82.3
Mortality
Yes 113 10.1
No 1001 89.9

Influenza

## `summarise()` has grouped output by 'Age_group'. You can override using the
## `.groups` argument.
Age_group CCI_group Number_of_Patients Percentage Mean_LOS SD_LOS ICU_N ICU_percentage ICU_LOS_mean ICU_LOS_SD Mortality_N Mortality_percentage Cost_general Cost_ICU
All All 95 100.0 7.6 11.53 15 15.8 1.1 4.30 4 4.2 5991.5 17855.1
50-64 All 28 29.5 6.0 11.53 5 17.9 2.2 7.49 0 0.0 4116.9 32552.3
65-69 All 21 22.1 7.4 11.53 4 19.0 0.7 1.65 1 4.8 7130.2 9998.5
70-74 All 19 20.0 9.2 11.53 4 21.1 0.9 2.27 0 0.0 6800.6 12089.4
75-79 All 11 11.6 8.5 11.53 1 9.1 0.3 0.90 0 0.0 7061.7 7819.1
80-84 All 9 9.5 6.2 11.53 0 0.0 0.0 0.00 2 22.2 5564.5 NaN
85+ All 7 7.4 11.1 11.53 1 14.3 0.4 1.13 1 14.3 6745.3 8894.9
50-64 0 12 12.6 6.4 11.53 1 8.3 2.8 9.81 0 0.0 4105.3 88616.6
50-64 1 5 5.3 5.2 11.53 0 0.0 0.0 0.00 0 0.0 4809.8 NaN
50-64 2 7 7.4 5.1 11.53 2 28.6 0.7 1.25 0 0.0 4273.5 7099.2
50-64 3+ 4 4.2 7.2 11.53 2 50.0 5.8 10.84 0 0.0 3011.2 29973.3
65-69 0 10 10.5 8.3 11.53 3 30.0 1.3 2.21 0 0.0 8005.8 11354.7
65-69 1 4 4.2 4.2 11.53 0 0.0 0.0 0.00 1 25.0 7318.6 NaN
65-69 2 2 2.1 6.0 11.53 0 0.0 0.0 0.00 0 0.0 4133.4 NaN
65-69 3+ 5 5.3 8.8 11.53 1 20.0 0.4 0.89 0 0.0 6427.3 5929.9
70-74 0 7 7.4 8.3 11.53 1 14.3 1.3 3.40 0 0.0 6538.0 23865.5
70-74 1 2 2.1 12.0 11.53 0 0.0 0.0 0.00 0 0.0 10003.8 NaN
70-74 3+ 10 10.5 9.2 11.53 3 30.0 0.9 1.52 0 0.0 6343.7 8164.0
75-79 0 3 3.2 15.7 11.53 0 0.0 0.0 0.00 0 0.0 10613.4 NaN
75-79 1 2 2.1 4.0 11.53 0 0.0 0.0 0.00 0 0.0 5267.2 NaN
75-79 2 2 2.1 7.0 11.53 0 0.0 0.0 0.00 0 0.0 5137.9 NaN
75-79 3+ 4 4.2 6.0 11.53 1 25.0 0.8 1.50 0 0.0 6257.1 7819.1
80-84 0 2 2.1 5.5 11.53 0 0.0 0.0 0.00 0 0.0 6207.5 NaN
80-84 1 4 4.2 8.5 11.53 0 0.0 0.0 0.00 0 0.0 6449.0 NaN
80-84 2 1 1.1 2.0 11.53 0 0.0 0.0 NA 1 100.0 3734.0 NaN
80-84 3+ 2 2.1 4.5 11.53 0 0.0 0.0 0.00 1 50.0 4067.7 NaN
85+ 0 2 2.1 8.5 11.53 0 0.0 0.0 0.00 0 0.0 4897.7 NaN
85+ 1 5 5.3 12.2 11.53 1 20.0 0.6 1.34 1 20.0 7484.4 8894.9

Pneumonia

## `summarise()` has grouped output by 'Age_group'. You can override using the
## `.groups` argument.
Age_group CCI_group Number_of_Patients Percentage Mean_LOS SD_LOS ICU_N ICU_percentage ICU_LOS_mean ICU_LOS_SD Mortality_N Mortality_percentage Cost_general Cost_ICU
All All 506 100.0 9.3 11.53 55 10.9 0.9 4.65 54 10.7 8427.8 22944.7
50-64 All 146 28.9 10.8 11.53 24 16.4 1.7 7.06 12 8.2 9986.8 29274.7
65-69 All 82 16.2 8.4 11.53 10 12.2 0.9 3.63 7 8.5 8150.0 19064.0
70-74 All 109 21.5 9.2 11.53 13 11.9 0.9 4.55 7 6.4 8244.4 21214.5
75-79 All 80 15.8 9.1 11.53 6 7.5 0.2 1.14 11 13.8 8193.0 8991.2
80-84 All 57 11.3 8.5 11.53 2 3.5 0.2 1.35 11 19.3 6758.7 16330.2
85+ All 32 6.3 7.4 11.53 0 0.0 0.0 0.00 6 18.8 6291.0 NaN
50-64 0 52 10.3 9.9 11.53 9 17.3 2.1 8.53 4 7.7 10378.7 33680.2
50-64 1 31 6.1 13.4 11.53 6 19.4 2.9 9.66 2 6.5 11301.9 42366.8
50-64 2 11 2.2 11.5 11.53 1 9.1 0.3 0.90 0 0.0 10572.7 7819.1
50-64 3+ 52 10.3 10.1 11.53 8 15.4 1.0 3.46 6 11.5 8642.9 18525.1
65-69 0 26 5.1 6.6 11.53 0 0.0 0.0 0.00 1 3.8 6319.7 NaN
65-69 1 15 3.0 6.7 11.53 1 6.7 0.1 0.52 1 6.7 5936.0 5346.1
65-69 2 9 1.8 10.1 11.53 2 22.2 3.8 8.74 1 11.1 7927.6 45660.6
65-69 3+ 32 6.3 10.1 11.53 7 21.9 1.1 3.34 4 12.5 10737.6 13424.6
70-74 0 28 5.5 9.4 11.53 5 17.9 2.8 8.65 1 3.6 7971.4 43373.5
70-74 1 20 4.0 10.0 11.53 1 5.0 0.1 0.67 1 5.0 8636.7 7819.1
70-74 2 14 2.8 5.1 11.53 2 14.3 0.4 1.16 0 0.0 4713.2 7819.1
70-74 3+ 47 9.3 9.9 11.53 5 10.6 0.3 1.06 5 10.6 9292.0 7092.6
75-79 0 13 2.6 5.1 11.53 1 7.7 0.1 0.28 1 7.7 6069.5 2965.0
75-79 1 21 4.2 7.8 11.53 1 4.8 0.1 0.44 2 9.5 8821.7 5929.9
75-79 2 11 2.2 5.8 11.53 1 9.1 0.3 0.90 2 18.2 5961.4 8019.1
75-79 3+ 35 6.9 12.3 11.53 3 8.6 0.4 1.61 6 17.1 9184.5 12344.5
80-84 0 6 1.2 10.5 11.53 0 0.0 0.0 0.00 0 0.0 6556.8 NaN
80-84 1 11 2.2 5.8 11.53 0 0.0 0.0 0.00 1 9.1 5314.9 NaN
80-84 2 6 1.2 6.8 11.53 0 0.0 0.0 0.00 0 0.0 7379.1 NaN
80-84 3+ 34 6.7 9.3 11.53 2 5.9 0.4 1.74 10 29.4 7163.9 16330.2
85+ 0 8 1.6 5.6 11.53 0 0.0 0.0 0.00 3 37.5 5398.9 NaN
85+ 1 5 1.0 6.0 11.53 0 0.0 0.0 0.00 1 20.0 5499.6 NaN
85+ 2 6 1.2 8.8 11.53 0 0.0 0.0 0.00 0 0.0 6346.9 NaN
85+ 3+ 13 2.6 8.4 11.53 0 0.0 0.0 0.00 2 15.4 7118.6 NaN

Exporting tables to an excel file is possible

References

Charlson, M. E., P. Pompei, K. L. Ales, and C. R. MacKenzie. 1987. “A new method of classifying prognostic comorbidity in longitudinal studies: development and validation.” Journal of Chronic Diseases 40 (5): 373–83. https://doi.org/10.1016/0021-9681(87)90171-8.
Johnston, Marjorie C., Angharad Marks, Michael A. Crilly, Gordon J. Prescott, Lynn M. Robertson, and Corri Black. 2015. “Charlson Index Scores from Administrative Data and Case-Note Review Compared Favourably in a Renal Disease Cohort.” European Journal of Public Health 25 (3): 391–96. https://doi.org/10.1093/eurpub/cku238.