<?php
defined('BASEPATH') or exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	https://codeigniter.com/userguide3/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
|	$route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples:	my-controller/index	-> my_controller/index
|		my-controller/my-method	-> my_controller/my_method
*/
//Landing Page
//$route['default_controller'] = 'landing';

//login
$route['default_controller'] = 'Landingpage';

$route['antrean/drqodri'] = 'Antreanpoli/drqodri';
$route['antrean/drirwan'] = 'Antreanpoli/drirwan';
$route['antrean/drika'] = 'Antreanpoli/drika';
$route['antrean/drerna'] = 'Antreanpoli/drerna';
$route['antrean/drpugud'] = 'Antreanpoli/drpugud';
$route['antrean/drabraham'] = 'Antreanpoli/drabraham';
$route['antrean/drgema'] = 'Antreanpoli/drgema';
$route['antrean/drerna'] = 'Antreanpoli/drerna';
$route['antrean/drdanu'] = 'Antreanpoli/drdanu';
$route['antrean/drtiara'] = 'Antreanpoli/drtiara';
$route['antrean/drlutfi'] = 'Antreanpoli/drlutfi';
$route['antrean/dreggy'] = 'Antreanpoli/dreggy';
$route['antrean/drindah'] = 'Antreanpoli/drindah';
$route['antrean/drkhrisna'] = 'Antreanpoli/drkhrisna';
$route['antrean/drsekti'] = 'Antreanpoli/drsekti';
$route['antrean/drsatrio'] = 'Antreanpoli/drsatrio';
$route['antrean/dralbam'] = 'Antreanpoli/dralbam';
$route['antrean/drnur'] = 'Antreanpoli/drnur';
$route['antrean/drfatiha'] = 'Antreanpoli/drfatiha';
$route['antrean/dryuanita'] = 'Antreanpoli/dryuanita';
$route['antrean/drelien'] = 'Antreanpoli/drelien';
$route['antrean/drsiska'] = 'Antreanpoli/drsiska';
$route['antrean/drnazwan'] = 'Antreanpoli/drnazwan';
$route['antrean/drrico'] = 'Antreanpoli/drrico';
$route['antrean/dryosinov'] = 'Antreanpoli/dryosinov';
$route['antrean/drartha'] = 'Antreanpoli/drartha';
$route['antrean/drfefe'] = 'Antreanpoli/drfefe';
$route['antrean/drdavid'] = 'Antreanpoli/drdavid';
$route['antrean/drgaluh'] = 'Antreanpoli/drgaluh';

//Farmasi 
$route['login/farmasi'] = 'login/Loginfarmasi'; //farmasi login
$route['login/farmasi/auth'] = 'login/Loginfarmasi/authlogin'; //authlogin farmasi

//Radiologi
$route['login/radiologi'] = 'login/Loginradiologi'; //radiologi login
$route['login/radiologi/auth'] = 'login/Loginradiologi/authlogin'; //authlogin radiologi

//Gizi
$route['login/gizi'] = 'login/Logingizi'; //Gizi login
$route['login/gizi/auth'] = 'login/Logingizi/authlogin'; //authlogin Gizi

//Laboratorium
$route['login/lab'] = 'login/Loginlab'; //Laboratorium login
$route['login/lab/auth'] = 'login/Loginlab/authlogin'; //authlogin Laboratorium

//ICU
$route['login/icu'] = 'login/Loginicu'; //ICU login
$route['login/icu/auth'] = 'login/Loginicu/authlogin'; //authlogin ICU

//REHAB MEDIK
$route['login/rehabmedik'] = 'login/Loginrehabmedik'; //REHAB MEDIK login
$route['login/rehabmedik/auth'] = 'login/Loginrehabmedik/authlogin'; //authlogin REHAB MEDIK

//RAWAT INAP 
$route['login/rawatinap'] = 'login/Loginrawatinap'; //RAWAT INAP login
$route['login/rawatinap/auth'] = 'login/Loginrawatinap/authlogin'; //authlogin RAWAT INAP

//RAWAT JALAN 
$route['login/rawatjalan'] = 'login/Loginrawatjalan'; //RAWAT JALAN login
$route['login/rawatjalan/auth'] = 'login/Loginrawatjalan/authlogin'; //authlogin RAWAT JALAN

//REKAM MEDIS 
$route['login/rekammedis'] = 'login/Loginrekammedis'; //REKAM MEDIS login
$route['login/rekammedis/auth'] = 'login/Loginrekammedis/authlogin'; //authlogin REKAM MEDIS

//IGD 
$route['login/igd'] = 'login/Loginigd'; //IGD login
$route['login/igd/auth'] = 'login/Loginigd/authlogin'; //authlogin IGD

//IBS 
$route['login/ibs'] = 'login/Loginibs'; //IGD login
$route['login/ibs/auth'] = 'login/Loginibs/authlogin'; //authlogin IGD

//Billing 
$route['login/billing'] = 'login/Loginbilling'; //IGD login
$route['login/billing/auth'] = 'login/Loginbilling/authlogin'; //authlogin IGD

$route['login/auth'] = 'login/Login/authlogin';
$route['login/keluar'] = 'login/Login/logout';


//dashboard
$route['dashboard/utama'] = 'dashboard/Dashboard';
$route['dashboard/file'] = 'dashboard/Dashboard/get_files';
$route['dashboard/upload'] = 'dashboard/Dashboard/upload_pdf';
$route['dashboard/hapus/(:any)'] = 'dashboard/Dashboard/delete_file/$1';
$route['dashboard/data'] = 'dashboard/Dashboard/reproses_data';
$route['dashboard/batal_serah'] = 'dashboard/Dashboard/batal_serah';
$route['dashboard/batal_resume'] = 'dashboard/Dashboard/batal_resume';
$route['dashboard/reproses_kasir'] = 'dashboard/Dashboard/reproses_kasir';
$route['dashboard/batal_kasir'] = 'dashboard/Dashboard/batal_kasir';
$route['dashboard/dpjp'] = 'dashboard/Dashboard/dpjp';
$route['dashboard/tambah_dpjp'] = 'dashboard/Dashboard/tambah_dpjp';
$route['dashboard/tambah_sep'] = 'dashboard/Dashboard/tambah_sep';
$route['dashboard/hapus_radlab'] = 'dashboard/Dashboard/hapus_radlab';
$route['dashboard/pembayaran'] = 'dashboard/Dashboard/pembayaran';

// --- Dokumen ---//
//dokumen
$route['dashboard/dokumen'] = 'dashboard/Dashboard/dokumen';

// --- Dokumen ---//


$route['translate_uri_dashes'] = FALSE;
