Court rules against doctor in misconduct case