Cal. Health & Safety Code § 11158
(b) A practitioner specified in Section 11150 may dispense a controlled substance classified in Schedule II, which may be from a hospital pharmacy inventory, directly to an ultimate user in either of the following circumstances: