You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
6.2 KiB
Dart
127 lines
6.2 KiB
Dart
import 'package:doctor_app_flutter/config/config.dart';
|
|
import 'package:doctor_app_flutter/root_page.dart';
|
|
import 'package:doctor_app_flutter/screens/patients/profile/insurance_approvals_screen.dart';
|
|
import 'package:doctor_app_flutter/screens/patients/profile/patient_orders_screen.dart';
|
|
import 'package:doctor_app_flutter/screens/patients/profile/progress_note_screen.dart';
|
|
import 'package:doctor_app_flutter/screens/patients/profile/refer_patient_screen.dart';
|
|
|
|
import 'package:doctor_app_flutter/screens/patients/profile/prescriptions/in_patient_prescription_details_screen.dart';
|
|
import 'package:doctor_app_flutter/screens/live_care/video_call.dart';
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/SOAP/add_SOAP_index.dart';
|
|
|
|
import './screens/QR_reader_screen.dart';
|
|
import './screens/auth/change_password_screen.dart';
|
|
import './screens/auth/login_screen.dart';
|
|
import './screens/auth/verification_methods_screen.dart';
|
|
import './screens/auth/verify_account_screen.dart';
|
|
import './screens/blood_bank_screen.dart';
|
|
import './screens/dashboard_screen.dart';
|
|
import './screens/doctor/message_screen.dart';
|
|
import './screens/doctor/my_schedule_screen.dart';
|
|
import './screens/doctor/services_screen.dart';
|
|
import './screens/medicine/medicine_search_screen.dart';
|
|
import './screens/medicine/pharmacies_list_screen.dart';
|
|
import './screens/patients/patient_search_screen.dart';
|
|
import './screens/patients/patients_referred_screen.dart';
|
|
import './screens/patients/patients_screen.dart';
|
|
import './screens/patients/profile/insurance_approvals_screen.dart';
|
|
import './screens/patients/profile/lab_result/lab_orders_screen.dart';
|
|
import './screens/patients/profile/patient_orders_screen.dart';
|
|
import './screens/patients/profile/patient_profile_screen.dart';
|
|
import './screens/patients/profile/prescriptions/prescriptions_screen.dart';
|
|
import './screens/patients/profile/progress_note_screen.dart';
|
|
import './screens/patients/profile/radiology/radiology_screen.dart';
|
|
import './screens/patients/profile/vital_sign/vital_sign_details_screen.dart';
|
|
import './screens/patients/profile/vital_sign/vital_sign_item_details_screen.dart';
|
|
import './screens/profile_screen.dart';
|
|
import './screens/settings/settings_screen.dart';
|
|
import 'landing_page.dart';
|
|
import 'screens/doctor/doctor_reply_screen.dart';
|
|
import 'screens/live_care/panding_list.dart';
|
|
import 'screens/patients/profile/referral/my-referral-detail-screen.dart';
|
|
import 'screens/patients/profile/referral/refer-patient-screen.dart';
|
|
import 'screens/patients/vital-signs-screen.dart';
|
|
|
|
const String INIT_ROUTE = ROOT;
|
|
const String ROOT = 'root';
|
|
const String HOME = '/';
|
|
const String LOGIN = 'login';
|
|
const String PROFILE = 'profile';
|
|
const String CHANGE_PASSWORD = 'change-password';
|
|
const String VERIFY_ACCOUNT = 'verify-account';
|
|
const String VERIFICATION_METHODS = 'verification-methods';
|
|
const String MY_SCHEDULE = 'my-schedule';
|
|
const String QR_READER = 'qr-reader';
|
|
const String PATIENT_SEARCH = 'patients/patient-search';
|
|
const String PATIENTS = 'patients/patients';
|
|
const String PATIENTS_PROFILE = 'patients/patients-profile';
|
|
const String PATIENTS_REFERRED = 'patients/patients-referred';
|
|
const String BLOOD_BANK = 'blood-bank';
|
|
const String DOCTOR_REPLY = 'doctor-reply';
|
|
const String MEDICINE_SEARCH = 'medicine/medicine-search';
|
|
const String PHARMACIES_LIST = 'medicine/pharmacies-list';
|
|
const String MESSAGES = 'messages';
|
|
const String SERVICES = 'services';
|
|
const String SETTINGS = 'settings';
|
|
const String VITAL_SIGN = 'patients/vital-sign';
|
|
const String LAB_ORDERS = 'patients/lab_orders';
|
|
const String PRESCRIPTIONS = 'patients/prescription';
|
|
const String RADIOLOGY = 'patients/radiology';
|
|
const String PROGRESS_NOTE = 'patients/progress-note';
|
|
const String REFER_PATIENT = 'patients/refer-patient';
|
|
const String MY_REFERRAL_DETAIL = 'my_referral_detail';
|
|
const String REFER_PATIENT_TO_DOCTOR = 'patients/refer-to-doctor';
|
|
const String PATIENT_ORDERS = 'patients/patient_orders';
|
|
const String PATIENT_INSURANCE_APPROVALS =
|
|
'patients/patient_insurance_approvals';
|
|
const String VITAL_SIGN_DETAILS = 'patients/vital-sign-details';
|
|
const String PATIENT_VITAL_SIGN = 'patients/vital-sign-data';
|
|
const String CREATE_EPISODE = 'patients/create-episode';
|
|
|
|
const String BODY_MEASUREMENTS = 'patients/body-measurements';
|
|
const String IN_PATIENT_PRESCRIPTIONS_DETAILS = 'patients/prescription-details';
|
|
// const String VIDEO_CALL = 'video-call';
|
|
const String LIVECARE_PENDING_LIST = 'livecare-pendinglist';
|
|
// const String LIVECARE_END_DIALOG = 'video-call/EndCallDialogBox';
|
|
var routes = {
|
|
ROOT: (_) => RootPage(),
|
|
HOME: (_) => LandingPage(),
|
|
LOGIN: (_) => Loginsreen(),
|
|
PROFILE: (_) => ProfileScreen(),
|
|
MY_SCHEDULE: (_) => MyScheduleScreen(),
|
|
PATIENT_SEARCH: (_) => PatientSearchScreen(),
|
|
PATIENTS_REFERRED: (_) => PatientReferredScreen(),
|
|
PATIENTS: (_) => PatientsScreen(),
|
|
QR_READER: (_) => QrReaderScreen(),
|
|
BLOOD_BANK: (_) => BloodBankScreen(),
|
|
DOCTOR_REPLY: (_) => DoctorReplyScreen(),
|
|
MEDICINE_SEARCH: (_) => MedicineSearchScreen(),
|
|
SETTINGS: (_) => SettingsScreen(),
|
|
CHANGE_PASSWORD: (_) => ChangePasswordScreen(),
|
|
VERIFY_ACCOUNT: (_) => VerifyAccountScreen(),
|
|
VERIFICATION_METHODS: (_) => VerificationMethodsScreen(),
|
|
PATIENTS_PROFILE: (_) => PatientProfileScreen(),
|
|
PHARMACIES_LIST: (_) => PharmaciesListScreen(
|
|
itemID: null,
|
|
),
|
|
MESSAGES: (_) => MessagesScreen(),
|
|
SERVICES: (_) => ServicesScreen(),
|
|
LAB_ORDERS: (_) => LabOrdersScreen(),
|
|
PRESCRIPTIONS: (_) => PrescriptionScreen(),
|
|
RADIOLOGY: (_) => RadiologyScreen(),
|
|
PROGRESS_NOTE: (_) => ProgressNoteScreen(),
|
|
REFER_PATIENT: (_) => ReferPatientScreen(),
|
|
REFER_PATIENT_TO_DOCTOR: (_) => PatientMakeReferralScreen(),
|
|
PATIENT_ORDERS: (_) => PatientsOrdersScreen(),
|
|
PATIENT_INSURANCE_APPROVALS: (_) => InsuranceApprovalsScreen(),
|
|
VITAL_SIGN_DETAILS: (_) => VitalSignDetailsScreen(),
|
|
PATIENT_VITAL_SIGN: (_) => PatientVitalSignScreen(),
|
|
CREATE_EPISODE:(_)=>AddSOAPIndex(),
|
|
BODY_MEASUREMENTS: (_) => VitalSignItemDetailsScreen(),
|
|
IN_PATIENT_PRESCRIPTIONS_DETAILS: (_) => InpatientPrescriptionDetailsScreen(),
|
|
// VIDEO_CALL: (_) => VideoCallPage(patientData: null),
|
|
LIVECARE_PENDING_LIST: (_) => LiveCarePandingListScreen(),
|
|
// LIVECARE_END_DIALOG: (_) => EndCallDialogBox()
|
|
MY_REFERRAL_DETAIL: (_) => MyReferralDetailScreen(),
|
|
};
|