Task: Question Generation
Input (English): Context : William Baines (26 March 1899 - 6 November 1922) was an English pianist and composer who wrote more than 150 works for solo piano and a number of larger orchestral works before his premature death from tuberculosis at the age of 23. 
Subject : William Baines 
Relation : medical condition
Output (English): What was William Baines's medical condition near the end of his life?