Marriott and medical marijuana question

I’ve been employed at my property for 8 years and have had my medical marijuana card for an illness for about half my time here. (never stoned on the job).

My question is if I were to ever get hurt on the job and go to the doctor. Would my medical marijuana use count against me?