The practice of pharmacy is declared to be a professional practice affecting the public health, safety, and welfare and is subject to regulation and control in the public interest. It is further declared to be a matter of public interest that only qualified persons be permitted to engage in the practice of pharmacy, and to ensure the quality of drugs and related devices distributed in the state.