A hospital told the family of a patient that she had died and allowed them to say their goodbyes only to telephone seven hours later to apologise and reassure them that their relation was still alive.