Hematemesis is the medical word for vomiting blood, and the blood may look bright red or dark and grainy like coffee grounds depending on how long it has been in the stomach. The bleeding nearly always comes from the upper part of the digestive tract (the esophagus, the stomach or the first part of the small intestine called the duodenum). Doctors use a set of blood tests, risk scores and a camera test called endoscopy in order to find where the blood is coming from, and each of these tests gives the care team a different piece of the picture.
The Meaning of Hematemesis
Hematemesis belongs to a wider group of problems that doctors call upper gastrointestinal bleeding, and the same bleeding can also show up as black and sticky stools (melena) once the blood has passed further down the bowel. Bright red blood in the vomit tends to point to bleeding that is recent or fast, and coffee-ground material tends to mean that stomach acid has had time to change the blood before it came back up.
Vomiting blood is treated as a medical emergency, so anyone who vomits blood should contact emergency services or go to an emergency department straight away, where the team will judge how much blood has been lost and how stable the person is before they go on to the tests described below.
Common Causes Looked For During Testing
Doctors run their tests with a short list of likely sources in mind and they look at the person’s age, medicines and alcohol use and any history of liver disease in order to judge which source is more likely. MedlinePlus lists ulcers in the stomach or duodenum (peptic ulcers) as a common source, and the medicines known as nonsteroidal anti-inflammatory drugs (NSAIDs) such as aspirin and ibuprofen are linked with a higher risk of these ulcers and of irritation of the stomach lining (gastritis).
Forceful vomiting or retching can tear the lining where the esophagus meets the stomach (a Mallory-Weiss tear), and people with severe liver scarring (cirrhosis) can develop swollen veins in the esophagus or stomach (varices) that are able to bleed heavily as pressure builds up in the vein that carries blood to the liver. Less often the bleeding comes from inflammation of the esophagus (esophagitis), from abnormal blood vessels in the gut lining or from a tumor of the esophagus or stomach.
Contact our team
How can we help you? Share your contact details to prepare your request.
How can we help?
By submitting you confirm you have read the privacy information and consent to the processing of your personal data.
Blood Tests and Risk Scores
Blood tests are usually taken soon after arrival and the complete blood count measures hemoglobin (the protein in red blood cells that carries oxygen) so the team will get a first idea of how much blood has been lost. Hemoglobin can look close to normal in the first hours after a sudden bleed because the blood has not yet been diluted by fluid moving into the bloodstream, so doctors tend to repeat the test over the following hours in order to follow the trend.
Other blood tests include a blood urea nitrogen level (which tends to rise when blood is digested in the upper gut) together with kidney and liver tests, clotting tests such as the INR and a blood group and crossmatch so that matched blood is ready if it is needed. The Glasgow-Blatchford score then combines the urea and hemoglobin results with blood pressure and pulse and a few other details from the history in order to estimate the risk that a person will need an intervention (such as a blood transfusion, endoscopic treatment or surgery) or will die from the bleeding. The 2021 American College of Gastroenterology (ACG) guideline states that people with a score of 0 or 1 are at very low risk and may in some cases go home with outpatient follow-up, and the guideline places this in the hands of the clinical team, who will also look at other features such as liver disease.
Test
What it measures
What the result tells the team
Complete blood count
Hemoglobin and platelets
An estimate of blood loss and of clotting cells
Urea and kidney tests
Blood urea nitrogen and creatinine
A raised urea can point to bleeding in the upper gut
Clotting tests
INR and related values
How quickly the blood is able to clot
Glasgow-Blatchford score
A total built from blood results and vital signs
An estimate of the risk of intervention (transfusion, endoscopic treatment or surgery) or death
Upper endoscopy
A direct camera view of the upper gut
The site and type of the bleeding source
Upper Endoscopy as the Main Test
Upper endoscopy (also called esophagogastroduodenoscopy or EGD) uses a thin and flexible tube with a light and a camera that passes through the mouth and down into the esophagus, the stomach and the duodenum so the doctor is able to see the lining directly. The person is usually given medicine to relax them or to make them sleep through the test, and the NIDDK notes that the test tends to take between 15 and 30 minutes.
The ACG guideline suggests that endoscopy takes place within 24 hours of arriving at the hospital for people admitted with upper gastrointestinal bleeding, and the same guideline suggests an infusion of a medicine called erythromycin before the test in order to help the stomach empty so the view will be clearer. The endoscopy report will describe where the source is and what it looks like, and for ulcers it often uses descriptions such as active bleeding, a visible vessel or a clean base, and these terms help the team judge the risk of the bleeding starting again. Small tissue samples (biopsies) can be taken during the same test, and a common reason for these samples is to check for Helicobacter pylori (a bacterium linked with peptic ulcers) or to look at an area that seems unusual under the microscope.
Imaging When Endoscopy Leaves Questions Open
Some sources of bleeding are hard to see on endoscopy because there is too much blood in the stomach or because the source lies further along the bowel, and the team may then go on to imaging. A CT angiogram uses contrast dye given into a vein together with a CT scan in order to show whether dye is leaking out of a blood vessel into the gut, and this is able to point to the area that is bleeding at the moment of the scan.
A catheter angiogram is a related test done by an interventional radiologist who passes a thin tube through an artery in order to inject dye directly into the vessels that supply the gut. Plain CT scans may also be used when doctors are looking for a tear or hole in the wall of the gut (perforation) or for a tumor, and the results from imaging are then read together with the blood tests and the endoscopy report. When the source is still unclear after endoscopy and imaging the case may be shared with a general surgery team, and emergency general surgery procedures tend to be considered when the bleeding is severe and a person has become unstable.
Frequently Asked Questions
Is coffee-ground vomit the same as hematemesis?
Coffee-ground vomit is a form of hematemesis in which the blood has been in the stomach long enough for acid to turn it dark and grainy. Doctors treat it as a sign of bleeding from the upper gut and they use the same blood tests and endoscopy to look for the source.
Does a normal hemoglobin result rule out serious bleeding?
A single normal hemoglobin result taken soon after a bleed may not reflect the full blood loss, because the blood takes a number of hours to become diluted. For this reason the care team tends to repeat the test and to read it together with blood pressure, pulse and the risk score.
Can endoscopy find every cause of vomiting blood?
Endoscopy shows the lining of the esophagus, the stomach and the duodenum directly and it is able to find the source in many people. In some cases blood in the stomach hides the view or the source lies further along the bowel, and the team may then add CT angiography or repeat the endoscopy.
Are biopsies always taken during endoscopy for bleeding?
Biopsies depend on what the doctor sees during the test. Samples are often taken from the stomach to check for Helicobacter pylori when an ulcer is found, and any area that looks unusual may be sampled so a pathologist is able to examine the tissue under a microscope.
Discussing Test Results With the Care Team
People who have had tests for hematemesis can ask their care team to go through the endoscopy report, the biopsy results and any imaging findings in plain language. The team is able to explain what each finding means for that person and whether any follow-up tests are planned, and advice is then given in a way that fits each person’s own health and history.
References
Laine L, Barkun AN, Saltzman JR, Martel M, Leontiadis GI. ACG Clinical Guideline: Upper Gastrointestinal and Ulcer Bleeding. American Journal of Gastroenterology. 2021. https://pubmed.ncbi.nlm.nih.gov/33929377/
MedlinePlus, US National Library of Medicine. Vomiting blood. https://medlineplus.gov/ency/article/003118.htm
National Institute of Diabetes and Digestive and Kidney Diseases. Upper GI Endoscopy. https://www.niddk.nih.gov/health-information/diagnostic-tests/upper-gi-endoscopy
National Institute of Diabetes and Digestive and Kidney Diseases. Bleeding in the Digestive Tract. https://www.niddk.nih.gov/health-information/digestive-diseases/gastrointestinal-bleeding
Organ transplants save thousands of lives each year. But, the field has three big challenges. These are chronic organ shortages, immune rejection, and limited…
Oncology units are places where people of all ages and backgrounds come for care. They face complex treatments and receive compassionate care. We care…
General surgeons play a vital role in healthcare by performing surgeries to treat various medical conditions. They handle issues with the abdomen, soft tissues,…