For medical purposes.
This drug should be used medically rather than recreationally.
In a medical manner or context.
medically speaking