The hospital's behavior is outrageous. It seems to me they would be considered liable if they booted out a clearly ill woman in such an unscrupulous manner and something happened to her so they would be more careful. It's appalling. Did they set any therapist or psychiatrist appointments for her for follow up? They are supposed to get her set up with follow up care and that doesn't mean a crisis line phone number and a list of homeless shelters.
If they haven't set any appointments for her for follow up care you may need to do that for her. She needs both a tdoc (which I believe you said she had) and a pdoc appointment. Good luck and keep posting so we can support you if you think it's helpful.