Some patients need a dye given through the vein to help visualize structures better inside the body. This dye is relatively safe. But it may cause a potentially fatal kidney disease known as nephrogenic systemic fibrosis, or NSF, in patients who already have kidney problems. This is why it is important to check the patient's kidney function before administering the dye. This is usually done with a blood test.