El Salvador's Supreme Court has ruled against allowing a woman suffering from kidney failure and lupus to terminate a pregnancy in which the fetus is given no chance of surviving.

The Central American country's laws prohibit all abortions, even when a woman's health is at risk. At present, the woman and any doctor who terminated her 23-week-old pregnancy would face arrest and criminal charges.

The judges voted 3-to-2 Wednesday to reject the appeal by the woman's lawyers, who argued that continuing with the pregnancy puts her life at risk.

The court says physical and psychological exams done on the woman by the government-run Institute of Legal Medicine found that her diseases are under control and she can continue the pregnancy.