Often they inject epinephrine, which constricts the vessel. The third option mentioned was a Mallory-Weiss tear. That is the condition where vomiting and wretching cause a tear in the esophagus, and hence, bleeding. It's also seen in many alcoholics. He was pretending to have a kidney infection.
Most phonies usually say they have a kidney stone.
Only if it does not pass, or if there is an infection or complete obstruction will hospitalization be required. For an infection, all I'd order are antibiotics. I'd rarely give a narcotic for an infection not associated with a stone. Before birth, the fetal circulation naturally has a connection from the pulmonary artery to the aorta. It normally closes at birth.