This brings back memories of when my Mother had a fall in the garden and had to be rushed into hospital as she had a dreadful leg injury. A & E were so appalling I could write a book. The final straw came when they gave her the wrong painkilling injection and almost killed her - she had to whisked into Resusc.
She was admitted and later that day, she had the most wonderful plastic surgery on her leg, truly remarkable bearing in mind her paper-thin skin.
But . . . . . the following day the hospital discharged her. The staff had not read her notes and thought that she'd be returning to a care home, so they did not realise that she lived in her own home, had 27 front steps to negotiate or that she lived alone!! Luckily, my daughter and I visited her before she was 'thrown out' and really tore them off a strip. My mother hadn't even properly come round from the combination of a) literally nearly being killed and b) surgery and anaesthetic, and yet they wanted her out 
They grudgingly, very grudgingly, agreed to keep her in for another night so that we could make arrangements for her to be transferred to a private hospital - luckily she had insurance.
It didn't end there! My mother phoned me to say that the first hospital had phoned the second hospital and cancelled the private ambulance and her admission!!! I won't repeat the ensuing conversations between me and the first hospital. Suffice to say, the ambulance was reinstated and my mother went off to the second hospital. I suspect that the first hospital did this because of not wanting to tick the box that said that she required further care and treatment - not that I'm cynical, you understand.
I can't even bear to think what would have happened if DD and I hadn't turned up before Hosp 1 had shown her the door.