|
@@ -72,7 +72,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
|
|
|
Route::get('/can-access-patient/{uid}', 'HomeController@canAccessPatient')->name('can-access-patient');
|
|
Route::get('/can-access-patient/{uid}', 'HomeController@canAccessPatient')->name('can-access-patient');
|
|
|
|
|
|
- Route::name('mcp.')->prefix('m')->group(function () {
|
|
|
|
|
|
+ Route::name('mcp.')->prefix('m')->middleware('pro.auth.mcp')->group(function () {
|
|
|
|
|
|
Route::get('dashboard', 'HomeController@dashboard_MCP')->name('dashboard');
|
|
Route::get('dashboard', 'HomeController@dashboard_MCP')->name('dashboard');
|
|
|
|
|
|
@@ -145,51 +145,53 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|
- Route::name('dna.')->prefix('n')->group(function () {
|
|
|
|
-
|
|
|
|
- Route::get('dashboard', 'HomeController@dashboard_DNA')->name('dashboard');
|
|
|
|
-
|
|
|
|
- Route::get('patients', 'DnaController@patients')->name('patients');
|
|
|
|
- Route::get('encounters', 'DnaController@encounters')->name('encounters');
|
|
|
|
- Route::get('notes', 'DnaController@notes')->name('notes');
|
|
|
|
- Route::get('appointments', 'DnaController@appointments')->name('appointments');
|
|
|
|
- Route::get('care-months', 'DnaController@careMonths')->name('careMonths');
|
|
|
|
- Route::get('financial-transactions', 'DnaController@financialTransactions')->name('financialTransactions');
|
|
|
|
- Route::get('my-bills', 'DnaController@myBills')->name('myBills');
|
|
|
|
- Route::get('my-clinical-teams', 'DnaController@myClinicalTeams')->name('myClinicalTeams');
|
|
|
|
-
|
|
|
|
- Route::get('bills', 'DnaController@bills')->name('bills');
|
|
|
|
- Route::get('erx-and-orders', 'DnaController@erx_and_orders')->name('erx_and_orders');
|
|
|
|
- Route::get('reports', 'DnaController@reports')->name('reports');
|
|
|
|
- Route::get('supply-orders', 'DnaController@supply_orders')->name('supply_orders');
|
|
|
|
-
|
|
|
|
- Route::get('new_patients_awaiting_visit', 'DnaController@new_patients_awaiting_visit')->name('new_patients_awaiting_visit');
|
|
|
|
- Route::get('notes_pending_signature', 'DnaController@notes_pending_signature')->name('notes_pending_signature');
|
|
|
|
- Route::get('notes_pending_billing', 'DnaController@notes_pending_billing')->name('notes_pending_billing');
|
|
|
|
- Route::get('reports_pending_signature', 'DnaController@reports_pending_signature')->name('reports_pending_signature');
|
|
|
|
- Route::get('patients_without_appointments', 'DnaController@patients_without_appointments')->name('patients_without_appointments');
|
|
|
|
- Route::get('patients_overdue_for_visit', 'DnaController@patients_overdue_for_visit')->name('patients_overdue_for_visit');
|
|
|
|
- Route::get('cancelled_appointments_pending_review', 'DnaController@cancelled_appointments_pending_review')->name('cancelled_appointments_pending_review');
|
|
|
|
- Route::get('cancelled_bills_pending_review', 'DnaController@cancelled_bills_pending_review')->name('cancelled_bills_pending_review');
|
|
|
|
- Route::get('cancelled_supply_orders_pending_review', 'DnaController@cancelled_supply_orders_pending_review')->name('cancelled_supply_orders_pending_review');
|
|
|
|
- Route::get('erx_and_orders_pending_signature', 'DnaController@erx_and_orders_pending_signature')->name('erx_and_orders_pending_signature');
|
|
|
|
- Route::get('supply_orders_pending_signature', 'DnaController@supply_orders_pending_signature')->name('supply_orders_pending_signature');
|
|
|
|
-
|
|
|
|
- //from the new spec
|
|
|
|
- Route::get('my-patients', 'DnaController@myPatients')->name('my-patients');
|
|
|
|
- Route::get('patients_awaiting_mcp_visit', 'DnaController@patientsAwaitingMcpVisit')->name('patients_awaiting_mcp_visit');
|
|
|
|
- Route::get('patients_without_appointment', 'DnaController@patientsWithoutAppointment')->name('patients_without_appointment');
|
|
|
|
- Route::get('encounters_pending_my_review', 'DnaController@encountersPendingMyReview')->name('encounters_pending_my_review');
|
|
|
|
- Route::get('encounters_in_progress', 'DnaController@encountersInProgress')->name('encounters_in_progress');
|
|
|
|
- Route::get('appointments_pending_confirmation', 'DnaController@appointmentsPendingConfirmation')->name('appointments_pending_confirmation');
|
|
|
|
- Route::get('cancelled_appointments_pending_ack', 'DnaController@cancelledAppointmentsPendingAck')->name('cancelled_appointments_pending_ack');
|
|
|
|
- Route::get('reports_pending_ack', 'DnaController@reportsPendingAck')->name('reports_pending_ack');
|
|
|
|
- Route::get('supply_orders_pending_my_ack', 'DnaController@supplyOrdersPendingMyAck')->name('supply_orders_pending_my_ack');
|
|
|
|
- Route::get('supply_orders_pending_hcp_approval', 'DnaController@supplyOrdersPendingHcpApproval')->name('supply_orders_pending_hcp_approval');
|
|
|
|
|
|
+ Route::middleware('pro.auth.na')->group(function(){
|
|
|
|
+ Route::name('dna.')->prefix('n')->group(function () {
|
|
|
|
+
|
|
|
|
+ Route::get('dashboard', 'HomeController@dashboard_DNA')->name('dashboard');
|
|
|
|
+
|
|
|
|
+ Route::get('patients', 'DnaController@patients')->name('patients');
|
|
|
|
+ Route::get('encounters', 'DnaController@encounters')->name('encounters');
|
|
|
|
+ Route::get('notes', 'DnaController@notes')->name('notes');
|
|
|
|
+ Route::get('appointments', 'DnaController@appointments')->name('appointments');
|
|
|
|
+ Route::get('care-months', 'DnaController@careMonths')->name('careMonths');
|
|
|
|
+ Route::get('financial-transactions', 'DnaController@financialTransactions')->name('financialTransactions');
|
|
|
|
+ Route::get('my-bills', 'DnaController@myBills')->name('myBills');
|
|
|
|
+ Route::get('my-clinical-teams', 'DnaController@myClinicalTeams')->name('myClinicalTeams');
|
|
|
|
+
|
|
|
|
+ Route::get('bills', 'DnaController@bills')->name('bills');
|
|
|
|
+ Route::get('erx-and-orders', 'DnaController@erx_and_orders')->name('erx_and_orders');
|
|
|
|
+ Route::get('reports', 'DnaController@reports')->name('reports');
|
|
|
|
+ Route::get('supply-orders', 'DnaController@supply_orders')->name('supply_orders');
|
|
|
|
+
|
|
|
|
+ Route::get('new_patients_awaiting_visit', 'DnaController@new_patients_awaiting_visit')->name('new_patients_awaiting_visit');
|
|
|
|
+ Route::get('notes_pending_signature', 'DnaController@notes_pending_signature')->name('notes_pending_signature');
|
|
|
|
+ Route::get('notes_pending_billing', 'DnaController@notes_pending_billing')->name('notes_pending_billing');
|
|
|
|
+ Route::get('reports_pending_signature', 'DnaController@reports_pending_signature')->name('reports_pending_signature');
|
|
|
|
+ Route::get('patients_without_appointments', 'DnaController@patients_without_appointments')->name('patients_without_appointments');
|
|
|
|
+ Route::get('patients_overdue_for_visit', 'DnaController@patients_overdue_for_visit')->name('patients_overdue_for_visit');
|
|
|
|
+ Route::get('cancelled_appointments_pending_review', 'DnaController@cancelled_appointments_pending_review')->name('cancelled_appointments_pending_review');
|
|
|
|
+ Route::get('cancelled_bills_pending_review', 'DnaController@cancelled_bills_pending_review')->name('cancelled_bills_pending_review');
|
|
|
|
+ Route::get('cancelled_supply_orders_pending_review', 'DnaController@cancelled_supply_orders_pending_review')->name('cancelled_supply_orders_pending_review');
|
|
|
|
+ Route::get('erx_and_orders_pending_signature', 'DnaController@erx_and_orders_pending_signature')->name('erx_and_orders_pending_signature');
|
|
|
|
+ Route::get('supply_orders_pending_signature', 'DnaController@supply_orders_pending_signature')->name('supply_orders_pending_signature');
|
|
|
|
+
|
|
|
|
+ //from the new spec
|
|
|
|
+ Route::get('my-patients', 'DnaController@myPatients')->name('my-patients');
|
|
|
|
+ Route::get('patients_awaiting_mcp_visit', 'DnaController@patientsAwaitingMcpVisit')->name('patients_awaiting_mcp_visit');
|
|
|
|
+ Route::get('patients_without_appointment', 'DnaController@patientsWithoutAppointment')->name('patients_without_appointment');
|
|
|
|
+ Route::get('encounters_pending_my_review', 'DnaController@encountersPendingMyReview')->name('encounters_pending_my_review');
|
|
|
|
+ Route::get('encounters_in_progress', 'DnaController@encountersInProgress')->name('encounters_in_progress');
|
|
|
|
+ Route::get('appointments_pending_confirmation', 'DnaController@appointmentsPendingConfirmation')->name('appointments_pending_confirmation');
|
|
|
|
+ Route::get('cancelled_appointments_pending_ack', 'DnaController@cancelledAppointmentsPendingAck')->name('cancelled_appointments_pending_ack');
|
|
|
|
+ Route::get('reports_pending_ack', 'DnaController@reportsPendingAck')->name('reports_pending_ack');
|
|
|
|
+ Route::get('supply_orders_pending_my_ack', 'DnaController@supplyOrdersPendingMyAck')->name('supply_orders_pending_my_ack');
|
|
|
|
+ Route::get('supply_orders_pending_hcp_approval', 'DnaController@supplyOrdersPendingHcpApproval')->name('supply_orders_pending_hcp_approval');
|
|
|
|
|
|
|
|
+ });
|
|
});
|
|
});
|
|
|
|
|
|
- Route::name('admin.')->prefix('a')->group(function () {
|
|
|
|
|
|
+ Route::name('admin.')->prefix('a')->middleware('pro.auth.admin')->group(function () {
|
|
// TODO
|
|
// TODO
|
|
|
|
|
|
Route::get('dashboard', 'HomeController@dashboard_ADMIN')->name('dashboard');
|
|
Route::get('dashboard', 'HomeController@dashboard_ADMIN')->name('dashboard');
|