When I was at the Stanford cardiac unit last, they let me sleep. That wasn't the problem but they had a problem giving me privacy: door wide open, curtain wide open.
Patients with privacy are patients who end up dying. Hospital floor plans are designed to ensure that nurses can see if patients take a turn for the worse.
I was also at Stanford hospital earlier this year, for a few weeks over two different stays. I don't know which is the cardiac unit, but I remember being in units D1, D3, F3, and G2. Some times I was closer to the door; some times closer to the window. In both cases, I had times when I would need to specifically ask a nurse (or nurse assistant) to close the door (or the curtain), but I don't ever remember having pushback on my request.