updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -2,7 +2,7 @@
use Illuminate\Support\Facades\Route;
Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale']], function () {
Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale','subscription-tracking', 'password-expiry']], function () {
/* Alerts */
Route::post('store_patient_alerts', 'AlertsController@store_patient_alerts');
Route::any('alerts/view_alerts', 'AlertsController@view_alerts');
@@ -24,6 +24,8 @@ Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale']], fun
Route::any('opd_referral_notes_print/{patient_id}/{episode_id}', 'ConsultationController@opd_referral_notes_print')->name('consultation.opd_referral_notes_print');
Route::any('consultation/add_diagnosis', 'ConsultationController@add_diagnosis')->name('consultation.add_diagnosis');
Route::get('get_outcome_slug/{id}', 'ConsultationController@get_outcome_slug');
Route::get('delete_consultation_clinical_notes/{id}', 'ConsultationController@delete_consultation_clinical_notes');
Route::post('update_consultation_clinical_notes', 'ConsultationController@update_consultation_clinical_notes');
/* Triage Controller */
Route::any('/triage/add_symptom', 'TriageController@add_symptom')->name('triage.add_symptom');
@@ -114,60 +116,63 @@ Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale']], fun
/* Patient Controller */
Route::get('/patients/inactive', 'PatientController@inactive')->name('patients.inactive');
Route::get('/patients/follow_up', 'PatientController@follow_up')->name('patients.follow_up');
Route::get('/patients/appointment_requests', 'PatientController@appointment_requests')->name('patients.appointment_requests');
Route::get('/patients/confirm_appointment/{id}', 'PatientController@confirm_appointment');
Route::any('/patients/save_confirmed_appointment', 'PatientController@save_confirmed_appointment')->name('patients.save_confirmed_appointment');
Route::any('/patients/follow_up_fetch_patients', 'PatientController@follow_up_fetch_patients')->name('patients.follow_up_fetch_patients');
Route::any('/patients/create_appointment', 'PatientController@create_appointment')->name('patients.create_appointment');
Route::any('/patients/save_appointment', 'PatientController@save_appointment')->name('patients.save_appointment');
Route::any('/patients/complete_appointment/{id}', 'PatientController@complete_appointment');
Route::any('/patients/cancel_patient_appointment/{id}', 'PatientController@cancel_patient_appointment');
Route::any('/patients/reschedule_appointment/{id}', 'PatientController@reschedule_appointment');
Route::any('/patients/save_rescheduled_appointment', 'PatientController@save_rescheduled_appointment')->name('patients.save_rescheduled_appointment');
Route::any('/patients/patient_cards/search_patient_cards_to_print', 'PatientController@search_patient_cards_to_print')->name('patients.search_patient_cards_to_print');
Route::post('/patients/patient_cards/print_patients_cards', 'PatientController@print_patients_cards')->name('patients.print_patients_cards');
Route::get('/patients/follow_up', 'PatientAppointmentsController@follow_up')->name('patients.follow_up');
Route::get('/patients/appointment_requests', 'PatientAppointmentsController@appointment_requests')->name('patients.appointment_requests');
Route::get('/patients/confirm_appointment/{id}', 'PatientAppointmentsController@confirm_appointment');
Route::any('/patients/save_confirmed_appointment', 'PatientAppointmentsController@save_confirmed_appointment')->name('patients.save_confirmed_appointment');
Route::any('/patients/follow_up_fetch_patients', 'PatientAppointmentsController@follow_up_fetch_patients')->name('patients.follow_up_fetch_patients');
Route::any('/patients/create_appointment', 'PatientAppointmentsController@create_appointment')->name('patients.create_appointment');
Route::any('/patients/save_appointment', 'PatientAppointmentsController@save_appointment')->name('patients.save_appointment');
Route::any('/patients/complete_appointment/{id}', 'PatientAppointmentsController@complete_appointment');
Route::any('/patients/cancel_patient_appointment/{id}', 'PatientAppointmentsController@cancel_patient_appointment');
Route::any('/patients/reschedule_appointment/{id}', 'PatientAppointmentsController@reschedule_appointment');
Route::any('/patients/save_rescheduled_appointment', 'PatientAppointmentsController@save_rescheduled_appointment')->name('patients.save_rescheduled_appointment');
Route::get('/patients/search_patient_by_name_number', 'PatientController@search_patient_by_name_number')->name('patients.search_patient_by_name_number');
Route::get('/patients/update_patient_info/{id}', 'PatientController@update_patient_info')->name('patients.update_patient_info');
Route::get('/patients/create', 'PatientController@create')->name('patients.create');
Route::any('/patients/selected', 'PatientController@select')->name('patients.selected');
Route::any('/patients/select', 'PatientController@select')->name('patients.select');
Route::post('/activate{id}/patients', 'PatientController@activate')->name('patients.activate');
Route::any('/patients/get_counties/{id}', 'PatientController@get_counties')->name('patients.get_counties');
Route::any('/patients/get_subcounties/{id}', 'PatientController@get_subcounties')->name('patients.get_subcounties');
Route::any('/patients/get_parishes/{id}', 'PatientController@get_parishes')->name('patients.get_parishes');
Route::any('/patients/get_villages/{id}', 'PatientController@get_villages')->name('patients.get_villages');
Route::any('/patients/get_counties/{id}', 'ResidenceController@get_counties')->name('patients.get_counties');
Route::any('/patients/get_subcounties/{id}', 'ResidenceController@get_subcounties')->name('patients.get_subcounties');
Route::any('/patients/get_parishes/{id}', 'ResidenceController@get_parishes')->name('patients.get_parishes');
Route::any('/patients/get_villages/{id}', 'ResidenceController@get_villages')->name('patients.get_villages');
Route::get('/patients/search_residences', 'PatientController@search_residences')->name('patients.search_residences');
Route::any('/patients/save_patient_with_episode', 'PatientController@save_patient_with_episode')->name('patients.save_patient_with_episode');
Route::any('/patients/check_duplicate_patients', 'PatientController@check_duplicate_patients')->name('patients.check_duplicate_patients');
Route::post('/patients/delete_patient_with_reason', 'PatientController@delete_patient_with_reason')->name('patients.delete_patient_with_reason');
Route::any('/patients/search', 'PatientController@search')->name('patients.search');
Route::any('patients/add_company', 'PatientController@add_company')->name('patients.add_company');
Route::any('patients/add_country', 'PatientController@add_country')->name('patients.add_country');
Route::any('patients/quick_add_district_residence', 'PatientController@quick_add_district_residence');
Route::any('patients/quick_add_village_residence', 'PatientController@quick_add_village_residence');
Route::any('patients/quick_add_residence', 'PatientController@quick_add_residence');
Route::any('patients/quick_add_residence', 'ResidenceController@quick_add_residence');
Route::any('patients/get_fingerprint/{id}', 'PatientController@get_fingerprint');
Route::any('patients/fetch_fingerprint_from_scanner/', 'PatientController@fetch_fingerprint_from_scanner');
Route::any('patients/compare_fingerprint_from_scanner/', 'PatientController@compare_fingerprint_from_scanner');
/* patient residences */
Route::get('patient_residence/{disctrict_id}', 'PatientController@get_residence');
Route::get('patient_residence/search_districts', 'PatientController@search_districts');
Route::get('patient_residence/search_counties', 'PatientController@search_counties');
Route::get('patient_residence/search_subcounties', 'PatientController@search_subcounties');
Route::get('patient_residence/search_parishes', 'PatientController@search_parishes');
Route::get('patient_residence/search_villages', 'PatientController@search_villages');
Route::get('patient_residence/district/{district_id}', 'PatientController@get_residence_district');
Route::get('patient_residence/county/{county_id}', 'PatientController@get_residence_county');
Route::get('patient_residence/sub_county/{sub_county_id}', 'PatientController@get_residence_sub_county');
Route::get('patient_residence/parish/{parish_id}', 'PatientController@get_residence_parish');
Route::get('patient_residence/{disctrict_id}', 'ResidenceController@get_residence');
Route::get('patient_residence/search_districts', 'ResidenceController@search_districts');
Route::get('patient_residence/search_counties', 'ResidenceController@search_counties');
Route::get('patient_residence/search_subcounties', 'ResidenceController@search_subcounties');
Route::get('patient_residence/search_parishes', 'ResidenceController@search_parishes');
Route::get('patient_residence/search_villages', 'ResidenceController@search_villages');
Route::get('patient_residence/district/{district_id}', 'ResidenceController@get_residence_district');
Route::get('patient_residence/county/{county_id}', 'ResidenceController@get_residence_county');
Route::get('patient_residence/sub_county/{sub_county_id}', 'ResidenceController@get_residence_sub_county');
Route::get('patient_residence/parish/{parish_id}', 'ResidenceController@get_residence_parish');
Route::resource('patients', 'PatientController');
Route::any('add_new_occupation_dynamically', 'PatientController@add_new_occupation_dynamically');
Route::any('add_new_district_dynamically', 'PatientController@add_new_district_dynamically');
Route::any('add_new_county_dynamically', 'PatientController@add_new_county_dynamically');
Route::any('add_new_subcounty_dynamically', 'PatientController@add_new_subcounty_dynamically');
Route::any('add_new_parish_dynamically', 'PatientController@add_new_parish_dynamically');
Route::any('add_new_village_dynamically', 'PatientController@add_new_village_dynamically');
Route::any('add_new_occupation_dynamically', 'ResidenceController@add_new_occupation_dynamically');
Route::any('add_new_district_dynamically', 'ResidenceController@add_new_district_dynamically');
Route::any('add_new_county_dynamically', 'ResidenceController@add_new_county_dynamically');
Route::any('add_new_subcounty_dynamically', 'ResidenceController@add_new_subcounty_dynamically');
Route::any('add_new_parish_dynamically', 'ResidenceController@add_new_parish_dynamically');
Route::any('add_new_village_dynamically', 'ResidenceController@add_new_village_dynamically');
// duplicate patients
Route::any('possible_duplicate_patients/{id}', 'PatientController@possible_duplicate_patients');
@@ -175,9 +180,10 @@ Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale']], fun
Route::any('merge_patient_records', 'PatientController@merge_records')->name('patients.merge_records');
//patient appointments report
Route::any('patient_appointments_report', 'PatientController@patient_appointments_report')->name('patients.patient_appointments_report');
Route::any('patient_appointments_report', 'PatientAppointmentsController@patient_appointments_report')->name('patients.patient_appointments_report');
Route::post('view_dna_patient_demographic', 'PatientController@view_dna_patient_demographic');
Route::any('store_appointment_comment', 'PatientController@store_appointment_comment');
Route::any('store_appointment_comment', 'PatientAppointmentsController@store_appointment_comment');
Route::any('patient_card/{id}', 'PatientController@patient_card');
Route::get('patient_cards', 'PatientController@patient_cards')->name('patients.patient_cards');
});