コード例 #1
0
 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);
         }
     }
 }
コード例 #2
0
ファイル: HISGUIFeeVM.cs プロジェクト: xuebeibei/vsTest
        // 得到当前门诊患者的所其他服务单
        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);
        }
コード例 #3
0
 public bool SaveOtherServiceDoctorAdvice(CommContracts.OtherServiceDoctorAdvice otherServiceDoctorAdvice)
 {
     CommClient.OtherServiceDoctorAdvice otherService = new CommClient.OtherServiceDoctorAdvice();
     return(otherService.SaveOtherService(otherServiceDoctorAdvice));
 }