A woman who complained to Cwm Taf Health Board about her mother's treatment has had her complaint upheld by the Ombudsman for Wales.
The daughter complained that after taking her mother to Royal Glamorgan Hospital clinicians failed to take appropriate action after a blood test result indicated that she could have thrombosis.
Her mother died two days after she was discharged in May 2010.
Pulmonary thromboembolism was recorded as the main cause of death.
The Ombudsman said that the daughter believes if prompt action had been taken after the result came back as positive then her mother's death could have been prevented.
An investigation found that the test was seen by a nurse before the mother was discharged and that her blood result was positive.
It found that the test result did not seem to have been "appropriately considered, if at all" by the doctor who made the decision to discharge her, or by the consultant who had overall responsibility for her care.
The Ombudsman concluded:
"The failure to consider and act on the positive test result before making the decision to send the mother home fell below an acceptable standard of care. This failing gave rise to a missed opportunity to make the correct diagnosis and to treat her appropriately.
" The treatment that should have been given might have prevented her death.The investigation also identified a number of additional failings on the part of the health board."
The complaint was upheld by the Ombudsman and it was recommended that the health board should provide explanations and an apology to the patient's daughter.
The health board was told to pay £5,000 to Mrs Y's family.
More top news
A beautiful day today with sunshine everywhere! Temperatures will rise! Could this be the hottest May day ever recorded in Wales?
Exeter City’s 16-year-old defender Ethan Ampadu is among seven uncapped players in Chris Coleman's squad for Wales' match against Serbia.
The launch coincides with the UEFA Champions League Finals, which will see tens of thousands of visitors to the city.