Literature DB >> 35651521

Comparison of algorithms for identifying people with HIV from electronic medical records in a large, multi-site database.

Jessica P Ridgway1, Joseph A Mason1, Eleanor E Friedman1, Samantha Devlin1, Junlan Zhou1, David Meltzer1, John Schneider1.   

Abstract

Objective: As electronic medical record (EMR) data are increasingly used in HIV clinical and epidemiologic research, accurately identifying people with HIV (PWH) from EMR data is paramount. We sought to evaluate EMR data types and compare EMR algorithms for identifying PWH in a multicenter EMR database. Materials and
Methods: We collected EMR data from 7 healthcare systems in the Chicago Area Patient-Centered Outcomes Research Network (CAPriCORN) including diagnosis codes, anti-retroviral therapy (ART), and laboratory test results.
Results: In total, 13 935 patients had a positive laboratory test for HIV; 33 412 patients had a diagnosis code for HIV; and 17 725 patients were on ART. Only 8576 patients had evidence of HIV-positive status for all 3 data types (laboratory results, diagnosis code, and ART). A previously validated combination algorithm identified 22 411 patients as PWH.
Conclusion: EMR algorithms that combine laboratory results, administrative data, and ART can be applied to multicenter EMR data to identify PWH.
© The Author(s) 2022. Published by Oxford University Press on behalf of the American Medical Informatics Association.

Entities:  

Keywords:  EMR; HIV; clinical informatics; clinical phenotyping; diagnostic algorithm

Year:  2022        PMID: 35651521      PMCID: PMC9150074          DOI: 10.1093/jamiaopen/ooac033

Source DB:  PubMed          Journal:  JAMIA Open        ISSN: 2574-2531


INTRODUCTION

In the era of widespread electronic medical records (EMRs), information from EMR is increasingly used for clinical research in a variety of disciplines, including HIV clinical research. In addition, public health agencies utilize HIV-related EMR data for epidemiologic purposes, such as tracking HIV care outcomes. To ensure the validity of these analyses, accurately identifying people with HIV (PWH) from EMR data is critical. Various EMR data sources can be utilized to identify PWH, including administrative diagnosis codes, laboratory test results, and prescriptions for HIV-specific medications. Relying on just one of these EMR data sources to identify PWH could result in misclassification. For example, an erroneous diagnosis code for HIV, or a prescription of anti-retroviral therapy (ART) for post-exposure prophylaxis rather than treatment of HIV could inaccurately identify a patient as HIV-positive when in fact they are HIV-negative. Conversely, incomplete medical records regarding HIV test results or prescriptions for ART could fail to identify PWH, for example, if a positive HIV test result occurred in a different health system without a shared EMR system. Computable phenotype algorithms that combine multiple EMR data sources can be used to more accurately identify PWH in an EMR system., Paul et al developed and validated 2 EMR-based algorithms to identify PWH. Their first algorithm used laboratory and medication data and had a sensitivity of 78% and specificity of 99% for identifying PWH. Their second algorithm used International Classification of Diseases-9 (ICD-9) codes, medication, and laboratory testing data and had a sensitivity of 78% and specificity of 100%. These algorithms were developed using data from a single medical center and have not been applied to identify PWH in large multicenter databases. The objective of this study was to utilize these algorithms in a large multicenter EMR database and investigate the utility of various electronic data types for identifying PWH.

METHODS

We collected de-identified data from 7 healthcare systems in the Chicago Area Patient-Centered Outcomes Research Network (CAPriCORN). CAPriCORN is a clinical research network with linked data from diverse health care system EMRs in Chicago, including academic medical centers, community hospitals, and clinics. Inclusion in the dataset consisted of all patients in the CAPriCORN database with either a diagnosis code (ICD-9 or ICD-10) for HIV or an HIV viral load test result between January 1, 2011 and September 5, 2019. Patients were de-duplicated via a hashing/matching process that has been previously described. For each patient in the dataset, we collected EMR data that could be used to determine if a patient was HIV-positive. These included ICD-9 and ICD-10 codes, prescriptions for HIV-specific medications (ie, ART), and laboratory test results (eg, HIV antibody, HIV antigen, HIV viral load). See Table 1 for diagnosis codes for HIV, laboratory test results considered positive for HIV, and HIV-specific medications. Of note, patients with prescriptions for medications used to treat Hepatitis B or pre-exposure prophylaxis for HIV prevention (lamivudine, emtricitabine, tenofovir disoproxil fumarate alone or in combination with emtricitabine, tenofovir alafenamide alone or in combination with emtricitabine) in the absence of other ART medications were not considered to have an ‘HIV specific medication’ as these medications are used for indications other than treatment of HIV. However, if these medications were prescribed in addition to other ART medications, they were included as HIV-specific medications.
Table 1.

Criteria for determining HIV-positive status based on laboratory results, medications, and diagnosis codes, 2011-2019, CAPriCORN, Chicago, IL

CategoryCriteria
Positive laboratory tests for HIV Confirmatory HIV antibodyPositive Western Blot
Positive indirect fluorescent antibody
AntigenPositive p24 antigen
NAAT/PCRHIV viral load >20 copies/mL
HIV-specific medications Nucleoside reverse transcriptase inhibitorsAbacavir (ABC)
Didanosine (DDI)
Emtricitabine (FTC)
Lamivudine (3TC)
Stavudine (D4T)
Tenofovir alafenamide (TAF)
Tenofovir disoproxil fumarate (TDF)
Zidovudine (AZT)
Non-nucleoside reverse transcriptase inhibitorsDelavirdine
Doravirine
Efavirenz
Etravirine
Nevirapine
Protease inhibitorsRilpivirine
Atazanavir
Darunavir
Fosamprenavir
Indinivir
Lopinavir
Nelfinavir
Ritonavir
Saquinavir
Tipranivir
Integrase inhibitorsBictegravir
Dolutegravir
Elvitegravir
Raltegravir
Fusion inhibitorEnfurvitide
Entry inhibitorMaraviroc
BoosterCobicistat
Combination pillsABC/3TC/dolutegravir
ABC/3TC
ABC/3TC/AZT
AZT/3TC
Bictegravir/TAF/FTC
3TC/dolutegravir
Dolutegravir/rilpivirine
TAF/FTC
TAF/FTC/darunavir/cobicistat
TAF/FTC/elvitegravir/cobicistat
TAF/FTC/rilpivirine
TDF/FTC/elvitegravir/cobicistat
TDF/FTC
TDF/3TC
TDF/FTC/efavirenz
TDF/FTC/rilpivirine
TDF/3TC/efavirenz
TDF/3TC/doravirine
Diagnosis codes for HIV ICD9 codes042
042.0
042.1
042.2
042.9
043.0
043.1
043.2
043.3
043.9
044
044.0
044.9
079.53
795.71
795.78
V08
ICD10 codesB20
B21
B22
B23
B24
R75
Z21

ICD: International Classification of Diseases; NAAT: nucleic acid amplification test; PCR: polymerase chain reaction.

Criteria for determining HIV-positive status based on laboratory results, medications, and diagnosis codes, 2011-2019, CAPriCORN, Chicago, IL ICD: International Classification of Diseases; NAAT: nucleic acid amplification test; PCR: polymerase chain reaction. We measured how many participants had a diagnosis code for HIV, positive laboratory test results for HIV, and/or were prescribed HIV-specific medications. We also applied the 2 algorithms previously developed by Paul et al for identifying PWH from EMR data, as described in Figure 1. We explored combining these 2 algorithms to identify patients as HIV-positive if they met any of the criteria in either algorithm, which we labeled Algorithm 3. These 3 algorithms identify patients with positive laboratory tests for HIV and prescriptions for ART, but could potentially miss patients with well-controlled HIV who have been diagnosed at and receive their ART medication at an outside health system. Therefore, we created another algorithm (Algorithm 4) that added additional criteria to identify such patients (ie, diagnosis code for HIV and multiple HIV viral load tests performed). We compared the number and percentage of patients identified by each of these 4 algorithms. This study was approved by the Chicago Area Institutional Review Board.
Figure 1.

Algorithms for identifying people with HIV from electronic medical record data.

Algorithms for identifying people with HIV from electronic medical record data.

RESULTS

The study cohort contained EMR data for 45 756 patients in the CAPriCORN research network database. The cohort contained 33 412 (73.0%) patients with a diagnosis code for HIV and 26 452 (57.8%) patients with at least 1 HIV viral load test result. The study cohort included 13 935 (30.5%) patients with a positive laboratory test for HIV (ie, confirmatory HIV antibody, p24 antigen, or HIV viral load >20 copies/mL) and 17 725 (38.7%) patients who were prescribed an HIV-specific medication (Table 2). Figure 2 shows the overlap among patients with a diagnosis code for HIV, those prescribed HIV-specific medication, and those with a positive HIV laboratory test. Only 8576 patients had evidence of HIV-positive status for all 3 data types.
Table 2.

Numbers of patients meeting various criteria for HIV-positive status

AlgorithmPopulation (n)Percentage
Total patients with at least 1 HIV viral load test performed or diagnosis code for HIV45 756100%
Positive laboratory test for HIV (ie, confirmatory HIV antibody, p24 antigen, or HIV viral load >20 copies/mL)13 93530.5%
At least 1 encounter with a diagnosis code for HIV33 41273.0%
Patients prescribed HIV-specific medication17 72538.7%
Patients with at least 1 HIV viral load test performed26 45257.8%
Patients with at least 2 HIV viral load tests performed17 21837.6%
Diagnosis code for HIV and prescribed HIV-specific medication16 84636.8%
Diagnosis code for HIV and at least 2 HIV viral load tests performed16 55436.2%
Diagnosis code for HIV and a positive laboratory test for HIV13 09128.6%
Patients with at least 1 HIV viral load test performed and prescribed HIV-specific medication13 16728.8%
Algorithm 1a18 62240.7%
Algorithm 2b21 36146.7%
Algorithm 3c22 41149.0%
Algorithm 4d24 23953.0%

Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication).

(Diagnosis code for HIV AND positive HIV Laboratory Test) OR (Diagnosis code for HIV AND prescribed HIV-specific medication).

Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication) OR (Diagnosis code for HIV AND prescribed HIV-specific medication).

Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication) OR (Diagnosis code for HIV AND prescribed HIV-specific medication) OR (Diagnosis code for HIV and at least two viral load tests performed).

Figure 2.

Venn diagram among patients with an HIV diagnosis code, patients prescribed HIV-specific medication, and patients with a positive HIV laboratory test.

Venn diagram among patients with an HIV diagnosis code, patients prescribed HIV-specific medication, and patients with a positive HIV laboratory test. Numbers of patients meeting various criteria for HIV-positive status Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication). (Diagnosis code for HIV AND positive HIV Laboratory Test) OR (Diagnosis code for HIV AND prescribed HIV-specific medication). Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication) OR (Diagnosis code for HIV AND prescribed HIV-specific medication). Positive HIV Laboratory Test OR (At least one HIV Viral load test performed AND prescribed HIV-specific medication) OR (Diagnosis code for HIV AND prescribed HIV-specific medication) OR (Diagnosis code for HIV and at least two viral load tests performed). Considering patients who fit multiple criteria for HIV-positive status, there were 16 846 (36.8%) patients with a diagnosis code for HIV who were also prescribed an HIV-specific medication. The cohort had 13 091 (28.6%) patients with a diagnosis code for HIV in addition to a positive HIV laboratory test. There were 13 167 (28.8%) patients with at least 1 HIV viral load test performed and a prescription for HIV-specific medication (Table 2). There were 16 554 (36.2%) patients with a diagnosis code for HIV and had at least 2 HIV viral load tests performed. Algorithm 1 (positive HIV laboratory test, or at least one HIV viral load test and prescribed HIV-specific medication) identified 18 622 (40.7%) patients. Algorithm 2 (diagnosis code for HIV and a positive HIV laboratory test, or diagnosis code for HIV and prescribed HIV-specific medication) identified 21 361 (46.7%) patients. Algorithm 3 (a combination of Algorithms 1 and 2) identified 22 411 (49.0%) patients. Algorithm 4 identified 24 239 (53.0%) patients, an increase of 1828 patients over Algorithm 3. Figure 3 shows the overlap among patients identified by these 4 algorithms.
Figure 3.

Venn diagram among patients identified as HIV-positive by 4 different algorithms.

Venn diagram among patients identified as HIV-positive by 4 different algorithms.

DISCUSSION

In a large multicenter EMR database, we investigated the use of different EMR data types for identifying patients with HIV. We found that only a minority of patients in the study cohort (18.7%) had all 3 data types (HIV-specific medication, positive HIV laboratory test, and HIV diagnosis code). This finding suggests that relying on any one data type may lead to under-identification of PWH when using multi-site EMR data for clinical HIV research. Many prior HIV-related clinical research studies utilizing EMR data have relied on positive HIV test results to identify PWH. Positive HIV test results are highly specific, but relying on test results alone to identify PWH may lack sensitivity. Patients may have their initial positive HIV antibody test result in a healthcare system differing from their current place of care. Including detectable HIV viral load test results can identify more patients with HIV than a positive antibody test alone, but PWH who are adherent to ART often have persistently undetectable viral load results. Data sharing of HIV laboratory results among healthcare systems could improve the sensitivity of lab results for identifying PWH. In addition, healthcare systems are required to report HIV laboratory test results for PWH to public health departments. Data sharing between healthcare systems and public health departments could further enhance the sensitivity of EMR lab results for identifying PWH. Indeed, some healthcare systems have utilized such data sharing through the Data to Care program., Other studies have used diagnosis codes to identify PWH from EMR data, but diagnosis codes may lack specificity. For example, a patient could have an inaccurate code applied when an HIV-negative patient has an encounter for HIV screening or HIV prevention counseling. In addition, the algorithm developed by Paul et al. included diagnosis codes that indicate non-specific serologic evidence of HIV (e.g., ICD-9 code 795.71) which are sometimes used to connote inconclusive HIV test results and do not necessarily indicate HIV-positive status. Other studies have excluded these nonspecific codes for identifying people who are HIV-positive. Because we applied the algorithms developed by Paul in our study, we chose to include these codes despite possible lack of specificity. We performed a sensitivity analysis excluding ICD-9 code 795.71 and ICD-10 code R75, but these codes accounted for <1% of HIV-associated diagnostic codes, and results were very similar. The addition of other criteria in combination with HIV diagnosis codes, such as prescription of HIV-specific medications, may more accurately identify PWH. In our study, we found that algorithms that combine multiple data types from the EMR to identify PWH, such as the algorithms developed by Paul et al, have improved accuracy and identify more PWH beyond those using just one data type alone. Indeed, Algorithm 4 identified 10 304 more patients as HIV-positive than we would have identified if we had only relied on a positive HIV test result. When applying the previously validated algorithms from Paul et al to a large multicenter cohort in Chicago, we found several differences in results compared to Paul’s single-center study. For Paul, there was significant overlap in patients identified by Algorithms 1 and 2. 91% (970/1063) of patients identified by Algorithm 3 (the combination of Algorithms 1 and 2) were also identified by Algorithms 1 and 2 alone. In our study, only 78.4% (17 572/22 411) of PWH identified by Algorithm 3 were also identified by both Algorithms 1 and 2. The single site in which Paul’s study took place may have had more complete EMR information for each patient, allowing for greater consistency between algorithms. In our multicenter study, the lack of overlap of these 2 algorithms could be due to more fragmented care for our patients or incomplete EMR data within the database. Our study has several limitations. We did not validate the algorithms in our study using manual chart review to determine test sensitivity or specificity because our deidentified database did not include text of clinical notes and was not able to be linked back to medical records for manual chart review. However, we utilized several previously validated algorithms. In addition, while we excluded ART regimens used for PrEP, it is possible that some of the HIV-specific medications we identified were prescribed for HIV-negative patients for post-exposure prophylaxis. To exclude prescriptions for post-exposure prophylaxis, we explored limiting the algorithms to only ART prescriptions with at least one confirmed refill within 6 months. However, 30% of prescriptions in our database were missing refill data, and so we chose to include ART prescriptions for any length of time. Utilizing data from a multisite EMR database could have resulted in discrepancies due to differing internal procedures (eg, ordering laboratory tests, billing, documenting diagnoses in the EMR, etc.). However, using data from multiple sites allows for greater generalizability to other health systems.

CONCLUSION

In conclusion, EMR algorithms that combine laboratory results, administrative data, and ART prescriptions detected more patients with HIV in a large multisite EMR database than use of HIV laboratory test results alone. The use of EMR algorithms across multiple EMR systems within different settings can lead to rapid case detection of PWH and cross-institutional collaboration to facilitate HIV clinical research and epidemiologic studies.

FUNDING

This work was supported by the NIH (K23 MH121190).

AUTHOR CONTRIBUTIONS

JPR and JS conceived of the study. JAM, EEF, and JZ performed data analysis. JPR, JS, JAM, EEF, SD, DM, and JS interpreted results of the study. JPR drafted the manuscript and all other authors provided critical revisions.

CONFLICT OF INTEREST STATEMENT

JPR has received fees for consulting for Gilead Sciences.

DATA AVAILABILITY STATEMENT

The data underlying this article were provided by the Chicago Area Patient-Centered Outcomes Research Network (CAPriCORN). Data will be shared on request to the corresponding author with permission of the CAPriCORN Steering Committee.
  9 in total

1.  Evaluating HIV Surveillance Completeness Along the Continuum of Care: Supplementing Surveillance With Health Center Data to Increase HIV Data to Care Efficiency.

Authors:  Alyssa L Arey; Hope Cassidy-Stewart; Pamela L Kurowski; Jeffrey C Hitt; Colin P Flynn
Journal:  J Acquir Immune Defic Syndr       Date:  2019-09-01       Impact factor: 3.731

2.  HIV Data to Care-Using Public Health Data to Improve HIV Care and Prevention.

Authors:  Patricia Sweeney; Elizabeth A DiNenno; Stephen A Flores; Samuel Dooley; R Luke Shouse; Stacy Muckleroy; Andrew D Margolis
Journal:  J Acquir Immune Defic Syndr       Date:  2019-09-01       Impact factor: 3.731

3.  Development and validation of an algorithm to identify patients newly diagnosed with HIV infection from electronic health records.

Authors:  Matthew Bidwell Goetz; Tuyen Hoang; Virginia L Kan; David Rimland; Maria Rodriguez-Barradas
Journal:  AIDS Res Hum Retroviruses       Date:  2014-03-20       Impact factor: 2.205

4.  Measuring diagnoses: ICD code accuracy.

Authors:  Kimberly J O'Malley; Karon F Cook; Matt D Price; Kimberly Raiford Wildes; John F Hurdle; Carol M Ashton
Journal:  Health Serv Res       Date:  2005-10       Impact factor: 3.402

5.  Computerized Adjudication of Coronary Heart Disease Events Using the Electronic Medical Record in HIV Clinical Research: Possibilities and Challenges Ahead.

Authors:  Michelle Floris-Moore; Andrew Edmonds; Sonia Napravnik; Adaora A Adimora
Journal:  AIDS Res Hum Retroviruses       Date:  2019-09-10       Impact factor: 2.205

6.  HIV laboratory monitoring reliably identifies persons engaged in care.

Authors:  Bonnie B Dean; Rachel L D Hart; Kate Buchacz; Samuel A Bozzette; Kathy Wood; John T Brooks
Journal:  J Acquir Immune Defic Syndr       Date:  2015-02-01       Impact factor: 3.731

Review 7.  Administrative database research infrequently used validated diagnostic or procedural codes.

Authors:  Carl van Walraven; Carol Bennett; Alan J Forster
Journal:  J Clin Epidemiol       Date:  2011-04-06       Impact factor: 6.437

8.  Development and validation of an electronic medical record (EMR)-based computed phenotype of HIV-1 infection.

Authors:  Devon W Paul; Nigel B Neely; Meredith Clement; Isaretta Riley; Mashael Al-Hegelan; Matthew Phelan; Monica Kraft; David M Murdoch; Joseph Lucas; John Bartlett; Mehri McKellar; Loretta G Que
Journal:  J Am Med Inform Assoc       Date:  2018-02-01       Impact factor: 4.497

9.  CAPriCORN: Chicago Area Patient-Centered Outcomes Research Network.

Authors:  Abel N Kho; Denise M Hynes; Satyender Goel; Anthony E Solomonides; Ron Price; Bala Hota; Shannon A Sims; Neil Bahroos; Francisco Angulo; William E Trick; Elizabeth Tarlov; Fred D Rachman; Andrew Hamilton; Erin O Kaleba; Sameer Badlani; Samuel L Volchenboum; Jonathan C Silverstein; Jonathan N Tobin; Michael A Schwartz; David Levine; John B Wong; Richard H Kennedy; Jerry A Krishnan; David O Meltzer; John M Collins; Terry Mazany
Journal:  J Am Med Inform Assoc       Date:  2014-05-12       Impact factor: 4.497

  9 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.