I don't see how that is relevant. Do you understand that simply because you would laugh it off doesn't mean everyone would? In a sitcom, everyone is acting so there's no potential harm, but in real life, if you can muster any empathy at all, it's pretty clear how that prank could make a bad situation even worse.
Very often people are having the most stressful days of their lives in a hospital and I see no value at all in making that harder for them for the lulz.