Jan was admitted to the hospital complaining of severe abdominal pain of a gnawing, burning nature; fatigue; and a lack of energy. Stools were positive for the presence of blood, and the physician documents "gastric ulcer," which was confirmed by upper GI x-rays. Gastroscopy showed minimal blood oozing from an ulcer crater. Hematocrit was low, and the hematology consultant noted chronic blood loss anemia. Using your ICD-10-CM alphabetic index and tabular listing, what is the principal diagnosis?

A. Abdominal pain
B. Chronic blood loss anemia
C. Chronic or unspecified gastric ulcer with hemorrhage
D. Acute gastric ulcer with hemorrhage