Lord Tim Bell, the leading PR and advertising figure who was a close adviser to Baroness Thatcher, said she was expected to need several days of recuperation.
It could well mean she will spend Christmas in hospital, where she has been accompanied by her daughter Carol. Her son is believed to be on holiday overseas.
Lord Bell said the former politician had been in some pain earlier in the week and was sent by her doctor to hospital where it was decided the operation was required.It was a short procedure using what was described as "minimally invasive surgery", he said."She's fine," he added.
More top news
The 36-year-old has not been seen or heard from since Thursday evening.
Sophie Neville, cast as Titty as a young child in the 1974 classic Swallows and Amazons, is advising its modern-day adaptation.
At least two people are feared dead in the attack which is the latest on medical facilities in the war-torn country.