The summary had me thinking she hid the fact that she was the duke's daughter, but no she just hid the fact that she was a woman, the phrasing is pretty confusing there.
Personally I think having her dying and getting transferred in that sick girl's body was completely useless. I don't see what...