Dr Pratik Khagram, who was a registrar on Colchester Hospital's A&E ward, was given a formal warning by the General Medical Council.