Jan. 14, 2010 -- For three days, a pregnant Samantha Burton was confined to Tallahassee Memorial Hospital against her will, ordered by a Florida court to bed rest and any medical care necessary to sustain her troubled pregnancy.

Burton was in her 25th week of pregnancy in March 2009 when she began to go into premature labor and willingly went to the hospital on the advice of her doctor.

But when the 26-year-old resisted -- learning that she might have to stay months until her delivery, away from two toddlers at home -- hospital officials obtained a court order to force Burton to submit to anything to "preserve the life and health of [her] unborn child."

Burton miscarried three days later and was discharged, but now she is taking up the fight over her treatment with the help of the Florida American Civil Liberties Union. They want to strike down the court order that rendered her powerless to make her own medical decisions.

This week, before a three-judge panel in Tallahassee's First District Court of Appeal, Burton's lawyers argued that the Leon County Court order set a "dangerous" precedent.

Critics say the state's intervention could have dark ramifications for other pregnant women who could even be criminalized for drinking a glass of wine or eating unhealthy foods, driving too fast or even failing to take their prenatal vitamins.

"Women do not give up their right to determine the course of their own medical care when they become pregnant," said Diana Kasdan, staff attorney with the ACLU Reproductive Freedom Project. "Faced with similar cases, courts throughout the country have made clear that pregnant women have a right to make decisions about their own health, including refusing medical care."

"We pursued this appeal for this reason, to set the record straight," she told ABCNews.com.

Lisa Raleigh of the Florida Attorney General's office, who argued that the state exercised due process when it intervened to save the life of Burton's unborn child, did not return calls from ABCNews.com.

Burton, described by her pro bono lawyer as a "quiet woman" who was shying away from publicity, is seeking no monetary damages and has said that she is appealing the court order to help other women.

Burton, who is married, was "actively taking part in prenatal care" when she began to have problems with her pregnancy, according to her lawyer David Abrams, who is also a trained nurse.

She willingly went into the hospital on the advice of her obstetrician, Dr. Jana Bures-Forsthoefel. But Burton argued with her doctor about the length of stay and also about her smoking.

Bures-Forsthoefel did not return calls from ABCNews.com.

Pregnant Woman Couldn't Quit Smoking

"She was having difficulty quitting smoking and wanted to go home to be with the children and not be alone in a hospital room for three months," said Abrams.

He said the state acted unconstitutionally and infringed in her rights to "privacy and liberty."

Burton was never offered a second opinion or any compromises, such as a nursing home or less restrictive facility, according to Abrams. At one point a friend who lived near the hospital had offered to take Burton in.

When Burton refused to stay, the hospital called the state, which appointed the hospital lawyer to prosecute the case and got an order from the Leon County Court.

Burton was appointed a lawyer "after the fact," said Abrams.

"The court order was so broad it was one of civil commitment," he said. "It basically said any treatment deemed necessary to respect the fetal health and made her a ward of her doctor."

"This was not refusal of medical care, it was about who decides and in what setting," he said. "When I walked into her hospital room I saw no monitor, she was alone in a bland room, not unlike a prison cell, not the kind of place you'd want to spend three months alone in separated from your family."

The state has argued that the court order was necessary because the medical well-being of the fetus was at stake. Burton, they say, had also refused to stop smoking.

Murray Moore, who was appointed special assistant state attorney in the case, would not comment on Samantha Burton's case due to issues of confidentiality.

"It's a good law that allows the state to intervene," said Moore, who works for Pennington Law Firm, which represents Tallahassee Memorial Hospital. "In that case, I was bringing action on behalf of the state to protect the state's interest in saving the child's life."

But, he acknowledged legal intervention is "rare" and "only in the most extreme circumstances."

"Her circumstances are not unusual," countered ACLU lawyer Kasdan. "Women face complications in pregnancy all the time and have to make decisions all the time for themselves, their families and their future child."

"It is hard to imagine anything more commonplace than the inability of a mother of two to remain on continuous bed rest," said the ACLU brief, "or the well-documented difficulty in quitting smoking."

Kasdan also argues that "coercive treatment and disregard of women is counterproductive," a position taken by the American College of Obstetricians and Gynecologists (ACOG).

The ACOG opposes such legal interventions, which it says can "create the potential for criminalization of otherwise legal maternal behavior."

Its ethics committee took a formal position in 2005 after a Utah woman who had used cocaine was charged with homicide for refusing the caesarian delivery of a fetus that was ultimately stillborn.

In other cases in 2004, a 28-year-old mentally ill Florida woman was charged with first-degree murder for refusing to undergo an immediate Caesarian section deemed vital for the well-being of the fetus.

And in Pennsylvania, a hospital obtained a court order when a mother of six refused a Caesarian because the fetus had suspected macrosomia, or excessive weight. She fled and later gave birth vaginally to a healthy 11-pound baby.

"Efforts to use the legal system to protect the fetus by constraining pregnant women's decision-making or punishing them erode a woman's basic right to privacy and bodily integrity and are not justified," said ACOG's ethics committee.

Both the ACLU and the American Women's Association, which also filed a friend of the court brief, say legal interventions are never in the best interest of the child and may discourage pregnant women from seeking medical care.

Meanwhile, as Burton waits for a decision from the appeals court, she has said that even though her confinement was only for three days, she wants to help other pregnant women.

"When Samantha had the miscarriage, it was late at night and she was alone and in pain," said her lawyer, Abrams. "She felt no one was paying attention and she doesn't want anyone else to go through this."

"She felt people had stopped listening to her," said Abrams. "She became an incubator for the state and stopped being an adult woman who could make her own decisions. The court order was all about the fetus, not the mother's health. She had no rights."