Predicting length of stay from an electronic patient record system: a primary total knee replacement example.
BACKGROUND
To investigate whether factors can be identified that significantly affect hospital length of stay from those available in an electronic patient record system, using primary total knee replacements as an example. To investigate whether a model can be produced to predict the length of stay based on these factors to help resource planning and patient expectations on their length of stay.


METHODS
Data were extracted from the electronic patient record system for discharges from primary total knee operations from January 2007 to December 2011 (n=2,130) at one UK hospital and analysed for their effect on length of stay using Mann-Whitney and Kruskal-Wallis tests for discrete data and Spearman's correlation coefficient for continuous data. Models for predicting length of stay for primary total knee replacements were tested using the Poisson regression and the negative binomial modelling techniques.


RESULTS
Factors found to have a significant effect on length of stay were age, gender, consultant, discharge destination, deprivation and ethnicity. Applying a negative binomial model to these variables was successful. The model predicted the length of stay of those patients who stayed 4-6 days (~50% of admissions) with 75% accuracy within 2 days (model data). Overall, the model predicted the total days stayed over 5 years to be only 88 days more than actual, a 6.9% uplift (test data).


CONCLUSIONS
Valuable information can be found about length of stay from the analysis of variables easily extracted from an electronic patient record system. Models can be successfully created to help improve resource planning and from which a simple decision support system can be produced to help patient expectation on their length of stay.
Information Services Department, Oxford University Hospitals NHS Trust, Oxford, UK. eveleneeverett@yahoo.co.uk.
Evelene M
EM
Carter
Henry W W
HW
Potts
D000293:Adolescent; D000328:Adult; D000368:Aged; D000369:Aged, 80 and over; D019645:Arthroplasty, Replacement, Knee / Q000706:statistics & numerical data; D016010:Binomial Distribution; D057286:Electronic Health Records / Q000706:statistics & numerical data; D005260:Female; D006752:Hospital Planning / Q000706:statistics & numerical data; D006801:Humans; D007902:Length of Stay / Q000706:statistics & numerical data; D008297:Male; D008875:Middle Aged; D015233:Models, Statistical; D012044:Regression Analysis; D013997:Time Factors; D006113:United Kingdom; D055815:Young Adult