Take a brief break from THC if you are worried about failing a drug test. Here is a link to some information about drug testing.
https://norml.org/marijuana/drug-testing
If all else fails you want to find a lawyer and fight for your right to medicate.
andrewvanmd