. . . "(d) Any substance to the extent it is used in a research laboratory or a hospital or other medical facility under the direct supervision of a technically qualified individual." . .