Example #1
0
 public List <CommContracts.InspectDoctorAdvice> getAllInspect()
 {
     CommClient.InspectDoctorAdvice inspect = new CommClient.InspectDoctorAdvice();
     if (IsClinicOrInHospital)
     {
         if (CurrentRegistration != null)
         {
             return(inspect.getAllInspectDoctorAdvice(CurrentRegistration.ID));
         }
         else
         {
             return(null);
         }
     }
     else
     {
         if (CurrentInHospital != null)
         {
             return(inspect.getAllInHospitalInspect(CurrentInHospital.ID));
         }
         else
         {
             return(null);
         }
     }
 }
Example #2
0
        // 得到当前门诊患者的所有检查申请单
        public List <CommContracts.InspectDoctorAdvice> GetAllJianCha()
        {
            CommClient.InspectDoctorAdvice inspect = new CommClient.InspectDoctorAdvice();  // 检查申请

            List <CommContracts.InspectDoctorAdvice> list = new List <CommContracts.InspectDoctorAdvice>();

            if (IsClinicOrInHospital)
            {
                if (CurrentRegistration != null)
                {
                    list = inspect.getAllInspectDoctorAdvice(this.CurrentRegistration.ID);
                }
            }
            else
            {
                if (CurrentInpatient != null)
                {
                    list = inspect.getAllInHospitalInspect(this.CurrentInpatient.ID);
                }
            }
            return(list);
        }