Abstract

Management of hyperglycemia in hospitalized patients has a significant bearing on outcome, in terms of both morbidity and mortality. However, there are few national assessments of diabetes care during hospitalization which could serve as a baseline for change. This analysis of a large clinical database (74 million unique encounters corresponding to 17 million unique patients) was undertaken to provide such an assessment and to find future directions which might lead to improvements in patient safety. Almost 70,000 inpatient diabetes encounters were identified with sufficient detail for analysis. Multivariable logistic regression was used to fit the relationship between the measurement of HbA1c and early readmission while controlling for covariates such as demographics, severity and type of the disease, and type of admission. Results show that the measurement of HbA1c was performed infrequently (18.4%) in the inpatient setting. The statistical model suggests that the relationship between the probability of readmission and the HbA1c measurement depends on the primary diagnosis. The data suggest further that the greater attention to diabetes reflected in HbA1c determination may improve patient outcomes and lower cost of inpatient care.

1. Introduction

It is increasingly recognized that the management of hyperglycemia in the hospitalized patient has a significant bearing on outcome, in terms of both morbidity and mortality [1, 2]. This recognition has led to the development of formalized protocols in the intensive care unit (ICU) setting with rigorous glucose targets in many institutions [3]. However, the same cannot be said for most non-ICU inpatient admissions. Rather, anecdotal evidence suggests that inpatient management is arbitrary and often leads to either no treatment at all or wide fluctuations in glucose when traditional management strategies are employed. Although data are few, recent controlled trials have demonstrated that protocol-driven inpatient strategies can be both effective and safe [4, 5]. As such, implementation of protocols in the hospital setting is now recommended [6, 7]. However, there are few national assessments of diabetes care in the hospitalized patient which could serve as a baseline for change. The present analysis of a large clinical database was undertaken to examine historical patterns of diabetes care in patients with diabetes admitted to a US hospital and to inform future directions which might lead to improvements in patient safety. In particular, we examined the use of HbA1c as a marker of attention to diabetes care in a large number of individuals identified as having a diagnosis of diabetes mellitus. We hypothesize that measurement of HbA1c is associated with a reduction in readmission rates in individuals admitted to the hospital.

Databases of clinical data contain valuable but heterogeneous and difficult data in terms of missing values, incomplete or inconsistent records, and high dimensionality understood not only by number of features but also their complexity. [8]. Additionally, analyzing external data is more challenging than analysis of results of a carefully designed experiment or trial, because one has no impact on how and what type of information was collected. Nonetheless, it is important to utilize these huge amounts of data to find new information/knowledge that is possibly not available anywhere.

2. Materials and Methods

2.1. Data Assembly

This study used the Health Facts database (Cerner Corporation, Kansas City, MO), a national data warehouse that collects comprehensive clinical records across hospitals throughout the United States. Health Facts is a voluntary program offered to organizations which use the Cerner Electronic Health Record System. The database contains data systematically collected from participating institutions electronic medical records and includes encounter data (emergency, outpatient, and inpatient), provider specialty, demographics (age, sex, and race), diagnoses and in-hospital procedures documented by ICD-9-CM codes, laboratory data, pharmacy data, in-hospital mortality, and hospital characteristics. All data were deidentified in compliance with the Health Insurance Portability and Accountability Act of 1996 before being provided to the investigators. Continuity of patient encounters within the same health system (EHR system) is preserved.

The Health Facts data we used was an extract representing 10 years (1999–2008) of clinical care at 130 hospitals and integrated delivery networks throughout the United States: Midwest (18 hospitals), Northeast (58), South (28), and West (16). Most of the hospitals (78) have bed size between 100 and 499, 38 hospitals have bed size less than 100, and bed size of 14 hospitals is greater than 500.

The database consists of 41 tables in a fact-dimension schema and a total of 117 features. The database includes 74,036,643 unique encounters (visits) that correspond to 17,880,231 unique patients and 2,889,571 providers. Because this data represents integrated delivery network health systems in addition to stand-alone hospitals, the data contains both inpatient and outpatient data, including emergency department, for the same group of patients. However, data from out-of-network providers is not captured.

The dataset was created in two steps. First, encounters of interest were extracted from the database with 55 attributes. This dataset is available as a Supplementary Material available online at http://dx.doi.org/10.1155/2014/781670 and is also in the process of submission to the UCI Machine Learning Repository [9] so that it is easily available to other researchers.

Second, preliminary analysis and preprocessing of the data were performed resulting in retaining only these features (attributes) and encounters that could be used in further analysis, that is, contain sufficient information. Both steps are described in the following subsections.

2.2. Extraction of the Initial Dataset from the Database

Information was extracted from the database for encounters that satisfied the following criteria.(1)It is an inpatient encounter (a hospital admission).(2)It is a “diabetic” encounter, that is, one during which any kind of diabetes was entered to the system as a diagnosis.(3)The length of stay was at least 1 day and at most 14 days.(4)Laboratory tests were performed during the encounter.(5)Medications were administered during the encounter.

Criteria were applied to remove admissions for procedures and so forth, which were of less than 23 hours of duration and in which changes in diabetes management were less likely to have occurred. It should be noted that the diabetic encounters are not all encounters of diabetic patients but rather only these encounters where diabetes was coded as an existing health condition.

101,766 encounters were identified to fulfill all of the above five inclusion criteria and were used in further analysis. Attribute/feature selection was performed by our clinical experts and only attributes that were potentially associated with the diabetic condition or management were retained. From the information available in the database, we extracted 55 features describing the diabetic encounters, including demographics, diagnoses, diabetic medications, number of visits in the year preceding the encounter, and payer information. The full list of the features and their description is provided in Table 1.

Since we are primarily interested in factors that lead to early readmission, we defined the readmission attribute (outcome) as having two values: “readmitted,” if the patient was readmitted within 30 days of discharge or “otherwise,” which covers both readmission after 30 days and no readmission at all. The values of the readmission attribute were determined by examination of all patient records in the database to determine the first inpatient visit after discharge. Note that 30 days was chosen based on criteria often used by funding agencies. Hemoglobin A1c (HbA1c) is an important measure of glucose control, which is widely applied to measure performance of diabetes care [10, 11]. The measurement of HbA1c at the time of hospital admission offers a unique opportunity to assess the efficacy of current therapy and to make changes in that therapy if indicated (e.g., HbA1c > 8.0% on current regimen). We considered the possibility that if an HbA1c test result was available from a measurement (outpatient or inpatient) done within three months prior to the sentinel admission, the test might not be repeated. In these cases (0.1% of the total), we used the measurement available from the previous visit. In all other cases, measurement of HbA1c was performed at the time of hospital admission. We examined both the frequency of HbA1c test ordering and the response to its result, which we defined as a change in diabetic medications. By a “change of medication” we understand any dosage change (increase or reduction) as well as change to a drug with a different generic name, for example, a change of the type of insulin or an introduction of a new drug. The database contains detailed information about dosage but is restricted only to medications administered during the encounter. It was not possible to track any preadmission and discharge medications.

We considered four groups of encounters: (1) no HbA1c test performed, (2) HbA1c performed and in normal range, (3) HbA1c performed and the result is greater than 8% with no change in diabetic medications, and (4) HbA1c performed, result is greater than 8%, and diabetic medication was changed.

2.3. Preliminary Analysis and the Final Dataset

The original database contains incomplete, redundant, and noisy information as expected in any real-world data. There were several features that could not be treated directly since they had a high percentage of missing values. These features were weight (97% values missing), payer code (40%), and medical specialty (47%). Weight attribute was considered to be too sparse and it was not included in further analysis. Payer code was removed since it had a high percentage of missing values and it was not considered relevant to the outcome. Medical specialty attribute was maintained, adding the value “missing” in order to account for missing values. Large percentage of missing values of the weight attribute can be explained by the fact that prior to the HITECH legislation of the American Reinvestment and Recovery Act in 2009 hospitals and clinics were not required to capture it in a structured format.

The preliminary dataset contained multiple inpatient visits for some patients and the observations could not be considered as statistically independent, an assumption of the logistic regression model. We thus used only one encounter per patient; in particular, we considered only the first encounter for each patient as the primary admission and determined whether or not they were readmitted within 30 days. Additionally, we removed all encounters that resulted in either discharge to a hospice or patient death, to avoid biasing our analysis. After performing the above-described operations, we were left with 69,984 encounters that constituted the final dataset for analysis.

The variables chosen to control for patient demographic and illness severity were gender, age, race, admission source, discharge disposition, primary diagnosis (see Table 2), medical specialty of the admitting physician, and time spent in hospital. Values of these variables and their distribution in the dataset are shown in Table 3.

To summarize, our dataset consists of hospital admissions of length between one and 14 days that did not result in a patient death or discharge to a hospice. Each encounter corresponds to a unique patient diagnosed with diabetes, although the primary diagnosis may be different. During each of the analyzed encounters, lab tests were ordered and medication was administered.

2.4. Statistical Methods

The unit of our analysis is an encounter; however, in order to keep the observations independent, we only analyzed one encounter per patient. After preliminary analysis and taking into account the amount of data, the significance level was determined by a value of less than 0.01.

Multivariable logistic regression was used to fit the relationship between the measurement of HbA1c and early readmission while controlling for covariates such as demographics, severity and type of the disease, and type of admission.

To assess whether the candidate covariates were significantly associated with readmission, we created the model in four steps. Each step was followed by tests for significance of variables with higher degree of freedom, an analysis of deviance table, and sensitivity analysis which was done by removing one variable at the time and looking at changes of beta-coefficients.

First, we fitted a logistic model with all variables but HbA1c. We refer to this model as the core model. Second, we added HbA1c to the core model. Third, we added pairwise interactions to the core model (without HbA1c) and kept only the significant ones. Finally, we added pairwise interactions with HbA1c, leaving only the significant ones in the final model.

Graphics were used to help in the interpretation of interaction terms in the final model. The analysis was performed in R statistical software.

2.5. Ethical and Legal Issues

This research is based on a preexisting HIPAA compliant dataset that contains no personally identifiable information. Due to the deidentified nature of the datasets obtained, this study was not considered human subjects research nor required consent per the Helsinki Declaration and was therefore exempt from VCU Institutional Review Board review.

3. Results and Discussion

As shown in Table 3, measurement of HbA1c was infrequent, occurring in only 18.4% of encounters where diabetes mellitus was included as an admission diagnosis. Of those in whom the test was ordered, 51.4% were less than 8%. When an HbA1c was not obtained, 42.5% of patients had a medication change during the hospitalization, whereas those providers who ordered the test appear to have been somewhat more responsive as determined by changes in medication (55.0%, ). Of those in whom the test was ordered and found to be greater than 8%, 65.0% had a documented medication change. With respect to readmission and taken as a whole without adjusting for covariates, measurement of HbA1c was associated with a significantly reduced rate of readmission (9.4 versus 8.7%, ). This was true regardless of the outcome of the test. We then examined the relationship between readmission and HbA1c adjusting for covariates such as patient demographic and illness type and severity.

Since the gender variable was not significant () in the core model (without HbA1c), it was removed from further analysis. When tested for sensitivity, the values of beta-coefficients in the model changed by less than 35%, with an exception of the time in the hospital, medical specialty, age, and primary diagnosis that changed by 77%, 47%, 49%, and 65%, respectively, when the discharge disposition was removed. This suggests a relationship between these variables.

The significant pairwise interactions between the covariates were discharge disposition with race (), medical specialty of the admitting physician (), primary diagnosis (), and time in hospital (); the specialty of the admitting physician with time in hospital () and age (); and the primary diagnosis with time in the hospital () and HbA1c (). Only these interactions were included in the final model.

The final model (Tables 4 and 5) suggests that the relationship between the probability of readmission and the HbA1c measurement significantly depends on the primary diagnosis (note that diabetes is always one of the secondary diagnoses). Specifically, the profile of readmission of patients with a primary diagnosis of diabetes mellitus, after adjusting for covariates, differs significantly from those with a primary diagnosis of circulatory diseases () and approaches significance for those with a primary diagnosis of respiratory diseases (). Figure 1 shows predicted (adjusted for covariates) readmission rates for these three conditions which accounted for 52.4% of all encounters. The predictions were calculated with the mean value of the time in hospital and at reference levels of other covariates. There was no significant interaction with other primary diagnoses (see Figure 3).

The present study provides a striking cross-sectional view of inpatient diabetes care for more than 70,000 admissions in 54 hospitals in the USA. We have designed our analysis using highly conservative criteria. Out of a total of 5 million inpatient admissions in the database, only about 500,000 encounters (just under 10%) were clearly documented as occurring in individuals with diabetes and only almost 70,000 satisfied our inclusion criteria. This is certainly an underestimate given the widespread lack of designation of diabetes mellitus in hospital discharges [12] as well as the prevalence in the USA [13]. Nevertheless, the database permitted us to examine clinical practice over a 10-year period of over 5,000 providers.

First and foremost, the data indicate that, despite widespread recognition of the utility of HbA1c as a performance measure of diabetes care [14, 15], the test is ordered infrequently (18.4%) in the inpatient setting even when test results within the previous 3 months are included (0.1% of the total). It is possible that HbA1c values not in our dataset were available to the practitioners and influenced treatment patterns. However, unlikely, this could be the result of a dual charting system where diagnosis was stored in the electronic health record but these specific laboratory results were not. We recognize this as a potential limitation to our interpretation of the data. But similar analyses by others have confirmed a low rate of HbA1c determinations [16]. We were also surprised at the apparent reluctance of providers to make changes in antihyperglycemic medications during hospitalizations. It should be pointed out that the data considered span a 10-year period (1999–2008). Recommended standards of care which encourage discontinuation of medications on admission and might prompt changes in medications based on glucose control were only recently adopted [17]. When an HbA1c was not obtained, less than half of patients (42.5%) had a medication change during the hospitalization, whereas those providers who ordered the test appear to have been somewhat more responsive to the data as determined by changes in medication (55.0%, ). Unfortunately, we are not able to determine what drove the medication changes by providers in those patients in whom an HbA1c was not obtained but persistently elevated glucose readings may well explain the practice. It is of interest that a recent analysis of 1274 patients with diabetes admitted for acute myocardial infarction demonstrated only a 31% rate of glucose therapy intensification when a clinical HbA1c result was available [18]. With respect to readmission rate, our data suggest that, regardless of the result, simply measuring HbA1c is associated with a lower rate of readmission in individuals with a primary diagnosis of diabetes mellitus, whereas those with the frequently observed primary diagnoses of circulatory or respiratory diseases are not. It may not be surprising that the attention given to diabetes care in individuals with admitting diagnoses of circulatory or respiratory diseases may have been less than those with a primary diagnosis of diabetes mellitus. However, our findings strongly suggest that greater attention to diabetes care during the hospitalization for these high-risk individuals may have a significant impact on readmission. Our analysis cannot address cause and effect, but the data provide strong support for development of protocols to examine this hypothesis directly. Hospitalization is a unique opportunity for providers to influence change to patient’s health outcome trajectories. Resources available in the inpatient setting are often much greater than those available to practitioners in the outpatient setting and could be leveraged to impact care. On average, inpatient stays in the present dataset were 4.27 days which would permit examination of diabetes care and development of a plan for change should it be warranted. The importance of this is emphasized by the readmission data provided.

We recognize that the results from the present analysis represent a preliminary observation with limitations intrinsic to such large health records. In addition to the limitations of working with large clinical datasets discussed earlier, this study is also limited by a nonrandomized study design. Nevertheless, our data appear to support the contention that greater attention to glucose homeostasis during hospital admission may be warranted.

4. Conclusions

In conclusion, the decision to obtain a measurement of HbA1c for patients with diabetes mellitus is a useful predictor of readmission rates which may prove valuable in the development of strategies to reduce readmission rates and costs for the care of individuals with diabetes mellitus. For instance, our analysis showed that the profile of readmission differed significantly in patients where Hba1c was checked in the setting of a primary diabetes diagnosis, when compared to those with a primary circulatory disorder. While readmission rates remained the highest for patients with circulatory diagnoses, readmission rates for patients with diabetes appeared to be associated with the decision to test for HbA1c, rather than the values of the HbA1c result.

Conflict of Interests

The authors declare that they have no conflict of interests.

Acknowledgments

The authors thank Cerner Corp. and the VCU Center for Clinical and Translational Research (CTSA Grant no. UL1TR000058) for the data used in the study. Sebastian Ventura acknowledges the support of the Ministry of Science and Technology of Spain (Project no. TIN-2011-22408) and the FEDER funds. Krzysztof J. Cios acknowledges the support of the National Institutes of Health (Grant no. 1R01HD056235).

Supplementary Materials

The Supplemental Materials consist of the dataset as described in Sections 2.1 and 2.2 and in Table 1. The dataset is in csv format. The additional file provides mappings for some of the features.

  1. Supplementary Materials