A pharmacist, only upon an official written order, may sell to a physician, dentist, or veterinarian, in quantities not exceeding one ounce at any one time, aqueous or oleaginous solutions compounded by the pharmacist, of which the content of narcotic drugs does not exceed a proportion greater than twenty percent of the complete solution, to be used for medical purposes.
Va. Code § 54.1-3418