We really hope she's willing to get the help she needs.

Demi Lovato is set to be released from the hospital today, and the troubled singer will head straight to rehab to continue her recovery. "She completed a detox, and will soon be out," a source told Radar.

Last night, she received a bedside visit from ex-boyfriend Wilmer Valderrama, and the actor is said to be "devastated" over her struggles.

"He knew she was going through a tough time but he wasn’t prepared for this. He saw her through so many ups and downs and was her rock through some of her darkest moments. To see her back in such a sad and vulnerable place is heartbreaking for him. He always cared deeply for her and they truly remained friends after they broke up," a source dished to People.

This brush with death has scared the "Skyscraper" songstress straight, after a failed intervention attempt by her team a couple weeks ago.

“She slipped up and thought she could handle it. This is obviously a huge wake-up call. Demi doesn’t want to die and she’s very grateful to be alive. She will be leaving the hospital and heading straight to rehab. Her family has been by her side supporting her and is getting her the help she needs," another insider told E! News.

She was set to perform this Sunday at Echo Beach in Canada at the RBCxMusic benefit for Kids Help Phone, but that appearance has been canceled and tickets are being refunded.

We're rooting for her!