Objective To evaluate the validity of the International Classification of Diseases, 10th Revision (ICD-10) diagnosis code for hyponatraemia (E87.1) in two settings: at presentation to the emergency department and at hospital admission.
Design Population-based retrospective validation study.
Setting Twelve hospitals in Southwestern Ontario, Canada, from 2003 to 2010.
Participants Patients aged 66 years and older with serum sodium laboratory measurements at presentation to the emergency department (n=64 581) and at hospital admission (n=64 499).
Main outcome measures Sensitivity, specificity, positive predictive value and negative predictive value comparing various ICD-10 diagnostic coding algorithms for hyponatraemia to serum sodium laboratory measurements (reference standard). Median serum sodium values comparing patients who were code positive and code negative for hyponatraemia.
Results The sensitivity of hyponatraemia (defined by a serum sodium ≤132 mmol/l) for the best-performing ICD-10 coding algorithm was 7.5% at presentation to the emergency department (95% CI 7.0% to 8.2%) and 10.6% at hospital admission (95% CI 9.9% to 11.2%). Both specificities were greater than 99%. In the two settings, the positive predictive values were 96.4% (95% CI 94.6% to 97.6%) and 82.3% (95% CI 80.0% to 84.4%), while the negative predictive values were 89.2% (95% CI 89.0% to 89.5%) and 87.1% (95% CI 86.8% to 87.4%). In patients who were code positive for hyponatraemia, the median (IQR) serum sodium measurements were 123 (119–126) mmol/l and 125 (120–130) mmol/l in the two settings. In code negative patients, the measurements were 138 (136–140) mmol/l and 137 (135–139) mmol/l.
Conclusions The ICD-10 diagnostic code for hyponatraemia differentiates between two groups of patients with distinct serum sodium measurements at both presentation to the emergency department and at hospital admission. However, these codes underestimate the true incidence of hyponatraemia due to low sensitivity.
- Adult nephrology < Nephrology
This is an open-access article distributed under the terms of the Creative Commons Attribution Non-commercial License, which permits use, distribution, and reproduction in any medium, provided the original work is properly cited, the use is non commercial and is otherwise in compliance with the license. See: http://creativecommons.org/licenses/by-nc/2.0/ and http://creativecommons.org/licenses/by-nc/2.0/legalcode.
Statistics from Altmetric.com
Validation of administrative database codes is necessary to guide their use in health outcomes research.
The aim of this study was to describe the validity of the ICD-10 diagnostic code for hyponatraemia compared to serum sodium measurements, the latter serving as the reference standard.
The International Classification of Diseases, 10th Revision diagnostic code for hyponatraemia has low sensitivity but high specificity.
The code was successful in differentiating between two groups of patients with distinct serum sodium measurements.
Strengths and limitations of this study
This is the first study to validate the International Classification of Diseases, 10th Revision code for hyponatraemia.
It was a large population-based study that included serum sodium values from multiple hospitals.
Studies describing code validity in younger patients are needed.
Large health administrative databases are widely used in pharmacoepidemiological and health services research.1 They offer several advantages including increased efficiency and large sample sizes. Despite their usefulness, an important limitation of these databases is that researchers frequently rely on hospital-based diagnostic codes contained within the databases to define conditions of interest, rather than reference standard diagnoses.2 The inaccuracy of codes may introduce measurement error which has a number of implications including underestimation of the true incidence of a condition. Accordingly, understanding the validity of various diagnostic codes remains of paramount importance.
Hyponatraemia is an electrolyte disorder and is generally defined by a low serum sodium concentration3 ,4 It is one of the most common types of abnormalities of its kind affecting 15–30% of hospitalised patients.5 ,6 Depending on its severity and rapidity of onset, hyponatraemia has been associated with morbidities such as confusion, seizures, falls, fractures as well as mortality.7–9 There are a number of causes of hyponatraemia such as dehydration from prolonged vomiting, congestive heart failure, some forms of kidney disease and medication use (eg, diuretics).
To date, the validity of the International Classification of Diseases, Ninth Revision (ICD-9) code for hyponatraemia has been described in two studies. Movig et al10 compared discharge records for hospitalised patients with laboratory data and found sensitivities of 1.7% and 13.4% for serum sodium measurements ≤135 and ≤125 mmol/l, respectively. Specificities were greater than 99%. Shea et al11 evaluated outpatient records against laboratory measurements and reported sensitivities of 3.5% and 29.6% using the same thresholds to define hyponatraemia. Specificities remained high at over 99%.
ICD-10 was introduced in Canada in 2002 and is currently used by 117 countries worldwide.12 To date, there has been no validation of the ICD-10 code for hyponatraemia. Therefore, the goal of our study was to evaluate the validity of the ICD-10 diagnosis code for hyponatremia (E87.1) in two settings: at presentation to the emergency department and at hospital admission.
Study design and setting
We conducted a population-based retrospective validation study using the health administrative databases and laboratory data in Southwestern Ontario, Canada. These data come from 12 hospitals that serviced a catchment area of approximately 80 000 adults aged 65 and older in 2006 (most recent available census information).13 All residents received universal access to hospital and physician services. Coverage for medical services and medications from a single provincial payer provided a comprehensive set of health administrative data.
Using a diagnostic test assessment framework, we obtained metrics of sensitivity, specificity, positive predictive value and negative predictive value comparing various ICD-10 diagnostic coding algorithms for hyponatraemia to serum sodium laboratory measurements (the latter serving as the reference standard; see online supplementary appendix A for sample two-by-two table). Since serum sodium concentration is a continuous measure, we also compared these values in patients who were code positive with those who were code negative. We conducted our study according to a prespecified protocol that was approved by the institutional review board at Sunnybrook Health Sciences Centre (Toronto, Ontario). The relevant datasets and the analyses were held and conducted at the Institute for Clinical Evaluative Sciences. The reporting of this study follows guidelines set out for studies on diagnostic accuracy (see online supplementary appendix B).14
Records from seven databases were linked using encrypted unique identifiers. We identified laboratory measurements, including serum sodium using Cerner (Kansas City, Missouri, USA), a system that keeps patient electronic medical records.13 ,15 This system contains inpatient, outpatient and emergency room laboratory measurements. We identified emergency department visits using the National Ambulatory Care Reporting System (NACRS) database, and inpatient hospital admissions using the Canadian Institutes of Health Information Discharge Abstract Database (CIHI-DAD). These databases contain detailed diagnostic and procedural information coded using ICD-9 (pre-2002) and ICD-10 (post-2002). We obtained patient demographic data from the Registered Persons Database, which contains demographic information on all Ontarians ever issued a health card. We collected additional covariate information from the CIHI-DAD, the Ontario Health Insurance Plan database, which contains health claims information for both inpatient and outpatient services and the Ontario Drug Benefits database, which contains highly accurate records of all outpatient prescriptions dispensed to patients ≥65 years of age (error rate <1%).16 For a subpopulation, we also obtained baseline laboratory measurements prior to hospital encounters from Gamma-Dynacare, a provider of outpatient laboratory services to residents in Southwestern Ontario. These databases have been used extensively to research health outcomes and health services.17–20
In order to assess the validity of the hyponatraemia code, we created two separate cohorts restricting cohort entry to patients with at least one serum sodium measurement at presentation to an emergency department or at hospital admission, respectively. These measurements were available beginning 1 June 2003, which is when we began accrual for the study and continued to 30 September 2010. To ensure all participants had at least one full year of medication use data, we restricted entry to those aged 66 years and older at the time of the serum sodium measurement. The selection criteria are described below and outlined in online supplementary appendix C.
We excluded measurements when the date of an emergency department or inpatient serum sodium test did not align with an emergency department visit or inpatient hospital admission included in the administrative databases (see online supplementary appendix C for alignment definitions). To ensure we had data for the full hospital admission to the time of discharge (particularly for patients accrued in the second half of 2010) we excluded admissions where the duration of the visit exceeded 90 days. As such, study follow-up occurred until 31 December 2010. To assess hyponatraemia upon presentation to the emergency department, patients had to have at least one emergency department serum sodium measurement on the day of or 1 day after the emergency department registration date. To assess hyponatraemia at hospital admission, we restricted to patients who had at least one emergency department serum sodium measurement 2 days prior to the hospital admission date or one inpatient serum sodium measurement the day of or 1 day after the hospital admission date. For both settings, when multiple serum sodium tests were performed, we selected the lowest value to define the presence of hyponatraemia. In cases where multiple emergency department visits or hospital encounters were identified per patient over the study period, we randomly selected one visit/encounter. We denoted the emergency department registration date or inpatient hospital admission date as the index date.
Diagnostic test (hyponatraemia ICD-10 coding algorithms)
In Canada, trained coders record appropriate diagnostic codes and their associated attributes based on information from a patient's chart. Coders follow the Canadian Coding Standards developed by CIHI.21 Based on these guidelines, coders are not permitted to interpret laboratory test results but can record a laboratory-based condition if the physician has documented the diagnosis in the medical chart. Within the NACRS database, coders are allowed to include up to 10 diagnoses per visit. The first diagnosis listed is the main problem for the client's visit that required evaluation and/or treatment or management as determined by the physician at the end of the visit. CIHI-DAD provides the ability to record up to 25 diagnoses, each with a corresponding diagnosis type. For example, a diagnosis type of ‘M’ is used to refer to the diagnosis that was most responsible for the greatest portion of the length of stay or greatest use of resources, while a diagnosis type of ‘1’ refers to a condition that existed prior to admission.
In this study, we developed two unique algorithms to assess hyponatraemia at presentation to the emergency department and four unique algorithms at hospital admission based on possible diagnosis types. We used the ICD-10 code E87.1, which is defined as ‘hypo-osmolality and hyponatraemia’. The two emergency department algorithms identified records with code E87.1 recorded: (1) as the main problem (referred to as ‘main diagnosis’), or (2) in any of the 10 potential diagnostic fields (referred to as ‘all diagnosis’). The four hospital admission algorithms identified records with code E87.1 recorded: (1) with the diagnosis type of ‘M’ (most responsible) (referred to as ‘most responsible diagnosis’), (2) with the diagnosis type of ‘1’ (pre-admit comorbidity) or ‘W’, ‘X’ or ‘Y’ (service transfer diagnosis) (referred to as ‘admission diagnosis’), (3) with a diagnosis type of ‘M’ and a diagnosis type of ‘1’ (referred to as ‘admission diagnosis and most responsible diagnosis’) or (4) in any one of 25 potential diagnosis fields and any diagnosis type (referred to as ‘all diagnosis’).
Reference standard (serum sodium values)
Serum sodium was analysed in the laboratory using a Roche Modular Ion Selective Electrode system (Basel, Switzerland). We considered four thresholds when defining our reference standard of hyponatraemia: serum sodium <135, ≤132, ≤130 and ≤125 mmol/l. Our primary definition of hyponatraemia was a serum sodium ≤132 mmol/l while the other definitions were explored to investigate the impact of disease severity.7–8
We used descriptive statistics to summarise demographic characteristics, comorbidities, prescription drug claim information and prior laboratory testing for patients in both settings. We calculated sensitivity, specificity, positive predictive value and negative predictive value for each diagnostic coding algorithm (formulas presented in online supplementary appendix A). We calculated 95% CI for single proportions using the Wilson Score method.22 We repeated these calculations for each hyponatraemia threshold. We expressed continuous variables as medians with IQR. We compared means using independent samples t-tests. We conducted all analysis using SAS (Statistical Analysis Software) V.9.2 (SAS Institute Incorporated, Cary, North Carolina, USA, 2008).
Over the 7 year study period, there were a total of 64 581 patients with serum sodium measurements at presentation to the emergency department and 64 499 at hospital admission. Of these patients, 7446 (11.5%) and 9135 (14.2%) had serum sodium measurements ≤132 mmol/l, respectively. Baseline characteristics of the two cohorts are presented in table 1. The median age of the patients on the index date was 77 years and just over half the patients were women. Over 50% of each cohort had serum sodium measurements available prior to the index date and mean values were normal (table 1).
The sensitivity of hyponatraemia when defined by a serum sodium ≤132 mmol/l was highest when considering evidence of code E87.1 among all potential diagnoses for both settings: at presentation to emergency department, 7.5% (95% CI 7.0% to 8.2%) and at hospital admission, 10.6% (95% CI 9.9% to 11.2%). In both settings the specificities were greater than 99%. The positive predictive values were 96.4% (95% CI 94.6% to 97.6%) and 82.3% (95% CI 80.0% to 84.4%) and the negative predictive values were 89.2% (95% CI 89.0% to 89.5%) and 87.1% (95% CI 86.8% to 87.4%), respectively (table 2).
In patients with and without baseline hyponatraemia (7–365 days prior to hospital encounter), the sensitivity of the all diagnosis ICD-10 coding algorithm in the emergency department setting was 11.6% in those with baseline hyponatraemia and 5.4% in those without. For similar patients in the hospital admission setting, the sensitivities were 16.9% and 7.6%, respectively (see online supplementary appendix D).
In both settings, the sensitivity of each ICD-10 coding algorithm for hyponatraemia increased as the thresholds for serum sodium decreased (table 3). The positive predictive value of each ICD-10 coding algorithm for hyponatraemia decreased with decreasing thresholds for serum sodium, as lower thresholds are less common (ie, 25.0% of hospital admissions had a serum sodium <135 mmol/l vs 2.3% with a value ≤125 mmol/l).
When considering all potential diagnoses, 582 (0.9%) patients were code positive for hyponatraemia at presentation to the emergency department and 1171 (1.8%) at hospital admission. The median (IQR) serum sodium values among code positive patients were 123 (119–126) and 125 (120–130) mmol/l in each setting, respectively. For those patients who were code negative, the median values were 138 (136–140) and 137 (135–139) mmol/l, respectively (table 4).
In both settings there were significant differences in mean serum sodium values between patients who were code positive and code negative for hyponatraemia for all ICD-10 coding algorithms (p values <0.0001 in each setting). The mean difference in serum sodium values between patients who were code positive and code negative in the two settings was 15.2 (95% CI 14.6 to 15.7) and 11.4 (95% CI 10.9 to 11.9) mmol/l, respectively (figure 1).
In the subgroup of patients with baseline prehospital encounter serum sodium measurements, the median (IQR) decrement in serum sodium values among patients who were code positive was 10.0 (6.0–15.0) mmol/l at presentation to the emergency department and 8.0 (4.0–13.0) mmol/l at hospital admission. Similar results in patients who were code negative were 1.0 (1.0–4.0) and 2.0 (0.0–4.0) mmol/l, respectively. The mean difference in the decrement in serum sodium values between patients who were code positive and code negative in the two settings was 9.4 (95% CI 8.6 to 10.2) and 6.8 (95% CI 6.2 to 7.4) mmol/l, respectively (p values <0.0001 in each setting) (see online supplementary appendix E).
In this population-based validation study, we found that the best-performing ICD-10 coding algorithm for hyponatraemia for presentation to the emergency department and at hospital admission settings was when the code was included in any diagnosis field, regardless of the associated diagnosis type. Overall, while the ICD-10 code for hyponatraemia was highly specific, the sensitivity of the code was low. In both settings, there was a high false-negative rate—a large number of patients with a serum sodium measurement below 133 mmol/l were not coded as having hyponatraemia (≥90%). Even for severe hyponatraemia (serum sodium ≤125 mmol/l), the sensitivity was maximally about 42%. The most responsible diagnosis is one that is responsible for the longest length of stay/greatest use of resources and may also be one that was present at admission. This was the poorest performing algorithm in our study possibly because the hospital admission is attributed to the underlying condition that caused the hyponatraemia (eg, congestive heart failure) rather than the hyponatraemia per se.
The sensitivities we observed are similar to those reported by Movig et al and Shea et al for ICD-9 coding although the sensitivities and positive predictive values found in our study are slightly higher for all thresholds of hyponatraemia (depending on the specific ICD-10 coding algorithm). Also consistent with the previous validation studies, the sensitivity increased as the severity of hyponatraemia increased. This may be because more mild forms of hyponatraemia tend to be asymptomatic and do not usually require treatment, making the physician less inclined to record a diagnosis of hyponatraemia in the medical chart.23–25
Of the patients who had hyponatraemia at presentation to the emergency department and at hospital admission (defined by a value ≤132 mmol/l), only 7.5 and 10.6% were correctly coded as demonstrating this. In other words, the diagnosis was not being written by a physician in the medical chart and may suggest the condition receives less attention than it deserves. Despite this, the code was successful in differentiating between two groups of patients with distinctly different serum sodium measurements at the hospital encounter. Patients who where code negative for hyponatraemia had measurements in the normal range (135–145 mmol/l) and code-positive patients had much lower measurements (≤125 mmol/l). Patients who were code positive at hospital admission also demonstrated an average decrement of 8.7 mmol/l in serum sodium from a baseline value, the latter taken at a median of 29 days prior to hospital admission. This further exemplifies the point that new and more severe forms of hyponatraemia tend to be recorded.
Our study has several strengths. It is the first study to validate the ICD-10 code for hyponatraemia. We validated the ICD-10 code in both the emergency department and at hospital admission examining different types of diagnoses. Previous studies have not looked at these settings nor did they examine all the possible diagnosis types as we did.
The study was made possible by the province of Ontario's universal healthcare and provincial drug plan benefits with collection of all healthcare encounters of all citizens. We had a large sample size to base our validation on using laboratory data from a number of hospitals across the province. This helped improve study generalisability and differs from the ICD-9 validation study of Movig et al who used only a single hospital. Our large sample also provided good precision around the point estimates.
The validity measures that we used in this study have also been used in several other studies comparing ICD codes with clinical outcomes.8 ,9 ,26–29 Many validation studies compare diagnostic codes to information written in medical charts, whereas we compared the diagnostic code for hyponatraemia to a reference standard of laboratory values. Where appropriate, this is the most accurate way to determine the presence of hyponatraemia.
Our study does have some limitations. We evaluated the validity of the hyponatraemia code in an elderly population and the results best generalise to adults over the age of 65. This patient population is very vulnerable to developing hyponatraemia.3 ,30 In addition, since most pharmacoepidemiological research using the Ontario databases is conducted on the elderly where receipt of prescription medications is a universal benefit, these findings would be especially applicable. Additional studies are required to validate these codes in younger patients, where hospitalisation with hyponatraemia is expected to be less frequent.
Laboratory data were available for about 5% of Ontario elderly residents. This should be considered when generalising the results to the entire province, Canada, or other countries. Given that the results obtained from this study are similar to those found with the ICD-9 code for hyponatraemia in the USA and the Netherlands, we anticipate that the results are broadly applicable.
We did not know the degree to which patients with hyponatraemia were symptomatic from their low sodium values or the indication that prompted presentation to the emergency department or hospital admission. However, we do know the codes did identify acute decrements in serum creatine as previously described. Patients with acute changes in serum sodium are those most likely to be symptomatic from the condition.
We could not examine the validity of outpatient claims for hyponatraemia in this study as there is no code available for this in our jurisdiction. Nevertheless, emergency department and hospital records do detect more severe forms of hyponatraemia making this of particular interest to clinicians and policy decision makers.
Finally, we recognise we did not capture those patients who may have had severe hyponatraemia but did not present to the emergency department or hospital, or those who presented but failed to have serum sodium measured. However, the latter is less of a concern given serum sodium measurements are a ubiquitous and standard test for most patients who present for acute medical care.
Although administrative databases have inherent advantages, they have limitations in identifying certain conditions such as hyponatraemia. As observed in this study, the ICD-10 code for hyponatraemia was able to differentiate between two groups of elderly patients with distinct serum sodium measurements during presentation to the emergency department and at hospital admission. However, the sensitivity of hyponatraemia was very low, particularly at less severe forms of the condition, which will underestimate the true incidence of the condition. The results from this study will guide the judicious use of the hyponatraemia code in future research which uses healthcare administrative databases.
This study was supported by the Institute for Clinical Evaluative Sciences (ICES), which is funded by an annual grant from the Ontario Ministry of Health and Long-Term Care (MOHLTC). The opinions, results and conclusions reported in this paper are those of the authors and are independent from the funding sources. No endorsement by ICES or the Ontario MOHLTC is intended or should be inferred. We thank Barbara Jones, Jeff Lamond and the late Milton Haines for their help in providing access to Gamma-Dynacare laboratory data. We thank the team at London Health Sciences Centre, St Joseph's Health Care and the Thames Valley Hospitals for providing access to the Cerner laboratory data.
Review history and Supplementary material
This web only file has been produced by the BMJ Publishing Group from an electronic file supplied by the author(s) and has not been edited for content.
Files in this Data Supplement:
Contributors SG participated in the coordination of the study, study design, provided interpretation of study results and drafted the manuscript. SZS participated in the study design, performed the analysis and provided interpretation of study results. JF contributed to the study design and interpretation of study results. MAW and AKJ contributed to the study design and provided feedback on the manuscript. AXG conceived of the study, participated in its design and interpretation and provided feedback on the manuscript. All authors read and approved the final manuscript.
Funding SG was supported by a Canadian Institutes of Health Research Drug Safety and Effectiveness Cross-Disciplinary Training Program Award. AXG was supported by a Clinician Scientist Award from the Canadian Institutes of Health Research. This research was supported by an operating grant from the Canadian Institutes of Health Research.
Competing interests None.
Ethics approval Sunnybrook Health Sciences Centre.
Provenance and peer review Not commissioned; externally peer reviewed.
Data sharing statement Data cannot be shared due to reasons of privacy. The research protocol can be shared with a written agreement.
If you wish to reuse any or all of this article please use the link below which will take you to the Copyright Clearance Center’s RightsLink service. You will be able to get a quick price and instant permission to reuse the content in many different ways.