What happens when the NHS is hit by an emergency it cannot predict? A heatwave can send thousands more people to hospital. A power cut can put patients who depend on electricity at risk. A cyber-attack can suddenly knock out systems that hospitals rely on to function.