Thankfully I’ve never had a situation as extreme as what you experienced, and I’m sorry you and your family had to endure that.
I’m constantly amazed at the naivté so many people have about hospitals. They seem to think Florence Nightengale will be holding the hand of their loved one 24/7. I have had to change bedsheets and sanitary garments for relatives because the nurses (or nurse techs or healthcare assistants, or whomever happened to be hired by that particular facility) couldn’t be bothered. One time a resident lashed into my mother, with much profanity, that she should be on her knees thanking him because he “got a speeding ticket” on the way to the hospital to take care of my father (post-stroke). THAT particular smug SOB heard an earful from me — still makes my blood boil remembering it.
People really need to be more aware of how “warehouse” so many hospitals are — if a patient doesn’t have a strong-willed advocate, they will fall to the end of the line.