Hematemesis is the medical term for vomiting blood. It can be a sign of a serious underlying condition and requires immediate medical attention. The blood can be bright red or have a coffee-ground appearance, indicating that it has been partially digested by the stomach acids.