Ejemplo n.º 1
0
        // 删除记录。
        public long m_lngDeleteRecord(clsBrothRecords_F2 p_objRecordContent, out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断

            clsBrothRecords_F2Service objServ =
                (clsBrothRecords_F2Service)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsBrothRecords_F2Service));

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngDeleteRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, out p_objModifyInfo);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }
Ejemplo n.º 2
0
        // 作废重做记录。
        public long m_lngReAddNewRecord(clsInPatientCaseHistoryContent m_objDelRecord,
                                        clsBrothRecords_F2 m_objAddNewRecord,
                                        out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断
            p_objModifyInfo = null;

            clsBrothRecords_F2Service objServ =
                (clsBrothRecords_F2Service)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsBrothRecords_F2Service));

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngReAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, m_objDelRecord, m_objAddNewRecord, out p_objModifyInfo);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }
Ejemplo n.º 3
0
        // 修改记录。
        public long m_lngModifyRecord(clsBrothRecords_F2 p_objOldRecordContent,
                                      clsBrothRecords_F2 p_objNewRecordContent, clsPictureBoxValue[] p_objPicValueArr,
                                      string p_strDiseaseID,
                                      out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断
            p_objModifyInfo = null;

            clsBrothRecords_F2Service objServ =
                (clsBrothRecords_F2Service)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsBrothRecords_F2Service));

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngModifyRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objOldRecordContent, p_objNewRecordContent, p_objPicValueArr, p_strDiseaseID, clsSystemContext.s_ObjCurrentContext.m_ObjDepartment.m_StrDeptID, out p_objModifyInfo);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }
Ejemplo n.º 4
0
        // 获取指定已经被删除记录的内容。
        public long m_lngGetDeleteRecordContent(string p_strInPatientID,
                                                string p_strInPatientDate,
                                                string p_strOpenRecordTime,
                                                out clsBrothRecords_F2 p_objRecordContent)
        {
            p_objRecordContent = null;
            iCareData.clsBaseCaseHistoryInfo objRecordContent = null;

            clsBrothRecords_F2Service objServ =
                (clsBrothRecords_F2Service)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsBrothRecords_F2Service));

            long m_lngRes = 0;

            try
            {
                m_lngRes           = objServ.m_lngGetDeleteRecordContent(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_strOpenRecordTime, out objRecordContent);
                p_objRecordContent = (clsBrothRecords_F2)objRecordContent;
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }