OAKLAND, Calif. (AP) -- A judge on Tuesday ruled that a 13-year-old Northern California girl declared brain dead after suffering complications following a tonsillectomy can be taken off life support.
But Alameda County Superior Court Judge Evelio Grillo gave Jahi McMath's family until 5 p.m. Dec. 30 to file an appeal. She will stay on life support until then.
Relatives said the family has not decided if they would keep fighting.
"It's Christmas Eve, there is still time for a miracle," said Omari Sealey, the girl's uncle. He said the family would discuss and decide later whether to appeal or to allow Children's Hospital of Oakland to remove the girl from a ventilator.
"Prayers are more important than ever before," Sealey said. "Because the clock is ticking."
Jahi's mother, Nailah Winkfield, didn't attend the court hearing, remaining with her daughter in the hospital where she will spend Christmas Eve.
Sealey said Winkfield and other family members have remained with the teen since complications arose Dec. 9 after a tonsillectomy.
"Room 325 of Children's Hospital is our new home," Sealey said.
Sealey held hands with Jahi's grandmother Sandra Chatman, Jahi's stepfather Martin Winkfield and the family's lawyer Christopher Dolan as the judge ruled.
Grillo based his decision on the conclusions of two doctors, court-appointed Dr. Paul Fisher of Stanford University and the hospital's Dr. Robin Shanahan.
Fisher examined the girl for several hours on Monday and reported to the judge Tuesday that the teen was brain dead, the same conclusion Shanahan reached.
Grillo said he had no other choice but to allow the hospital to remove the ventilator.
"I wish I could fix it, but I can't," he said.
The hospital had argued that the teen had no chance of recovery since all brain function had ceased.
"Our sincere hope is that the family finds peace and can come to grips with the judge's decision," hospital attorney Doug Strauss said outside court after Grillo's ruling.
Jahi's family has been battling with hospital administrators over keeping her on a ventilator since the teen suffered cardiac arrest after bleeding profusely following her operation.
The family said that as long as the teen was breathing, there was hope of recovery. The family also demanded an independent examination. They have said they believe Jahi is still alive and that the hospital should not remove her from the ventilator without its permission.
Hospital lawyers disagreed.
"Because Ms. McMath is dead, practically and legally, there is no course of medical treatment to continue or discontinue; there is nothing to which the family's consent is applicable," the hospital said in a court filing on Tuesday.
The case is now out of Grillo's court and the decision will be up to the California Court of Appeal if the family decides to pursue its legal case to keep Jahi on the ventilator.
The family thanked Fisher, the court-appointed doctor, for what they called a thorough examination of Jahi, and he shook the hand of each family member before leaving court.
"I don't know if we have accepted his decision yet," said Sealey, Jahi's uncle. "There's still time for a miracle from now and until Dec. 30."
The family had demanded that another doctor of its choosing examine Jahi.
In ruling Tuesday, the judge made no mention of the family's desire for Dr. Paul Byrne, a pediatric professor at the University of Toledo, to examine the teen.
Byrne is the co-editor of the 2001 book "Beyond Brain Death," which presents a variety of arguments against using brain-based criteria for declaring a person dead.
In a phone interview, Byrne said he could not comment in detail because he had not seen any of Jahi's medical records. But the fact that her ventilator is still functioning properly is a sign that she is alive, he said.
"The ventilator won't work on a corpse," he said. "In a corpse, the ventilator pushes the air in, but it won't come out. Just the living person pushes the air out."
Arthur L. Caplan, who leads the Division of Medical Ethics at NYU Langone Medical Center and is not involved in Jahi's case, told The Associated Press that once brain death has been declared, a hospital is under no obligation to keep a patient on a ventilator.
"Brain death is death," he said, adding, "They don't need permission from the family to take her off, but because the little girl died unexpectedly and so tragically, they're trying to soften the blow and let the family adjust to the reality."
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.