Ejemplo n.º 1
0
        public ClinicalInfoListViewModel GetClinicalInfoList(DataConnection pclsCache, string UserId)
        {
            try
            {
                ClinicInfoViewModel DT_ClinicInfoDetail = new ClinicInfoViewModel();
                return(clinicInfoMethod.GetClinicalInfoList(pclsCache, UserId));
            }
            catch (Exception ex)
            {
                HygeiaComUtility.WriteClientLog(HygeiaEnum.LogType.ErrorLog, "GetClinicalInfoList", "WebService调用异常! error information : " + ex.Message + Environment.NewLine + ex.StackTrace);
                return(null);

                throw (ex);
            }
        }
Ejemplo n.º 2
0
        public ClinicInfoViewModel GetClinicInfoDetail(DataConnection pclsCache, string UserId, string Type, string VisitId, string Date)
        {
            try
            {
                ClinicInfoViewModel DT_ClinicInfoDetail = new ClinicInfoViewModel();

                //string date = Date.Substring(0, 10) + " " + Date.Substring(10, 8);
                //string date_final = Convert.ToDateTime(date).ToString("yyyy/M/d H:mm:ss");
                //string date_final = Date.Substring(0, 10) + " " + Date.Substring(10, 8);
                string date_final = Date;
                return(DT_ClinicInfoDetail = clinicInfoMethod.GetClinicInfoDetail(pclsCache, UserId, Type, VisitId, date_final));
            }
            catch (Exception ex)
            {
                HygeiaComUtility.WriteClientLog(HygeiaEnum.LogType.ErrorLog, "GetReminder", "WebService调用异常! error information : " + ex.Message + Environment.NewLine + ex.StackTrace);
                return(null);

                throw (ex);
            }
        }
Ejemplo n.º 3
0
        //public HttpResponseMessage LogOn(string PwType, string username, string password, string role)
        public ClinicInfoViewModel GetClinicInfoDetail(string UserId, string Type, string VisitId, string Date)
        {
            ClinicInfoViewModel ret = repository.GetClinicInfoDetail(pclsCache, UserId, Type, VisitId, Date);

            return(ret);
        }