a doctor can write prescriptions