In a piece for the New York Times online, a nurse explores why hospitals are not set up to let patients sleep. It's an interesting read.
One thing the author doesn't mention are private rooms, which really help patients get a good night's sleep. My impression is that these are becoming increasingly common in hospitals.