Improvement of Diagnosis Coding by Analysing EHR and Using Rule Engine: Application to the Chronic Kidney Disease

Stud Health Technol Inform. 2015;210:120-4.


Coding medical diagnosis in case mix databases is a time-consuming task as every information available in patient records has to be taken into account. We developed rules based on EHR data with the Drools rules engine in order to support diagnosis coding of chronic kidney disease (CKD) in our hospital. 520 patients had a GFR < 60 ml/min as estimated by the Cockroft-Gault formula and corresponded to 429 case mix database entries. We compared stays in which the patient was older than 12 and younger than 65 or 80 at the time of the stay. We concluded that our rules engine implementation may improve coding of CKD for 45.6% of patients with a GFR < 60 ml/min and younger than 65. When patients are older than 65 our rule engine may be less useful for suggesting missing codes of CKD because the estimation of GFR by the Cockroft-Gault formula becomes less reliable as patients get older.

Publication types

  • Comparative Study
  • Research Support, Non-U.S. Gov't

MeSH terms

  • Adolescent
  • Adult
  • Aged
  • Algorithms*
  • Data Mining / methods
  • Decision Support Systems, Clinical / organization & administration*
  • Electronic Health Records / organization & administration*
  • Female
  • France
  • Humans
  • International Classification of Diseases / organization & administration*
  • Male
  • Middle Aged
  • Natural Language Processing
  • Pregnancy
  • Quality Indicators, Health Care / organization & administration
  • Renal Insufficiency, Chronic / classification*
  • Renal Insufficiency, Chronic / diagnosis*
  • Reproducibility of Results
  • Sensitivity and Specificity
  • Young Adult