Employment dismissal due to medical condition

Can I be dismissed from my place of work if I don’t disclose a medical condition to my employer?