title: Creating medical and drug code lists to identify cases in primary care databases.
abstract: This paper demonstrates how compilation of medical and drug code lists for outcomes or exposures of interest for studies using primary care databases can be carried out efficiently using Stata. Use of Stata do-files to record and execute the commands provides good documentation and ease of replication of the procedure.
authors.affiliation: General Practice Research Framework, Medical Research Council, London, UK. sd@gprf.mrc.ac.uk
authors.forename: Shreya
authors.initials: S
authors.lastname: Davé
authors.forename: Irene
authors.initials: I
authors.lastname: Petersen
mesh_terms: D000928:Antidepressive Agents / Q000627:therapeutic use; D003628:Database Management Systems; D019992:Databases as Topic; D003866:Depressive Disorder / Q000188:drug therapy; D006801:Humans; D016347:Medical Records Systems, Computerized; D011320:Primary Health Care; D015203:Reproducibility of Results; D012984:Software; D018875:Vocabulary, Controlled
chemical_list: D000928:Antidepressive Agents