|
@@ -66,136 +66,19 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
Route::get('/new-patient', 'HomeController@newPatient')->name('new-patient');
|
|
|
Route::get('/new-non-mcn-patient', 'HomeController@newNonMcnPatient')->name('new-non-mcn-patient');
|
|
|
|
|
|
- Route::get('/patients/{filter?}', 'HomeController@patients')->name('patients');
|
|
|
+ Route::get('/pros/{filter?}', 'HomeController@patients')->name('pros');
|
|
|
|
|
|
Route::get('/unmapped-sms/{filter?}', 'HomeController@unmappedSMS')->name('unmapped-sms');
|
|
|
|
|
|
Route::get('/can-access-patient/{uid}', 'HomeController@canAccessPatient')->name('can-access-patient');
|
|
|
|
|
|
- Route::name('mcp.')->prefix('m')->group(function () {
|
|
|
-
|
|
|
- Route::get('dashboard', 'HomeController@dashboard_MCP')->name('dashboard');
|
|
|
-
|
|
|
- Route::get('patients', 'McpController@patients')->name('patients');
|
|
|
- Route::get('notes', 'McpController@notes')->name('notes');
|
|
|
- Route::get('appointments', 'McpController@appointments')->name('appointments');
|
|
|
- Route::get('bills', 'McpController@bills')->name('bills');
|
|
|
- Route::get('erx-and-orders', 'McpController@erx_and_orders')->name('erx_and_orders');
|
|
|
- Route::get('reports', 'McpController@reports')->name('reports');
|
|
|
- Route::get('supply-orders', 'McpController@supply_orders')->name('supply_orders');
|
|
|
- Route::get('client-messages', 'McpController@client_messages')->name('client_messages');
|
|
|
- Route::get('clients-bdt-devices', 'McpController@clients_bdt_devices')->name('clients_bdt_devices');
|
|
|
- Route::get('patients-accounts-invites', 'McpController@patients_accounts_invites')->name('patients_accounts_invites');
|
|
|
- Route::get('memos', 'McpController@memos')->name('memos');
|
|
|
-
|
|
|
-
|
|
|
- Route::get('new-patients-awaiting-visit', 'McpController@new_patients_awaiting_visit')->name('new_patients_awaiting_visit');
|
|
|
- Route::get('notes-pending-signature', 'McpController@notes_pending_signature')->name('notes_pending_signature');
|
|
|
- Route::get('notes-pending-summary-suggestion', 'McpController@notes_pending_summary_suggestion')->name('notes_pending_summary_suggestion');
|
|
|
- Route::get('notes-rejected-summary-suggestion', 'McpController@notes_rejected_summary_suggestion')->name('notes_rejected_summary_suggestion');
|
|
|
- Route::get('notes-pending-billing', 'McpController@notes_pending_billing')->name('notes_pending_billing');
|
|
|
- Route::get('bills-pending-signature', 'McpController@bills_pending_signature')->name('bills_pending_signature');
|
|
|
- Route::get('reports-pending-signature', 'McpController@reports_pending_signature')->name('reports_pending_signature');
|
|
|
- Route::get('patients-without-appointments', 'McpController@patients_without_appointments')->name('patients_without_appointments');
|
|
|
- Route::get('patients-overdue-for-visit', 'McpController@patients_overdue_for_visit')->name('patients_overdue_for_visit');
|
|
|
- Route::get('cancelled-appointments-pending-review', 'McpController@cancelled_appointments_pending_review')->name('cancelled_appointments_pending_review');
|
|
|
- Route::get('cancelled-bills-pending-review', 'McpController@cancelled_bills_pending_review')->name('cancelled_bills_pending_review');
|
|
|
- Route::get('cancelled-supply-orders-pending-review', 'McpController@cancelled_supply_orders_pending_review')->name('cancelled_supply_orders_pending_review');
|
|
|
- Route::get('erx-and-orders-pending-signature', 'McpController@erx_and_orders_pending_signature')->name('erx_and_orders_pending_signature');
|
|
|
- Route::get('supply-orders-pending-signature', 'McpController@supply_orders_pending_signature')->name('supply_orders_pending_signature');
|
|
|
- Route::get('supply-orders-awaiting-shipment', 'McpController@supply_orders_awaiting_shipment')->name('supply_orders_awaiting_shipment');
|
|
|
-
|
|
|
- Route::get('measurements-pending-stamping', 'McpController@measurements_pending_stamping')->name('measurements_pending_stamping');
|
|
|
-
|
|
|
- });
|
|
|
-
|
|
|
- Route::name('hcp.')->prefix('h')->group(function () {
|
|
|
-
|
|
|
- Route::get('dashboard', 'HomeController@dashboard_HCP')->name('dashboard');
|
|
|
-
|
|
|
- //TODO HCP CONTROLLER
|
|
|
-// Route::get('patients', 'McpController@patients')->name('patients');
|
|
|
-// Route::get('notes', 'McpController@notes')->name('notes');
|
|
|
-// Route::get('appointments', 'McpController@appointments')->name('appointments');
|
|
|
-// Route::get('bills', 'McpController@bills')->name('bills');
|
|
|
-// Route::get('erx-and-orders', 'McpController@erx_and_orders')->name('erx_and_orders');
|
|
|
-// Route::get('reports', 'McpController@reports')->name('reports');
|
|
|
-// Route::get('supply-orders', 'McpController@supply_orders')->name('supply_orders');
|
|
|
-// Route::get('client-messages', 'McpController@client_messages')->name('client_messages');
|
|
|
-// Route::get('clients-bdt-devices', 'McpController@clients_bdt_devices')->name('clients_bdt_devices');
|
|
|
-// Route::get('patients-accounts-invites', 'McpController@patients_accounts_invites')->name('patients_accounts_invites');
|
|
|
-// Route::get('memos', 'McpController@memos')->name('memos');
|
|
|
-//
|
|
|
-//
|
|
|
-// Route::get('new-patients-awaiting-visit', 'McpController@new_patients_awaiting_visit')->name('new_patients_awaiting_visit');
|
|
|
-// Route::get('notes-pending-signature', 'McpController@notes_pending_signature')->name('notes_pending_signature');
|
|
|
-// Route::get('notes-pending-billing', 'McpController@notes_pending_billing')->name('notes_pending_billing');
|
|
|
-// Route::get('bills-pending-signature', 'McpController@bills_pending_signature')->name('bills_pending_signature');
|
|
|
-// Route::get('reports-pending-signature', 'McpController@reports_pending_signature')->name('reports_pending_signature');
|
|
|
-// Route::get('patients-without-appointments', 'McpController@patients_without_appointments')->name('patients_without_appointments');
|
|
|
-// Route::get('patients-overdue-for-visit', 'McpController@patients_overdue_for_visit')->name('patients_overdue_for_visit');
|
|
|
-// Route::get('cancelled-appointments-pending-review', 'McpController@cancelled_appointments_pending_review')->name('cancelled_appointments_pending_review');
|
|
|
-// Route::get('cancelled-bills-pending-review', 'McpController@cancelled_bills_pending_review')->name('cancelled_bills_pending_review');
|
|
|
-// Route::get('cancelled-supply-orders-pending-review', 'McpController@cancelled_supply_orders_pending_review')->name('cancelled_supply_orders_pending_review');
|
|
|
-// Route::get('erx-and-orders-pending-signature', 'McpController@erx_and_orders_pending_signature')->name('erx_and_orders_pending_signature');
|
|
|
-// Route::get('supply-orders-pending-signature', 'McpController@supply_orders_pending_signature')->name('supply_orders_pending_signature');
|
|
|
-// Route::get('supply-orders-awaiting-shipment', 'McpController@supply_orders_awaiting_shipment')->name('supply_orders_awaiting_shipment');
|
|
|
-//
|
|
|
-// Route::get('measurements-pending-stamping', 'McpController@measurements_pending_stamping')->name('measurements_pending_stamping');
|
|
|
-
|
|
|
- });
|
|
|
-
|
|
|
- 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')->middleware('pro.auth.admin')->group(function () {
|
|
|
// TODO
|
|
|
|
|
|
Route::get('dashboard', 'HomeController@dashboard_ADMIN')->name('dashboard');
|
|
|
|
|
|
- Route::get('patients', 'AdminController@patients')->name('patients');
|
|
|
+ Route::get('pros', 'AdminController@patients')->name('pros');
|
|
|
Route::get('notes', 'AdminController@notes')->name('notes');
|
|
|
Route::get('notes-pending-summary-suggestion', 'AdminController@notes_pending_summary_suggestion')->name('notes_pending_summary_suggestion');
|
|
|
Route::get('notes-rejected-summary-suggestion', 'AdminController@notes_rejected_summary_suggestion')->name('notes_rejected_summary_suggestion');
|
|
@@ -256,6 +139,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
Route::get('visit-template/{visitTemplate}', 'PracticeManagementController@visitTemplate')->name('visitTemplate');
|
|
|
Route::get('client-ccm-rm-status', 'PracticeManagementController@clientCcmRmStatus')->name('client-ccm-rm-status');
|
|
|
|
|
|
+
|
|
|
Route::get('hcp-note-activity', 'PracticeManagementController@hcpNoteActivity')->name('hcp-note-activity');
|
|
|
|
|
|
Route::middleware('pro.auth.admin')->group(function () {
|
|
@@ -392,22 +276,12 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
|
|
|
});
|
|
|
|
|
|
- // Route::middleware('pro.auth.admin')->group(function () {
|
|
|
- Route::get('patients/view/mcp-requests/{patient?}', 'PatientController@mcpRequests')->name('patients.view.mcp-requests');
|
|
|
- Route::get('patients/view/eligible-refreshes/{patient}', 'PatientController@eligibleRefreshes')->name('patients.view.eligible-refreshes');
|
|
|
- Route::get('patients/view/insurance-coverage/{patient}', 'PatientController@insuranceCoverage')->name('patients.view.insurance-coverage');
|
|
|
- Route::get('patients/view/client-primarycoverages/{patient}', 'PatientController@clientPrimaryCoverages')->name('patients.view.client-primary-coverages');
|
|
|
- Route::get('patients/view/primary-coverage/{patient}', 'PatientController@primaryCoverage')->name('patients.view.primary-coverage');
|
|
|
- Route::get('patients/view/client-pro-access/{patient}', 'PatientController@clientProAccess')->name('patients.view.client-pro-access');
|
|
|
+ Route::name('pros.view.')->prefix('pros/view/{patient}')->group(function () {
|
|
|
|
|
|
- Route::get('patients/view/primary-coverage-form/{patient}', 'PatientController@primaryCoverageForm')->name('patients.view.primary-coverage-form');
|
|
|
- Route::get('patients/view/primary-coverage-manual-determination-modal/{patient}', 'PatientController@primaryCoverageManualDeterminationModal')->name('patients.view.primary-coverage-manual-determination-modal');
|
|
|
- // });
|
|
|
|
|
|
- Route::name('patients.view.')->prefix('patients/view/{patient}')->group(function () {
|
|
|
-
|
|
|
- Route::middleware(['pro.auth.can-access-patient', 'client.not-shadow-of-pro'])->group(function () {
|
|
|
|
|
|
+ Route::middleware(['pro.auth.can-access-patient', 'client.shadow-of-pro'])->group(function () {
|
|
|
+
|
|
|
Route::get('', 'PatientController@dashboard')->name('dashboard');
|
|
|
Route::get('canvas-migrate', 'PatientController@canvasMigrate')->name('migrate-canvas');
|
|
|
Route::get('intake', 'PatientController@intake')->name('intake');
|
|
@@ -496,6 +370,9 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
|
|
|
Route::get('accounts', 'PatientController@accounts')->name('accounts');
|
|
|
|
|
|
+ Route::get('view/client-pro-access', 'PatientController@clientProAccess')->name('client-pro-access');
|
|
|
+
|
|
|
+
|
|
|
});
|
|
|
|
|
|
});
|
|
@@ -556,7 +433,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
Route::get('/note-template-set/{section}/{template}', 'HomeController@noteTemplateSet');
|
|
|
|
|
|
// Patient suggest
|
|
|
- Route::get('/patients-suggest', 'HomeController@patientsSuggest');
|
|
|
+ Route::get('/pros-suggest', 'HomeController@patientsSuggest');
|
|
|
|
|
|
// column suggest
|
|
|
Route::get('/column-suggest', 'StatTreeLineController@columnSuggest');
|
|
@@ -572,7 +449,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
Route::get('/embed/{patient}/{section}/{selectable}', 'PatientController@embedSection')->name('embed-section');
|
|
|
|
|
|
// AJAX presence poll
|
|
|
- Route::get('/patients/{patient}/presence', 'PatientController@presence');
|
|
|
+ Route::get('/pros/{patient}/presence', 'PatientController@presence');
|
|
|
|
|
|
// refresh single ticket
|
|
|
Route::get('/get-ticket/{ticket}', 'HomeController@getTicket');
|
|
@@ -590,7 +467,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
|
Route::get('/pro/meet/{uid?}', 'PracticeManagementController@meet');
|
|
|
Route::post('/pro/meet/get-participant-info', 'PracticeManagementController@getParticipantInfo');
|
|
|
Route::get('/pro/get-opentok-session-key/{uid}', 'PracticeManagementController@getOpentokSessionKey');
|
|
|
- Route::get('/patients-in-queue', 'PracticeManagementController@getPatientsInQueue');
|
|
|
+ Route::get('/pros-in-queue', 'PracticeManagementController@getPatientsInQueue');
|
|
|
Route::get('/current-work', 'PracticeManagementController@currentWork');
|
|
|
|
|
|
//Notes stuff
|