LONDON -- Britain's Queen Elizabeth II was hospitalized Sunday over an apparent stomach infection that has ailed her for days, a rare instance of ill health sidelining the long-reigning monarch. Elizabeth will have to cancel a visit to Rome and other engagements as she recovers, and outside experts said she may have to be rehydrated intravenously.

Buckingham Palace said the 86-year-old queen had experienced symptoms of gastroenteritis and was being examined at London's King Edward VII Hospital -- the first time in a decade that Elizabeth has been hospitalized.

"As a precaution, all official engagements for this week will regrettably be either postponed or cancelled,'' the palace said in a statement. Elizabeth's two-day trip to Rome had been planned to start Wednesday. A spokeswoman said the trip may be "reinstated'' at a later date.

The symptoms of gastroenteritis -- vomiting and diarrhea -- usually pass after one or two days, although they can be more severe in older or otherwise vulnerable people. Dehydration is a common complication.

The illness was first announced Friday, and Elizabeth had to cancel a visit Swansea, Wales, on Saturday to present leeks -- a national symbol -- to soldiers of the Royal Welsh Regiment in honour of Wales' national day, St. David's Day. She instead spent the day trying to recover at Windsor Castle, but appears to have had trouble kicking the bug.

A doctor not involved in the queen's treatment said that if medical officials determined that she is losing too much fluid, she would be rehydrated intravenously.

"Not everyone can keep up with oral hydration so it is pretty routine to go to hospital and have a drip and wait for the thing to pass and keep yourself hydrated,'' said Dr. Christopher Hawkey of the University of Nottingham's faculty of medicine and health sciences.

Britain's National Health Service says that the two most common causes of gastroenteritis in adults are food poisoning and the norovirus, a common winter vomiting bug which typically afflicts between 600,000 and 1 million Britons each year. British health guidelines advise that people with the norovirus avoid work for at least two days.

"It's very infectious and strikes in winter because people are indoors and it spreads more easily,'' Hawkey said.

Elizabeth has ruled since 1952 and is Britain's second-longest serving monarch, beaten only by Queen Victoria in terms of the number of years spent on the throne.

Elizabeth's husband Prince Philip, 91, has had several hospital stays, but Elizabeth has rarely let sickness get in the way of her still-busy schedule.

About five months ago, she cancelled an engagement due to a bad back. The spokeswoman, who demanded anonymity because palace rules do not let her go on the record, said the last time Elizabeth was hospitalized was in 2003 for a knee operation.

The queen has undertaken a number of engagements over the past week. On Tuesday, she met the new archbishop of Canterbury, Justin Welby, at Buckingham Palace, and on Thursday she presented a host of British Olympians, including track and field star Jessica Ennis, with honours during an investiture ceremony.

Ingrid Seward, the editor of the Britain's Majesty Magazine, said that the queen "probably agreed to be hospitalized in order to get better quickly.''

"Everybody will want to be wishing her a speedy recovery,'' she told Sky News television.

That includes British Prime Minister David Cameron, whose office said he passed on his best wishes to the queen.

Related on HuffPost:

Loading Slideshow...
  • June 1927

    (Getty photo)

  • January 1929

    (Getty photo)

  • January 1930

    (Getty photo)

  • January 1935

    (Getty photo)

  • September 1937

    (Getty photo)

  • April 1940

    (Getty photo)

  • June 1940

    (Getty photo)

  • December 1942

    (Getty photo)

  • May 1944

    (Getty photo)

  • January 1947

    (Getty photo)

  • February 1947

    (Getty photo)

  • July 1947

    (Getty photo)

  • November 1947

    (Getty photo)

  • November 1947

    (Getty photo)

  • December 1948

    (Getty photo)

  • March 1950

    (Getty photo)

  • October 1950

    (Getty photo)

  • January 1951

    (Getty photo)

  • October 1951

    (Getty photo)

  • February 1952

    (Getty photo)

  • September 1952

    (Getty photo)

  • January 1960

    (Getty photo)

  • October 1960

    (WireImage photo)

  • May 1961

    (Getty photo)

  • February 1962

    (AFP/Getty photo)

  • January 1969

    (Getty photo)

  • May 1969

    (Getty photo)

  • October 1969

    (Getty photo)

  • May 1971

    (Getty photo)

  • June 1972

    (Getty photo)

  • October 1975

    (Getty photo)

  • November 1975

    (Getty photo)

  • April 1976

    (AFP photo)

  • February 1979

    (Tim Graham/Getty photo)

  • May 1979

    (Tim Graham/Getty photo)

  • March 1981

    (Getty photo)

  • July 1981

    (Getty photo)

  • June 1987

    (Tim Graham/Getty photo)

  • April 1989

    (Tim Graham/Getty photo)

  • May 1992

    (Getty photo)

  • March 1995

    (Getty photo)

  • October 1998

    (AFP/Getty photo)

  • February 2002

    (Tim Graham photo)

  • June 2003

    (Getty photo)

  • June 2005

    (AFP photo)

  • July 2005

    (AFP/Getty photo)

  • September 2005

    (Getty photo)

  • December 2008

    (Getty photo)

  • November 2010

    (Getty photo)

  • May 2011

    (Getty photo)

  • November 2011

    (Getty photo)