예제 #1
0
        public ServiceResponseData BalanceDataInit()
        {
            int operatorID = requestData.GetData <int>(0);

            BasicDataManagement basicmanagement = NewObject <BasicDataManagement>();
            DataTable           dtCardType      = NewObject <ME_CardTypeList>().gettable(" UseFlag=1");

            responseData.AddData(dtCardType);//卡类型

            DataTable dtPattype = basicmanagement.GetPatType(false);

            responseData.AddData(dtPattype);//病人类型

            DataTable dtDept = basicmanagement.GetBasicData(DeptDataSourceType.全部科室);

            responseData.AddData(dtDept);//门诊科室

            DataTable dtDoctor = basicmanagement.GetBasicData(EmpDataSourceType.医生);

            responseData.AddData(dtDoctor);                                                     //医生

            string obj = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.HasOpDSystem); //判断是否上医生站,上了医生站不能录入药品和组合项目

            string curInvoiceNO = string.Empty;
            int    invoiceCount = NewObject <CommonMethod>().GetInvoiceInfo(InvoiceType.门诊收费, operatorID, out curInvoiceNO);

            responseData.AddData(invoiceCount); //可用票据张数
            responseData.AddData(curInvoiceNO); //当前可用票据号

            responseData.AddData(Convert.ToInt32(obj));
            return(responseData);
        }
예제 #2
0
        public ServiceResponseData RegDataInit()
        {
            int operatorID = requestData.GetData <int>(0);
            BasicDataManagement basicmanagement = NewObject <BasicDataManagement>();
            DataTable           dtRegType       = NewObject <CommonMethod>().GetRegType();

            responseData.AddData(dtRegType);//挂号类别

            DataTable dtCardType = NewObject <ME_CardTypeList>().gettable(" UseFlag=1");

            responseData.AddData(dtCardType);//卡类型

            DataTable dtPattype = basicmanagement.GetPatType(false);

            responseData.AddData(dtPattype);//病人类型

            string regMoningBTime    = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.RegMoningBTime);
            string regAfternoonBtime = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.RegAfternoonBtime);
            string regNightBtime     = NewObject <CommonMethod>().GetOpConfig(OpConfigConstant.RegNightBtime);

            responseData.AddData(regMoningBTime);
            responseData.AddData(regAfternoonBtime);
            responseData.AddData(regNightBtime);

            string curInvoiceNO = string.Empty;
            int    invoiceCount = NewObject <CommonMethod>().GetInvoiceInfo(InvoiceType.门诊挂号, operatorID, out curInvoiceNO);

            responseData.AddData(invoiceCount); //可用票据张数
            responseData.AddData(curInvoiceNO); //当前可用票据号
            return(responseData);
        }
예제 #3
0
        public ServiceResponseData RecipterInit()
        {
            //获取收费员列表
            DataTable           dt = new DataTable();
            BasicDataManagement basicmanagement = NewObject <BasicDataManagement>();//收费员

            dt = basicmanagement.GetBasicData(HIS_PublicManage.ObjectModel.EmpDataSourceType.收费员, false);
            responseData.AddData(dt);

            DataTable dtPattype = basicmanagement.GetPatType(false);

            responseData.AddData(dtPattype);                                          //病人类型

            DataTable dtPayMent = NewObject <Basic_Payment>().gettable(" delflag=0"); //支付方式

            responseData.AddData(dtPayMent);
            return(responseData);
        }
예제 #4
0
        public ServiceResponseData OpCostSearchDataInit()
        {
            //获取收费员列表
            DataTable           dt = new DataTable();
            BasicDataManagement basicmanagement = NewObject <BasicDataManagement>();//收费员

            dt = basicmanagement.GetBasicData(HIS_PublicManage.ObjectModel.EmpDataSourceType.收费员, true);
            responseData.AddData(dt);

            DataTable dtPattype = basicmanagement.GetPatType(false);

            responseData.AddData(dtPattype);//病人类型

            DataTable dtDept = basicmanagement.GetBasicData(HIS_PublicManage.ObjectModel.DeptDataSourceType.门诊临床科室, true);

            responseData.AddData(dtDept);//科室
            DataTable dtDoctor = basicmanagement.GetBasicData(HIS_PublicManage.ObjectModel.EmpDataSourceType.医生, true);

            responseData.AddData(dtDoctor);//医生
            return(responseData);
        }