This is very emotive, but I think it is not like this for all doctors, apart from the job description and relationship with patients and their families, which any doctor should know about.
We have young friends who work for the NHS, one travelling a long distance, the other close to home to be there for the children.
The one close to home is the father.
They are younger than the doctor in the article but are both consultants now. I am not convinced that she could not be a consultant at the age of 40 unless she is not capable of promotion.
This is the experience of one person and it is not typical imo.
It sounds as if the person in the article does not have the support of a good partner, which she will need if she is to work in any demanding job and to bring up a family. Women just cannot do it all. Neither could a man I am sure.