private void listTreatments_MouseDown(object sender, MouseEventArgs e) { int selected = lBCTreatmentCases.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Case Presentation FormKPIRecTreatment FormAR10 = new FormKPIRecTreatment(); FormAR10.ShowDialog(); break; case 1: //Conversion Rate FormKPIConversionRate FormAR11 = new FormKPIConversionRate(); FormAR11.ShowDialog(); break; case 2: //Pending Treatments FormKPIPendingTreatments FormAR12 = new FormKPIPendingTreatments(); FormAR12.ShowDialog(); break; case 3: //Completed cases FormKPICompletedCases FormAR13 = new FormKPICompletedCases(); FormAR13.ShowDialog(); break; default: return; } }
private void listProductivity_MouseDown(object sender, MouseEventArgs e) { int selected = lBCProductivity.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Patients who did not show for their appt FormKPINoShowAppt FormNSA = new FormKPINoShowAppt(); FormNSA.ShowDialog(); break; case 1: //Patients who cancelled short notice FormKPICancel FormC = new FormKPICancel(); FormC.ShowDialog(); break; case 2: //Non-productive practice time FormKPINonProductivePracticeTime FormNPPT = new FormKPINonProductivePracticeTime(); FormNPPT.ShowDialog(); break; case 3: //Downtime FormKPIDowntime FormDT = new FormKPIDowntime(); FormDT.ShowDialog(); break; default: return; } }
private void listNewPat_MouseDown(object sender, MouseEventArgs e) { int selected = lBCNewPat.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //New patients FormKPINewPatients FormAR7 = new FormKPINewPatients(); FormAR7.ShowDialog(); break; case 1: //New patients by referral source FormKPIByReferralSource FormAR8 = new FormKPIByReferralSource(); FormAR8.ShowDialog(); break; case 2: //New patients to recall patients FormKPINewToRecall FormAR9 = new FormKPINewToRecall(); FormAR9.ShowDialog(); break; default: return; } }
private void listRecall_MouseDown(object sender, MouseEventArgs e) { int selected = lBCRecall.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Patients on Active Recall FormKPIActiveRecall FormAR = new FormKPIActiveRecall(); FormAR.ShowDialog(); break; case 1: //Patients on Perio Recall FormKPIPerioRecall FormPR = new FormKPIPerioRecall(); FormPR.ShowDialog(); break; case 2: //Backlog of recall patients FormKPIBacklogRecall FormBR = new FormKPIBacklogRecall(); FormBR.ShowDialog(); break; default: return; } }
private void listPublicHealth_MouseDown(object sender,MouseEventArgs e) { int selected=listPublicHealth.IndexFromPoint(e.Location); if(selected==-1) { return; } OpenReportLocalHelper(_listPublicHealth[selected],_listReportPermissions); }
private void listPublicHealth_MouseDown(object sender, MouseEventArgs e) { int selected = listPublicHealth.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Raw Screening Data if (!Security.IsAuthorized(Permissions.UserQuery)) { return; } FormRpPHRawScreen FormPH = new FormRpPHRawScreen(); FormPH.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PH Raw Screening"); break; case 1: //Raw Population Data if (!Security.IsAuthorized(Permissions.UserQuery)) { return; } FormRpPHRawPop FormPHR = new FormRpPHRawPop(); FormPHR.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PH Raw population"); break; } }
private void listLists_MouseDown(object sender, MouseEventArgs e) { int selected = listLists.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Appointments FormRpAppointments FormA = new FormRpAppointments(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Appointments"); break; case 1: //Birthdays FormRpBirthday FormB = new FormRpBirthday(); FormB.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Birthdays"); break; case 2: //Insurance Plans FormRpInsCo FormInsCo = new FormRpInsCo(); FormInsCo.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Insurance Carriers"); break; case 3: //Patients FormRpPatients FormPatients = new FormRpPatients(); FormPatients.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Patient List"); break; case 4: //Prescriptions FormRpPrescriptions FormPrescript = new FormRpPrescriptions(); FormPrescript.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Rx"); break; case 5: //Procedure Codes FormRpProcCodes FormProcCodes = new FormRpProcCodes(); FormProcCodes.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedure Codes"); break; case 6: //Referrals FormRpReferrals FormReferral = new FormRpReferrals(); FormReferral.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Referrals"); break; case 7: //Routing Slips FormRpRouting FormR = new FormRpRouting(); FormR.ShowDialog(); break; } }
private void listProdInc_MouseDown(object sender, MouseEventArgs e) { int selected = listProdInc.IndexFromPoint(e.Location); if (selected == -1) { return; } FormRpProdInc FormPI = new FormRpProdInc(); switch (selected) { case 0: //Today FormPI.DailyMonthlyAnnual = "Daily"; FormPI.DateStart = DateTime.Today; FormPI.DateEnd = DateTime.Today; break; case 1: //Yesterday FormPI.DailyMonthlyAnnual = "Daily"; if (DateTime.Today.DayOfWeek == DayOfWeek.Monday) { FormPI.DateStart = DateTime.Today.AddDays(-3); FormPI.DateEnd = DateTime.Today.AddDays(-3); } else { FormPI.DateStart = DateTime.Today.AddDays(-1); FormPI.DateEnd = DateTime.Today.AddDays(-1); } break; case 2: //This Month FormPI.DailyMonthlyAnnual = "Monthly"; FormPI.DateStart = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1); FormPI.DateEnd = new DateTime(DateTime.Today.AddMonths(1).Year, DateTime.Today.AddMonths(1).Month, 1).AddDays(-1); break; case 3: //Last Month FormPI.DailyMonthlyAnnual = "Monthly"; FormPI.DateStart = new DateTime(DateTime.Today.AddMonths(-1).Year, DateTime.Today.AddMonths(-1).Month, 1); FormPI.DateEnd = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1).AddDays(-1); break; case 4: //This Year FormPI.DailyMonthlyAnnual = "Annual"; FormPI.DateStart = new DateTime(DateTime.Today.Year, 1, 1); FormPI.DateEnd = new DateTime(DateTime.Today.Year, 12, 31); break; case 5: //More Options //do nothing break; } FormPI.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Production and Income"); }
private void listMonthly_MouseDown(object sender, MouseEventArgs e) { int selected = listMonthly.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Aging Report FormRpAging FormA = new FormRpAging(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Aging"); break; case 1: //Claims Not Sent FormRpClaimNotSent FormClaim = new FormRpClaimNotSent(); FormClaim.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Claims Not Sent"); break; case 2: //Capitation Utilization FormRpCapitation FormC = new FormRpCapitation(); FormC.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Capitation"); break; case 3: //Finance Charge Report FormRpFinanceCharge FormRpFinance = new FormRpFinanceCharge(); FormRpFinance.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Finance Charges"); break; case 4: //Outstanding Insurance Claims FormRpOutInsClaims FormOut = new FormRpOutInsClaims(); FormOut.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Outstanding Insurance Claims"); break; case 5: //Procedures Not Billed to Insurance FormRpProcNotBilledIns FormProc = new FormRpProcNotBilledIns(); FormProc.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedures not billed to insurance."); break; case 6: //PPO Writeoffs FormRpPPOwriteoffs FormPPO = new FormRpPPOwriteoffs(); FormPPO.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PPO Writeoffs."); break; } }
private void listProdInc_MouseDown(object sender,MouseEventArgs e) { int selected=listProdInc.IndexFromPoint(e.Location); if(selected==-1) { return; } if(!_listReportPermissions.Exists(x => x.FKey==_listProdInc[selected].DisplayReportNum)) { MsgBox.Show(this,"You do not have permission to run this report."); return; } if(Security.CurUser.ProvNum==0 && !Security.IsAuthorized(Permissions.ReportProdIncAllProviders,true)) { MsgBox.Show(this,"The current user needs to be a provider or have the 'All Providers' permission for this report"); return; } OpenReportLocalHelper(_listProdInc[selected],_listReportPermissions,false); }
private void listDaily_MouseDown(object sender, MouseEventArgs e) { int selected = listDaily.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Adjustments FormRpAdjSheet FormAdjSheet = new FormRpAdjSheet(); FormAdjSheet.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Adjustments"); break; case 1: //Payments FormRpPaySheet FormPaySheet = new FormRpPaySheet(); FormPaySheet.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Daily Payments"); break; case 2: //Procedures FormRpProcSheet FormProcSheet = new FormRpProcSheet(); FormProcSheet.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Daily Procedures"); break; case 3: //Writeoffs FormRpWriteoffSheet FormW = new FormRpWriteoffSheet(); FormW.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Daily Writeoffs"); break; case 4: //Incomplete Procedure Notes FormRpProcNote FormPN = new FormRpProcNote(); FormPN.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Daily Procedure Notes"); break; case 5: //Routing Slips FormRpRouting FormR = new FormRpRouting(); FormR.ShowDialog(); break; } }
private void listLists_MouseDown(object sender, MouseEventArgs e) { int selected = listLists.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Appointments FormRpAppointments FormA = new FormRpAppointments(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Appointments"); break; case 1: //Birthdays FormRpBirthday FormB = new FormRpBirthday(); FormB.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Birthdays"); break; case 2: //Insurance Plans FormRpInsCo FormInsCo = new FormRpInsCo(); FormInsCo.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Insurance Plans"); break; case 3: //New Patients FormRpNewPatients FormNewPats = new FormRpNewPatients(); FormNewPats.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "New Patients"); break; case 4: //Patients - Raw FormRpPatients FormPatients = new FormRpPatients(); FormPatients.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Patients - Raw"); break; case 5: //Patient Notes FormSearchPatNotes FormPN = new FormSearchPatNotes(); FormPN.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Patient Notes"); break; case 6: //Prescriptions FormRpPrescriptions FormPrescript = new FormRpPrescriptions(); FormPrescript.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Rx"); break; case 7: //Procedure Codes FormRpProcCodes FormProcCodes = new FormRpProcCodes(); FormProcCodes.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedure Codes"); break; case 8: //Referrals - Raw FormRpReferrals FormReferral = new FormRpReferrals(); FormReferral.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Referrals - Raw"); break; case 9: //Referral Analysis FormRpReferralAnalysis FormRA = new FormRpReferralAnalysis(); FormRA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Referral Analysis"); break; case 10: //Referred Proc Tracking FormReferralProcTrack FormRP = new FormReferralProcTrack(); FormRP.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "ReferredProcTracking"); Close(); break; case 11: //Treatment Finder RpModalSelection = ReportModalSelection.TreatmentFinder; SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Treatment Finder"); Close(); break; //case 12://Treatment Plan Manager // FormTxPlanManager FormTM=new FormTxPlanManager(); // FormTM.ShowDialog(); // SecurityLogs.MakeLogEntry(Permissions.Reports,0,"Treatment Plan Manager"); // break; } }
private void listMonthly_MouseDown(object sender, MouseEventArgs e) { int selected = listMonthly.IndexFromPoint(e.Location); if (selected == -1) { return; } switch (selected) { case 0: //Aging Report if (!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpAging FormA = new FormRpAging(); FormA.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Aging"); break; case 1: //Claims Not Sent FormRpClaimNotSent FormClaim = new FormRpClaimNotSent(); FormClaim.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Claims Not Sent"); break; case 2: //Capitation Utilization FormRpCapitation FormC = new FormRpCapitation(); FormC.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Capitation"); break; case 3: //Finance Charge Report FormRpFinanceCharge FormRpFinance = new FormRpFinanceCharge(); FormRpFinance.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Finance Charges"); break; case 4: //Outstanding Insurance Claims RpModalSelection = ReportModalSelection.OutstandingIns; SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Outstanding Insurance Claims"); Close(); break; case 5: //Procedures Not Billed to Insurance FormRpProcNotBilledIns FormProc = new FormRpProcNotBilledIns(); FormProc.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Procedures not billed to insurance."); break; case 6: //PPO Writeoffs FormRpPPOwriteoffs FormPPO = new FormRpPPOwriteoffs(); FormPPO.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "PPO Writeoffs."); break; case 7: //Payment Plans FormRpPayPlans FormPP = new FormRpPayPlans(); FormPP.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Payment Plans."); break; case 8: //Receivable Breakdown if (!Security.IsAuthorized(Permissions.ReportProdInc)) { return; } FormRpReceivablesBreakdown FormRcv = new FormRpReceivablesBreakdown(); FormRcv.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Receivable Breakdown."); break; case 9: //Unearned Income FormRpUnearnedIncome FormU = new FormRpUnearnedIncome(); FormU.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Unearned Income."); break; case 10: //Insurance Overpaid FormRpInsOverpaid FormI = new FormRpInsOverpaid(); FormI.ShowDialog(); SecurityLogs.MakeLogEntry(Permissions.Reports, 0, "Insurance Overpaid."); break; } }