Unfortunately, that's not quite accurate, but I do get what you're saying.
The legal and/or blood relatives of a person who is in the hospital have the last say in who gets to visit that person. (Of course, this is assuming that the sick person can't speak for him/herself.) So, for example, if...