예제 #1
0
        public frmPrintLeaveNotice(clsBedManageVO p_bedManageVO, clsT_Opr_Bih_Leave_VO p_leaveVO)
        {
            InitializeComponent();

            this.m_bedManageVO = p_bedManageVO;
            this.m_leaveVO     = p_leaveVO;
        }
예제 #2
0
        /// <summary>
        /// 显示病人信息
        /// </summary>
        /// <param name="p_bedManageVO">病人信息VO</param>

        public frmEditBed(clsBedManageVO p_bedManageVO)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();
            ((clsCtl_EditBed)this.objController).m_mthShowPatientInfo(p_bedManageVO);
        }
예제 #3
0
 /// <summary>
 /// ´²Î»¹ÜÀíÐÅÏ¢VO
 /// </summary>
 /// <param name="p_objBed"></param>
 public frmHolday(clsBedManageVO p_objBed)
 {
     InitializeComponent();
     m_objManage           = new clsDcl_BIHTransfer();
     m_objBed              = p_objBed;
     m_txtBedCode.Text     = m_objBed.m_strCODE_CHR;
     m_txtInPatientID.Text = m_objBed.m_strINPATIENTID_CHR;
     m_txtName.Text        = m_objBed.m_strNAME_VCHR;
     m_txtSex.Text         = m_objBed.m_strSEX_CHR;
     m_txtAge.Text         = new clsBrithdayToAge().m_strGetAge(m_objBed.m_strBIRTH_DAT);
 }
예제 #4
0
        public frmBIHLeave(clsBedManageVO p_bedManageVO, string p_strOutDeptID, string p_strOutAreaID, string p_strOutBedID)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            this.m_bedManageVO = p_bedManageVO;

            m_strRegisterID = this.m_bedManageVO.m_strREGISTERID_CHR;
            m_strOutDeptID  = p_strOutDeptID;
            m_strOutAreaID  = p_strOutAreaID;
            m_strOutBedID   = p_strOutBedID;
        }
예제 #5
0
파일: frmTurnOut.cs 프로젝트: iamwsx05/HIS
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="p_strRegisterID">入院登记流水号</param>
        /// <param name="p_strDeptID">部门科室ID号</param>
        /// <param name="p_strAreaID">病区ID</param>
        /// <param name="p_strBedID">病床流水号</param>
        public frmTurnOut(clsBedManageVO p_objBedManage, string p_strDepartID, string p_strAreaID, string p_strAreaName)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            m_strAreaID           = p_strAreaID;
            m_strDeptID           = p_strDepartID;
            m_txtArea.Text        = p_strAreaName;
            m_objBedManage        = p_objBedManage;
            m_txtName.Text        = m_objBedManage.m_strNAME_VCHR;
            m_txtInPatientID.Text = m_objBedManage.m_strINPATIENTID_CHR;
            m_txtBedCode.Text     = m_objBedManage.m_strCODE_CHR;
        }
예제 #6
0
파일: frmTranBed.cs 프로젝트: iamwsx05/HIS
 public frmTranBed(string p_strAreaId, clsBedManageVO p_objBedVO)
 {
     this.m_objBedVO  = p_objBedVO;
     this.m_strAreaId = p_strAreaId;
     InitializeComponent();
 }
예제 #7
0
        /// <summary>
        /// 根据入院登记ID获取病人信息
        /// </summary>
        public void m_mthShowPatientInfo(clsBedManageVO p_bedManageVO)
        {
            clsBIHpatientVO p_obRecord;

            try
            {
                long lngRes = m_objManage.m_lngGetBIHPatientInfoByRegID(p_bedManageVO.m_strREGISTERID_CHR, out p_obRecord);
                if (lngRes > 0)
                {
                    m_strRegisterID = p_bedManageVO.m_strREGISTERID_CHR;
                    m_strAreaID     = p_obRecord.m_strAREAID;
                    m_objViewer.m_txtMaindoctor.Value   = p_obRecord.m_strCASEDOCTOR_CHR;
                    m_objViewer.m_txtMaindoctor.Text    = p_obRecord.m_strDOCTORNAME;
                    m_objViewer.m_txtINPatient.Text     = p_obRecord.m_strINPATIENTID_CHR;
                    m_objViewer.m_txtPATIENTCARDID.Text = p_obRecord.m_strPATIENTCARDID_CHR;
                    m_objViewer.m_txtInsuranceID.Text   = p_obRecord.m_strINSURANCEID_VCHR;
                    m_objViewer.m_txtPatientName.Text   = p_obRecord.m_strNAME_VCHR;
                    m_objViewer.m_txtSex.Text           = p_obRecord.m_strSEX_CHR;

                    try
                    {
                        m_objViewer.m_inAreaDate.Text = Convert.ToDateTime(p_obRecord.m_strInAreaDate).ToString("yyyy年MM月dd日HH时mm分");
                    }
                    catch { }

                    try
                    {
                        m_objViewer.m_txtBIRTH_DAT.Text = Convert.ToDateTime(p_obRecord.m_strBIRTH_DAT).ToString("yyyy-MM-dd HH:mm");
                    }
                    catch { }
                    m_objViewer.m_txtIDCARD_CHR.Text     = p_obRecord.m_strIDCARD_CHR;
                    m_objViewer.m_txtHOMEPHONE_VCHR.Text = p_obRecord.m_strHOMEPHONE_VCHR;
                    m_objViewer.m_txtPaytypeid.Text      = p_obRecord.m_strPAYTYPENAME_VCHR;
                    //m_objViewer.m_txtSTATE_INT.Text = p_obRecord.m_strSTATUS;
                    string strTem = "";
                    switch (p_obRecord.m_strTYPE_INT)
                    {
                    case "1":
                        strTem = "门诊";
                        break;

                    case "2":
                        strTem = "急诊";
                        break;

                    case "3":
                        strTem = "他院转入";
                        break;

                    case "4":
                        strTem = "他科转入";
                        break;

                    default:
                        strTem = "";
                        break;
                    }
                    m_objViewer.m_txtTYPE_INT.Text = strTem;
                    //入院日期
                    try
                    {
                        m_objViewer.m_txtINPATIENT_DAT.Text = Convert.ToDateTime(p_obRecord.m_strINPATIENT_DAT).ToString("yyyy-MM-dd HH:mm");
                    }
                    catch {}
                    m_objViewer.m_txtICD.Tag  = p_obRecord.m_strICD10DIAGID_VCHR;
                    m_objViewer.m_txtICD.Text = p_obRecord.m_strICD10DIAGTEXT_VCHR;
                    //判断是否是医保病人
                    if (p_obRecord.m_strINTERNALFLAG_INT == "2")  //斩时写死,以后要改的
                    {
                        m_bolProtect = true;
                    }
                    if (m_bolProtect)
                    {
                        m_objViewer.m_txtDIAGNOSE.Enabled = true;
                        m_objViewer.m_txtDIAGNOSE.Tag     = p_obRecord.m_strDIAGNOSEID_CHR;
                        m_objViewer.m_txtDIAGNOSE.Text    = p_obRecord.m_strDIAGNOSE_VCHR;
                    }
                    else
                    {
                        m_objViewer.m_txtDIAGNOSE.Tag     = "";
                        m_objViewer.m_txtDIAGNOSE.Text    = "非医保病人!";
                        m_objViewer.m_txtDIAGNOSE.Enabled = false;
                    }
                    //this.m_objViewer.m_txtFoodInfo.Text = p_bedManageVO.m_strEATDICCATE;
                    //this.m_objViewer.m_txtCareInfo.Text = p_bedManageVO.m_strNURSECATE;

                    //护理、饮食信息
                    GetPatientNurseByRegId(m_strRegisterID);

                    //病情信息
                    try
                    {
                        //string state = GetPatientStateByRegId(m_strRegisterID);
                        this.m_objViewer.m_cboSTATE_INT.SelectedIndex = Convert.ToInt16(p_bedManageVO.m_strSTATE_INT);
                    }
                    catch
                    {
                        this.m_objViewer.m_cboSTATE_INT.SelectedIndex = 0;
                    }
                }

                //根据入院登记ID判断病人是否存在转区或出院记录
                lngRes = this.m_objManage.CheckTranOrOut(p_bedManageVO.m_strREGISTERID_CHR);
                if (lngRes > 0)
                {
                    this.m_objViewer.m_inAreaDate.Enabled = false;
                }
            }
            catch
            {
                MessageBox.Show("获取病人信息出错!");
            }
        }