예제 #1
0
        public string GetInfoBy_MabenhNhan(string MaBenhNhan)
        {
            int             DangKyLichHen_Id = Int32.MinValue;
            ViCareComponent objc             = new ViCareComponent();
            DataTable       dt1 = objc.VC_Get_by_MaBenhNhan(MaBenhNhan);

            if (dt1.Rows[0]["Ref_DangKyLichHen_Id"] != null)
            {
                DangKyLichHen_Id = Convert.ToInt32(dt1.Rows[0]["Ref_DangKyLichHen_Id"]);
            }
            var dt2 = objc.LH_GetByKey(DangKyLichHen_Id);

            return(dt2);
        }
예제 #2
0
        //HuyLichHen
        public int LH_Huy(int DangKyLichHen_Id, int NguoiHuy_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_Huy(DangKyLichHen_Id, NguoiHuy_Id));
        }
예제 #3
0
        //TraCuuLichKham
        public string LH_TraCuu(string SoDienThoai)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_TraCuu(SoDienThoai));
        }
예제 #4
0
        //GetByKey
        public string LH_Notification()
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_Notification());
        }
예제 #5
0
        //DangKyHenKB_UpdateRandomMaLichHen
        public Int32 LH_UpdateRandomMaLichHen(int DangKyLichHen_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_UpdateRandomMaLichHen(DangKyLichHen_Id));
        }
예제 #6
0
        //LH_GetBy_MaLichHen
        public string LH_GetBy_MaLichHen(string MaLichHen)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_GetBy_MaLichHen(MaLichHen));
        }
예제 #7
0
        //GetByKey
        public string LH_GetByKey(int DangKyLichHen_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_GetByKey(DangKyLichHen_Id));
        }
예제 #8
0
        //DangKyHenKB_Update
        public int LH_Update(DangKyHenKBModel obj)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.LH_Update(obj));
        }
예제 #9
0
        public string Mas_BenhNhan_GetAll()
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.Mas_BenhNhan_GetAll());
        }
예제 #10
0
        //QMS_Notification
        public string QMS_Notification(int BenhNhan_Id, string Type, int PhongBanID, int IntPara_0, int IntPara_1)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.QMS_Notification(BenhNhan_Id, Type, PhongBanID, IntPara_0, IntPara_1));
        }
예제 #11
0
        //QMS_GetByCondition
        public string QMS_GetByCondition(string Type, int PhongBanID, int IntPara_0)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.QMS_GetByCondition(Type, PhongBanID, IntPara_0));
        }
예제 #12
0
        //VC_His_PTTT
        public string VC_His_PTTT(int BenhNhan_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.VC_His_PTTT(BenhNhan_Id));
        }
예제 #13
0
        //VC_His_KhamBenh
        public DataSet VC_His_KhamBenh(int BenhNhan_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.VC_His_KhamBenh(BenhNhan_Id));
        }
예제 #14
0
        //QMS_GetByCondition
        public string VC_Get_ThongTinSinhHieu(int DangKy_Id)
        {
            ViCareComponent objc = new ViCareComponent();

            return(objc.VC_Get_ThongTinSinhHieu(DangKy_Id));
        }