Medicine

An 18 yr old male presents with massive hematemesis; he has history of fever for the past 14 days for which he was managed with drugs; moderate splenomegaly is present; diagnosis is: