Published on in Vol 25 (2023)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/39103, first published .
The Association Between Comorbidities and Prescribed Drugs in Patients With Suspected Obstructive Sleep Apnea: Inductive Rule Learning Approach

The Association Between Comorbidities and Prescribed Drugs in Patients With Suspected Obstructive Sleep Apnea: Inductive Rule Learning Approach

The Association Between Comorbidities and Prescribed Drugs in Patients With Suspected Obstructive Sleep Apnea: Inductive Rule Learning Approach

Research Letter

1Department of Community Medicine, Information and Decision Sciences, Faculty of Medicine, University of Porto, Porto, Portugal

2Center for Health Technology and Services Research, Porto, Portugal

Corresponding Author:

Daniela Ferreira-Santos, PhD

Department of Community Medicine, Information and Decision Sciences

Faculty of Medicine

University of Porto

Rua Dr Plácido da Costa, s/n

Porto, 4200-450

Portugal

Phone: 351 225513622

Email: danielasantos@med.up.pt




Current evidence suggests that patients with accurate and complete electronic health records (EHRs) may receive higher quality care than patients with gaps in their EHRs, which can be critical for quality measurement and research [1].

This paper explores the automated acquisition of disease-drug associations in documents written daily by health care professionals, using the available drug information to help fill missed diagnoses in patients with suspected obstructive sleep apnea (OSA).


We manually extracted 26 predictive variables plus prescribed drugs (World Health Organization Anatomical Therapeutic Chemical [ATC] classification system [2]) and the apnea-hypopnea index, within a consecutive cohort of 619 patients referred to polysomnography at the University Hospital Center of São João, Portugal between 2011 and 2019 who were older than 18 years and had suspected OSA.

Disease-drug rules were induced [3,4], and we selected those with a lift higher than 1 [5] and a confidence higher than 85% [1] if the rule was present in both the “drug-to-disease” and “disease-to-drug” association sets. Rules were evaluated by a clinical expert to interpret the clinical significance of each disease-drug pair.


A total of 481 patients, with 34 described diseases and 50 prescribed drugs, had a variation in missing data of 0% to 97%. We found a total of 29 disease-drug associations with a lift higher than 1 (15 rules for “drug-to-disease” and 14 for the “disease-to-drug”), but only 25 had a confidence higher than 85%. The obtained rules are listed in Table 1 (and Figure 1) by decreasing order of lift, alongside support and confidence.

The rule found with the highest support (68%) associates C09 and arterial hypertension, which also presented the highest confidence in all rule sets, 95% (ie, of the patients that took C09, 95% had arterial hypertension). The highest lift value was 2.05 for the rule associating A10 and diabetes (ie, knowing that a patient took A10, the probability of having diabetes is 2.05 times higher than that of having diabetes not knowing if they are taking A10).

Three strong disease-drug rules were found, namely, the association between A10 → diabetes, C10 → dyslipidemia, and C09 → arterial hypertension. The initial proportion of missing data for diabetes was 47%, for dyslipidemia was 35%, and for arterial hypertension was 23%. These proportions reduced to 46%, 31%, and 21%, respectively, after disease-drug rules were applied to our data set. In our data set, 90% (n=74) of patients with diabetes reported A10 drug prescriptions, 88% (n=111) of patients with dyslipidemia reported C10 drug prescriptions, and 89% (n=126) of patients with arterial hypertension reported C09 drug prescriptions.

Additionally, the A10, C10, and C09 second-level ATC codes also appeared related to other diseases (eg, A10 → arterial hypertension). Nevertheless, these rules are not presented in both the “drug-to-disease” and “disease-to-drug” sets.

Table 1. Association rules for prescribed drugs to diseases and diseases to prescribed drugs (italics represent a strong rules association).

LiftSupportConfidence
Drug → disease

A10adiabetes2.050.400.91

C09b and C10c → dyslipidemia1.300.560.89

C10 → dyslipidemia1.280.600.87

C09 → arterial hypertension1.240.680.95

C09 and A02d → arterial hypertension1.240.450.95

C09 and N06e → arterial hypertension1.240.450.95

C09 and C10 → arterial hypertension1.240.600.95

C09, C10, and A02 → arterial hypertension1.240.410.95

A10 → arterial hypertension1.210.410.93

C10 and A02 → arterial hypertension1.190.410.92

C10 → arterial hypertension1.170.620.90

N06 and C10 → arterial hypertension1.160.400.89
Disease → drug

DiabetesA102.050.400.90

Diabetes → C101.340.410.93

Arterial hypertension and dyslipidemia → C101.300.570.90

Obstructive sleep apnea, arterial hypertension, and dyslipidemia → C101.300.430.90

Arterial hypertension and dyslipidemia → C091.290.590.93

DyslipidemiaC101.280.600.88

Obstructive sleep apnea and dyslipidemia → C101.270.460.88

Obstructive sleep apnea, arterial hypertension, and dyslipidemia → C091.270.450.92

Diabetes → C091.250.400.90

Arterial hypertensionC091.240.680.89

Dyslipidemia → C091.210.600.87

Obstructive sleep apnea and arterial hypertension → C091.210.530.88

Obstructive sleep apnea and dyslipidemia → C091.200.450.86

aA10: drugs used in diabetes.

bC09: agents acting on the renin-angiotensin system.

cC10: lipid-modifying agents.

dA02: drugs for acid-related disorders.

eN06: psychoanaleptics.

Figure 1. Association rules for prescribed drugs to diseases (upper image) and for diseases to prescribed drugs (lower image).

We hypothesized that disease-drug association rules in an underdiagnosed disease such as OSA can be a useful technique for inferring meaningful relations and filling information gaps in EHRs. We found three disease-drug association rules that, although not representing causal effects, were clinically confirmed by an expert on the topic.

Though this technique is not novel, we did not find studies performing this technique in OSA, but we did find it being used for cancer [6], drug alerts [5], diabetes [7], and heart failure [8]. All studies [5-8] used a medication list like ours, with some authors [7,8] stating that patients with an accurate and complete medication list may receive higher care. Also, they confirmed [5-8] that this technique is valid for identifying and filling gaps in the records, as well as benefiting the patient, as a mismatch within the records can indicate a medication error.

One of the limitations of this study is that we only used one researcher to manually extract nonstructural data (possible collection bias). Nevertheless, if we had only gathered information from the International Classification of Diseases, Ninth Revision codes, we would have missed relevant information.

To conclude, since ATC codes are used internationally and, to the best of our knowledge, there is no significant heterogeneity in their worldwide applicability in practice, this study demonstrates that drugs can be used to infer several active diseases and vice versa. Now, when a patient with suspected OSA has been prescribed a particular drug for a particular disease over a sustained time, we can confidently impute disease information with an error ranging from 5% (for the disease-drug association between agents acting on the renin-angiotensin system [C09] and arterial hypertension) to 13% (for lipid-modifying agents [C10] and dyslipidemia). Future work will measure the impact of using this imputation in Bayesian network model construction for OSA screening.

Acknowledgments

A thank you to Inês Ribeiro-Vaz for her expert interpretation of association rules. DFS acknowledges Fundação para a Ciência e Tecnologia under a PhD grant (PD/BD/13553/2018). This article was supported by National Funds through FCT - Fundação para a Ciência e a Tecnologia, IP, within the Center for Health Technology and Services Research (CINTESIS), R&D Unit (reference UIDP/4255/2020).

Conflicts of Interest

None declared.

  1. Wright A, Chen ES, Maloney FL. An automated technique for identifying associations between medications, laboratory results and problems. J Biomed Inform 2010 Dec;43(6):891-901 [FREE Full text] [CrossRef] [Medline]
  2. ATC/DDD Index 2023. WHO Collaborating Centre for Drug Statistics Methodology.   URL: https://www.whocc.no/atc_ddd_index/ [accessed 2022-05-26]
  3. Doddi S, Marathe A, Ravi S, Torney D. Discovery of association rules in medical data. Med Inform Internet Med 2001;26(1):25-33. [Medline]
  4. Agrawal R, Imieliński T, Swami A. Mining association rules between sets of items in large databases. SIGMOD Rec 1993 Jun 01;22(2):207-216. [CrossRef]
  5. Wang C, Nguyen PA, Jack Li YC, Islam MM, Poly TN, Tran Q, et al. Improved diagnosis-medication association mining to reduce pseudo-associations. Comput Methods Programs Biomed 2021 Aug;207:106181. [CrossRef] [Medline]
  6. Støer NC, Botteri E, Thoresen G, Karlstad, Weiderpass E, Friis S, et al. Drug use and cancer risk: a Drug-Wide Association Study (DWAS) in Norway. Cancer Epidemiol Biomarkers Prev 2021 Apr;30(4):682-689. [CrossRef] [Medline]
  7. Carpenter J, Gorman P. Using medication list--problem list mismatches as markers of potential error. Proc AMIA Symp 2002:106-110 [FREE Full text] [Medline]
  8. Hartung DM, Hunt J, Siemienczuk J, Miller H, Touchette DR. Clinical implications of an accurate problem list on heart failure treatment. J Gen Intern Med 2005 Feb;20(2):143-147 [FREE Full text] [CrossRef] [Medline]


ATC: Anatomical Therapeutic Chemical
EHR: electronic health record
OSA: obstructive sleep apnea


Edited by G Eysenbach; submitted 28.04.22; peer-reviewed by Y Qian, J Kaasbøll, Z Zhang, M Casal-Guisande; comments to author 18.10.22; revised version received 12.12.22; accepted 19.12.22; published 30.01.23

Copyright

©Daniela Ferreira-Santos, Pedro Pereira Rodrigues. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 30.01.2023.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.