Health and Safety Code § 11151
ARTICLE 1. Requirements of Prescriptions
A prescription written by an unlicensed person lawfully practicing medicine pursuant to Section 2065 of the Business and Professions Code, shall be filled only at a pharmacy maintained in the hospital which employs such unlicensed person.