Answer :
In "Lob's Girl" by Joan Aiken the hospital officials let Granny Pearce bring Lob to Sandy's bed even though it is against the rules.
The hospital officials do this because Sandy is admitted in a very critical condition at the hospital. She has a lot of broken bones and is still unconscious. The hospital officials have a strong feeling that Sandy is likely to die.