예제 #1
0
 /// <summary>
 /// 清空当前记录
 /// </summary>
 private void m_mthClear()
 {
     m_objRequisitionValue = null;
     m_dtpRecordDate.Value = DateTime.Now;
     m_txtAdmissionDiagnosis.Clear();
     m_txtCaseSummary.Clear();
     m_txtPhysExam.Clear();
 }
        /// <summary>
        /// 修改申请内容
        /// </summary>
        /// <param name="p_objValue">申请单内容</param>
        /// <returns></returns>
        internal long m_lngModifyRequisition(clsEMR_HIS_CheckRequisitionValue p_objValue)
        {
            clsEMR_HIS_CheckRequisitionServ objServ =
                (clsEMR_HIS_CheckRequisitionServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsEMR_HIS_CheckRequisitionServ));

            long lngRes = objServ.m_lngModifyRequisition(null, p_objValue);

            objServ = null;
            return(lngRes);
        }
예제 #3
0
        /// <summary>
        /// 医嘱系统-检查申请单
        /// </summary>
        /// <param name="p_strRegisterID">入院登记号</param>
        /// <param name="p_strOrderID">医嘱流水号</param>
        /// <param name="p_objRequisitionValue">申请单内容</param>
        internal frmEMR_HIS_CheckRequisition(string p_strRegisterID, string p_strOrderID, clsEMR_HIS_CheckRequisitionValue p_objRequisitionValue)
            : this()
        {
            m_strRegisterID       = p_strRegisterID;
            m_strOrderID          = p_strOrderID;
            m_objRequisitionValue = p_objRequisitionValue;

            m_mthGetPatient();
            m_bgwGetRecord.RunWorkerAsync();
        }
예제 #4
0
        /// <summary>
        /// 获取申请单内容

        /// </summary>
        /// <returns></returns>
        public clsEMR_HIS_CheckRequisitionValue m_objGetCheckRequisition()
        {
            clsEMR_HIS_CheckRequisitionValue objValue = null;

            clsEMR_HIS_CheckRequisitionDomain objDomain = new clsEMR_HIS_CheckRequisitionDomain();
            long lngRes = objDomain.m_lngGetCheckRequisitionValue(m_strRegisterID, m_strOrderID, out objValue);

            m_objValue = objValue;
            objDomain  = null;

            return(objValue);
        }
예제 #5
0
        /// <summary>
        /// 删除检查申请单内容
        /// </summary>
        public void m_mthDeleteCheckRequisition()
        {
            clsEMR_HIS_CheckRequisitionDomain objDomain = new clsEMR_HIS_CheckRequisitionDomain();
            long lngRes = objDomain.m_lngDeleteRequisition(clsEMR_StaticObject.s_ObjCurrentEmployee.m_strEMPID_CHR, m_objValue.m_strREGISTERID_CHR, m_objValue.m_strORDERID_CHR);

            objDomain = null;

            if (lngRes > 0)
            {
                m_objValue = null;
                System.Windows.Forms.MessageBox.Show("删除成功!", "检查申请单", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("删除失败!", "检查申请单", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Error);
            }
        }
예제 #6
0
        /// <summary>
        /// 保存申请单内容

        /// </summary>
        private void m_mthSaveValue()
        {
            clsEMR_HIS_CheckRequisitionDomain objDomain = new clsEMR_HIS_CheckRequisitionDomain();
            long lngRes = 0;

            if (m_objRequisitionValue == null)
            {
                m_objRequisitionValue = new clsEMR_HIS_CheckRequisitionValue();
                m_objRequisitionValue.m_dtmRECORDDATE_DAT          = m_dtpRecordDate.Value;
                m_objRequisitionValue.m_strPHYSEXAM_VCHR           = m_txtPhysExam.Text;
                m_objRequisitionValue.m_strCASESUMMARY_VCHR        = m_txtCaseSummary.Text;
                m_objRequisitionValue.m_strADMISSIONDIAGNOSIS_VCHR = m_txtAdmissionDiagnosis.Text;
                m_objRequisitionValue.m_strCREATEUSERID            = clsEMR_StaticObject.s_ObjCurrentEmployee.m_strEMPID_CHR;
                m_objRequisitionValue.m_strREGISTERID_CHR          = m_strRegisterID;
                m_objRequisitionValue.m_strORDERID_CHR             = m_strOrderID;
                lngRes = objDomain.m_lngAddNewRequisition(m_objRequisitionValue);
            }
            else
            {
                m_objRequisitionValue.m_dtmRECORDDATE_DAT          = m_dtpRecordDate.Value;
                m_objRequisitionValue.m_strPHYSEXAM_VCHR           = m_txtPhysExam.Text;
                m_objRequisitionValue.m_strCASESUMMARY_VCHR        = m_txtCaseSummary.Text;
                m_objRequisitionValue.m_strADMISSIONDIAGNOSIS_VCHR = m_txtAdmissionDiagnosis.Text;
                m_objRequisitionValue.m_strREGISTERID_CHR          = m_strRegisterID;
                m_objRequisitionValue.m_strORDERID_CHR             = m_strOrderID;
                lngRes = objDomain.m_lngModifyRequisition(m_objRequisitionValue);
            }
            objDomain = null;

            if (lngRes > 0)
            {
                DialogResult drSuccess = MessageBox.Show("保存成功!" + System.Environment.NewLine + "是否关闭当前窗体?", "检查申请单", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
                if (drSuccess == DialogResult.Yes)
                {
                    MDIParent.s_ObjSaveCue.m_mthRemoveForm(this);
                    this.Close();
                }
            }
            else
            {
                MessageBox.Show("保存失败!", "检查申请单", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
예제 #7
0
 /// <summary>
 /// 医嘱系统-检查申请单
 /// </summary>
 /// <param name="p_strRegisterID">入院登记号</param>
 /// <param name="p_strOrderID">医嘱流水号</param>
 public clsEMR_HIS_CheckRequisition(string p_strRegisterID, string p_strOrderID)
 {
     m_strRegisterID = p_strRegisterID;
     m_strOrderID    = p_strOrderID;
     m_objValue      = null;
 }
        /// <summary>
        /// 获取检查申请单内容
        /// </summary>
        /// <param name="p_strRegisterID">入院登记号</param>
        /// <param name="p_strOrderID">医嘱流水号</param>
        /// <param name="p_objValue">申请单内容</param>
        /// <returns></returns>
        internal long m_lngGetCheckRequisitionValue(string p_strRegisterID, string p_strOrderID, out clsEMR_HIS_CheckRequisitionValue p_objValue)
        {
            p_objValue = null;
            clsEMR_HIS_CheckRequisitionServ objServ =
                (clsEMR_HIS_CheckRequisitionServ)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsEMR_HIS_CheckRequisitionServ));

            long lngRes = objServ.m_lngGetCheckRequisitionValue(null, p_strRegisterID, p_strOrderID, out p_objValue);

            objServ = null;
            return(lngRes);
        }