NHS must “learn from mistakes” after failure to organise woman’s 24 hour care, says ombudsman