Hey virtus-
Would it be ok to contact her psych?
Her psych won't be able to discuss her with you due to doctor-patient confidentiality, and at this point it's more beneficial to look at your desire to want to. You care about her, I get that virtus, and where do you draw the line between caring about her and wanting to be her caretaker? Did you fulfill the caretaker role in the relationship?
Im trying hard to detach, I dont want to be with her but I dont believe she has anyone around her that cares for her.
Notice you said "cares for" her instead of "cares about" her. One way to look at it is she's an adult and is responsible for taking care of herself, or not, maybe she looks to others to do that, but sometimes, when someone is left on their own path and it isn't working, the resulting pain is strong enough to get through the defenses and inspire someone to look for help. It's good she's in therapy, and it's telling that you've heard that the psych thinks she should enter an inpatient program.
So have you looked closely at your desire to help and what that means?