Has your inpatient stay been worth the the time, that you haven't been discharged yet. You say you've had positives of being there for this longer time and that you have been using the group sessions and one to one. That sounds like a helpful admission.
I know what it's like staff writing negative things about you. Are you going to request your results or just leave them? From experience I've found that an upsetting.
It sounds like you could reach the next step in your journey but not if you're planning on buying meds. The end of an admission should leave you feel at least safer, you really shouldn't be thinking about ways of hurting/killing yourself. Use this admission to get where you're suppose to be at the end of an admission.