<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have been coughing up sputum and I also have a headache. My ear is hurting too and I feel like theres a swelling in my throat. I also have a sore throat. What could be wrong with me?  <response>: Based on your symptoms, it appears that you have an abscess of the pharynx. 