. . . "(c) During detention a physician may order the administration of such medication or treatment as is permitted under s. 51.61 (1) (g) and (h)." . .