Exemplo n.º 1
0
        /// <summary>
        /// 跨省异地卡交易
        /// </summary>
        internal void Ksydkjy()
        {
            #region get
            clsDGZydyxs_VO objDgzydyxsVo = null;
            clsDGZyjsfh_VO objDgzyjsfhVo = null;
            string         strName       = string.Empty;
            string         strZyh        = string.Empty;
            string         strStatus     = string.Empty;
            decimal        decZyfyze     = 0;
            decimal        decGrzfeije   = 0;
            long           lngRes        = this.objDomain.m_lngGetZYYBDyxs(this.m_objViewer.strJslx, this.m_objViewer.strRegisterId, ref strName, ref strZyh, ref strStatus, out objDgzydyxsVo, out objDgzyjsfhVo, out decZyfyze, out decGrzfeije);
            if (objDgzydyxsVo == null)
            {
                MessageBox.Show("该病人没有医保登记信息,请注意!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Question);
                return;
            }
            #endregion

            string       uri = string.Empty;
            string       JBR = this.m_objViewer.LoginInfo.m_strEmpNo;
            clsDGZydj_VO vo  = new clsDGZydj_VO();
            vo.GMSFHM   = objDgzydyxsVo.GMSFHM;
            vo.JZLB     = objDgzydyxsVo.JZLB;
            vo.RYRQ     = this.objDomain.GetFeeMaxDate(this.m_objViewer.strRegisterId); // 费用日期: 结算终止日期
            vo.CBDTCQBM = objDgzydyxsVo.CBDTCQBM;
            vo.YYBH     = clsYBPublic_cs.m_strReadXML("DGCSZYYB", "YYBHZY", "AnyOne");  // 住院医院编号
            clsYBPublic_cs.SP3_5003(vo, JBR, objDgzydyxsVo.JZJLH, out uri);
            if (!string.IsNullOrEmpty(uri))
            {
                frmUri frm = new frmUri("跨省异地卡交易", uri);
                frm.ShowDialog();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 跨省异地卡鉴权
        /// </summary>
        internal void Ksydkjq()
        {
            if (m_lngCheckCtl() < 0)
            {
                return;
            }

            string       uri = string.Empty;
            string       JBR = this.m_objViewer.LoginInfo.m_strEmpNo;
            clsDGZydj_VO vo  = new clsDGZydj_VO();

            vo.GMSFHM   = this.m_objViewer.txtIDCard.Text.Trim();
            vo.JZLB     = this.m_objViewer.cboJZLB.Text.Trim().Split('-')[0].ToString();
            vo.RYRQ     = Convert.ToDateTime(this.m_objViewer.dtmInHospitalDate.Text.Trim()).ToString("yyyyMMdd");
            vo.CBDTCQBM = this.m_objViewer.txtCbdtcqbm.Text.Trim();
            vo.YYBH     = clsYBPublic_cs.m_strReadXML("DGCSZYYB", "YYBHZY", "AnyOne"); // 住院医院编号
            clsYBPublic_cs.SP3_5002(vo, JBR, out uri);
            if (!string.IsNullOrEmpty(uri))
            {
                frmUri frm = new frmUri("跨省异地卡鉴权", uri);
                frm.ShowDialog();
            }
        }