OP indicated that she gave notice (presumably that she would need maternity leave), and several days later, when she had to leave because her child was hospitalized, she was fired. It is unclear...