The Dublin City Coroner's Court has been told that a woman who died last January while waiting for a bed at the Mater Hospital had been treated there two weeks earlier for chest pains.
Beverly Seville-Doyle, 39, from Manor Grove, Whitehall Road in Dublin died after collapsing in the hospital's Accident and Emergency Unit.
A post-mortem examination concluded that she died from cardiac arrest.
Ms Seville-Doyle was a diabetic who had also contracted pneumonia in 2006.
The mother-of-three was left waiting on a chair in the A&E unit for several hours when she went to the Mater Hospital on 14 January with chest pains.
Ms Seville-Doyle went to the toilet overnight, where she collapsed and medics were unable to resuscitate her.
Dr Kate Douglas (below) told the court she concluded that there was no pulmonary or cardiac cause to the pain at that time.
She prescribed treatment for a urinary infection and sent Ms Seville-Doyle home.
But the solicitor for the family, Damien Tansey, said Ms Seville-Doyle was not well when she was discharged.
Mr Tansey contended that a medical test suggested she was at risk of a blood clot in her lungs.
The inquest has been adjourned until the week after next, when it will hear from a nurse and doctor who were on duty the night Ms Seville-Doyle died.