RT Journal Article SR Electronic T1 P195 Creation of an HIV case definition to assess the quality of HIV care in the primary healthcare setting in canada JF Sexually Transmitted Infections JO Sex Transm Infect FD BMJ Publishing Group Ltd SP A137 OP A137 DO 10.1136/sextrans-2019-sti.346 VO 95 IS Suppl 1 A1 Shabnam Asghari A1 Sarah Boyd A1 Jillian Blackmore A1 Tao Chen A1 Marissa Becker A1 Claire Kendall A1 Alexander Singer YR 2019 UL http://sti.bmj.com/content/95/Suppl_1/A137.1.abstract AB Background People living with the human immunodeficiency virus (PLHIV) have ongoing healthcare needs as HIV has become a chronic condition for those in treatment. With the success of antiretroviral (ARV) medications, AIDS-related illnesses are no longer the biggest threat to PLHIV, rather, emerging complications and ARV toxicities are of concern. For this reason, HIV care is now transitioning to primary care. To be able to assess the quality of HIV care in these settings a valid case definition is required. Our objective was to develop and validate a case definition for HIV applicable to the Canadian Primary Care Sentinel Surveillance Network (CPCSSN) database.Methods Electronic Medical Record data from CPCSSN (exclusively primary care data) was used to develop a retrospective cohort between 2009 and 2016. We identified all possible records of HIV in the dataset based on the presence of HIV codes, keywords and ARVs. Every combination of codes, keywords and ARVs were analyzed to see which resulted in the most accurate definition of PLHIV. To assess the validity, we linked the data to a LHIV cohort (external reference standard) in Newfoundland and Labrador; and, a random sample of the CPCSSN database which was reviewed by two experts to confirm HIV status (internal reference standard). Sensitivity, specificity and predictive values were measured.Results It was determined that the presence of an HIV keyword in the EMR along with either an ICD code or taking 3 or more ARV drugs was the most accurate algorithm for predicting PLHIV. Compared to internal and external references, the algorithm showed (97.1% and 95.0% sensitivity, 100% and 80% specificity), respectively.Conclusion This is the first Canada-wide study investigating the utilization of primary healthcare by PLHIV. This case definition will contribute to future research and improvements in providing care to PLHIV in a primary care setting.Disclosure No significant relationships.