Conversation: The conversation between human and AI assistant.
[|Human|] I randomly woke up at three in the morning and spit up twice with two clumps of blood each. After I was able to get back to sleep for an 1 1/2 hours I woke up and spit up another blood clot. What could cause this? I few nighs before that I woke up thinking I had pleurisy, due to the pain in one of my lungs.
[|AI|]  Thanks for asking your question I completely understand your question hemoptysis is an alarming symptom, and you need to visit an emergency to get control on hemoptysis. Coughing out blood or hemoptysis can be due to variety if reasons and common causes are tuberculosis, parasitic infections, pneumonia and malignancy.pulmonary tb is one of the common causes in developing countries you need to visit a pulmonologist and get a chest X-ray and sputum for AFB smear done to evaluate the certain cause which lead to hemoptysisthanksfeel free to ask more questions may god bless you with good health