James Greenwood was given a bombshell diagnosis after going to A&E