Britney Spears has been discharged from hospital in Los Angeles, according to a well-known TV therapist who said he had spent an hour with the troubled singer.
Spears will hear on 14 January if she can see her two sons again
Dr Phil McGraw said he was convinced she was "in dire need of both medical and psychological intervention".
The star was taken to hospital on a stretcher after a hysterical outburst at her home, with police called to try to settle a dispute about her two sons.
A court commissioner then removed her right to look after or visit the boys.
As a result, Spears' ex-husband, Kevin Federline, now has sole custody of Sean Preston, who is two, and one-year-old Jayden James.
A further court hearing is to be held on 14 January to consider the welfare of the children.
Dr McGraw, who presents a self-titled programme helping people with their psychological problems, said he went to see Spears at the Cedars-Sinai Medical Center.
"She was released moments before my arrival and was packing when I entered the room," he told American TV programmes Entertainment Tonight and The Insider.
Dr Phil McGraw hosts a daily show about health and relationships
"We visited for about an hour before I walked with her to her car. I am very concerned for her."
No details have been given by the hospital as to why Spears, 26, was admitted on Thursday evening.
It was reported that, when police went to the singer's hilltop mansion, she was under the influence of an unknown substance.
After a three-hour stand-off, Spears was lifted into an ambulance, which was then chased by a number of paparazzi photographers.