All perfect praise is due to Allah, The Lord of The Worlds; and may His blessings and peace be upon our Prophet Mohammad and upon all his family and companions.
It is permissible for a person to take a compensation against the harm that befalls him/her due to negligence, as indicated by the following Hadith: " There should be neither harming (darar) nor reciprocating harm (dirar). A hasan hadeeth related by Ibn Majah, ad-Daraqutnee and others as a musnad hadeeth."
Therefore, the above woman is permitted to take that compensation as ruled by the court. And Allah knows best.