The Doctor is the one who authorizes it, HC makes it legal, HC cannot deny a patient authorized by their doctor, they can however, deny them the ability to produce their own if they have insufficient security, are trying to grow next to a school, have serious criminal offenses etc.