If you read further down, "While Maryland law does not provide for the mandatory reporting by a physician of a person who has been treated for epilepsy, it does provide for the discretionary reporting to the Motor Vehicle Administration of persons who have “disorders characterized by lapses of consciousness.” MD. CODE ANN., Transportation 16-119 (2020)."
By law the responsibility for reporting seizures is on the driver, not the doctor, i.e. the DRIVER is the one who is prosecuted if they have a second seizure behind the wheel. Doctors CAN report it but are not legally obligated to or punished for failing to do so.
There's a big difference between rights and privileges. You have a right to be able to travel between states, but you do not have a right to operate a motor vehicle without training and basic health certification. Driving a car is a privilege otherwise you have a right to be a legal passenger through many means of conveyance.