A former NHS resident doctor has been sentenced to three years in jail. It came after he admitted defrauding the NHS out of more than £268,000.