TTC for 2nd baby

Hi there I'm ttc but my OBGYN has told me that my mental health will stop me looking after a second child. Just to clarify I suffer from manic depression and anxiety is this wrong of him to discriminate against me like that