Dr smith recorded the following diagnoses on the patient's discharge sheet:
Gastrointestinal bleeding due to acute gastritis and angiodysplasia. The principal diagnosis is coded as
A. GI bleeding
B.acute gastritis
C. angiodysplasia
D.either acute gastritis or angiodysplasia.