Yes, you've got it, and I've
added it to the idiom dictionary. One thing to note, is that it's always
alta regardless of the gender of the person:
Le dieron de alta a mi papá. - My mom was released.
Le dieron de alta a mi mamá. - My dad was released.