This is the actual law and the government is keenly aware of it.
No one can force you to disclose your medical condition.
CONSENT CONCERNING PERSONAL HEALTH INFORMATION
General
Elements of consent
18 (1) If this Act or any other Act requires the consent of an individual for the collection, use or disclosure of personal health information by a health information custodian, the consent,
(a) must be a consent of the individual;
(b) must be knowledgeable;
(c) must relate to the information; and
(d) must not be obtained through deception or coercion. 2004, c. 3, Sched. A, s. 18 (1).
https://www.ontario.ca/laws/statute/04p03#BK30