There are more than thirty treatises attributed to al-Kindi in the field of medicine, in which he was chiefly influenced by the ideas of Galen. His most important work in this field is probably De Gradibus, in which he demonstrates the application of mathematics to medicine, particularly in the field of pharmacology. For example, he developed a mathematical scale to quantify the strength of a drug, and a system (based on the phases of the moon) that would allow a doctor to determine in advance the most critical days of a patient's illness. According to Plinio Prioreschi, this was the first attempt at serious quantification in medicine.