Youve taken Time off for Dependants and this is a statutory right.
It's a statutory right to take time of for dependants, to deal with an emergency, but not to take weeks and weeks. That is simply not what it was designed for.
www.gov.uk/time-off-for-dependants
The govt website even says: "Your employer may want to talk to you if they think time off is affecting your work."
are being victimised for it by them arranging a disciplinary and/or potentially being dismissed.
They have not arranged a disciplinary and she is not being potentially dismissed. So, no victimisation.
There is also no qualifying period (you don’t need 2 years service)
She has five years service anyway.
So as I see it, you may have an unfair dismissal and potential indirect sex discrimination claim (though id need more details about this).
Except you can only have an unfair dismissal case if you've actually been dismissed. It's the second question the judge asks themselves, after "is this person an employee of the company they are complaining about", then it is "have they been dismissed". If the answer is no to either of those any unfair dismissal claim won't go any further.
As she has NOT been dismissed, this is all irrelevant.
Though you can bring a sex discrimination claim while still employed of course.
And if she were claiming indirect discrimination, the employer may be able to justify it (indirect discrimination can be justifiable in law) due to the very large amount of time she has been off work.
It makes complete sens for both parties in this case to enter into the settlement.