Files
streamline-emr/docker/streamline-src/Modules/Theatre/Routes/web.php
T

31 lines
2.7 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::group(['middleware' => ['auth', 'disablebackbutton', 'user-locale','subscription-tracking', 'password-expiry']], function () {
/*theatre surgery module */
Route::any('theatre_drugs_stock_sheet', 'TheatreSurgeryController@drugs_stock_sheet')->name('theatre.drugs_stock_sheet');
Route::any('update_theatre_drugs_stock_sheet', 'TheatreSurgeryController@update_drugs_stock_sheet')->name('theatre.update_drugs_stock_sheet');
Route::any('theatre_sundries_stock_sheet', 'TheatreSurgeryController@sundries_stock_sheet')->name('theatre.sundries_stock_sheet');
Route::any('update_theatre_sundries_stock_sheet', 'TheatreSurgeryController@update_sundries_stock_sheet')->name('theatre.update_sundries_stock_sheet');
Route::any('/theatre_surgery/details/{id}', 'TheatreSurgeryController@details')->name('theatre_surgery.details');
Route::post('add_new_theatre_location', 'TheatreSurgeryController@add_new_theatre_location');
Route::post('quick_add_user', 'TheatreSurgeryController@theatre_surgery_quick_store');
Route::resource('theatre_surgery', 'TheatreSurgeryController');
Route::get('get_cadre', 'TheatreSurgeryController@get_cadre');
Route::any('quick_add_procedure', 'TheatreSurgeryController@quick_add_procedure')->name('theatre_surgery.quick_add_procedure');
Route::any('surgery_print/{surgery_id}', 'TheatreSurgeryController@surgery_print')->name('theatre_surgery.details_print');
/* Theatre anaesthetics module */
Route::any('/anaesthetics/view_history/{id}', 'TheatreAnaestheticsController@view_history')->name('theatre_anaesthetics.view_history');
Route::any('/anaesthetics/remove_drug_from_inpatient_bill/{record_id}/{drug_id}', 'TheatreAnaestheticsController@remove_drug_from_inpatient_bill');
Route::any('/anaesthetics/add_drug_to_inpatient_bill/{record_id}/{drug_id}', 'TheatreAnaestheticsController@add_drug_to_inpatient_bill');
Route::any('/anaesthetics/history', 'TheatreAnaestheticsController@history')->name('theatre_anaesthetics.history');
Route::resource('anaesthetics', 'TheatreAnaestheticsController');
Route::post('get_procedure_slug', 'TheatreAnaestheticsController@get_procedure_slug');
Route::post('add_new_doctor', 'TheatreAnaestheticsController@add_new_doctor_or_nurse');
Route::post('add_new_nurse', 'TheatreAnaestheticsController@add_new_doctor_or_nurse');
Route::post('add_new_airway', 'TheatreAnaestheticsController@add_new_airway');
Route::post('add_new_analgesic', 'TheatreAnaestheticsController@add_new_analgesic');
Route::any('anaesthesia_print/{surgery_id}', 'TheatreAnaestheticsController@anaesthesia_print')->name('theatre_anaesthetics.details_print');
});