If she had realised and called 999 then she would have been taken straight to addenbrookes, who give excellent care. If she couldn’t call herself for some reason, there are many people in Cambridge at night, and the college Porters lodges are manned 24/7.
There are multiple homelessness outreach outfits (jimmys, winter comfort and cyrenians to name a few).
Further, if she couldn’t get accommodation in the area, which I doubt, because of council failures, the above outfits would help sort it out as well as shelter, crisis, etc.
I expect there is a hell of a lot more to her story, and it’s not all that simple. She may have rejected housing. She may have reasons she did not engage with the help available. It is very very unlikely that she tried to seek help and care and was turned away.