Skip to main content
  • Research article
  • Open access
  • Published:

Disease identification based on ambulatory drugs dispensation and in-hospital ICD-10 diagnoses: a comparison



Pharmacy-based case mix measures are an alternative source of information to the relatively scarce outpatient diagnoses data. But most published tools use national drug nomenclatures and offer no head-to-head comparisons between drugs-related and diagnoses-based categories. The objective of the study was to test the accuracy of drugs-based morbidity groups derived from the World Health Organization Anatomical Therapeutic Chemical Classification of drugs by checking them against diagnoses-based groups.


We compared drugs-based categories with their diagnoses-based analogues using anonymous data on 108,915 individuals insured with one of four companies. They were followed throughout 2005 and 2006 and hospitalized at least once during this period. The agreement between the two approaches was measured by weighted kappa coefficients. The reproducibility of the drugs-based morbidity measure over the 2 years was assessed for all enrollees.


Eighty percent used a drug associated with at least one of the 60 morbidity categories derived from drugs dispensation. After accounting for inpatient under-coding, fifteen conditions agreed sufficiently with their diagnoses-based counterparts to be considered alternative strategies to diagnoses. In addition, they exhibited good reproducibility and allowed prevalence estimates in accordance with national estimates. For 22 conditions, drugs-based information identified accurately a subset of the population defined by diagnoses.


Most categories provide insurers with health status information that could be exploited for healthcare expenditure prediction or ambulatory cost control, especially when ambulatory diagnoses are not available. However, due to insufficient concordance with their diagnoses-based analogues, their use for morbidity indicators is limited.

Peer Review reports


Building health indicators, managing health care and prevention, and adjusting for insurers’ risks require the assessment of morbidity burdens [1]. Demographic variables do not account sufficiently for the discrepancy in health service use and costs, overestimating cost variations between care providers and misidentifying outliers [2, 3].

Most developed countries have minimal data sets on inpatient morbidity and causes of death. Outpatient morbidity information is scarcer except for cancer registers and contagious infections, which are subject to mandatory declaration. National health surveys have been conducted to estimate the prevalence of chronic illnesses but such expensive and time-consuming studies are generally not feasible on an ongoing basis [4, 5]. Although the increased use of electronic medical records (EMR) by primary physicians has the potential to collect clinical information in large populations, the identification of a particular disease within an EMR often remains far from straightforward [6, 7].

Current patient classification systems are mainly based on diagnoses information. In the USA, Medicare and Medicaid databases and some private health insurance or maintenance organizations routinely record ambulatory diagnoses. In Switzerland, as in many other countries, such records are missing mainly because data collection is time-consuming, costly and not always reliable [8, 9].

Thence the growing interest in measures based on drug prescription data, often routinely collected by insurers; they may also provide information on well-controlled diseases, which are frequently under-declared by physicians [10, 11].

Most medication-based classification systems are derived from the chronic disease score (CDS) developed by Von Korff et al., with a fair prediction of hospitalization, mortality, the number of ambulatory visits and costs [1214]. Improvements now include a wider range of drugs, new scores, and extended application to various populations (pediatric, Medicare and Medicaid, veterans, European countries) [1518]. For example the “Rxrisk” model developed by Fishmann included 55 therapeutic categories. It was designed to predict future health costs and thus restricted to chronic diseases [19].

Only a few studies on selected populations have checked criterion validity by comparing drugs categories head-to-head with their diagnoses-based analogues [18]. As measured by the Kappa coefficient (< 0.4), 40% of the “Rxrisk” categories seldom matched with their ICD-9-CM based counterparts. Drug rates provided a valid estimation of diagnosed and treated prevalence for only few medical conditions [20, 21].

Many drugs- related classification systems were built on national drug nomenclatures [14, 17]. However, since indications for certain agents differ depending on how they are administered, names alone do not adequately express a condition. Pharmacy-based models should be regularly updated and validated to verify that they are not sensitive to practice variations.

The overall aim of our work was to develop a clinically relevant drugs-based case mix measure, derived from the WHO Anatomical Therapeutic Chemical (ATC) classification of drugs [22]. Diagnoses information not being available for ambulatory care, we limited the accuracy assessment of disease detection to the hospitalized population. Testing the performance of drugs-based patient classification systems to predict ambulatory resources or health outcomes was beyond the scope of our work.



Our study is an observational study based on routine data from four Swiss health insurers on approximately 2.0 million insured enrollees of whom 1.7 million were followed in 2005 and 2006. Among the latter, all insured hospitalized at least once in a Swiss hospital were retained. Data were collected with the support of the Swiss Federal Office of Public Health [23]. Dispensed medication was identified by a national product code (pharmacode). As in Switzerland pharmacists systematically send drugs codes and dispensation dates to insurers for billing purposes, we expect only minimal inaccuracies in those data. All Swiss citizens are covered by compulsory insurance and thus have unrestricted access to drugs. Few drugs dispensed in outpatient hospital settings (e.g. anti-neoplastic) were not in the database. Pharmacy data were linked to corresponding hospital diagnoses codes (ICD-10) [24] via the anonymous linkage code procedure by the Swiss Federal Statistical Office (SFSO); only a sequential number was delivered [25]. Hospital data supplied by the Federal Statistical Office (inpatient diagnoses) are publicly available. Insurers’ data (dispensed drugs) are not publicly available and were supplied only for the research project supported by the Federal Public Health Office, with the prerequisite of using the anonymous linkage code procedure of the Federal Statistical Office. All data were anonymous and did not include any element, which might allow identifying a single person (no birth date or ZIP codes for instance) [26]. More than 99% of the insured had a corresponding anonymous linkage code in the hospital SFSO data base. As in most other developed countries, only diagnoses which had an impact on the treatment of the patient were collected [27]. The space for recording diagnoses was limited to ten codes. These medical records were mainly used for epidemiological studies and hospital resources allocation (Diagnosis Related Groups). Several cantons allow physicians to dispense drugs to patients directly (self-dispensation). In such cases, information on dispensed drugs was limited to their costs. To avoid information bias, patients for whom self-dispensation represented more than 5% of drugs costs were excluded. For chronic diseases, all dispensed drugs were considered regardless of the dispensing and hospitalization dates, while for acute diseases only drugs dispensed two months before a hospital admission or after discharge were kept. In the event of several hospital stays of a same patient, all diagnoses and drugs related to each hospitalization were kept but the patient was considered as only one observation.

Assigning diagnoses and drugs to morbidity groups

Diagnoses consisted of over 16,000 ICD10 codes, too many to be manageable. Therefore, in a first step, they were grouped under the 130 categories of the International Shortlist for Hospital Morbidity Tabulation (ISHMT) recommended by the World Health Organization [24]. Diagnoses groups which usually do not require a specific drug treatment (trauma, surgical or obstetrical conditions, congenital malformations, and unspecified morbidities or symptoms) were excluded (Additional file 1). Morbidity groups were deduced from main and secondary diagnoses coded in hospital medical records.

All dispensed drugs were attributed to the ATC classification system, after the exclusion of other pharmaceutical products (dressings, homeopathy, herbal medicine, etc.). We mainly used the therapeutic subgroups (2nd level of the classification, e.g. A10 = anti-diabetic drugs), but a higher level of classification was sometimes required to identify a specific disease (e.g. therapy against HIV disease). Subgroups that could not be matched with any morbidity categories (blood products, anesthesia, etc.) were not taken into account (Additional file 1).

We identified all diagnostic categories assignable to one therapeutic subgroup. Most other diagnostic categories were subdivided to match therapeutic subgroups. In other cases, we grouped diagnostic categories requiring similar treatment. For certain conditions, we combined scattered ICD-10 codes corresponding to similar treatments (e.g. bacterial infection or thrombo-embolic diseases). Face validity of each morbidity category inferred from drug information was ensured by thorough reviews conducted by a skilled physician (PH) and a skilled pharmacist (AD) as regards the clinical homogeneity of the condition and the labeled use of the drug.

Accuracy of morbidity groups identification

An algorithm identifying subjects with different conditions or diseases may be seen as a diagnostic test, and is generally assessed by the four estimates of diagnostic accuracy: sensitivity, specificity, positive and negative predictive values. These measures establish one of the classification procedures (here: morbidity categories based on inpatient ICD-10 codes) as a true gold standard. Yet we know that co-morbidities are often not recorded in hospital minimal data sets, especially if their impact on resource use is weak, or for patients with a more serious illness, where the severity of the condition and complications take precedence over chronic conditions in coding [28, 29]. We thus focused mainly on the degree of agreement between the two morbidity classifications.

To ensure the identification of chronic diseases over both 2005 and 2006, a test-retest procedure was applied to all subjects classified in at least one drug-based category in 2005.

We computed the prevalence in 2005 of morbidities estimated from ambulatory drugs dispensation for all insured. Underestimation of cases due to the removal of subjects receiving medication directly from their physician was corrected via the assumption that morbidity distribution in this population was similar to the rest.

For comparisons against published estimates (external data), crude rates were standardized using gender and a distribution by five-year age categories of the Swiss population in 2005. When reference rates were available only for a specific population restricted to categories defined by age or sex, direct standardization of rates used only groups of this particular population.

Statistical analysis

The results according to drug and diagnoses based information may be arranged in a four cells table with proportions as shown in Table 1.

Table 1 Agreement between diseases screened by drugs and hospital coded diagnoses

The Kappa coefficient (Kc), described by Cohen, is commonly used to assess agreement between two ratings [30]. It is obtained from the proportion of observed agreement, o = (a + d) and the expected agreement, e = (a + c) (a + b) + (c + d) (b + d), as follows.

K c = o - e / 1 - e

Zero indicates only chance agreement, 1 indicates complete agreement beyond chance.

One limitation of Kc is that the measure ignores the relative utility of false positives (b) versus false negatives (c). To deal with this problem we proposed the weighted Kappa coefficient Kw, where the weight indicates the relative importance of false negatives versus false positives [31, 32]. K0 (weight = 0) is recommended if expected false negatives (PQ’) have zero utility; K1 (weight = 1) if expected false positives (P’Q) have zero utility (see Additional file 1 for details).

Use of drug-based morbidities for measuring health care indicators was grounded on the values of the three Kappas, Κc, Κ0, Κ1. Agreement between illnesses screened by delivered drugs and inpatient-coded diagnoses must be high to compare similar clinical situations. As suggested by Landis and Koch, we considered that a Kc over 0.4 describes a minimal level of agreement [33]. We relaxed this criterion if one of the weighted Kappas (K0 or K1) was respectively greater than 0.4 in the two following situations: existing alternatives to drug treatment explained a substantial proportion of false negatives (K0 >0.4 is required), or the high risk of under-reporting a non-severe morbidity explained a substantial proportion of false positives (K1 > 0.4 is required). We analyzed false positives and negatives in order to locate the potential errors in the two screening methods and - if possible – to improve the screening algorithm based on drug information.

In order to facilitate interpretation of the results, we chose to present the findings according to three potential fields of application of a heath status routine measure: morbidity indicators, ambulatory care cost control, and health insurers’ risk adjustment (Table 2, col. use). Morbidity indicators i.e., incidence or prevalence measures, (M in Table 2), require accurate disease detection, with KC greater than 0.4, or K1 > 0.4, if false positives are explained by under-coded diagnoses. However, criteria can be relaxed to K0 or K1 > 0.2 for ambulatory cost control or risk adjustment (C and R in Table 2), since it is better to detect some morbidity rather than none. Note that only chronic diseases are relevant to insurers’ risk adjustment, given that the aim of that procedure is to forecast costs. Finally, despite satisfactory concordance, caution should be exercised when considering conditions for which the indication of drugs might be uncertain or is prone to practice variations (Table 2, footnote c).

Table 2 Accuracy of disease detection through drugs prescription among hospitalized patients (N = 108,915)

Year-to-year category stability was measured by the Κ1 coefficient. We expected chronic diseases detected in 2005 to also be detected in 2006, as reflected by a high K1, i.e. >0.6 [33].

Cohen Kappa coefficients were given with a 95% confidence interval [34].


Table 3 lists morbidity groups with corresponding ICD-10 and ATC codes. Eighteen diagnostic categories of the ICD shortlist were left unmodified, and 31 were subdivided to fit drug categories. Five morbidity groups were built by grouping diagnostic categories, and six by grouping subcategories. Thus we obtained 60 morbidity groups derivable from drugs dispensation. Morbidity groups were attributed independently to all insured inpatients from coded diagnoses (Table 3, ICD-10 column) and dispensed drugs (Table 3, ATC codes).

Table 3 Description of morbidity groups

The studied population included 108,915 insured enrollees followed throughout 2005 and 2006; they were hospitalized at least once, and did not obtain over 5% of their drugs via self- dispensation by a physician. Sixty four percent of hospitalizations (N = 70,083) were classified in at least one of the morbidity groups listed in Table 3 (average number of categories: 2.75). Eighty percent (N = 86,915) took a drug associated with at least one of these morbidity categories (average number of categories: 6.08). The mean age of the studied population was 53.1 years (SD 22.5), with a 44% proportion of men. Results for the 60 morbidity groups identified by drugs or hospitals diagnoses are given in Table 2. All Kc confidence intervals were narrow, i.e. not more than 1% above or below the estimates.

Five morbidity categories (transplant, diabetes, HIV disease, hypertension and thyroid disorders) had a Kc exceeding 0.4, justifying the use of drug-based information for morbidity indicators, cost control and risk adjustment purposes. As most antihypertensive agents are also recommended for heart failure, we combined those two categories and obtained an enhanced agreement between drugs and diagnoses.

Eight conditions can be treated without drugs (false negatives), justifying a K0 greater than 0.4: no indication of long-term treatment for progressive multiple sclerosis, non-nutritional anemia, or chronic hepatitis, surgery for ischemic heart disease, conduction disorders, or malignant disease, and the psychosocial treatment of alcohol or opioid abuse. Considering chronic renal failure and chemotherapy as proxies of non-nutritional anemia (usual complications), we observed a significantly increased K0 (0.63), suggesting a possible under-coding of the condition. All these conditions identified from drug dispensations correspond to actual morbidities, justifying their use for cost control and risk adjustment.

Five conditions were related to obvious under-coded diagnoses with a K1 over 0.4: glaucoma, hyperlipidemia, functional digestive disorders, prostate hyperplasia, and osteoporosis. These conditions are often not coded because they seldom merit hospital treatment. We also found evidence of under-coding for four other morbidities with K1 >0.4, as shown by the improvement of K0 to fair values when the screen is restricted to those subjects who receive the most treatment, and were thus more likely to feature in the hospital data. Indeed, K0 increased from 0.18 to 0.36 for mood disorders when the screen was restricted to patients taking three classes of psychotropic drugs; from 0.25 to 0.46 for reactive airway disease (RAD) when screening criteria required inhaled and systemic corticoids; from 0.31 to 0.43 for Alzheimer’s disease when criteria included memantine use (indicated for more severe impairments); from 0.25 to 0.33 for inflammatory bowel diseases (IBD) when criteria included systemic corticoid or immune-suppressors in addition to the tracer drugs.

Three conditions were difficult to detect because some tracer drugs can be prescribed for other diseases, explaining false positives and the use of K1 value as criteria. The following refinements of the algorithms significantly improved Kc values without excessively lowering K1 values (see Table 2): removing the association of an anti-cholinergic medication and a neuroleptic from the screen of Parkinson’s disease (treatment of neuroleptic-induced extra-pyramidal symptoms); removing the association of neuroleptic and anti-cholinesterasic drugs from the screen of psychotic disorders (treatment of behavior disorders of dementia); removing the association of opioids with gabapentine or pregabaline from the screen of epilepsy (treatment of chronic pain). There was also some evidence of under-coding of epilepsy, because Ko increased to 0.35 when we restricted the screen to patients with multiple antiepileptic drugs.

Two morbidity groups, for which tracer treatment is mainly preventive (thromboembolism risk or disease, and diseases of esophagus/peptic ulcer), had high K1 but very low K0 (<=0.10). Extending ischemic heart disease and thrombogenic cardiac arrhythmias to thrombo-embolic disease increased all Kappa values, suggesting that secondary prevention is often the treatment aim. Enhancement in accuracy of peptic disease screening by removing patients taking a non steroidal anti-inflammatory (primary prevention hypothesis) was negligible.

Thirty two morbidity categories exhibited poor fit between diagnoses and drugs. Most of them were acute conditions requiring time-limited drug treatment or minor conditions seldom occurring or collected in hospitals. We considered that if such conditions (migraine, mycosis, acne for instance) had K1 >0.2, they corresponded to an actual morbidity, but had not been recorded in the hospital data. However, the uncertainty surrounding the appropriateness of treatment precluded the adoption of several groups in spite of fair K1 (see Table 2, last column). The same limitation prompted cautious use of most categories detected by tracer drugs that have multiple indications reaching acceptable K1: hypnotics, painkillers, nutritional supplements.

At the end of the analysis, 15 morbidity groups were retained for morbidity indicators (Table 2, letter M), to which 16 were added for insurers’ risk adjustment (letter R) and six further groups for ambulatory cost adjustment (letter C). Twenty three were not retained because of their poor accuracy or their treatment was prone to practice variations.

Table 4 shows the reproducibility of drug information based morbidity categories from one year to the next. Chronic conditions, for which drug-based information performed the best were also more reproducible. All acute conditions had poor reproducibility.

Table 4 Stability of categories inferred from drugs on patients classified in at least one category in 2005 (N = 410,469)

Morbidity prevalence (crude and adjusted) inferred from 2005 drug information for the whole insured population (N = 2,028,620, mean age 55.5, SD age 22.7, men 39.3 percent) are shown in Table 5 and compared with available national values or estimates from other external sources. All of our estimates were fairly close to the reference estimates, with only a few exceptions, Parkinson and transplants were overestimated (by a factor of 2 and 3 respectively), whereas HIV, Alzheimer’s disease, prostate hyperplasia and osteoporosis were underestimated by a factor between 2 and 4.

Table 5 2005 estimated prevalence of illness inferred from drugs’ dispensation among 2,028,621 insured

Only 15% of all prescriptions (i.e. a substance identified by its ATC code delivered to a patient, N = 3,185,997) were not assigned to a morbidity category; these were mainly vitamins and other food supplements (20%), topic medications (36%), vaccines and immune globulin preparations (10%), contraceptives and hormonal replacement therapy (11%), anesthetics (2%), blood products and replacement fluids (2%).


Our drugs-based morbidity groups include the majority of chronic categories of the most recent CDS derived tools [1219]. The few CDS categories our classification ignored were those deduced from devices or non-pharmaceutical prescriptions (urinary incontinence, ostomy, neurologic bladder, malnutrition), and three with poor screening (pancreatic insufficiency, hyperkaliemia and liver failure, the latter removed by other authors due to different indications of amonemia detoxicants in many countries) [17]. A few chronic illnesses and seventeen acute conditions were added. Although we retained most ATC codes of the revised CDS of Kuo and al, many drugs were added and some removed [14].

Fifteen chronic conditions (Table 2, M in last column) exhibited sufficient agreement with their diagnoses-based counterparts to be considered alternative strategies to diagnosis for capturing similar populations. Furthermore, all chronic conditions but four (IBD, mood disorders, prostate hyperplasia and RAD) exhibited substantial or almost perfect reliability on test-retest procedure. Finally, prevalence estimates largely agreed with estimates from national epidemiological studies whenever prevalence information is available in Switzerland. Similar age and gender distribution was found for diabetes [39, 40], treated hyperlipidemia [35, 51], treated hypertension [35, 52], IBD [47] and reactive airway disease [38]. Our HIV disease prevalence agrees with the national estimate of 0.3%, in view of the fact that 75% of subjects registered in the Swiss HIV cohort and thus subject to close follow-up and compulsory treatment receive an antiretroviral therapy [53]. The moderate reproducibility of IBD, mood disorders and RAD may reflect the fact that therapy varies depending on the severity of conditions like these, which are characterized by exacerbation and remission periods [54]. Regarding prostate hypertrophy this may reflect failed treatment and a switch to surgery [55].

For nine conditions (see Table 2, Ko > 0.4 and indicated in the last column by C, R), drug-based information accurately identified only a subset of the population defined by diagnoses. These drugs are often used in a specialist care setting (e.g. chronic hepatitis, malignant neoplasm, multiple sclerosis, neutropenia) and thus might detect individuals with special or more costly care needs. Most conditions had only fair or moderate test-retest reliability reflecting time-limited treatment. Although their ability to describe the distribution of illnesses is poor, these categories fit medical conditions sufficiently well to be used to analyze medical practices and risk adjustment, providing better identification of the severity of a disease than only inpatient diagnoses.

Restricting tuberculosis screening to active cases - i.e. treated by more than one therapeutic agent - enhanced accuracy; low sensitivity may be due to time-limited therapy. However, our estimated prevalence agrees with the national estimates [50].

For all other conditions, agreement between hospital diagnoses and drug information was poor, which does not mean that information inferred from drugs is useless. The relationship between drug and diagnoses-based screening is not straightforward and would benefit by closer examination. Epilepsy and psychotic disorders are two examples where diagnoses- based conditions are much less frequent than drug-based conditions, but the interpretation is likely to differ. For epilepsy, where treatment is often continued several years after the last seizure, many subjects might have treatment renewed without a coded diagnosis. In such a case, drug-based information could offer a more complete overview of the condition. On the other hand, it seems unlikely that the diagnosis will be overlooked for psychotic disorders. Because they are used to treat other severe psychiatric disorders, antipsychotic drugs cannot be consistently associated with overlooked psychotic disorders.

Categories in which drug information detects a greater number of conditions than diagnosis pose a particular problem, since therapy might more effectively reflect medical practices than true conditions. For instance, primary prevention of peptic ulcer by means of nonsteroidal anti-inflammatory drugs does not provide evidence of an active disease, and therapy for functional dyspepsia may be disputable. If the acute nature of bacterial infection may explain the poor fit between diagnoses and drug-based information, the fact that antibiotherapy is often prescribed inappropriately is an important aspect when considering pharmacy-based screening. The high prevalence of other broadly defined conditions, e.g., pain, certain mental and behavioral disorders may also highlight their overestimation.

While some drugs-based morbidity groups were very specific (i.e. tuberculosis, vertigo, psoriasis, neutropenia), others were broad (viral diseases, malignant neoplasms). For the latter, more accurate information could be obtained from other data sources, including cancer registries. Missing information due to hospital drug dispensation might also explain the poor sensitivity of malignant neoplasm.

The most widespread application of disease status measure computable from routinely available data is to correct for confounding when comparing health care service indicators. Which rate of error is tolerable when estimating a population’s health from drugs dispensation depends on the purpose of the indicator [1]. Morbidity indicators require satisfactory agreement between drugs-based and diagnoses categories (see Table 2). The basis of this interpretation is the Kappa thresholds defined by the authors. Only 15 categories fit this purpose. For other indicators, such a stringent criterion is not required. Inpatient diagnoses have limited pertinence, as only a minority of enrollees is hospitalized, particularly under age 65. Consequently, some data are better than none, but only if the measure creates no perverse incentives. Several categories that reflect medical practices rather than true morbidity must be viewed with caution, even when they have good predictive performance (overuse of medication).

The main limitation of our study is that we restricted the validation of drug-based classification to inpatients, thus underestimating specificity by under-reporting chronic co-morbidities. On the other hand, sensitivity is measured on a population suffering from more severe conditions and might be overestimated. There might be variations in the hospital coding practices across countries due to differences in coding rules, coding purposes such as hospital payment or the thoroughness of secondary diagnosis coding, which is sometimes limited by the data fields available. Therefore, caution should be exercised when generalizing our results to other countries. Some conditions, mainly those treated in ambulatory settings, are poorly represented. Further studies conducted in ambulatory settings might rate drugs-based acute or milder categories differently. Another problem is that we may be identifying incidental users of a drug rather than a real condition; for example, having been treated by a proton-pump inhibitor or a painkiller does not mean having a disease.


We defined sixty morbidity categories that may in theory be related to a particular drug signature that might be applied internationally. Drug information was a good proxy of diagnoses to identify 15 chronic conditions, providing useful information for epidemiological studies. Although the accuracy of detection was only fair, twenty-two other morbidities could also be exploited for health insurers’ risk adjustment or ambulatory cost control. Several categories were excluded because they prone to variations in prescribing (pain, bacterial infection, peptic ulcer). Some acute diseases poorly represented in hospitalized populations should be studied further on outpatient samples. Further research should also focus on more detailed validation, e.g. using medical records or other more precise data.



Electronic medical records


World Health Organization


Anatomical Therapeutic Chemical


Chronic disease score


Swiss Federal Statistical Office


International Classification of Diseases, Ninth Revision, Clinical Modification


International Statistical Classification of Diseases, Tenth Revision


International Shortlist for Hospital Morbidity Tabulation


Kappa coefficient


Human immunodeficiency virus


Reactive airway disease


Inflammatory bowel disease.


  1. Eggli Y, Halfon P, Chikhi M, Bandi T: Ambulatory healthcare information system: a conceptual framework. Health Policy. 2006, 78: 26-38. 10.1016/j.healthpol.2005.09.001.

    Article  PubMed  Google Scholar 

  2. Fitzhenry F, Shultz EK: Health-risk-assessment tools used to predict costs in defined populations. J Healthc Inf Manag. 2000, 14: 31-57.

    CAS  PubMed  Google Scholar 

  3. Salem-Schatz S, Moore G, Rucker M, Pearson SD: The case for case-mix adjustment in practice profiling. When good apples look bad. JAMA. 1994, 272: 871-874. 10.1001/jama.1994.03520110051028.

    Article  CAS  PubMed  Google Scholar 

  4. Stam PJ, van Vliet RC, van de Ven WP: Diagnostic, pharmacy-based, and self-reported health measures in risk equalization models. Med Care. 2010, 48: 448-457. 10.1097/MLR.0b013e3181d559b4.

    Article  PubMed  Google Scholar 

  5. National Center for Health Statistics: National Health and Nutrition Examination Survey Questionnaire. Hyattsville, MD: National Center for Health Statistics,

  6. Mitiku TF, Tu K: Using data from electronic medical records: theory versus practice. Healthcare Q. 2008, 11: 23-25. 10.12927/hcq.2008.20088.

    Article  Google Scholar 

  7. Tu K, Manuel D, Lam K, Kavanagh D, Mitiku TF, Guo H: Diabetics can be identified in an electronic medical record using laboratory tests and prescriptions. J Clin Epidemiol. 2011, 64: 431-435. 10.1016/j.jclinepi.2010.04.007.

    Article  PubMed  Google Scholar 

  8. Furu K, Wettermark B, Andersen M, Martikainen JE, Almarsdottir AB, Sorensen HT: The Nordic countries as a cohort for pharmacoepidemiological research. Basic Clin Pharmacol Toxicol. 2010, 106: 86-94. 10.1111/j.1742-7843.2009.00494.x.

    Article  CAS  PubMed  Google Scholar 

  9. Swart E, Ihle P: Routinedaten im gesundheitswesen. Handbuch sekundärdatenanalyse: grundlagen, methoden und perspektiven. 2005, Bern, Switzerland: Hans Huber Verlag

    Google Scholar 

  10. Tamblyn R, Lavoie G, Petrella L, Monette J: The use of prescription claims databases in pharmacoepidemiological research: The accuracy and comprehensiveness of the prescription claims database in Québec. J Clin Epidemiol. 1995, 48: 999-1009. 10.1016/0895-4356(94)00234-H.

    Article  CAS  PubMed  Google Scholar 

  11. Levy AR, O’Brien BJ, Sellors C, Grootendorst P, Willison D: Coding accuracy of administrative drug claims in the Ontario drug benefit database. Can J Clin Pharmacol. 2003, 10: 67-71.

    PubMed  Google Scholar 

  12. Von Korff M, Wagner EH, Saunders K: A chronic disease score from automated pharmacy data. J Clin Epidemiol. 1992, 45: 197-203. 10.1016/0895-4356(92)90016-G.

    Article  CAS  PubMed  Google Scholar 

  13. Clark DO, Von Korff M, Saunders K, Baluch WM, Simon GE: A chronic disease score with empirically derived weights. Med Care. 1995, 33: 783-795. 10.1097/00005650-199508000-00004.

    Article  CAS  PubMed  Google Scholar 

  14. Kuo RN, Dong YH, Liu JP, Chang CH, Shau WY, Lai MS: Predicting healthcare utilization using a pharmacy-based metric with the WHO’s anatomic therapeutic chemical algorithm. Med Care. 2011, 49: 1031-1039. 10.1097/MLR.0b013e31822ebe11.

    Article  PubMed  Google Scholar 

  15. Gilmer T, Kronick R, Fishman P, Ganiats TG: The Medicaid Rx model: pharmacy-based risk adjustment for public programs. Med Care. 2001, 39: 1188-1202. 10.1097/00005650-200111000-00006.

    Article  CAS  PubMed  Google Scholar 

  16. Fishman PA, Shay DK: Development and estimation of a pediatric chronic disease score using automated pharmacy data. Med Care. 1999, 37: 874-883. 10.1097/00005650-199909000-00004.

    Article  CAS  PubMed  Google Scholar 

  17. Lamers LM: Pharmacy costs groups: a risk-adjuster for capitation payments based on the use of prescribed drugs. Med Care. 1999, 37: 824-830. 10.1097/00005650-199908000-00012.

    Article  CAS  PubMed  Google Scholar 

  18. Sloan KL, Sales AE, Liu CF, Fishman P, Nichol P, Suzuki NT, Sharp ND: Construction and characteristics of the RxRisk-V: a VA-adapted pharmacy-based case-mix instrument. Med Care. 2003, 41: 761-774.

    PubMed  Google Scholar 

  19. Fishman PA, Goodman MJ, Hornbrook MC, Meenan RT, Bachman DJ, O'Keeffe Rosetti MC: Risk adjustment using automated ambulatory pharmacy data: the RxRisk model. Med Care. 2003, 41: 84-99. 10.1097/00005650-200301000-00011.

    Article  PubMed  Google Scholar 

  20. Furu K, Skurtveit S, Langhammer A, Nafstad P: Use of anti-asthmatic medications as a proxy for prevalence of asthma in children and adolescents in Norway: a nationwide prescription database analysis. Eur J Clin Pharmacol. 2007, 63: 693-698. 10.1007/s00228-007-0301-9.

    Article  CAS  PubMed  Google Scholar 

  21. Cossman RE, Cossman JS, James WL, Blanchard T, Thomas R, Pol LG, Cosby AG: Correlating pharmaceutical data with a national health survey as a proxy for estimating rural population health. Popul Health Metr. 2010, 8: 25-10.1186/1478-7954-8-25.

    Article  PubMed  PubMed Central  Google Scholar 

  22. WHO Collaborating Centre for Drug Statistics Methodology: Anatomical Therapeutic Chemical (ATC) classification index. 2011,

    Google Scholar 

  23. Eggli Y, Chikhi M, Bandi T, Känzig H, Weissbaum F: Statistik der kosten und leistungen. [Statistics of costs and services]. Soziale Sicherheit. 2008, 4: 239-242.

    Google Scholar 

  24. World Health Organization: International Statistical Classification of Diseases and Related Health Problems, 10th Revision.

  25. Swiss Federal Statistical Office: Statistiques des établissements de santé (soins intra-muros). La protection des données dans la statistique médicale. [In-hospital statistics. Data privacy rules]. 1997,

    Google Scholar 

  26. Gunn PP, Fremont AM, Bottrell M, Shugarman LR, Galegher J, Bikson T: The health insurance portability and accountability act privacy rule: a practical guide for researchers. Med Care. 2004, 42: 321-327. 10.1097/01.mlr.0000119578.94846.f2.

    Article  PubMed  Google Scholar 

  27. World Health Organization: Rules and guidelines for mortality and morbidity coding. International Statistical Classification of Diseases and Related Health Problems, 10th Revision.Volume 2. Instruction manual. Edited by: World Health Organization. 1993, Geneva, Switzerland: WHO Library, 30-123.

    Google Scholar 

  28. Powell H, Lim LL, Heller RF: Accuracy of administrative data to assess comorbidity in patients with heart disease. an Australian perspective. J Clin Epidemiol. 2001, 54: 687-693. 10.1016/S0895-4356(00)00364-4.

    Article  CAS  PubMed  Google Scholar 

  29. Iezzoni LI, Foley SM, Daley J, Hughes J, Fisher ES, Heeren T: Comorbidities, complications, and coding bias. Does the number of diagnosis codes matter in predicting in-hospital mortality?. JAMA. 1992, 267: 2197-2203. 10.1001/jama.1992.03480160055034.

    Article  CAS  PubMed  Google Scholar 

  30. Cohen JA: A coefficient of agreement for nominal scales. Educ Psychol Meas. 1960, 20: 37-46. 10.1177/001316446002000104.

    Article  Google Scholar 

  31. Bloch DA, Kraemer HC: 2 × 2 kappa coefficients: measures of agreement or association. Biometrics. 1989, 45: 269-287. 10.2307/2532052.

    Article  CAS  PubMed  Google Scholar 

  32. Kraemer HC, Periyakoil VS, Noda A: Kappa coefficients in medical research. Stat Med. 2002, 21: 2109-2129. 10.1002/sim.1180.

    Article  Google Scholar 

  33. Landis JR, Koch CG: The measurement of observer agreement for categorical data. Biometrics. 1977, 33: 159-174. 10.2307/2529310.

    Article  CAS  PubMed  Google Scholar 

  34. Fleiss JL: The measurement of interrater agreement. Statistical Methods for Rates and Proportions. Edited by: Fleiss JL. 1981, New-York, NY: John Wiley and Sons, 211-236. 2

    Google Scholar 

  35. Firmann M, Mayor V, Marques Vidal P, Bochud M, Pécoud A, Hayoz D, Paccaud F, Preisig M, Song KS, Yuan X, Danoff TM, Stirnadel HA, Waterworth D, Mooser V, Waeber G, Vollenweider P: The CoLaus study: a population based study to investigate the epidemiology and genetic determinants of cardiovascular risk factors and metabolic syndrome. BMC Cardiovascular disorders. 2008, 8: 6-10.1186/1471-2261-8-6.

    Article  PubMed  PubMed Central  Google Scholar 

  36. Wittchen HU, Jacobi F: Size and burden of mental disorders in Europe-a critical review and appraisal of 27 studies. Eur Neuropsychopharmacol. 2005, 15: 357-376. 10.1016/j.euroneuro.2005.04.012.

    Article  CAS  PubMed  Google Scholar 

  37. Swiss Health Observatory (Obsan): Bestandesaufnahme und Daten zur psychiatrischen Epidemiologie – Informationen über die Schweiz. [Inventory of Fixtures and Data Concerning the Psychiatric Epidemiology in Switzerland]. Report prepared for Obsan. Edited by: Ajdacic-Gross V, Graf M. 2003, Neuchâtel, Switzerland: Swiss Health Observatory

    Google Scholar 

  38. Bridevaux PO, Probst-Hensch NM, Schindler C, Curjuric I, Felber Dietrich D, Braendli O, Brutsche M, Burdet L, Frey M, Gerbase MW, Ackermann-Liebrich U, Pons M, Tschopp JM, Rochat T, Russi EW: Prevalence of airflow obstruction in smokers and never-smokers in Switzerland. Eur Respir J. 2010, 36: 1259-1269. 10.1183/09031936.00004110.

    Article  PubMed  Google Scholar 

  39. Bopp M, Zellweger U, Faeh D: Routine data sources challenge international diabetes federation extrapolations of national diabetes prevalence in Switzerland. Diabetes Care. 2011, 34: 2387-2389. 10.2337/dc11-0157.

    Article  PubMed  PubMed Central  Google Scholar 

  40. Swiss Federal Statistical Office: Santé et comportements vis-à-vis de la santé en Suisse en 2007. Enquête suisse sur la santé. [Health and Health Behavior in Switzerland in 2007 Swiss Health Survey]. 2007,, . Enquête suisse sur la santé. [Health and Health Behavior in Switzerland in 2007 Swiss Health Survey].

    Google Scholar 

  41. Chute CG, Panser LA, Girman CJ, Oesterling JE, Guess HA, Jacobsen SJ, Lieber MM: The prevalence of prostatism: a population-based survey of urinary symptoms. J Urol. 1993, 150: 85-89.

    CAS  PubMed  Google Scholar 

  42. Agence d’évaluation des technologies et des modes d’intervention en santé 729 (AETMIS): Population Screening for Primary Open-Angle Glaucoma: Summary. Report prepared for AETMIS. Edited by: Côté B, Rodriguez N. 2007, Montréal: AETMIS, AETMIS 07-10

    Google Scholar 

  43. Schwenkglenks M, Szucs TD: Epidémiologie de l’ostéoporose et des fractures chez les personnes âgées. Ostéoporose et Chutes des Personnes Agées: Une Approche de Santé Publique. Edited by: Office fédéral de la santé publique (OFSP). 2004, Berne, Switzerland

    Google Scholar 

  44. Banerjee PN, Filippi D, Hauser WA: The descriptive epidemiology of epilepsy. A review. Epilepsy Res. 2009, 85: 31-45. 10.1016/j.eplepsyres.2009.03.003.

    Article  PubMed  PubMed Central  Google Scholar 

  45. Hollowell JG, Staehling NW, Flanders WD, Hannon WH, Gunter EW, Spencer CA, Braverman LE: Serum TSH, T4 and thyroid antibodies in the United States population (1988 to 1994): national health and nutrition examination survey (NHANES III). J Clin Endoc Metab. 2002, 87: 489-499. 10.1210/jc.87.2.489.

    Article  CAS  Google Scholar 

  46. Andlin-Sobocki P, Jonsson B, Wittchen HA, Olesen J: Cost of disorders of the brain in Europe. Eur J Neurol. 2005, 12 (Suppl 1): 1-27.

    Article  PubMed  Google Scholar 

  47. Juillerat P, Pittet V, Bulliard JL, Guessous I, Antonino AT, Mottet C, Felley C, Vader JP, Michetti P: Prevalence of inflammatory bowel disease in the canton of Vaud (Switzerland). A population-based cohort study. J Crohns Colitis. 2008, 2: 131-141. 10.1016/j.crohns.2007.10.006.

    Article  PubMed  Google Scholar 

  48. Federal Office of Public Health: L’épidémie de VIH en Suisse à l’automne 2006. [The HIV epidemic in Switzerland in autumn 2006]. Bulletin des Bundesamtes für Gesundheitswesen. 2006, 48: 953-961.

    Google Scholar 

  49. Swiss National Foundation for organ donation and transplantation: Annual Report. 2006,

    Google Scholar 

  50. Federal Office of Public Health: La tuberculose en Suisse de 2005 à 2009. [Tuberculosis in Switzerland between 2005 and 2009]. Bulletin des Bundesamtes für Gesundheitswesen. 2011, 10: 213-213.

    Google Scholar 

  51. Firmann M, Marques-Vidal P, Paccaud F, Mooser V, Rodondi N, Waeber G, Vollenweider P: Prevalence, treatment and control of dyslipidaemia in Switzerland: still a long way to go. Eur J Cardiovasc Prev Rehabil. 2010, 17: 682-687. 10.1097/HJR.0b013e32833a09ab.

    Article  PubMed  Google Scholar 

  52. Galobardes B, Costanza MC, Bernstein MS, Delhumeau CH, Morabia A: Trends in risk factors for the major "lifestyle-related diseases" in Geneva, Switzerland, 1993–2000. Ann Epidemiol. 2003, 13: 537-540. 10.1016/S1047-2797(03)00055-3.

    Article  PubMed  Google Scholar 

  53. The Swiss HIV Cohort Study Group: Cohort profile: the Swiss HIV Cohort study. Int J Epidemiol. 2010, 39: 1179-1189.

    Article  Google Scholar 

  54. Reddel HK, Taylor DR, Bateman ED, Boulet LP, Boushey HA, Busse WW, Casale TB, Chanez P, Enright PL, Gibson PG, de Jongste JC, Kerstjens HA, Lazarus SC, Levy ML, O'Byrne PM, Partridge MR, Pavord ID, Sears MR, Sterk PJ, Stoloff SW, Sullivan SD, Szefler SJ, Thomas MD, Wenzel SE, American Thoracic Society/European Respiratory Society Task Force on Asthma Control and Exacerbations: An official American thoracic society/European respiratory society statement: asthma control and exacerbations: standardizing endpoints for clinical asthma trials and clinical practice. Am J Respir Crit Care Med. 2009, 180: 59-99. 10.1164/rccm.200801-060ST.

    Article  PubMed  Google Scholar 

  55. Wilt TJ: Benign prostatic hyperplasia. Part 2-management. BMJ. 2008, 336: 206-210. 10.1136/bmj.39433.670718.AD.

    Article  PubMed  PubMed Central  Google Scholar 

Pre-publication history

Download references


The authors thank the insurers, the Swiss Federal Office of Public Health and the Swiss Federal Statistical Office for their support and for providing the data.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Patricia Halfon.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

ES prepared data and participated in the statistical analysis. AD reviewed the correspondence between drugs and diagnoses based groups. PH and YE designed and conducted the study, and drafted the manuscript. All authors have read and approved the final manuscript.

Electronic supplementary material


Additional file 1: Appendix A. Morbidity groups that cannot be inferred from drug dispensations. Appendix B. Drugs that did not screen for specific morbidities (ATC codes). Appendix C. Weighted Kappa. (DOC 31 KB)

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an open access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Halfon, P., Eggli, Y., Decollogny, A. et al. Disease identification based on ambulatory drugs dispensation and in-hospital ICD-10 diagnoses: a comparison. BMC Health Serv Res 13, 453 (2013).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: