public List <CommContracts.OtherServiceDoctorAdvice> getAllOtherService() { CommClient.OtherServiceDoctorAdvice otherService = new CommClient.OtherServiceDoctorAdvice(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { return(otherService.getAllOtherService(CurrentRegistration.ID)); } else { return(null); } } else { if (CurrentInHospital != null) { return(otherService.getAllInHospitalOtherService(CurrentInHospital.ID)); } else { return(null); } } }
// 得到当前门诊患者的所其他服务单 public List <CommContracts.OtherServiceDoctorAdvice> GetAllQiTa() { CommClient.OtherServiceDoctorAdvice otherService = new CommClient.OtherServiceDoctorAdvice(); // 其他 List <CommContracts.OtherServiceDoctorAdvice> list = new List <CommContracts.OtherServiceDoctorAdvice>(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { list = otherService.getAllOtherService(this.CurrentRegistration.ID); } } else { if (CurrentInpatient != null) { list = otherService.getAllInHospitalOtherService(this.CurrentInpatient.ID); } } return(list); }
public bool SaveOtherServiceDoctorAdvice(CommContracts.OtherServiceDoctorAdvice otherServiceDoctorAdvice) { CommClient.OtherServiceDoctorAdvice otherService = new CommClient.OtherServiceDoctorAdvice(); return(otherService.SaveOtherService(otherServiceDoctorAdvice)); }