Ejemplo n.º 1
0
        /// <summary>
        /// 长期护理申请上传
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            rzybHandle = new RZYBHandle();

            Dictionary <string, string> result = new Dictionary <string, string>();
            string zcm  = "211231I-970453-771964-4535";
            string yybm = "51080096";


            rzybHandle = new RZYBHandle();
            rzybHandle.InitResolver(sbjgbh, zcm, yybm, usercode);                  //初始化参数 :社保机构编号、注册码、医院编码、usercode
            rzybHandle.AddInParas("p_grbh", txtGrbh.Text);                         //个人编号
            rzybHandle.AddInParas("p_hlzl", cmbHlzl.SelectedValue.ToString());     //护理种类
            rzybHandle.AddInParas("p_lxdh", txtDh.Text);                           // 联系电话
            rzybHandle.AddInParas("p_jspf", cmbjspf.SelectedValue.ToString());     //进食评分
            rzybHandle.AddInParas("p_czpf", cmbxzpf.SelectedValue.ToString());     //洗澡评分
            rzybHandle.AddInParas("p_sxxspf", cmbsxxspf.SelectedValue.ToString()); //梳洗修饰评分
            rzybHandle.AddInParas("p_cypf", cmbcypf.SelectedValue.ToString());     //穿衣评分
            rzybHandle.AddInParas("p_kzdbpf", cmbkzdbpf.SelectedValue.ToString()); //控制大便评分
            rzybHandle.AddInParas("p_kzxbpf", cmbkzxbpf.SelectedValue.ToString()); //控制小便评分
            rzybHandle.AddInParas("p_rcpf", cmbrcpf.SelectedValue.ToString());     //如厕评分
            rzybHandle.AddInParas("p_zyzypf", cmbzyzypf.SelectedValue.ToString()); //床椅转移评分
            rzybHandle.AddInParas("p_xzpf", cmbxxpf.SelectedValue.ToString());     //行走评分
            rzybHandle.AddInParas("p_sxltpf", cmbsxltpf.SelectedValue.ToString()); //上下楼梯评分
            rzybHandle.AddInParas("p_bqmsjzd", richTextBox1.Text);                 //病情描述及诊断
            //rzybHandle.AddInParas("p_dmbh", .SelectedValue.ToString());         //

            rzybHandle.Handle("add_cqhl");                       // 传入方法名
            MessageBox.Show("护理长期申请上传完成,请稍后在护理审核查询");
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //  rzybHandle = new RZYBHandle();

            Dictionary <string, string> result = new Dictionary <string, string>();
            string zcm  = "211231I-970453-771964-4535";
            string yybm = "51080096";

            Dictionary <string, string> patInfo = QueryPersonInfo(txtGrbh.Text.Trim(), "0", "C");

            sbjgbh = patInfo["sbjgbh"];


            rzybHandle = new RZYBHandle();
            rzybHandle.InitResolver(sbjgbh, zcm, yybm, usercode); //初始化参数 :社保机构编号、注册码、医院编码、usercode
            rzybHandle.AddInParas("p_grbh", txtGrbh.Text.Trim()); //个人编号
            //病情描述及诊断
            //rzybHandle.AddInParas("p_dmbh", .SelectedValue.ToString());         //

            rzybHandle.Handle("add_mztc");                       // 传入方法名
            MessageBox.Show("签约成功!个人编号:" + txtGrbh.Text);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 查询按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            Dictionary <string, string> result = new Dictionary <string, string>();

            rzybHandle = new RZYBHandle();
            string zcm  = "211231I-970453-771964-4535";
            string yybm = "51080096";
            string Sbjg = txtSBjgbh.Text;
            string GrBH = txtGrbh.Text.Trim();

            rzybHandle = new RZYBHandle();
            rzybHandle.InitResolver(Sbjg, zcm, yybm, usercode); //初始化参数 :社保机构编号、注册码、医院编码、usercode
            rzybHandle.AddInParas("p_grbh", GrBH);              //返回参数的格式 json  excel  txt
            rzybHandle.Handle("query_cqhl");                    // 传入方法名
            // result = rzybHandle.GetResultDict();
            result = rzybHandle.GetResultDict_Cx();

            foreach (string item in result.Keys)
            {
                // Console.WriteLine("键为:{0},值为:{1}", item, result[item]);
                using (DataTable table = new DataTable())
                {
                    table.Columns.Add("护理种类");
                    table.Columns.Add("审核结果");
                    table.Columns.Add("审核意见");
                    table.Columns.Add("护理开始时间");

                    if (result.Count > 0)
                    {
                        for (int i = 0; i < result.Count; i++)
                        {
                            DataRow dr = table.NewRow();
                            dr["护理种类"]   = result["hlzl"];
                            dr["审核结果"]   = result["spbz"];
                            dr["审核意见"]   = result["spyj"];
                            dr["护理开始时间"] = result["qsrq"];
                            table.Rows.Add(dr);
                        }
                    }

                    dataGridView1.DataSource = table;
                }
            }



            //hlcx_ds = rzybHandle.GetResult<List<Hlcx>>("hlcx_ds");

            //using (DataTable table = new DataTable())
            //{
            //    table.Columns.Add("护理种类");
            //    table.Columns.Add("审核结果");
            //    table.Columns.Add("审核意见");
            //    table.Columns.Add("护理开始时间");

            //    if (hlcx_ds.Count > 0)
            //    {
            //        for (int i = 0; i < hlcx_ds.Count; i++)
            //        {
            //            DataRow dr = table.NewRow();
            //            dr["护理种类"] = hlcx_ds[i].hlzl;
            //            dr["审核结果"] = hlcx_ds[i].spbz;
            //            dr["审核意见"] = hlcx_ds[i].spyj;
            //            dr["护理开始时间"] = hlcx_ds[i].qsrq;
            //            table.Rows.Add(dr);
            //        }
            //    }

            //    dataGridView1.DataSource = table;
            //}
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 查询按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>

        private void button1_Click(object sender, EventArgs e)
        {
            rzybHandle = new RZYBHandle();
            string zcm  = "211231I-970453-771964-4535";
            string yybm = "51080096";
            string sbjg = txtSbjgbh.Text;
            string jslb = cmbJslb.SelectedValue.ToString();
            string rqlb = cmbRqlb.SelectedValue.ToString();
            string qsrq = dateTimePicker1.Value.ToString("yyyyMMdd");
            string zzrq = dateTimePicker2.Value.ToString("yyyyMMdd");

            rzybHandle = new RZYBHandle();
            rzybHandle.InitResolver(sbjg, zcm, yybm, usercode); //初始化参数 :社保机构编号、注册码、医院编码、usercode
            rzybHandle.AddInParas("p_jslb", jslb);              //返回参数的格式 json  excel  txt
            rzybHandle.AddInParas("p_rqlb", rqlb);              //返回参数的格式 json  excel  txt
            rzybHandle.AddInParas("p_qsrq", qsrq);              //返回参数的格式 json  excel  txt
            rzybHandle.AddInParas("p_zzrq", zzrq);              //返回参数的格式 json  excel  txt
            rzybHandle.Handle("query_jsxx");                    // 传入方法名

            jsxx_ds = rzybHandle.GetResult <List <jsxx> >("jsxx_ds");

            using (DataTable table = new DataTable())
            {
                table.Columns.Add("个人编号");
                table.Columns.Add("姓名");
                table.Columns.Add("病人结算日期");
                table.Columns.Add("病人结算号");
                table.Columns.Add("医疗统筹类别");
                table.Columns.Add("医疗类别");
                table.Columns.Add("人群类别");
                table.Columns.Add("总金额");
                table.Columns.Add("医保负担金额");
                table.Columns.Add("个人账户支付");
                table.Columns.Add("现金支付");
                table.Columns.Add("结算标志");
                table.Columns.Add("本次统筹支付");
                table.Columns.Add("本次大额支付");
                table.Columns.Add("本次公务员补助支付");
                table.Columns.Add("本次商保大病理赔费用");
                table.Columns.Add("医疗机构减免金额");
                table.Columns.Add("扶贫人员民政救助金额");
                table.Columns.Add("扶贫特惠保险金额");
                table.Columns.Add("低保救助金额");
                table.Columns.Add("重特大疾病救助金额");


                if (jsxx_ds.Count > 0)
                {
                    for (int i = 0; i < jsxx_ds.Count; i++)
                    {
                        DataRow dr = table.NewRow();
                        dr["个人编号"]       = jsxx_ds[i].grbh;
                        dr["姓名"]         = jsxx_ds[i].xm;
                        dr["病人结算日期"]     = jsxx_ds[i].brjsrq;
                        dr["病人结算号"]      = jsxx_ds[i].jshid;
                        dr["医疗统筹类别"]     = jsxx_ds[i].yltclb;
                        dr["医疗类别"]       = jsxx_ds[i].yllb;
                        dr["人群类别"]       = jsxx_ds[i].rqlb;
                        dr["总金额"]        = jsxx_ds[i].zje;
                        dr["医保负担金额"]     = jsxx_ds[i].ybfdje;
                        dr["个人账户支付"]     = jsxx_ds[i].grzhzf;
                        dr["现金支付"]       = jsxx_ds[i].xjzf;
                        dr["结算标志"]       = jsxx_ds[i].jsbz;
                        dr["本次统筹支付"]     = jsxx_ds[i].tczf;
                        dr["本次大额支付"]     = jsxx_ds[i].dezf;
                        dr["本次公务员补助支付"]  = jsxx_ds[i].gwybz;
                        dr["本次商保大病理赔费用"] = jsxx_ds[i].bcsbdblpzf;
                        dr["医疗机构减免金额"]   = jsxx_ds[i].yljmje;
                        dr["扶贫人员民政救助金额"] = jsxx_ds[i].fprymzjzje;
                        dr["扶贫特惠保险金额"]   = jsxx_ds[i].fpthbxje;
                        dr["低保救助金额"]     = jsxx_ds[i].dbjzje;
                        dr["重特大疾病救助金额"]  = jsxx_ds[i].ztdjbzf;

                        table.Rows.Add(dr);
                    }
                }

                dataGridView1.DataSource = table;
            }
        }