Table 1: Hospital discharges per year. ENS2003 cohort

ANOn
2003359
2004429
2005462
2006351
2007445
2008453
2009416
2010460
2011454
2012496
2013454
2014382
2015373
2016394
2017393
2018395
201957

Table 2: Hospital discharges >4 per ID. ENS2003 cohort

## 
## FALSE  TRUE 
##  1791   354

Table 3: Hospital discharges unweighted descriptives. ENS2003 cohort

##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   1.000   1.000   2.000   2.859   4.000  39.000

Table 4: Hospital discharges min-max date. ENS2003 cohort

##         Min.      1st Qu.       Median         Mean      3rd Qu.         Max. 
## "2003-01-06" "2005-06-18" "2008-11-28" "2009-07-11" "2013-01-04" "2019-03-26" 
##         NA's 
##          "2"

Table 5: Hospital discharges. Unweighted ICD10 chapters. ENS2003 cohort

Chapter_name_1prop_2003prop_2004prop_2005prop_2006prop_2007prop_2008prop_2009prop_2010prop_2011prop_2012prop_2013prop_2014prop_2015prop_2016prop_2017prop_2018prop_2019prop_NAn_2003n_2004n_2005n_2006n_2007n_2008n_2009n_2010n_2011n_2012n_2013n_2014n_2015n_2016n_2017n_2018n_2019n_NA
I Certain infectious and parasitic diseases0.0216 0.0282 0.0208 0.0141 0.0195 0.0132 0.0238      0.008060.0156 0.0179 0.009350.02380.02670.02860.0133     564232312212221
II Neoplasms0.0649 0.108  0.0729 0.0634 0.0584 0.0596 0.0714 0.069 0.145  0.0625 0.125  0.0935 0.08330.09330.171 0.08  0.214 1523149999101881410771263
IV Endocrine, nutritional and metabolic diseases0.0303 0.0329 0.0417 0.0211 0.026  0.0265 0.0714 0.02760.0403 0.0469 0.0179 0.0654 0.02380.05330.02860.0267     7783449456272422
IX Diseases of the circulatory system0.152  0.127  0.104  0.162  0.169  0.152  0.103  0.152 0.113  0.125  0.0893 0.121  0.131 0.133 0.08570.173 0.143 35272023262313221416101311106132
V Mental, Behavioral and Neurodevelopmental disorders0.026  0.0376 0.0156 0.0141 0.006490.0199 0.0159 0.00690.008060.0391       0.0187      0.0133          0.07146832132115211
VI Diseases of the nervous system0.013  0.004690.0104 0.0211 0.013  0.0132 0.007940.0207      0.0156 0.0179 0.0187 0.02380.02670.01430.0133     312322132222211
VII Diseases of the eye and adnexa0.0476 0.0329 0.0469 0.0352 0.026  0.0265 0.0556 0.00690.008060.0312 0.0714 0.0374           0.0429          11795447114843
X Diseases of the respiratory system0.0866 0.0939 0.125  0.0634 0.0779 0.0795 0.0556 0.04830.0645 0.109  0.107  0.0374 0.07140.107 0.1   0.08       20202491212778141246876
XI Diseases of the digestive system0.165  0.178  0.141  0.197  0.182  0.205  0.23   0.241 0.194  0.195  0.134  0.206  0.25  0.187 0.157 0.147 0.429 13838272828312935242515222114111162
XI Factors influencing health status and contact with health services0.0346 0.0329 0.0521 0.0141 0.0649 0.053  0.0476 0.08280.0403 0.007810.0268 0.028  0.01190.01330.04290.02670.071487102108612513311321
XII Diseases of the skin and subcutaneous tissue0.0216 0.0235 0.0156 0.0282 0.013  0.0199 0.0159 0.01380.0161 0.0234 0.008930.0374 0.02380.01330.01430.0133     5534232223142111
XIII Diseases of the musculoskeletal system and connective tissue0.0606 0.0376 0.0417 0.0423 0.0584 0.0795 0.0556 0.01380.0484 0.0547 0.0536 0.0467 0.04760.08  0.02860.0533     148869127267654624
XIV Diseases of the genitourinary system0.126  0.113  0.156  0.127  0.117  0.0728 0.0952 0.103 0.145  0.102  0.152  0.0748 0.04760.08  0.157 0.0933     2924301818111215181317846117
XIX Injury, poisoning and certain other consequences of external causes0.13   0.113  0.115  0.134  0.0974 0.126  0.103  0.159 0.137  0.141  0.0893 0.168  0.238 0.107 0.1   0.227      302422191519132317181018208717
XVII Congenital malformations, deformations and chromosomal abnormalities0.004330.004690.005210.007040.013  0.0132       0.00690.00806      0.0179            0.0267               1111221122
XVIII Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified0.0173 0.0188 0.026  0.0493 0.0519 0.0199 0.0476 0.03450.0242 0.0312 0.0714 0.028       0.04  0.01430.0267     445783653483312
III Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism      0.004690.0104             0.00662      0.0069                        0.0119                    12111
VIII Diseases of the ear and mastoid process      0.00939      0.007040.006490.0132       0.0069                  0.009350.0119     0.01430.01330.07142112111111
XVI Certain conditions originating in the perinatal period                                                                                      0.0133     1

Table 6: Hospital discharges, including full participants without hosp. Unweighted. ENS2003 cohort

nhosptotal
01641
1794
2450
3237
4167
5106
661
742
834
920
1014
1112
127
134
144
156
164
174
182
192
201
221
241
261
271
351
361
391

##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   0.000   0.000   1.000   1.576   2.000  39.000

Table 7: Length stay Hospital discharges, including full participants without hosp. Unweighted. ENS2003 cohort

DIAS_ESTAD_TOTALtotal
0       1641
1       235
2       182
3       138
4       111
5       100
6       84
7       65
8       78
9       60
10       53
11       38
12       42
13       48
14       39
15       43
16       42
17       18
18       23
19       22
20       19
21       16
22       20
23       15
24       21
25       15
26       19
27       15
28       10
29       17
30       14
31       14
32       18
33       15
34       9
35       11
36       11
37       7
38       12
39       8
40       8
41       12
42       4
43       5
44       8
45       10
46       8
47       9
48       14
49       9
50       6
51       4
52       7
53       5
54       7
55       2
56       11
57       3
58       2
59       1
60       4
61       3
62       1
63       5
64       4
65       7
66       1
67       3
68       2
69       4
70       1
71       4
72       2
73       6
74       1
75       3
77       3
78       2
79       2
81       1
82       2
83       1
84       3
85       2
88       2
89       1
91       1
92       1
93       2
94       1
95       5
96       1
97       1
98       1
99       1
102       2
104       2
105       1
106       1
107       2
108       2
109       1
110       1
111       5
114       1
115       3
122       1
123       1
127       1
128       1
129       1
133       2
138       1
143       2
147       2
149       1
150       1
151       2
154       1
155       1
157       1
166       1
171       1
187       1
196       1
202       1
209       1
222       1
232       1
240       1
321       1
424       1
1.27e+031

##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##    0.00    0.00    1.00   10.73   10.00 1267.00

Table 8: Hospital discharges Chapters. Weighted. ENS2003 cohort

hosp_ncatmeanmean_semean_lowmean_uppn
00.482 0.0146 0.453 0.512 1551
10.241 0.0106 0.22  0.263 768
20.111 0.007890.09540.127 426
30.06190.007710.04760.079 224
40.04590.0064 0.03410.0604165
50.05830.005740.04750.0708318

Chapter_name_1meanmean_semean_lowmean_uppn
I Certain infectious and parasitic diseases0.00881 0.00201 0.00531 0.0137 33
II Neoplasms0.0439  0.00594 0.0329  0.0572 162
III Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism0.0005950.0003370.0001260.001726
IV Endocrine, nutritional and metabolic diseases0.02    0.00395 0.0129  0.0294 68
IX Diseases of the circulatory system0.0576  0.00627 0.0459  0.0713 257
V Mental, Behavioral and Neurodevelopmental disorders0.0132  0.00415 0.00631 0.0242 32
VI Diseases of the nervous system0.00945 0.00403 0.00324 0.0213 27
VII Diseases of the eye and adnexa0.00875 0.00228 0.00484 0.0145 57
VIII Diseases of the ear and mastoid process0.00195 0.00078 0.0007250.0042 10
X Diseases of the respiratory system0.0271  0.00346 0.0207  0.0348 161
XI Diseases of the digestive system0.107   0.00898 0.0898  0.126  361
XI Factors influencing health status and contact with health services0.0297  0.00551 0.0198  0.0427 82
XII Diseases of the skin and subcutaneous tissue0.00637 0.00192 0.00316 0.0114 35
XIII Diseases of the musculoskeletal system and connective tissue0.0262  0.00548 0.0164  0.0394 86
XIV Diseases of the genitourinary system0.0587  0.00549 0.0483  0.0705 211
XIX Injury, poisoning and certain other consequences of external causes0.0763  0.00722 0.0627  0.0919 242
XVII Congenital malformations, deformations and chromosomal abnormalities0.00483 0.00159 0.00222 0.0091314
XVIII Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified0.0172  0.00466 0.00928 0.0291 57
0.482   0.0146  0.453   0.512  1551
Chapter_name_2meanmean_semean_lowmean_uppn
I Certain infectious and parasitic diseases0.00509 0.0017  0.00231 0.0097221
II Neoplasms0.0275  0.00393 0.0202  0.0364 121
III Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism0.00148 0.0006090.0005340.003269
IV Endocrine, nutritional and metabolic diseases0.0105  0.00275 0.00581 0.0175 52
IX Diseases of the circulatory system0.0377  0.00422 0.0298  0.0469 161
V Mental, Behavioral and Neurodevelopmental disorders0.0103  0.00382 0.00416 0.021  25
VI Diseases of the nervous system0.00334 0.0008680.00186 0.0055421
VII Diseases of the eye and adnexa0.00681 0.00227 0.0031  0.0129 36
VIII Diseases of the ear and mastoid process0.00117 0.00056 0.0003360.0029 6
X Diseases of the respiratory system0.0177  0.00325 0.0119  0.0254 108
XI Diseases of the digestive system0.0495  0.00639 0.0376  0.0637 187
XI Factors influencing health status and contact with health services0.0104  0.00261 0.00594 0.017  42
XII Diseases of the skin and subcutaneous tissue0.00392 0.00114 0.00201 0.0068923
XIII Diseases of the musculoskeletal system and connective tissue0.0223  0.00527 0.0131  0.0353 65
XIV Diseases of the genitourinary system0.0298  0.00367 0.023   0.038  117
XIX Injury, poisoning and certain other consequences of external causes0.0299  0.00455 0.0216  0.0403 103
XVI Certain conditions originating in the perinatal period0.00027 0.0002667.39e-060.001481
XVII Congenital malformations, deformations and chromosomal abnormalities0.0004930.0003953.75e-050.002073
XVIII Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified0.00865 0.00238 0.0046  0.0148 32
0.723   0.0129  0.697   0.749  2319
Chapter_name_5meanmean_semean_lowmean_uppn
I Certain infectious and parasitic diseases0.0007770.0004320.0001710.0022  6
II Neoplasms0.00462 0.00134 0.00236 0.00812 28
III Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism0.0009380.0007487.22e-050.00393 4
IV Endocrine, nutritional and metabolic diseases0.00177 0.0006340.0007440.00353 13
IX Diseases of the circulatory system0.00915 0.00168 0.00614 0.0131  53
V Mental, Behavioral and Neurodevelopmental disorders0.00146 0.0009620.0002160.00491 3
VI Diseases of the nervous system0.00281 0.00157 0.0006130.008   8
VII Diseases of the eye and adnexa0.0007770.0003770.00022 0.00195 7
X Diseases of the respiratory system0.00705 0.00144 0.00449 0.0105  50
XI Diseases of the digestive system0.00739 0.00174 0.00436 0.0117  39
XI Factors influencing health status and contact with health services0.00426 0.00157 0.00175 0.00864 16
XII Diseases of the skin and subcutaneous tissue0.0002120.0001641.82e-050.0008573
XIII Diseases of the musculoskeletal system and connective tissue0.00128 0.0004110.0006010.00238 12
XIV Diseases of the genitourinary system0.00771 0.00151 0.00502 0.0113  37
XIX Injury, poisoning and certain other consequences of external causes0.0068  0.0019  0.00357 0.0117  26
XVIII Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified0.00133 0.0004630.0005840.00261 13
0.942   0.00574 0.929   0.952   3134

Table 9: Hospital discharges length. Weighted. ENS2003 cohort

destcatmeanmean_semean_lowmean_uppn
(-Inf,0]0.482 0.0146 0.453 0.512 1551
(0,1]0.07780.008430.06190.0962228
(1,5]0.16  0.0105 0.139 0.181 508
(5,10]0.09340.007750.07860.11  327
(10,20]0.08420.007920.06920.101 323
(20, Inf]0.103 0.006420.09030.116 515

Table 10: Hospital discharges mean and q length. Weighted. ENS2003 cohort

meanmean_semean_lowmean_uppq_q25q_q50q_q75q_q25_seq_q50_seq_q75_sen
7.970.5166.958.9901700.2530.5073452
Gendermeanmean_semean_lowmean_uppq_q25q_q50q_q75q_q25_seq_q50_seq_q75_sen
Male8.520.8696.8110.200600.2530.76 1570
Female7.440.5396.388.501700.2530.5071882
Edad_Codificadameanmean_semean_lowmean_uppq_q25q_q50q_q75q_q25_seq_q50_seq_q75_sen
15-245.021.8  1.478.570    030    0    1.01 399
25-444.520.4843.575.480    040    0.2530.5071062
45-6411.5 0.9229.6313.3 0    1120    0.5071.77 1105
65+18.3 1.23 15.9 20.7 0.97410250.5061.01 2.03 886

survey_design<-subset(survey_design,Edad>=25)