He said he knew she was “likely to be nearby” when he left his patient.

He also admitted his actions had the potential to put his patient at risk.

Dr Anjum told the Medical Practitioners Tribunal Service he wanted to resume his career in the UK and promised there would never be a repeat of a “one-off error of judgment”.

Giving evidence, Dr Anjum said: “It was quite shameful, to say the least. I only have myself to blame.”

He said he had let his colleagues and the NHS trust down.

He added: “I offer my sincere apologies to everyone involved and I want the opportunity to put this right.”

The doctor added the incident happened after a “stressful time” for his family, when he and his wife were failing “to connect as a couple” following the premature birth of his daughter.

The hearing was set to continue on Friday.