The doctor was to prescribing

medication for the patient's condition.