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