public List <CommContracts.AssayDoctorAdvice> getAllAssayDoctorAdvice() { CommClient.AssayDoctorAdvice assay = new CommClient.AssayDoctorAdvice(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { return(assay.getAllAssay(CurrentRegistration.ID)); } else { return(null); } } else { if (CurrentInHospital != null) { return(assay.getAllInHospitalAssay(CurrentInHospital.ID)); } else { return(null); } } }
// 得到当前门诊患者的所有化验申请单 public List <CommContracts.AssayDoctorAdvice> GetAllJianYan() { CommClient.AssayDoctorAdvice assay = new CommClient.AssayDoctorAdvice(); // 化验申请 List <CommContracts.AssayDoctorAdvice> list = new List <CommContracts.AssayDoctorAdvice>(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { list = assay.getAllAssay(this.CurrentRegistration.ID); } } else { if (CurrentInpatient != null) { list = assay.getAllInHospitalAssay(this.CurrentInpatient.ID); } } return(list); }