What is appropriate usage of medicines that are intoxicating?
My impression is medical cannabis does not have an intoxicating effect.  

Regardless, the precept on intoxicants refers to heedlessness. If a person has a serious medical condition and must use ordinary intoxicating cannabis for relief then it is expected they would be morally mature enough for the cannabis to not lead to heedlessness.