The woman, whose full name was not given and who came from a county near Wuhu in Anhui province, found out the sex of her unborn children through X-rays.
Traditional Chinese culture favours boys over girls, but it is illegal in China for doctors to tell mothers the sex of their unborn child in case they terminate the pregnancy.
Unlicensed medical practitioners operate illegally to inform women of their fetus' sex.
The woman and her husband had decided to have a second baby after the scrapping of the one-child policy.
After the couple divorced, she sought treatment in hospital for her illnesses with the 17,000 yuan (NZ$3,400) she received as part of the settlement, but she later died.
Her former husband did not visit her in hospital and is now planning to marry another woman, according to the report.
- South China Morning Post