Example #1
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsIntensiveTendRecordDetail_GX objContent = (clsIntensiveTendRecordDetail_GX )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            this.m_mthClearRecordInfo();
            m_txtRecordContent.m_mthSetNewText(objContent.m_strDETAILCONTENT, objContent.m_strDETAILCONTENTXML);
            m_dtpCreateDate.Value = objContent.m_dtmDETAILRECORDDATE;
            //if(objContent.m_strDETAILSIGNID != null && objContent.m_strDETAILSIGNID != "")
            //{
            //    clsEmployee objEmployee=new clsEmployee(objContent.m_strDETAILSIGNID);
            //    m_txtSign.Tag=objEmployee;
            //}
            //m_txtSign.Text=objContent.m_strDETAILSIGNNAME;

            //this.m_txtSign.Enabled = false;
            //根据工号获取签名信息
            //出于兼容考虑,过渡使用 tfzhang 2006-03-12
            com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain objEmployeeSign = new com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain();
            clsEmrEmployeeBase_VO objSign = new clsEmrEmployeeBase_VO();

            objEmployeeSign.m_lngGetEmpByNO(objContent.m_strDETAILSIGNID, out objSign);
            if (objSign != null)
            {
                txtSign.Text = objSign.m_strLASTNAME_VCHR;
                txtSign.Tag  = objSign;
            }
            this.txtSign.Enabled         = false;
            this.m_dtpCreateDate.Enabled = false;
        }
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_CS objContent = (clsGeneralNurseRecordContent_CS)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtTemperature.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text   = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.Text  = ctlRichTextBox.s_strGetRightText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.Text        = ctlRichTextBox.s_strGetRightText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_txtCVP.Text         = ctlRichTextBox.s_strGetRightText(objContent.m_strCVP, objContent.m_strCVPXML);
            this.m_cboMind.Text        = objContent.m_strMind;

            this.m_txtPupilSizeLeft.Text     = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeLeft, objContent.m_strPupilSizeLeftXML);
            this.m_txtPupilSizeRight.Text    = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeRight, objContent.m_strPupilSizeRightXML);
            this.m_cboPupilReflectLeft.Text  = objContent.m_strPupilReflectLeft;
            this.m_cboPupilReflectRight.Text = objContent.m_strPupilReflectRight;
            this.m_cboPiWen.Text             = objContent.m_strPiWen;
            this.m_cboColor.Text             = objContent.m_strColor;
            this.m_cboZhangLi.Text           = objContent.m_strZhangLi;
            this.m_cboCap.Text     = objContent.m_strCap;
            this.m_txtCustom.Text  = ctlRichTextBox.s_strGetRightText(objContent.m_strCUSTOM, objContent.m_strCUSTOMXML);
            this.m_txtCustom2.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strCUSTOM2, objContent.m_strCUSTOM2XML);


            if (objContent.m_strCUSTOMNAME != null)
            {
                m_lblCustom.Text = objContent.m_strCUSTOMNAME.Replace("\r\n", "");
            }
            if (objContent.m_strCUSTOM2NAME != null)
            {
                m_lblCustom2.Text = objContent.m_strCUSTOM2NAME.Replace("\r\n", "");
            }
        }
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsIntensivetendRecordContent_CS objContent = (clsIntensivetendRecordContent_CS )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtBoxTemperature.Text    = ctlRichTextBox.s_strGetRightText(objContent.m_strBOXTEMPERATUREALL, objContent.m_strBOXTEMPERATUREXML);
            this.m_txtTemperature.Text       = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text         = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text       = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.Text        = ctlRichTextBox.s_strGetRightText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.Text              = ctlRichTextBox.s_strGetRightText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_cboMind.Text              = objContent.m_strMind;
            this.m_txtPupilSizeLeft.Text     = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeLeft, objContent.m_strPupilSizeLeftXML);
            this.m_txtPupilSizeRight.Text    = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeRight, objContent.m_strPupilSizeRightXML);
            this.m_cboPupilReflectLeft.Text  = objContent.m_strPupilReflectLeft;
            this.m_cboPupilReflectRight.Text = objContent.m_strPupilReflectRight;

            this.m_cboFontanel.Text          = objContent.m_strFontanel;
            this.m_cboFaceColor.Text         = objContent.m_strFaceColor;
            this.m_cboSkinColor.Text         = objContent.m_strSkinColor;
            this.m_cboSkinEdema.Text         = objContent.m_strSkinEdema;
            this.m_cboSkinEdemaPosition.Text = objContent.m_strSkinEdemaPosition;
            this.m_cboSkinEdemaProperty.Text = objContent.m_strSkinEdemaProperty;
            this.m_cboSkinElasticity.Text    = objContent.m_strSkinLasticity;
            this.m_cboSkinPattern.Text       = objContent.m_strSkinPattern;
        }
Example #4
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_CS objContent = (clsGeneralNurseRecordContent_CS )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtTemperature.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text   = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.Text  = ctlRichTextBox.s_strGetRightText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.Text        = ctlRichTextBox.s_strGetRightText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_txtCVP.Text         = ctlRichTextBox.s_strGetRightText(objContent.m_strCVP, objContent.m_strCVPXML);
            this.m_cboMind.Text        = objContent.m_strMind;

            this.m_txtPupilSizeLeft.Text     = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeLeft, objContent.m_strPupilSizeLeftXML);
            this.m_txtPupilSizeRight.Text    = ctlRichTextBox.s_strGetRightText(objContent.m_strPupilSizeRight, objContent.m_strPupilSizeRightXML);
            this.m_cboPupilReflectLeft.Text  = objContent.m_strPupilReflectLeft;
            this.m_cboPupilReflectRight.Text = objContent.m_strPupilReflectRight;

            this.m_txtCustom.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strCUSTOM, objContent.m_strCUSTOMXML);

            if (objContent.m_strCUSTOMNAME != null)
            {
                m_lblCustom.Text = objContent.m_strCUSTOMNAME.Replace("\r\n", "");
            }
            //m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] { objContent.m_strCreateUserID }, new bool[] { false });
            if (objContent.m_strEXECUTESIGNIDARR != null)
            {
                for (int i = 0; i < objContent.m_strEXECUTESIGNIDARR.Length; i++)
                {
                    ListViewItem lviNewItem = new ListViewItem(new string[] { objContent.m_strEXECUTESIGNNAMEARR[i], objContent.m_strEXECUTESIGNIDARR[i] });
                    lsvSign.Items.Add(lviNewItem);
                }
            }
        }
Example #5
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。

        /// </summary>
        /// <param name="p_objContent">VO</param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_IntakeAndOutputVolumeValue objContent = p_objContent as clsEMR_IntakeAndOutputVolumeValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_txtStool.m_mthSetNewText(objContent.m_strSTOOL_VCHR, objContent.m_strSTOOL_XML);
            m_txtUrine.m_mthSetNewText(objContent.m_strURINE_VCHR, objContent.m_strURINE_XML);
            m_txtGastrisJuice.m_mthSetNewText(objContent.m_strGASTRICJUICE_VCHR, objContent.m_strGASTRICJUICE_XML);
            m_txtBile.m_mthSetNewText(objContent.m_strBILE_VCHR, objContent.m_strBILE_XML);
            m_txtIntestinalJuice.m_mthSetNewText(objContent.m_strINTESTINALJUICE_VCHR, objContent.m_strINTESTINALJUICE_XML);
            m_txtChestFluid.m_mthSetNewText(objContent.m_strCHESTFLUID_VCHR, objContent.m_strCHESTFLUID_XML);
            m_txtOtherOutput.m_mthSetNewText(objContent.m_strOTHEROUTPUT_VCHR, objContent.m_strOTHEROUTPUT_XML);
            m_txtDrinkingWater.m_mthSetNewText(objContent.m_strDRINKINGWATER_VCHR, objContent.m_strDRINKINGWATER_XML);
            m_txtFood.m_mthSetNewText(objContent.m_strFOOD_VCHR, objContent.m_strFOOD_XML);
            m_txtTransfusion.m_mthSetNewText(objContent.m_strTRANSFUSION_VCHR, objContent.m_strTRANSFUSION_XML);
            m_txtSugarWater.m_mthSetNewText(objContent.m_strSUGARWATER_VCHR, objContent.m_strSUGARWATER_XML);
            m_txtSalineWater.m_mthSetNewText(objContent.m_strSALINEWATER_VCHR, objContent.m_strSALINEWATER_XML);
            m_txtOtherIntake.m_mthSetNewText(objContent.m_strOTHERINTAKE_VCHR, objContent.m_strOTHERINTAKE_XML);

            m_cboRecordTime.SelectedIndex = objContent.m_intINDEX_INT;
            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                //lsvSign.Items.Clear();
                //for (int i = 0; i < objContent.objSignerArr.Length; i++)
                //{
                //    if (objContent.objSignerArr[i].controlName == "lsvSign")
                //    {
                //        ListViewItem lviNewItem = new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                //        //ID 检查重复用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                //        //级别 排序用

                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                //        //tag均为对象
                //        lviNewItem.Tag = objContent.objSignerArr[i].objEmployee;
                //        //是按顺序保存故获取顺序也一样

                //        lsvSign.Items.Add(lviNewItem);

                //    }
                //}
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = true;
        }
Example #6
0
        /// <summary>
        /// 显示已删除记录至界面
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_OXTIntravenousDripCon objContent = p_objContent as clsEMR_OXTIntravenousDripCon;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_txtOXTDensity.Text         = objContent.m_strOXTDENSITY_RIGHT;
            m_txtOXTDropCount.Text       = objContent.m_strOXTDROPCOUNT_RIGHT;
            m_txtUterineContraction.Text = objContent.m_strUTERINECONTRACTION_RIGHT;
            m_txtFetalHeart.Text         = objContent.m_strFETALHEART;
            m_txtMetreurynt.Text         = objContent.m_strMETREURYNT_RIGHT;
            m_txtPresentation.Text       = objContent.m_strPRESENTATION_RIGHT;
            m_txtBP_S.Text        = objContent.m_strBP_S_RIGHT;
            m_txtBP_A.Text        = objContent.m_strBP_A_RIGHT;
            m_txtSpecialInfo.Text = objContent.m_strSPECIALINFO_RIGHT;

            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                //lsvSign.Items.Clear();
                //for (int i = 0; i < objContent.objSignerArr.Length; i++)
                //{
                //    if (objContent.objSignerArr[i].controlName == "lsvSign")
                //    {
                //        ListViewItem lviNewItem = new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                //        //ID 检查重复用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                //        //级别 排序用



                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                //        //tag均为对象
                //        lviNewItem.Tag = objContent.objSignerArr[i].objEmployee;
                //        //是按顺序保存故获取顺序也一样



                //        lsvSign.Items.Add(lviNewItem);

                //    }
                //}
            }
            #endregion 签名

            this.lsvSign.Enabled   = false;
            this.m_cmdSign.Enabled = false;
            // this.m_dtpCreateDate.Enabled = false;
            this.m_dtpCreateDate.Enabled = true;
        }
Example #7
0
        /// <summary>
        /// 把特殊记录的值显示到界面上


        /// </summary>
        /// <param name="p_objContent">VO</param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_GestationDiabetesCureValue objContent = p_objContent as clsEMR_GestationDiabetesCureValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;
            ////////////////////////////////////////
            this.m_txtGestationWeeks_vchr.m_mthSetNewText(objContent.m_strGestationWeeks_vchr.ToString(), objContent.m_strGestationWeeks_XML);
            this.m_txtAvoirdupois_vchr.m_mthSetNewText(objContent.m_strAvoirdupois_vchr.ToString(), objContent.m_strAvoirdupois_XML);
            this.m_txtStapleMeasure_vchr.m_mthSetNewText(objContent.m_strStapleMeasure_vchr.ToString(), objContent.m_strStapleMeasure_XML);
            this.m_txtInsulinLong_vchr.m_mthSetNewText(objContent.m_strInsulinLong_vchr, objContent.m_strInsulinLong_XML);
            this.m_txtInsulinShortMorning_vchr.m_mthSetNewText(objContent.m_strInsulinShortMorning_vchr, objContent.m_strInsulinShortMorning_XML);
            this.m_txtInsulinShortNoon_vchr.m_mthSetNewText(objContent.m_strInsulinShortNoon_vchr, objContent.m_strInsulinShortNoon_XML);
            this.m_txtInsulinShortNight_vchr.m_mthSetNewText(objContent.m_strInsulinShortNight_vchr, objContent.m_strInsulinShortNight_XML);
            this.m_txtBloodSugarLimosis_vchr.m_mthSetNewText(objContent.m_strBloodSugarLimosis_vchr, objContent.m_strBloodSugarLimosis_XML);
            this.m_txtBloodSugarBe_BF_vchr.m_mthSetNewText(objContent.m_strBloodSugarBe_BF_vchr, objContent.m_strBloodSugarBe_BF_XML);
            this.m_txtBloodSugarAf_BF_vchr.m_mthSetNewText(objContent.m_strBloodSugarAf_BF_vchr, objContent.m_strBloodSugarAf_BF_XML);
            this.m_txtBloodSugarBe_Lun_vchr.m_mthSetNewText(objContent.m_strBloodSugarBe_Lun_vchr, objContent.m_strBloodSugarBe_Lun_XML);
            this.m_txtBloodSugarAf_Lun_vchr.m_mthSetNewText(objContent.m_strBloodSugarAf_Lun_vchr, objContent.m_strBloodSugarAf_Lun_XML);
            this.m_txtBloodSugarBe_Sup_vchr.m_mthSetNewText(objContent.m_strBloodSugarBe_Sup_vchr, objContent.m_strBloodSugarBe_Sup_XML);
            this.m_txtBloodSugarAf_Sup_vchr.m_mthSetNewText(objContent.m_strBloodSugarAf_Sup_vchr, objContent.m_strBloodSugarAf_Sup_XML);
            this.m_txtUreaketone_vchr.m_mthSetNewText(objContent.m_strUreaketone_vchr, objContent.m_strUreaketone_XML);

            //m_txtCheckResult.m_mthSetNewText(objContent.m_strCHECKRESULT_VCHR,objContent.m_strCHECKRESULT_XML);
            //m_cboCheckTime.Text = objContent.m_strCHECKTIME_RIGHT;

            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
            }
            else
            {
                lsvSign.Items.Clear();
                clsEmrEmployeeBase_VO    objEMP    = null;
                clsHospitalManagerDomain objDomain = new clsHospitalManagerDomain();
                long lngRes = objDomain.m_lngGetEmpByID(objContent.m_strCreateUserID, out objEMP);
                if (objEMP != null)
                {
                    ListViewItem lviNewItem = new ListViewItem(objEMP.m_strGetTechnicalRankAndName);
                    lviNewItem.SubItems.Add(objEMP.m_strEMPID_CHR);
                    lviNewItem.SubItems.Add(objEMP.m_StrHistroyLevel);
                    lviNewItem.Tag = objEMP;
                    lsvSign.Items.Add(lviNewItem);
                }
                objDomain = null;
            }
            #endregion 签名

            this.lsvSign.Enabled   = false;
            this.m_cmdSign.Enabled = false;
        }
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsIntensivetendRecordContent_CS objContent = (clsIntensivetendRecordContent_CS )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtBoxTemperature.m_mthSetNewText(objContent.m_strBOXTEMPERATUREALL, objContent.m_strBOXTEMPERATUREXML);
            this.m_txtTemperature.m_mthSetNewText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.m_mthSetNewText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.m_mthSetNewText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.m_mthSetNewText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.m_mthSetNewText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_cboMind.Text = objContent.m_strMind;
            this.m_txtPupilSizeLeft.m_mthSetNewText(objContent.m_strPupilSizeLeft, objContent.m_strPupilSizeLeftXML);
            this.m_txtPupilSizeRight.m_mthSetNewText(objContent.m_strPupilSizeRight, objContent.m_strPupilSizeRightXML);
            this.m_cboPupilReflectLeft.Text  = objContent.m_strPupilReflectLeft;
            this.m_cboPupilReflectRight.Text = objContent.m_strPupilReflectRight;
            this.m_cboFontanel.Text          = objContent.m_strFontanel;
            this.m_cboFaceColor.Text         = objContent.m_strFaceColor;
            this.m_cboSkinColor.Text         = objContent.m_strSkinColor;
            this.m_cboSkinEdema.Text         = objContent.m_strSkinEdema;
            this.m_cboSkinEdemaPosition.Text = objContent.m_strSkinEdemaPosition;
            this.m_cboSkinEdemaProperty.Text = objContent.m_strSkinEdemaProperty;
            this.m_cboSkinElasticity.Text    = objContent.m_strSkinLasticity;
            this.m_cboSkinPattern.Text       = objContent.m_strSkinPattern;
            m_dtbInceptInfo.Clear();
            m_dtbEductionInfo.Clear();
            object[] m_objTemp = new object[2];
            if (objContent.m_objInpectArr != null)
            {
                m_dtbInceptInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objInpectArr.Length; i++)
                {
                    m_objTemp[0] = objContent.m_objInpectArr[i].m_strINPECT_KIND;
                    m_objTemp[1] = objContent.m_objInpectArr[i].m_strINPECT_METE;
                    m_dtbInceptInfo.LoadDataRow(m_objTemp, true);
                }
                m_dtbInceptInfo.EndLoadData();
            }
            if (objContent.m_objEductionArr != null)
            {
                m_dtbEductionInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objEductionArr.Length; i++)
                {
                    m_objTemp[0] = objContent.m_objEductionArr[i].m_strEDUCTION_KIND;
                    m_objTemp[1] = objContent.m_objEductionArr[i].m_strEDUCTION_METE;
                    m_dtbEductionInfo.LoadDataRow(m_objTemp, true);
                }
                m_dtbEductionInfo.EndLoadData();
            }
            m_mthAddSignToListView(lsvRecordSign, objContent.objSignerArr);
            this.m_dtpCreateDate.Enabled = false;
        }
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_DGCS objContent = (clsGeneralNurseRecordContent_DGCS)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();

            this.m_txtTemperature.m_mthSetNewText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.m_mthSetNewText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.m_mthSetNewText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.m_mthSetNewText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.m_mthSetNewText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_cboMind.Text = objContent.m_strMind;

            this.m_txtCustom.m_mthSetNewText(objContent.m_strCUSTOM, objContent.m_strCUSTOMXML);

            if (objContent.m_strCUSTOMNAME != "")
            {
                this.m_lblCustom.Text = objContent.m_strCUSTOMNAME.Replace("\r\n", "");
            }
            else
            {
                this.m_lblCustom.Text = "自定义列";
            }
            m_dtbInceptInfo.Clear();
            m_dtbEductionInfo.Clear();
            object[] m_objTemp = new object[2];
            if (objContent.m_objInpectArr != null)
            {
                m_dtbInceptInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objInpectArr.Length; i++)
                {
                    m_objTemp[0] = objContent.m_objInpectArr[i].m_strINPECT_KIND;
                    m_objTemp[1] = objContent.m_objInpectArr[i].m_strINPECT_METE;
                    m_dtbInceptInfo.LoadDataRow(m_objTemp, true);
                }
                m_dtbInceptInfo.EndLoadData();
            }
            if (objContent.m_objEductionArr != null)
            {
                m_dtbEductionInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objEductionArr.Length; i++)
                {
                    m_objTemp[0] = objContent.m_objEductionArr[i].m_strEDUCTION_KIND;
                    m_objTemp[1] = objContent.m_objEductionArr[i].m_strEDUCTION_METE;
                    m_dtbEductionInfo.LoadDataRow(m_objTemp, true);
                }
                m_dtbEductionInfo.EndLoadData();
            }
            m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
            this.m_dtpCreateDate.Enabled = false;
        }
        /// <summary>
        /// 显示已删除记录至界面
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_intbloodsugarwatchValue objContent = p_objContent as clsEMR_intbloodsugarwatchValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            //m_txtCheckResult.Text = objContent.m_strCHECKRESULT_RIGHT;
            //m_cboCheckTime.Text = objContent.m_strCHECKTIME_RIGHT;
            m_txtnullAbdon.Text    = objContent.m_strNULLABDOMEN_RIGHT;
            m_txttwoBreakfast.Text = objContent.m_strTWOBREAKFAST_RIGTH;
            m_txtBeforeLunch.Text  = objContent.m_strBEFORELUNCH_RIGHT;
            m_txttwoLunch.Text     = objContent.m_strTWOAFTERLUNCH_RIGHT;
            m_txtBeforeDinner.Text = objContent.m_strBEFOREDINNER_RIGHT;
            m_txttwoDinner.Text    = objContent.m_strTWOAFTERDINNER_RIGHT;
            m_txtBeforeSleep.Text  = objContent.m_strBEFORESLEEP_RIGHT;
            m_txtBeizhu.Text       = objContent.m_strBEIZHU_RIGHT;


            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
            }
            else
            {
                clsEmrEmployeeBase_VO    objEMP    = null;
                clsHospitalManagerDomain objDomain = new clsHospitalManagerDomain();
                long lngRes = objDomain.m_lngGetEmpByID(objContent.m_strCreateUserID, out objEMP);
                if (objEMP != null)
                {
                    ListViewItem lviNewItem = new ListViewItem(objEMP.m_strGetTechnicalRankAndName);
                    lviNewItem.SubItems.Add(objEMP.m_strEMPID_CHR);
                    lviNewItem.SubItems.Add(objEMP.m_StrHistroyLevel);
                    lviNewItem.Tag = objEMP;
                    lsvSign.Items.Add(lviNewItem);
                }
                objDomain = null;
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = false;
        }
Example #11
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsIntensivetendRecordContent_CSDetail objContent = (clsIntensivetendRecordContent_CSDetail )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            this.m_mthClearRecordInfo();
            //赋值到表单
            m_txtRecordContent.m_mthSetNewText(objContent.m_strRECORDCONTENTAll, objContent.m_strRECORDCONTENTXML);
            m_dtpCreateDate.Value = objContent.m_dtmCREATERECORDDATE;
            //m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] {objContent.m_strCREATERECORDUSERID }, new bool[] { false });
            this.m_dtpCreateDate.Enabled   = false;
            m_cmdModifyPatientInfo.Visible = false;
        }
Example #12
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_CS objContent = (clsGeneralNurseRecordContent_CS)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtBoxTemperature.m_mthSetNewText(objContent.m_strBOXTEMPERATUREALL, objContent.m_strBOXTEMPERATUREXML);
            this.m_txtTemperature.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text   = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.Text  = ctlRichTextBox.s_strGetRightText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSaO2.m_mthSetNewText(objContent.m_strSAO2, objContent.m_strSAO2XML);
            this.m_cboMind.Text   = objContent.m_strMind;
            this.m_cboFace.Text   = objContent.m_dtcFace;
            this.m_cboQianlu.Text = objContent.m_dtcQianlu;
        }
        /// <summary>
        /// 显示已删除记录至界面
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_IntakeAndOutputVolumeSum objContent = p_objContent as clsEMR_IntakeAndOutputVolumeSum;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_txtAllIntake.Text       = m_strGetRightText(objContent.m_strALLINTAKE, objContent.m_strALLINTAKEXML);
            m_txtAllOutput.Text       = m_strGetRightText(objContent.m_strALLOUTPUT, objContent.m_strALLOUTPUTXML);
            m_txtAllUrine.Text        = m_strGetRightText(objContent.m_strALLURINE, objContent.m_strALLURINEXML);
            m_txtSpecificGravity.Text = m_strGetRightText(objContent.m_strSPECIFICGRAVITY, objContent.m_strSPECIFICGRAVITYXML);
            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                lsvSign.Items.Clear();
                for (int i = 0; i < objContent.objSignerArr.Length; i++)
                {
                    if (objContent.objSignerArr[i].controlName == "lsvSign")
                    {
                        ListViewItem lviNewItem = new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                        //ID 检查重复用
                        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                        //级别 排序用

                        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                        //tag均为对象
                        lviNewItem.Tag = objContent.objSignerArr[i].objEmployee;
                        //是按顺序保存故获取顺序也一样

                        lsvSign.Items.Add(lviNewItem);
                    }
                }
            }
            #endregion 签名
            this.lsvSign.Enabled           = false;
            this.m_cmdEmployeeSign.Enabled = false;
            this.m_dtpCreateDate.Enabled   = false;
        }
Example #14
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_ObstetricNewChild objContent = (clsGeneralNurseRecordContent_ObstetricNewChild)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtTemperature.Text      = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text        = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text      = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_cboFontanel.Text         = objContent.m_strFONTANEL;
            this.m_cboCaputsuccedaneum.Text = objContent.m_strCAPUTSUCCEDANEUM;
            this.m_cboBloodEdema.Text       = objContent.m_strBLOODEDEMA;
            this.m_cboFaceColor.Text        = objContent.m_strFACECOLOR;
            this.m_cboCry.Text             = objContent.m_strCRY;
            this.m_cboSuckPower.Text       = objContent.m_strSUCKPOWER;
            this.m_cboUmbilicalRegion.Text = objContent.m_strUMBILICALREGION;
            this.m_txtStool.Text           = ctlRichTextBox.s_strGetRightText(objContent.m_strSTOOL, objContent.m_strSTOOLXML);
            this.m_txtUrine.Text           = ctlRichTextBox.s_strGetRightText(objContent.m_strURINE, objContent.m_strURINEXML);
        }
Example #15
0
        /// <summary>
        /// 显示已删除记录至界面
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_MicroBooldSugarCheckValue objContent = p_objContent as clsEMR_MicroBooldSugarCheckValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_txtCheckResult.Text = objContent.m_strCHECKRESULT_RIGHT;
            m_cboCheckTime.Text   = objContent.m_strCHECKTIME_RIGHT;

            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
            }
            else
            {
                clsEmrEmployeeBase_VO    objEMP    = null;
                clsHospitalManagerDomain objDomain = new clsHospitalManagerDomain();
                long lngRes = objDomain.m_lngGetEmpByID(objContent.m_strCreateUserID, out objEMP);
                if (objEMP != null)
                {
                    ListViewItem lviNewItem = new ListViewItem(objEMP.m_strGetTechnicalRankAndName);
                    lviNewItem.SubItems.Add(objEMP.m_strEMPID_CHR);
                    lviNewItem.SubItems.Add(objEMP.m_StrHistroyLevel);
                    lviNewItem.Tag = objEMP;
                    lsvSign.Items.Add(lviNewItem);
                }
                objDomain = null;
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = false;
        }
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsQuickeningTutelarValue objContent = (clsQuickeningTutelarValue )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();


            this.m_txtPREGNANTTEAM_CHR.m_mthSetNewText(objContent.m_strPREGNANTTEAM_CHR, objContent.m_strPREGNANTTEAM_CHRXML);
            this.m_txtMORNING_CHR.m_mthSetNewText(objContent.m_strMORNING_CHR, objContent.m_strMORNING_CHRXML);
            this.m_txtMIDDAY_CHR.m_mthSetNewText(objContent.m_strMIDDAY_CHR, objContent.m_strMIDDAY_CHRXML);
            this.m_txtEVENING_CHR.m_mthSetNewText(objContent.m_strEVENING_CHR, objContent.m_strEVENING_CHRXML);
            this.m_txtQUICKENINGNUM_CHR.m_mthSetNewText(objContent.m_strQUICKENINGNUM_CHR, objContent.m_strQUICKENINGNUM_CHRXML);


//			if(objContent.m_strScrutator_chr !=null &&objContent.m_strScrutator_chr != "")
//				m_txtSign.Text=objContent.m_strScrutator_chr;
//			this.m_txtSign.Enabled = false;
            this.m_dtpCreateDate.Enabled = false;
        }
Example #17
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsCourseDiseasesRecord objContent = (clsCourseDiseasesRecord)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            this.m_mthClearRecordInfo();
            //赋值到表单
            m_txtRecordContent.m_mthSetNewText(objContent.m_strDiseasesRecordContent, objContent.m_strDiseasesRecordContentXml);
            m_dtpCreateDate.Value = objContent.m_dtmCreateDate;
            clsEmployee objEmployee = new clsEmployee(objContent.m_strModifyUserID);

            if (objEmployee != null)
            {
                txtSign.Text = objEmployee.m_StrLastName;
                txtSign.Tag  = objEmployee;
            }
            this.txtSign.Enabled         = false;
            this.m_dtpCreateDate.Enabled = false;
        }
Example #18
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_ObstetricNewChild objContent = (clsGeneralNurseRecordContent_ObstetricNewChild)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtTemperature.m_mthSetNewText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.m_mthSetNewText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.m_mthSetNewText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_cboFontanel.Text         = objContent.m_strFONTANEL;
            this.m_cboCaputsuccedaneum.Text = objContent.m_strCAPUTSUCCEDANEUM;
            this.m_cboBloodEdema.Text       = objContent.m_strBLOODEDEMA;
            this.m_cboFaceColor.Text        = objContent.m_strFACECOLOR;
            this.m_cboCry.Text             = objContent.m_strCRY;
            this.m_cboSuckPower.Text       = objContent.m_strSUCKPOWER;
            this.m_cboUmbilicalRegion.Text = objContent.m_strUMBILICALREGION;
            this.m_txtStool.m_mthSetNewText(objContent.m_strSTOOL, objContent.m_strSTOOLXML);
            this.m_txtUrine.m_mthSetNewText(objContent.m_strURINE, objContent.m_strURINEXML);
            m_mthAddSignToListView(new ListView[] { lsvSign }, objContent.objSignerArr);
            this.m_dtpCreateDate.Enabled = false;
        }
Example #19
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_CSDetail objContent = (clsGeneralNurseRecordContent_CSDetail )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            this.m_mthClearRecordInfo();
            //赋值到表单
            m_txtRecordContent.m_mthSetNewText(objContent.m_strRECORDCONTENTAll, objContent.m_strRECORDCONTENTXML);
            m_dtpCreateDate.Value = objContent.m_dtmCREATERECORDDATE;
            //m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] {objContent.m_strCREATERECORDUSERID }, new bool[] { false });
            if (objContent.m_strRecordSignIDArr != null)
            {
                for (int i = 0; i < objContent.m_strRecordSignIDArr.Length; i++)
                {
                    ListViewItem lviNewItem = new ListViewItem(new string[] { objContent.m_strRecordSignNameArr[i], objContent.m_strRecordSignIDArr[i] });
                    lsvSign.Items.Add(lviNewItem);
                }
            }
            this.m_dtpCreateDate.Enabled   = false;
            m_cmdModifyPatientInfo.Visible = false;
        }
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_DGCS objContent = (clsGeneralNurseRecordContent_DGCS)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();
            this.m_txtTemperature.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.Text   = ctlRichTextBox.s_strGetRightText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.Text  = ctlRichTextBox.s_strGetRightText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.Text        = ctlRichTextBox.s_strGetRightText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_cboMind.Text        = objContent.m_strMind;


            this.m_txtCustom.Text = ctlRichTextBox.s_strGetRightText(objContent.m_strCUSTOM, objContent.m_strCUSTOMXML);

            if (objContent.m_strCUSTOMNAME != null)
            {
                m_lblCustom.Text = objContent.m_strCUSTOMNAME.Replace("\r\n", "");
            }
            m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
        }
Example #21
0
        /// <summary>
        /// 显示已删除记录至界面
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_IntakeAndOutputVolumeValue objContent = p_objContent as clsEMR_IntakeAndOutputVolumeValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_txtStool.Text           = objContent.m_strSTOOL_RIGHT;
            m_txtUrine.Text           = objContent.m_strURINE_RIGHT;
            m_txtGastrisJuice.Text    = objContent.m_strGASTRICJUICE_RIGHT;
            m_txtBile.Text            = objContent.m_strBILE_RIGHT;
            m_txtIntestinalJuice.Text = objContent.m_strINTESTINALJUICE_RIGHT;
            m_txtChestFluid.Text      = objContent.m_strCHESTFLUID_RIGHT;
            m_txtOtherOutput.Text     = objContent.m_strOTHEROUTPUT_RIGHT;
            m_txtDrinkingWater.Text   = objContent.m_strDRINKINGWATER_RIGHT;
            m_txtFood.Text            = objContent.m_strFOOD_RIGHT;
            m_txtTransfusion.Text     = objContent.m_strTRANSFUSION_RIGHT;
            m_txtSugarWater.Text      = objContent.m_strSUGARWATER_RIGHT;
            m_txtSalineWater.Text     = objContent.m_strSALINEWATER_RIGHT;
            m_txtOtherIntake.Text     = objContent.m_strOTHERINTAKE_RIGHT;

            m_cboRecordTime.SelectedIndex = objContent.m_intINDEX_INT;
            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = true;
        }
Example #22
0
        protected override void m_mthSetDeletedGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_GXDetail objContent = (clsGeneralNurseRecordContent_GXDetail )p_objContent;

            //把表单值赋值到界面,由子窗体重载实现

            this.m_mthClearRecordInfo();
            //赋值到表单
            m_txtRecordContent.m_mthSetNewText(objContent.m_strRECORDCONTENTAll, objContent.m_strRECORDCONTENTXML);
            m_dtpCreateDate.Value = objContent.m_dtmCREATERECORDDATE;
            m_mthAddSignToTextBoxByEmpNo(new TextBoxBase[] { txtSign, }, new string[] { objContent.m_strCREATERECORDUSERID }, new bool[] { false });
            //根据工号获取签名信息
            //出于兼容考虑,过渡使用 tfzhang 2006-03-12
            //com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain objEmployeeSign = new com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain();
            //clsEmrEmployeeBase_VO objSign = new clsEmrEmployeeBase_VO();
            //objEmployeeSign.m_lngGetEmpByNO(objContent.m_strCREATERECORDUSERID, out objSign);
            //if (objSign != null)
            //{
            //    txtSign.Text = objSign.m_strLASTNAME_VCHR;
            //    txtSign.Tag = objSign;
            //}
            //this.txtSign.Enabled = false;
            this.m_dtpCreateDate.Enabled = false;
        }
Example #23
0
        /// <summary>
        /// 把特殊记录的值显示到界面上


        /// </summary>
        /// <param name="p_objContent">VO</param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_WAITLAYRECORD_GX objContent = p_objContent as clsEMR_WAITLAYRECORD_GX;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;
            if (objContent.m_dtmBEFOREHAND == DateTime.MinValue)
            {
                m_lblLayDate.Text = string.Empty;
            }
            else
            {
                m_lblLayDate.Text = objContent.m_dtmBEFOREHAND.ToString("yyyy年MM月dd日");
            }
            m_lblLayTimes.Text = objContent.m_strLAYCOUNT_CHR;

            m_txtBloodPressure_chr1.m_mthSetNewText(objContent.m_strBLOODPRESSURE_S_CHR, objContent.m_strBLOODPRESSURE_S_CHRXML);
            m_txtBloodPressure_chr2.m_mthSetNewText(objContent.m_strBLOODPRESSURE_A_CHR, objContent.m_strBLOODPRESSURE_A_CHRXML);

            m_txtEmbryoHeart_chr.m_mthSetNewText(objContent.m_strEMBRYOHEART_CHR, objContent.m_strEMBRYOHEART_CHRXML);
            m_txtIntermission_chr.m_mthSetNewText(objContent.m_strINTERMISSION_CHR, objContent.m_strINTERMISSION_CHRXML);
            m_txtPersist_chr.m_mthSetNewText(objContent.m_strPERSIST_CHR, objContent.m_strPERSIST_CHRXML);
            m_cboIntensity_chr.Text = objContent.m_strINTENSITY_CHR_RIGHT;
            m_txtPalaceMouth_chr.m_mthSetNewText(objContent.m_strPALACEMOUTH_CHR, objContent.m_strPALACEMOUTH_CHRXML);
            m_cboShow_chr.Text      = objContent.m_strSHOW_CHR_RIGHT;
            m_cboCaul_chr.Text      = objContent.m_strCAUL_CHR_RIGHT;
            m_cboAnusCheck_chr.Text = objContent.m_strANUSCHECK_CHR_RIGHT;
            m_txtRemark.m_mthSetNewText(objContent.m_strREMARK_CHR, objContent.m_strREMARK_CHRXML);
            m_txtCheckEMP.m_mthSetNewText(objContent.m_strCHECKEMP_CHR, objContent.m_strCHECKEMP_XML);
            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                //lsvSign.Items.Clear();
                //for (int i = 0; i < objContent.objSignerArr.Length; i++)
                //{
                //    if (objContent.objSignerArr[i].controlName == "lsvSign")
                //    {
                //        ListViewItem lviNewItem = new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                //        //ID 检查重复用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                //        //级别 排序用



                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                //        //tag均为对象
                //        lviNewItem.Tag = objContent.objSignerArr[i].objEmployee;
                //        //是按顺序保存故获取顺序也一样



                //        lsvSign.Items.Add(lviNewItem);

                //    }
                //}
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = false;
        }
Example #24
0
        /// <summary>
        /// 把特殊记录的值显示到界面上。

        /// </summary>
        /// <param name="p_objContent">VO</param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsEMR_VaginalExaminationValue objContent = p_objContent as clsEMR_VaginalExaminationValue;

            if (objContent == null)
            {
                return;
            }

            this.m_mthClearRecordInfo();

            m_dtpCreateDate.Value = objContent.m_dtmRecordDate;

            m_dtpExaminationTime.Value = objContent.m_dtmEXAMINATIONTIME_DAT;

            m_txtExaminationReason.m_mthSetNewText(objContent.m_strEXAMINATIONREASON_VCHR, objContent.m_strEXAMINATIONREASON_XML);

            m_txtMetreurysis.m_mthSetNewText(objContent.m_strMETREURYSIS_VCHR, objContent.m_strMETREURYSIS_XML);

            m_txtPresentation.m_mthSetNewText(objContent.m_strPRESENTATION_VCHR, objContent.m_strPRESENTATION_XML);

            m_txtPresentationHeight.m_mthSetNewText(objContent.m_strPRESENTATIONHEIGHT_VCHR, objContent.m_strPRESENTATIONHEIGHT_XML);

            m_txtPresentationOrientation.m_mthSetNewText(objContent.m_strPRESENTATIONORIENTATION_VCHR, objContent.m_strPRESENTATIONORIENTATION_XML);

            m_txtSkull.m_mthSetNewText(objContent.m_strSKULL_VCHR, objContent.m_strSKULL_XML);

            m_txtOverlapping.m_mthSetNewText(objContent.m_strOVERLAPPING_VCHR, objContent.m_strOVERLAPPING_XML);

            m_txtCaputSuccedaneum.m_mthSetNewText(objContent.m_strCAPUTSUCCEDANEUM_VCHR, objContent.m_strCAPUTSUCCEDANEUM_XML);

            if (!string.IsNullOrEmpty(objContent.m_strRUPTUREDFETALMEMBRANES_CHR))
            {
                m_chkRupturedFetalMembranes.Checked   = m_blnCheck(objContent.m_strRUPTUREDFETALMEMBRANES_CHR[0].ToString());
                m_chkUnrupturedFetalMembranes.Checked = m_blnCheck(objContent.m_strRUPTUREDFETALMEMBRANES_CHR[1].ToString());
            }
            if (!string.IsNullOrEmpty(objContent.m_strRUPTUREDMODE_CHR))
            {
                m_chkNatureRuptured.Checked = m_blnCheck(objContent.m_strRUPTUREDMODE_CHR[0].ToString());
                m_chkManualRuptured.Checked = m_blnCheck(objContent.m_strRUPTUREDMODE_CHR[1].ToString());
            }

            if (objContent.m_dtmRUPTURETIME_DAT == new DateTime(1900, 1, 1, 0, 0, 0))
            {
                m_dtpRuptureTime.Value = DateTime.Now;
            }
            else
            {
                m_dtpRuptureTime.Value = objContent.m_dtmRUPTURETIME_DAT;
            }

            m_txtAmnioticFluid.m_mthSetNewText(objContent.m_strAMNIOTICFLUID_VCHR, objContent.m_strAMNIOTICFLUID_XML);

            m_txtAmnioticFluidCharacter.m_mthSetNewText(objContent.m_strAMNIOTICFLUIDCHARACTER_VCHR, objContent.m_strAMNIOTICFLUIDCHARACTER_XML);

            m_txtFHR.m_mthSetNewText(objContent.m_strFHR_VCHR, objContent.m_strFHR_XML);

            m_txtIschialSpine.m_mthSetNewText(objContent.m_strISCHIALSPINE_VCHR, objContent.m_strISCHIALSPINE_XML);

            if (!string.IsNullOrEmpty(objContent.m_strCOCCYX_CHR))
            {
                m_chkCoccyx1.Checked = m_blnCheck(objContent.m_strCOCCYX_CHR[0].ToString());
                m_chkCoccyx2.Checked = m_blnCheck(objContent.m_strCOCCYX_CHR[1].ToString());
                m_chkCoccyx3.Checked = m_blnCheck(objContent.m_strCOCCYX_CHR[2].ToString());
            }

            m_txtSacralBone.m_mthSetNewText(objContent.m_strSACRALBONE_VCHR, objContent.m_strSACRALBONE_XML);

            m_txtPubicArch.m_mthSetNewText(objContent.m_strPUBICARCH_VCHR, objContent.m_strPUBICARCH_XML);

            m_txtDC.m_mthSetNewText(objContent.m_strDC_VCHR, objContent.m_strDC_XML);

            m_txtIschiumNotch.m_mthSetNewText(objContent.m_strISCHIUMNOTCH_VCHR, objContent.m_strISCHIUMNOTCH_XML);

            if (!string.IsNullOrEmpty(objContent.m_strURETHRALCATHETERIZATION_CHR))
            {
                m_chkUrethralCatheterization1.Checked = m_blnCheck(objContent.m_strURETHRALCATHETERIZATION_CHR[0].ToString());
                m_chkUrethralCatheterization2.Checked = m_blnCheck(objContent.m_strURETHRALCATHETERIZATION_CHR[1].ToString());
            }

            m_txtPiss.m_mthSetNewText(objContent.m_strPISS_VCHR, objContent.m_strPISS_XML);

            m_txtUCCharacter.m_mthSetNewText(objContent.m_strUCCHARACTER_VCHR, objContent.m_strUCCHARACTER_XML);

            m_txtProject.m_mthSetNewText(objContent.m_strPROJECT_VCHR, objContent.m_strPROJECT_XML);

            #region 签名集合
            if (objContent.objSignerArr != null)
            {
                m_mthAddSignToListView(lsvSign, objContent.objSignerArr);
                //lsvSign.Items.Clear();
                //for (int i = 0; i < objContent.objSignerArr.Length; i++)
                //{
                //    if (objContent.objSignerArr[i].controlName == "lsvSign")
                //    {
                //        ListViewItem lviNewItem = new ListViewItem(objContent.objSignerArr[i].objEmployee.m_strLASTNAME_VCHR);
                //        //ID 检查重复用
                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strEMPID_CHR);
                //        //级别 排序用


                //        lviNewItem.SubItems.Add(objContent.objSignerArr[i].objEmployee.m_strLEVEL_CHR);
                //        //tag均为对象
                //        lviNewItem.Tag = objContent.objSignerArr[i].objEmployee;
                //        //是按顺序保存故获取顺序也一样


                //        lsvSign.Items.Add(lviNewItem);

                //    }
                //}
            }
            #endregion 签名

            this.lsvSign.Enabled         = false;
            this.m_cmdSign.Enabled       = false;
            this.m_dtpCreateDate.Enabled = false;
        }
        /// <summary>
        /// 把特殊记录的值显示到界面上。
        /// </summary>
        /// <param name="p_objContent"></param>
        protected override void m_mthSetGUIFromContent(iCareData.clsTrackRecordContent p_objContent)
        {
            clsGeneralNurseRecordContent_CS objContent = (clsGeneralNurseRecordContent_CS)p_objContent;

            //把表单值赋值到界面,由子窗体重载实现
            this.m_mthClearRecordInfo();

            this.m_txtTemperature.m_mthSetNewText(objContent.m_strTEMPERATUREAll, objContent.m_strTEMPERATUREXML);
            this.m_txtHeartRate.m_mthSetNewText(objContent.m_strHEARTRATE, objContent.m_strHEARTRATEXML);
            this.m_txtRespiration.m_mthSetNewText(objContent.m_strRESPIRATION, objContent.m_strRESPIRATIONXML);
            this.m_txtBloodPress.m_mthSetNewText(objContent.m_strBLOODPRESSURES, objContent.m_strBLOODPRESSURESXML);
            this.m_txtSpO2.m_mthSetNewText(objContent.m_strSPO2, objContent.m_strSPO2XML);
            this.m_txtCVP.m_mthSetNewText(objContent.m_strCVP, objContent.m_strCVPXML);
            this.m_cboMind.Text = objContent.m_strMind;
            this.m_txtPupilSizeLeft.m_mthSetNewText(objContent.m_strPupilSizeLeft, objContent.m_strPupilSizeLeftXML);

            this.m_txtPupilSizeRight.m_mthSetNewText(objContent.m_strPupilSizeRight, objContent.m_strPupilSizeRightXML);
            this.m_cboPupilReflectLeft.Text  = objContent.m_strPupilReflectLeft;
            this.m_cboPupilReflectRight.Text = objContent.m_strPupilReflectRight;
            this.m_cboPiWen.Text             = objContent.m_strPiWen;
            this.m_cboColor.Text             = objContent.m_strColor;
            this.m_cboZhangLi.Text           = objContent.m_strZhangLi;
            this.m_cboCap.Text = objContent.m_strCap;
            this.m_txtCustom.m_mthSetNewText(objContent.m_strCUSTOM, objContent.m_strCUSTOMXML);
            this.m_txtCustom2.m_mthSetNewText(objContent.m_strCUSTOM2, objContent.m_strCUSTOM2XML);

            if (objContent.m_strCUSTOMNAME != null)
            {
                this.m_lblCustom.Text = objContent.m_strCUSTOMNAME.Replace("\r\n", "");
            }
            if (objContent.m_strCUSTOM2NAME != null)
            {
                this.m_lblCustom2.Text = objContent.m_strCUSTOM2NAME.Replace("\r\n", "");
            }
            m_dtbInceptInfo.Clear();
            m_dtbEductionInfo.Clear();
            object[] m_objTemp  = new object[2];
            object[] m_objTemp1 = new object[3];
            if (objContent.m_objInpectArr != null)
            {
                m_dtbInceptInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objInpectArr.Length; i++)
                {
                    m_objTemp[0] = objContent.m_objInpectArr[i].m_strINPECT_KIND;
                    m_objTemp[1] = objContent.m_objInpectArr[i].m_strINPECT_METE;
                    m_dtbInceptInfo.LoadDataRow(m_objTemp, true);
                }
                m_dtbInceptInfo.EndLoadData();
            }
            if (objContent.m_objEductionArr != null)
            {
                m_dtbEductionInfo.BeginLoadData();
                for (int i = 0; i < objContent.m_objEductionArr.Length; i++)
                {
                    m_objTemp1[0] = objContent.m_objEductionArr[i].m_strEDUCTION_KIND;
                    m_objTemp1[1] = objContent.m_objEductionArr[i].m_strEDUCTION_METE;
                    m_objTemp1[2] = objContent.m_objEductionArr[i].m_strEDUCTION_COLOR;
                    m_dtbEductionInfo.LoadDataRow(m_objTemp1, true);
                }
                m_dtbEductionInfo.EndLoadData();
            }

            m_mthAddSignToListView(lsvRecordSign, objContent.objSignerArr);

            this.m_dtpCreateDate.Enabled = false;
        }