The NHS has apologised after writing to a man to address concerns over his treatment - three-and-half years after he died.
Tom Milner's daughter emailed the National Patient Safety Agency (NPSA) after her 76-year-old father died at Sheffield's Northern General Hospital.
Janet Brooks said when she received a response, it was entitled "Dear Tom".
The agency said it had reviewed its systems to ensure the error did not happen again.
Mr Milner, who had terminal leukaemia, was not given his prescribed pain-relieving morphine in the last two days of his life, his family say.
They claim he was left in agony and lay in his own urine and blood at the NHS palliative care ward at the hospital.
The health trust responsible for his care said staff had "acted appropriately".
Mrs Brooks, 54, of Emsworth, Hampshire, said she had outlined her concerns about her father's treatment in an email to the NPSA.
"They responded with 'Dear Tom'.
"It's an example of the careless and shambolic attitude by the NHS towards my father and our family."