コード例 #1
0
ファイル: clsMainMenuFunction.cs プロジェクト: ewin66/HIS
        /// <summary>
        /// Show报告单
        /// </summary>
        public void m_mthShowReport()
        {
            iCare.DoctorWorkStation.frmChoosePatient frmCP = new iCare.DoctorWorkStation.frmChoosePatient();
            if (MDIParent.s_ObjCurrentPatient == null)
            {
                frmCP.SetPatientInfo = null;
            }
            else
            {
                //frmCP.SetPatientInfo=MDIParent.s_ObjCurrentPatient;
            }
            clsEmrPatient_VO objPatient;

            //clsPatient objPatient;
            //if(frmCP.ShowDialog()==DialogResult.No)
            if (frmCP.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            objPatient = (clsEmrPatient_VO)frmCP.SetPatientInfo;
            com.digitalwave.iCare.gui.HIS.frmShowReports objfrmSR = new com.digitalwave.iCare.gui.HIS.frmShowReports();
            objfrmSR.InHospitalNO = objPatient.m_strINPATIENTID_CHR.Trim();
            objfrmSR.PatientName  = objPatient.m_strLASTNAME_VCHR.Trim();
            objfrmSR.PatientSex   = objPatient.m_strSEX_CHR.Trim();
            objfrmSR.PatientAge   = objPatient.m_strMARRIED_CHR.Trim();
            //objfrmSR.InHospitalNO=objPatient.m_StrInPatientID;
            //objfrmSR.PatientName=objPatient.m_StrName;
            //objfrmSR.PatientSex=objPatient.m_StrSex;
            //objfrmSR.PatientAge=objPatient.m_ObjPeopleInfo.m_StrAge;
            objfrmSR.ShowDialog();
        }
コード例 #2
0
ファイル: clsMainMenuFunction.cs プロジェクト: ewin66/HIS
        /// <summary>
        /// Show检验申请单
        /// </summary>
        public void m_mthLISApply()
        {
            iCare.DoctorWorkStation.frmChoosePatient frmCP = new iCare.DoctorWorkStation.frmChoosePatient();

            if (MDIParent.s_ObjCurrentPatient == null)
            {
                frmCP.SetPatientInfo = null;
            }
            else
            {
                //frmCP.SetPatientInfo=MDIParent.s_ObjCurrentPatient;
            }

            clsEmrPatient_VO objPatient;

            //if(frmCP.ShowDialog()==DialogResult.No)
            if (frmCP.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            objPatient = frmCP.SetPatientInfo;
            frmCP.Close();
            frmLisAppl obj = new frmLisAppl();

            #region 收费病人基本数据
            clsLisApplMainVO objLMVO = new clsLisApplMainVO();
            objLMVO.m_intEmergency = 0;
            objLMVO.m_intForm_int  = 0;
            objLMVO.m_strAge       = objPatient.m_strMARRIED_CHR;
            //objLMVO.m_strAge=objPatient.m_ObjPeopleInfo.m_StrAge;
            objLMVO.m_strAppl_DeptID  = MDIParent.s_ObjDepartment.m_StrDeptID;
            objLMVO.m_strAppl_EmpID   = MDIParent.strOperatorID;
            objLMVO.m_strDiagnose     = "";
            objLMVO.m_strOperator_ID  = MDIParent.strOperatorID;
            objLMVO.m_strPatient_Name = objPatient.m_strLASTNAME_VCHR;
            //objLMVO.m_strPatient_Name=objPatient.m_StrName;
            objLMVO.m_strPatientcardID = "";
            com.digitalwave.iCare.gui.HIS.clsDcl_ShowReports objSR = new com.digitalwave.iCare.gui.HIS.clsDcl_ShowReports();
            objLMVO.m_strPatientID = objPatient.m_strPATIENTID_CHR;
            //objLMVO.m_strPatientID=objSR.m_mthFindPatientIDByInHospitalNo(objPatient.m_StrInPatientID);
            objLMVO.m_strPatientType = "1";
            objLMVO.m_strSex         = objPatient.m_strSEX_CHR.Trim();
            objLMVO.m_strPatient_inhospitalno_chr = objPatient.m_strINPATIENTID_CHR;
            objLMVO.m_strAge = objPatient.m_strMARRIED_CHR.Trim();
            //objLMVO.m_strSex=objPatient.m_StrSex;
            //objLMVO.m_strPatient_inhospitalno_chr = objPatient.m_StrInPatientID;
            //objLMVO.m_strAge = objPatient.m_ObjPeopleInfo.m_IntAge.ToString();
            obj.m_mthNewApp(objLMVO);
            #endregion
        }