Table 5: Coefficients of the interaction terms estimated from the final logistic regression model.

Attribute nameValueAttribute nameValueEstimate -value

Age 60, 100)   General Practice0.0610.732
Internal Medicine−0.0180.910
Missing−0.1120.446
Other−0.1270.423
Medical specialtySurgery−0.2020.306
<30General Practice−2.4650.013
   Internal Medicine−1.9800.028
Missing−1.4900.083
Other*−2.4190.006
Surgery−2.7150.041

DiagnosisCirculatoryDischargeOther−0.0730.510
Digestive−0.0040.980
Genitourinary−0.1880.235
Injury0.2530.086
Musculoskelet0.3250.057
Neoplasms−0.1370.435
Other0.1820.124
Respiratory0.0790.540

RaceCaucasianDischargeOther0.0300.678
Missing0.3200.087
Other*0.514<0.001

DischargeTime in hospital*−0.0300.001

Medical SpecialtyGeneral PracticeDischargeOther0.3400.057
Internal Medicine0.2110.199
Missing0.2370.121
Other0.3910.018
Surgery*0.7330.000

Time in hospital     Medical SpecialtyGeneral Practice−0.05910.023
Internal Medicine−0.03570.121
Missing*−0.05750.007
Other−0.05170.027
Surgery*−0.11790.000

Age 60, 100)   General Practice0.0610.732
Internal Medicine−0.0180.910
Missing−0.1120.446
Other−0.1270.423
Medical specialtySurgery−0.2020.306
<30General Practice−2.4650.013
   Internal Medicine−1.9800.028
Missing−1.4900.083
Other*−2.4190.006
Surgery−2.7150.041

Time in hospital    DiagnosisCirculatory−0.0360.032
Digestive−0.0320.144
Genitourinary0.0430.084
Injury−0.0430.056
Musculoskelet0.0200.457
Neoplasms−0.0470.071
Other*−0.060<0.001
Respiratory−0.0090.651

    High, changedDiagnosisCirculatory*a0.573<0.001
Digestive0.4870.092
Genitourinary0.4280.164
Injury−0.1830.612
Musculoskelet0.7540.037
Neoplasms0.1220.806
Other0.3050.129
Respiratoryb0.3130.175
HbA1cHigh, not changed   Circulatorya0.5780.024
Digestive0.2150.616
Genitourinary0.0001.000
Injury0.3160.517
Musculoskelet0.7990.132
Neoplasms1.0460.075
Other0.6460.029
Respiratoryb0.4350.191
     Normal      Circulatorya−0.0660.694
Digestive0.0100.965
Genitourinary0.1890.441
Injury−0.5950.020
Musculoskelet−0.1000.719
Neoplasms0.3620.215
Other−0.0600.742
Respiratoryb−0.4840.021

“Diagnosis” stands for a primary diagnosis with possible values: “circulatory” for icd9: 390–459, 785, “digestive”—icd9: 520–579, 787; “genitourinary”—icd9: 580–629, 788, “diabetes”—icd9: 250.xx, “injury” icd9: 800–999, “musculoskeletal”—icd9: 710–739; “neoplasms”—icd9: 140–239,“ respiratory” icd9: 460–519, 786, and “other” otherwise.
“HbA1c” variable has four values: “Not measured”, when the test was not measured, “Normal” if the test was measured and the result was normal, “High, changed” when the result of HbA1c test was high and diabetic mediations were changed, and “High, not changed” when the result of HbA1c test was high but diabetic mediations were not changed.
aDenotes value less than 0.001 for a three degree of freedom test.
bDenotes value equal to 0.02 for a three degree of freedom test.
*Denotes coefficients significant at the 0.01 significance level.