Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="p_strRegisterid_chr">入院登记流水号</param>
        /// <param name="p_objResult"></param>
        /// <returns></returns>
        public long GetOrderBook(string p_arearId, string p_beginDate, string p_endDate, out DataTable p_dtResult)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc objSvc =
                    (com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc));

                lngRes = objSvc.GetOrderBook(objPrincipal, p_arearId, p_beginDate, p_endDate, out p_dtResult);
                objSvc.Dispose();
            }
            catch (Exception e)
            {
                throw e;
            }

            return(lngRes);
        }
Exemple #2
0
        public long UpdataPrintFlagById(string p_bookID)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc objSvc =
                    (com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc));

                lngRes = objSvc.UpdataPrintFlagById(p_bookID);
                objSvc.Dispose();
            }
            catch (Exception e)
            {
                throw e;
            }

            return(lngRes);
        }
Exemple #3
0
        public long GetApplyIdByOrderId(string p_strOrderId, out string p_strApplyId)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc objSvc =
                    (com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc));

                lngRes = objSvc.GetApplyIdByOrderId(p_strOrderId, out p_strApplyId);
                objSvc.Dispose();
            }
            catch (Exception e)
            {
                throw e;
            }

            return(lngRes);
        }
Exemple #4
0
        /// <summary>
        /// 修改预约单
        /// </summary>
        /// <param name="p_bookID">流水号</param>
        /// <param name="p_bookDate">预约批准时间</param>
        /// <param name="p_bookStatus">预约状态 0-预约未确认 1-预约通过 2-预约不通过/param>
        /// <param name="p_remark">注意事项</param>
        /// <param name="p_confirmer">确认人ID</param>
        /// <returns></returns>
        public long UpdateOrderBooking(string p_bookID,
                                       string p_bookDate,
                                       string p_bookStatus,
                                       string p_remark,
                                       string p_confirmer)
        {
            long lngRes = 0;

            try
            {
                com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc objSvc =
                    (com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsOrderBookingSvc));

                lngRes = objSvc.UpdateOrderBooking(objPrincipal, p_bookID, p_bookDate, p_bookStatus, p_remark, p_confirmer);
                objSvc.Dispose();
            }
            catch (Exception e)
            {
                throw e;
            }

            return(lngRes);
        }