Pharmacy diagnostic tests