This study reports on the development and validation of candidate quality measures for medication safety in ambulatory care.