This act does not permit any person to engage in and does not prevent the imposition of any civil, criminal or other penalty for the following:
(1) Undertaking any task under the influence of medical cannabis when doing so would constitute negligence, professional malpractice or professional misconduct.