// 获取打印信息。
        // 1.获取打印内容:如果输入参数p_dtmModifyDate不是最新的ModifyDate,输出变量 p_objContent
        //   会存放最新的内容;否则,输出变量为null。
        // 2.获取打印时间:输出变量 p_dtmFirstPrintDate 存放首次打印时间。p_blnIsFirstPrint标记
        //   是否首次打印,如果是为true,客户端在打印后需要保存p_dtmFirstPrintDate到数据库。
        public long m_lngGetPrintInfo(string p_strInPatientID, string p_strInPatientDate, /*string p_strOpenDate,*/ DateTime p_dtmModifyDate,
                                      out clsBaseCaseHistoryInfo p_objContent,
                                      out clsPictureBoxValue[] p_objPicValueArr,
                                      out DateTime p_dtmFirstPrintDate,
                                      out bool p_blnIsFirstPrint)
        {
            p_dtmFirstPrintDate = DateTime.MinValue;
            p_blnIsFirstPrint   = false;
            p_objContent        = null;
            p_objPicValueArr    = null;

            if (p_strInPatientID == "" || p_strInPatientID == null || p_strInPatientDate == "" || p_strInPatientDate == null)    //|| p_strOpenDate=="" || p_strOpenDate==null )
            {
                return((long)enmOperationResult.Parameter_Error);
            }


            clsBaseCaseHistorySevice m_objBaseServ = clsCaseHistoryFactory.s_objGetDomain(m_enmProcessType);
            long m_lngRes = 0;

            try
            {
                m_lngRes = m_objBaseServ.m_lngGetPrintInfo(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_dtmModifyDate, out p_objContent, out p_objPicValueArr, out p_dtmFirstPrintDate, out p_blnIsFirstPrint);
            }
            finally
            {
                //m_objBaseServ.Dispose();
            }
            return(m_lngRes);
        }
Beispiel #2
0
        // 获取打印信息。

        // 1.获取打印内容:如果输入参数p_dtmModifyDate不是最新的ModifyDate,输出变量 p_objContent
        //   会存放最新的内容;否则,输出变量为null。

        // 2.获取打印时间:输出变量 p_dtmFirstPrintDate 存放首次打印时间。p_blnIsFirstPrint标记
        //   是否首次打印,如果是为true,客户端在打印后需要保存p_dtmFirstPrintDate到数据库。

        public long m_lngGetPrintInfo(string p_strInPatientID, string p_strInPatientDate, /*string p_strOpenDate,*/ DateTime p_dtmModifyDate,
                                      out clsBaseCaseHistoryInfo p_objContent,
                                      out clsPictureBoxValue[] p_objPicValueArr,
                                      out DateTime p_dtmFirstPrintDate,
                                      out bool p_blnIsFirstPrint)
        {
            p_dtmFirstPrintDate = DateTime.MinValue;
            p_blnIsFirstPrint   = false;
            p_objContent        = null;
            p_objPicValueArr    = null;

            if (p_strInPatientID == "" || p_strInPatientID == null || p_strInPatientDate == "" || p_strInPatientDate == null)//|| p_strOpenDate=="" || p_strOpenDate==null )
            {
                return((long)enmOperationResult.Parameter_Error);
            }


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

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngGetPrintInfo(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, p_dtmModifyDate, out p_objContent, out p_objPicValueArr, out p_dtmFirstPrintDate, out p_blnIsFirstPrint);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }
        // 添加新记录。
        public long m_lngAddNewRecord(clsBaseCaseHistoryInfo p_objRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断
            p_objModifyInfo = null;
            clsBaseCaseHistorySevice m_objBaseServ = clsCaseHistoryFactory.s_objGetDomain(m_enmProcessType);
            long m_lngRes = 0;

            try
            {
                m_lngRes = m_objBaseServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, p_objPicValueArr, p_strDiseaseID, clsSystemContext.s_ObjCurrentContext.m_ObjDepartment.m_StrDeptID, out p_objModifyInfo);
            }
            finally
            {
                //m_objBaseServ.Dispose();
            }
            return(m_lngRes);
        }
        // 获取指定记录内容。
        public long m_lngGetRecordContent(string p_strInPatientID,
                                          string p_strInPatientDate,/*string p_strOpenRecordTime,*/
                                          out clsBaseCaseHistoryInfo p_objRecordContent,
                                          out clsPictureBoxValue[] p_objPicValueArr)
        {
            //参数判断
            p_objRecordContent = null;
            clsBaseCaseHistorySevice m_objBaseServ = clsCaseHistoryFactory.s_objGetDomain(m_enmProcessType);
            long m_lngRes = 0;

            try
            {
                m_lngRes = m_objBaseServ.m_lngGetRecordContent(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, /*p_strOpenRecordTime,*/ out p_objRecordContent, out p_objPicValueArr);
            }
            finally
            {
                //m_objBaseServ.Dispose();
            }
            return(m_lngRes);
        }
Beispiel #5
0
        // 添加新记录。
        public long m_lngAddNewRecord(clsBaseCaseHistoryInfo p_objRecordContent, clsPictureBoxValue[] p_objPicValueArr, string p_strDiseaseID, string p_strDeptID, out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断
            p_objModifyInfo = null;

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

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, p_objPicValueArr, p_strDiseaseID, p_strDeptID, out p_objModifyInfo);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }
Beispiel #6
0
        // 获取指定记录内容。

        public long m_lngGetRecordContent(string p_strInPatientID,
                                          string p_strInPatientDate,/*string p_strOpenRecordTime,*/
                                          out clsBaseCaseHistoryInfo p_objRecordContent,
                                          out clsPictureBoxValue[] p_objPicValueArr)
        {
            //参数判断
            p_objRecordContent = null;
            clsGestationMisbirthsthreeRelationVOService objServ =
                (clsGestationMisbirthsthreeRelationVOService)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(clsGestationMisbirthsthreeRelationVOService));
            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngGetRecordContent(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_strInPatientID, p_strInPatientDate, /*p_strOpenRecordTime,*/ out p_objRecordContent, out p_objPicValueArr);
            }
            finally
            {
                objServ.Dispose();
            }
            return(m_lngRes);
        }
Beispiel #7
0
        // 添加新记录。

        public long m_lngAddNewRecord(clsBaseCaseHistoryInfo p_objRecordContent,
                                      clsPictureBoxValue[] p_objPicValueArr,
                                      string p_strDiseaseID, out clsPreModifyInfo p_objModifyInfo)
        {
            //参数判断
            p_objModifyInfo = null;

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

            long m_lngRes = 0;

            try
            {
                m_lngRes = objServ.m_lngAddNewRecord(clsLoginContext.s_ObjLoginContext.m_ObjPrincial, p_objRecordContent, p_objPicValueArr, p_strDiseaseID, MDIParent.m_objCurrentDepartment.m_strDEPTID_CHR, out p_objModifyInfo);
            }
            finally
            {
                //objServ.Dispose();
            }
            return(m_lngRes);
        }