|
@@ -134,73 +134,77 @@ Route::middleware('pro.auth')->group(function () {
|
|
});
|
|
});
|
|
|
|
|
|
Route::name('patients.view.')->prefix('patients/view/{patient}')->group(function () {
|
|
Route::name('patients.view.')->prefix('patients/view/{patient}')->group(function () {
|
|
- Route::get('intake', 'PatientController@intake')->name('intake');
|
|
|
|
- Route::get('', 'PatientController@dashboard')->name('dashboard');
|
|
|
|
- Route::get('care-plan', 'PatientController@carePlan')->name('care-plan');
|
|
|
|
- Route::get('medications', 'PatientController@medications')->name('medications');
|
|
|
|
- Route::get('dx-and-focus-areas', 'PatientController@dxAndFocusAreas')->name('dx-and-focus-areas');
|
|
|
|
- Route::get('care-team', 'PatientController@careTeam')->name('care-team');
|
|
|
|
- Route::get('devices', 'PatientController@devices')->name('devices');
|
|
|
|
- Route::get('measurements', 'PatientController@measurements')->name('measurements');
|
|
|
|
- Route::get('labs-and-studies', 'PatientController@labsAndStudies')->name('labs-and-studies');
|
|
|
|
- Route::get('history', 'PatientController@history')->name('history');
|
|
|
|
- Route::get('memos', 'PatientController@memos')->name('memos');
|
|
|
|
- Route::get('sms', 'PatientController@sms')->name('sms');
|
|
|
|
- Route::get('sms-numbers', 'PatientController@smsNumbers')->name('sms-numbers');
|
|
|
|
- Route::get('immunizations', 'PatientController@immunizations')->name('immunizations');
|
|
|
|
- Route::get('allergies', 'PatientController@allergies')->name('allergies');
|
|
|
|
- Route::get('action-items', 'PatientController@actionItems')->name('action-items');
|
|
|
|
- Route::get('action-items-erx/view/{ticket}', 'PatientController@actionItemsErxSingle')->name('action-items-erx-single');
|
|
|
|
- Route::get('action-items-lab/view/{ticket}', 'PatientController@actionItemsLabSingle')->name('action-items-lab-single');
|
|
|
|
- Route::get('action-items-imaging/view/{ticket}', 'PatientController@actionItemsImagingSingle')->name('action-items-imaging-single');
|
|
|
|
- Route::get('action-items-equipment/view/{ticket}', 'PatientController@actionItemsEquipmentSingle')->name('action-items-equipment-single');
|
|
|
|
- Route::get('action-items-other/view/{ticket}', 'PatientController@actionItemsOtherSingle')->name('action-items-other-single');
|
|
|
|
- Route::get('action-items-erx/{filter?}', 'PatientController@actionItemsErx')->name('action-items-erx');
|
|
|
|
- Route::get('action-items-lab/{filter?}', 'PatientController@actionItemsLab')->name('action-items-lab');
|
|
|
|
- Route::get('action-items-imaging/{filter?}', 'PatientController@actionItemsImaging')->name('action-items-imaging');
|
|
|
|
- Route::get('action-items-equipment/{filter?}', 'PatientController@actionItemsEquipment')->name('action-items-equipment');
|
|
|
|
- Route::get('action-items-other/{filter?}', 'PatientController@actionItemsOther')->name('action-items-other');
|
|
|
|
- Route::get('notes/{filter?}', 'PatientController@notes')->name('notes');
|
|
|
|
- Route::name('notes.view.')->prefix('notes/view/{note}')->group(function () {
|
|
|
|
- Route::get('', 'NoteController@dashboard')->name('dashboard');
|
|
|
|
- });
|
|
|
|
- Route::get('sections', 'PatientController@sections')->name('sections');
|
|
|
|
- Route::get('handouts', 'PatientController@handouts')->name('handouts');
|
|
|
|
- Route::get('settings', 'PatientController@settings')->name('settings');
|
|
|
|
- Route::get('pros', 'PatientController@pros')->name('pros');
|
|
|
|
- Route::get('account', 'PatientController@account')->name('account');
|
|
|
|
- Route::get('care-checklist', 'PatientController@careChecklist')->name('care-checklist');
|
|
|
|
- Route::get('documents', 'PatientController@documents')->name('documents');
|
|
|
|
- Route::get('incoming-reports/{currentReport?}', 'PatientController@incomingReports')->name('incoming-reports');
|
|
|
|
- Route::get('education', 'PatientController@education')->name('education');
|
|
|
|
- Route::get('messaging', 'PatientController@messaging')->name('messaging');
|
|
|
|
- Route::get('duplicate', 'PatientController@duplicate')->name('duplicate');
|
|
|
|
- Route::get('care-months', 'PatientController@careMonths')->name('care-months');
|
|
|
|
- Route::name('care-months.view.')->prefix('care-months/view/{careMonth}')->group(function () {
|
|
|
|
- Route::get('', 'CareMonthController@dashboard')->name('dashboard');
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- // appointment calendar
|
|
|
|
- Route::get('calendar/{currentAppointment?}', 'PatientController@calendar')->name('calendar');
|
|
|
|
-
|
|
|
|
- // programs
|
|
|
|
- Route::get('programs/{filter?}', 'PatientController@programs')->name('programs');
|
|
|
|
-
|
|
|
|
- // flowsheets
|
|
|
|
- Route::get('flowsheets/{filter?}', 'PatientController@flowsheets')->name('flowsheets');
|
|
|
|
|
|
|
|
- // vitals-graph
|
|
|
|
- Route::get('vitals-graph/{filter?}', 'PatientController@vitalsGraph')->name('vitals-graph');
|
|
|
|
-
|
|
|
|
- // tickets
|
|
|
|
- Route::get('tickets/{type?}/{currentTicket?}', 'PatientController@tickets')->name('patient-tickets');
|
|
|
|
-
|
|
|
|
- // appointments
|
|
|
|
- Route::get('appointments/{forPro}/{status}', 'PatientController@appointments')->name('appointments');
|
|
|
|
-
|
|
|
|
- Route::get('supply-orders/{supplyOrder?}', 'PatientController@supplyOrders')->name('supply-orders');
|
|
|
|
- Route::get('shipments/{shipment?}', 'PatientController@shipments')->name('shipments');
|
|
|
|
|
|
+ Route::middleware('pro.auth.can-access-patient')->group(function() {
|
|
|
|
+
|
|
|
|
+ Route::get('intake', 'PatientController@intake')->name('intake');
|
|
|
|
+ Route::get('', 'PatientController@dashboard')->name('dashboard');
|
|
|
|
+ Route::get('care-plan', 'PatientController@carePlan')->name('care-plan');
|
|
|
|
+ Route::get('medications', 'PatientController@medications')->name('medications');
|
|
|
|
+ Route::get('dx-and-focus-areas', 'PatientController@dxAndFocusAreas')->name('dx-and-focus-areas');
|
|
|
|
+ Route::get('care-team', 'PatientController@careTeam')->name('care-team');
|
|
|
|
+ Route::get('devices', 'PatientController@devices')->name('devices');
|
|
|
|
+ Route::get('measurements', 'PatientController@measurements')->name('measurements');
|
|
|
|
+ Route::get('labs-and-studies', 'PatientController@labsAndStudies')->name('labs-and-studies');
|
|
|
|
+ Route::get('history', 'PatientController@history')->name('history');
|
|
|
|
+ Route::get('memos', 'PatientController@memos')->name('memos');
|
|
|
|
+ Route::get('sms', 'PatientController@sms')->name('sms');
|
|
|
|
+ Route::get('sms-numbers', 'PatientController@smsNumbers')->name('sms-numbers');
|
|
|
|
+ Route::get('immunizations', 'PatientController@immunizations')->name('immunizations');
|
|
|
|
+ Route::get('allergies', 'PatientController@allergies')->name('allergies');
|
|
|
|
+ Route::get('action-items', 'PatientController@actionItems')->name('action-items');
|
|
|
|
+ Route::get('action-items-erx/view/{ticket}', 'PatientController@actionItemsErxSingle')->name('action-items-erx-single');
|
|
|
|
+ Route::get('action-items-lab/view/{ticket}', 'PatientController@actionItemsLabSingle')->name('action-items-lab-single');
|
|
|
|
+ Route::get('action-items-imaging/view/{ticket}', 'PatientController@actionItemsImagingSingle')->name('action-items-imaging-single');
|
|
|
|
+ Route::get('action-items-equipment/view/{ticket}', 'PatientController@actionItemsEquipmentSingle')->name('action-items-equipment-single');
|
|
|
|
+ Route::get('action-items-other/view/{ticket}', 'PatientController@actionItemsOtherSingle')->name('action-items-other-single');
|
|
|
|
+ Route::get('action-items-erx/{filter?}', 'PatientController@actionItemsErx')->name('action-items-erx');
|
|
|
|
+ Route::get('action-items-lab/{filter?}', 'PatientController@actionItemsLab')->name('action-items-lab');
|
|
|
|
+ Route::get('action-items-imaging/{filter?}', 'PatientController@actionItemsImaging')->name('action-items-imaging');
|
|
|
|
+ Route::get('action-items-equipment/{filter?}', 'PatientController@actionItemsEquipment')->name('action-items-equipment');
|
|
|
|
+ Route::get('action-items-other/{filter?}', 'PatientController@actionItemsOther')->name('action-items-other');
|
|
|
|
+ Route::get('notes/{filter?}', 'PatientController@notes')->name('notes');
|
|
|
|
+ Route::name('notes.view.')->prefix('notes/view/{note}')->group(function () {
|
|
|
|
+ Route::get('', 'NoteController@dashboard')->name('dashboard');
|
|
|
|
+ });
|
|
|
|
+ Route::get('sections', 'PatientController@sections')->name('sections');
|
|
|
|
+ Route::get('handouts', 'PatientController@handouts')->name('handouts');
|
|
|
|
+ Route::get('settings', 'PatientController@settings')->name('settings');
|
|
|
|
+ Route::get('pros', 'PatientController@pros')->name('pros');
|
|
|
|
+ Route::get('account', 'PatientController@account')->name('account');
|
|
|
|
+ Route::get('care-checklist', 'PatientController@careChecklist')->name('care-checklist');
|
|
|
|
+ Route::get('documents', 'PatientController@documents')->name('documents');
|
|
|
|
+ Route::get('incoming-reports/{currentReport?}', 'PatientController@incomingReports')->name('incoming-reports');
|
|
|
|
+ Route::get('education', 'PatientController@education')->name('education');
|
|
|
|
+ Route::get('messaging', 'PatientController@messaging')->name('messaging');
|
|
|
|
+ Route::get('duplicate', 'PatientController@duplicate')->name('duplicate');
|
|
|
|
+ Route::get('care-months', 'PatientController@careMonths')->name('care-months');
|
|
|
|
+ Route::name('care-months.view.')->prefix('care-months/view/{careMonth}')->group(function () {
|
|
|
|
+ Route::get('', 'CareMonthController@dashboard')->name('dashboard');
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ // appointment calendar
|
|
|
|
+ Route::get('calendar/{currentAppointment?}', 'PatientController@calendar')->name('calendar');
|
|
|
|
+
|
|
|
|
+ // programs
|
|
|
|
+ Route::get('programs/{filter?}', 'PatientController@programs')->name('programs');
|
|
|
|
+
|
|
|
|
+ // flowsheets
|
|
|
|
+ Route::get('flowsheets/{filter?}', 'PatientController@flowsheets')->name('flowsheets');
|
|
|
|
+
|
|
|
|
+ // vitals-graph
|
|
|
|
+ Route::get('vitals-graph/{filter?}', 'PatientController@vitalsGraph')->name('vitals-graph');
|
|
|
|
+
|
|
|
|
+ // tickets
|
|
|
|
+ Route::get('tickets/{type?}/{currentTicket?}', 'PatientController@tickets')->name('patient-tickets');
|
|
|
|
+
|
|
|
|
+ // appointments
|
|
|
|
+ Route::get('appointments/{forPro}/{status}', 'PatientController@appointments')->name('appointments');
|
|
|
|
+
|
|
|
|
+ Route::get('supply-orders/{supplyOrder?}', 'PatientController@supplyOrders')->name('supply-orders');
|
|
|
|
+ Route::get('shipments/{shipment?}', 'PatientController@shipments')->name('shipments');
|
|
|
|
|
|
|
|
+ });
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|
@@ -238,7 +242,7 @@ Route::middleware('pro.auth')->group(function () {
|
|
Route::get('/patients/{patient}/presence', 'PatientController@presence');
|
|
Route::get('/patients/{patient}/presence', 'PatientController@presence');
|
|
|
|
|
|
// refresh single ticket
|
|
// refresh single ticket
|
|
- Route::get('/get-ticket/{ticket}', 'PatientController@getTicket');
|
|
|
|
|
|
+ Route::get('/get-ticket/{ticket}', 'HomeController@getTicket');
|
|
|
|
|
|
|
|
|
|
Route::get('/appointment-confirmation-history/{appointment}', 'AppointmentController@appointmentConfirmationHistory')->name('appointment-confirmation-history');
|
|
Route::get('/appointment-confirmation-history/{appointment}', 'AppointmentController@appointmentConfirmationHistory')->name('appointment-confirmation-history');
|