A 70 year old patient was admitted with pneumonia. The history and physical documented that the patient has a history of diabetes, hypertension, and migraine headache about 10 years ago without recurrence. The patient was administered IV antibiotics, metformin, and Altace during the hospitalizations. What is the appropriate reporting and sequence of these diagnoses?

A. hypertension, diabetes, and pneumonia
B. pneumonia, diabetes, and hypertension
C. pneumonia, diabetes, hypertension, and history of migraine headaches
D. diabetes, pneumonia, hypertension, and migraine headaches