public List <CommContracts.MaterialDoctorAdvice> getAllMaterialDoctorAdvice() { CommClient.MaterialDoctorAdvice materialBill = new CommClient.MaterialDoctorAdvice(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { return(materialBill.getAllMaterialDoctorAdvice(CurrentRegistration.ID)); } else { return(null); } } else { if (CurrentInHospital != null) { return(materialBill.getAllInHospitalMaterialDoctorAdvice(CurrentInHospital.ID)); } else { return(null); } } }
// 得到当前门诊患者的所有材料单 public List <CommContracts.MaterialDoctorAdvice> GetAllCaiLiao() { CommClient.MaterialDoctorAdvice materialBill = new CommClient.MaterialDoctorAdvice(); // 材料 List <CommContracts.MaterialDoctorAdvice> list = new List <CommContracts.MaterialDoctorAdvice>(); if (IsClinicOrInHospital) { if (CurrentRegistration != null) { list = materialBill.getAllMaterialDoctorAdvice(this.CurrentRegistration.ID); } } else { if (CurrentInpatient != null) { list = materialBill.getAllInHospitalMaterialDoctorAdvice(this.CurrentInpatient.ID); } } return(list); }