Determining prescriptions in electronic healthcare record data: methods for development of standardized, reproducible drug codelists