diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 82805ecc..9cd98ee3 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -30,7 +30,7 @@
+
+
+
+
+
diff --git a/assets/images/svgs/bottom_nav/home-active.svg b/assets/images/svgs/bottom_nav/home-active.svg
new file mode 100644
index 00000000..8357b01b
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/home-active.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/bottom_nav/home.svg b/assets/images/svgs/bottom_nav/home.svg
new file mode 100644
index 00000000..725dd1f9
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/home.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/bottom_nav/qr reader.svg b/assets/images/svgs/bottom_nav/qr reader.svg
new file mode 100644
index 00000000..403e3137
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/qr reader.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/images/svgs/bottom_nav/reader-active.svg b/assets/images/svgs/bottom_nav/reader-active.svg
new file mode 100644
index 00000000..36e7657c
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/reader-active.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/images/svgs/bottom_nav/reply-active.svg b/assets/images/svgs/bottom_nav/reply-active.svg
new file mode 100644
index 00000000..3fc5bd03
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/reply-active.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/svgs/bottom_nav/schedule-active.svg b/assets/images/svgs/bottom_nav/schedule-active.svg
new file mode 100644
index 00000000..a48e1652
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/schedule-active.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/bottom_nav/schedule.svg b/assets/images/svgs/bottom_nav/schedule.svg
new file mode 100644
index 00000000..98232af9
--- /dev/null
+++ b/assets/images/svgs/bottom_nav/schedule.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/female avatar.svg b/assets/images/svgs/female avatar.svg
new file mode 100644
index 00000000..1cf831e1
--- /dev/null
+++ b/assets/images/svgs/female avatar.svg
@@ -0,0 +1,57 @@
+
diff --git a/assets/images/svgs/female.svg b/assets/images/svgs/female.svg
new file mode 100644
index 00000000..307729c2
--- /dev/null
+++ b/assets/images/svgs/female.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/inpatient.svg b/assets/images/svgs/inpatient.svg
new file mode 100644
index 00000000..0f6b79bb
--- /dev/null
+++ b/assets/images/svgs/inpatient.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svgs/male avatar.svg b/assets/images/svgs/male avatar.svg
new file mode 100644
index 00000000..ff177416
--- /dev/null
+++ b/assets/images/svgs/male avatar.svg
@@ -0,0 +1,56 @@
+
diff --git a/assets/images/svgs/male.svg b/assets/images/svgs/male.svg
new file mode 100644
index 00000000..80cd0c7f
--- /dev/null
+++ b/assets/images/svgs/male.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/menu.svg b/assets/images/svgs/menu.svg
new file mode 100644
index 00000000..6808f518
--- /dev/null
+++ b/assets/images/svgs/menu.svg
@@ -0,0 +1,19 @@
+
diff --git a/assets/images/svgs/no data.svg b/assets/images/svgs/no data.svg
new file mode 100644
index 00000000..c54f0430
--- /dev/null
+++ b/assets/images/svgs/no data.svg
@@ -0,0 +1,69 @@
+
diff --git a/assets/images/svgs/profile_screen/ECG.svg b/assets/images/svgs/profile_screen/ECG.svg
new file mode 100644
index 00000000..cc697f9f
--- /dev/null
+++ b/assets/images/svgs/profile_screen/ECG.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/Order Procedures.svg b/assets/images/svgs/profile_screen/Order Procedures.svg
new file mode 100644
index 00000000..9eb44dfb
--- /dev/null
+++ b/assets/images/svgs/profile_screen/Order Procedures.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/Progress notes.svg b/assets/images/svgs/profile_screen/Progress notes.svg
new file mode 100644
index 00000000..5fc41757
--- /dev/null
+++ b/assets/images/svgs/profile_screen/Progress notes.svg
@@ -0,0 +1,13 @@
+
diff --git a/assets/images/svgs/profile_screen/Radiology.svg b/assets/images/svgs/profile_screen/Radiology.svg
new file mode 100644
index 00000000..8f1d8a46
--- /dev/null
+++ b/assets/images/svgs/profile_screen/Radiology.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/UCAF.svg b/assets/images/svgs/profile_screen/UCAF.svg
new file mode 100644
index 00000000..79100a55
--- /dev/null
+++ b/assets/images/svgs/profile_screen/UCAF.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/admission req.svg b/assets/images/svgs/profile_screen/admission req.svg
new file mode 100644
index 00000000..1f454266
--- /dev/null
+++ b/assets/images/svgs/profile_screen/admission req.svg
@@ -0,0 +1,11 @@
+
diff --git a/assets/images/svgs/profile_screen/booked.svg b/assets/images/svgs/profile_screen/booked.svg
new file mode 100644
index 00000000..bda90bcf
--- /dev/null
+++ b/assets/images/svgs/profile_screen/booked.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/svgs/profile_screen/create episode.svg b/assets/images/svgs/profile_screen/create episode.svg
new file mode 100644
index 00000000..88c1cc21
--- /dev/null
+++ b/assets/images/svgs/profile_screen/create episode.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svgs/profile_screen/diabetic chart.svg b/assets/images/svgs/profile_screen/diabetic chart.svg
new file mode 100644
index 00000000..b558bc64
--- /dev/null
+++ b/assets/images/svgs/profile_screen/diabetic chart.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/svgs/profile_screen/diagnosis.svg b/assets/images/svgs/profile_screen/diagnosis.svg
new file mode 100644
index 00000000..b0c9b83c
--- /dev/null
+++ b/assets/images/svgs/profile_screen/diagnosis.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/discharge summary.svg b/assets/images/svgs/profile_screen/discharge summary.svg
new file mode 100644
index 00000000..2edd6a14
--- /dev/null
+++ b/assets/images/svgs/profile_screen/discharge summary.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/images/svgs/profile_screen/health summary.svg b/assets/images/svgs/profile_screen/health summary.svg
new file mode 100644
index 00000000..186af7a6
--- /dev/null
+++ b/assets/images/svgs/profile_screen/health summary.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/svgs/profile_screen/insurance approval.svg b/assets/images/svgs/profile_screen/insurance approval.svg
new file mode 100644
index 00000000..f6a5885f
--- /dev/null
+++ b/assets/images/svgs/profile_screen/insurance approval.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svgs/profile_screen/lab results.svg b/assets/images/svgs/profile_screen/lab results.svg
new file mode 100644
index 00000000..5e03a2df
--- /dev/null
+++ b/assets/images/svgs/profile_screen/lab results.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/livecare.svg b/assets/images/svgs/profile_screen/livecare.svg
new file mode 100644
index 00000000..452ffc53
--- /dev/null
+++ b/assets/images/svgs/profile_screen/livecare.svg
@@ -0,0 +1,10 @@
+
diff --git a/assets/images/svgs/profile_screen/medical report.svg b/assets/images/svgs/profile_screen/medical report.svg
new file mode 100644
index 00000000..f40a9607
--- /dev/null
+++ b/assets/images/svgs/profile_screen/medical report.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/modify episode.svg b/assets/images/svgs/profile_screen/modify episode.svg
new file mode 100644
index 00000000..cdf5d3ab
--- /dev/null
+++ b/assets/images/svgs/profile_screen/modify episode.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svgs/profile_screen/operating report.svg b/assets/images/svgs/profile_screen/operating report.svg
new file mode 100644
index 00000000..8d9766be
--- /dev/null
+++ b/assets/images/svgs/profile_screen/operating report.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/svgs/profile_screen/order prescription.svg b/assets/images/svgs/profile_screen/order prescription.svg
new file mode 100644
index 00000000..21cadf7c
--- /dev/null
+++ b/assets/images/svgs/profile_screen/order prescription.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/svgs/profile_screen/order sheets.svg b/assets/images/svgs/profile_screen/order sheets.svg
new file mode 100644
index 00000000..c9e61e92
--- /dev/null
+++ b/assets/images/svgs/profile_screen/order sheets.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svgs/profile_screen/patient sick leave.svg b/assets/images/svgs/profile_screen/patient sick leave.svg
new file mode 100644
index 00000000..f585b177
--- /dev/null
+++ b/assets/images/svgs/profile_screen/patient sick leave.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svgs/profile_screen/pending orders.svg b/assets/images/svgs/profile_screen/pending orders.svg
new file mode 100644
index 00000000..ffe95e3b
--- /dev/null
+++ b/assets/images/svgs/profile_screen/pending orders.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/images/svgs/profile_screen/refer patient.svg b/assets/images/svgs/profile_screen/refer patient.svg
new file mode 100644
index 00000000..65c8f61e
--- /dev/null
+++ b/assets/images/svgs/profile_screen/refer patient.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/images/svgs/profile_screen/sick leave.svg b/assets/images/svgs/profile_screen/sick leave.svg
new file mode 100644
index 00000000..0774eb79
--- /dev/null
+++ b/assets/images/svgs/profile_screen/sick leave.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svgs/profile_screen/vital signs.svg b/assets/images/svgs/profile_screen/vital signs.svg
new file mode 100644
index 00000000..fe476c3c
--- /dev/null
+++ b/assets/images/svgs/profile_screen/vital signs.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/svgs/profile_screen/walkin.svg b/assets/images/svgs/profile_screen/walkin.svg
new file mode 100644
index 00000000..0ef3ecf9
--- /dev/null
+++ b/assets/images/svgs/profile_screen/walkin.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/images/svgs/verification/verify-face.svg b/assets/images/svgs/verification/verify-face.svg
new file mode 100644
index 00000000..7969cad2
--- /dev/null
+++ b/assets/images/svgs/verification/verify-face.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/images/svgs/verification/verify-finger.svg b/assets/images/svgs/verification/verify-finger.svg
new file mode 100644
index 00000000..e626bafc
--- /dev/null
+++ b/assets/images/svgs/verification/verify-finger.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/images/svgs/verification/verify-sms.svg b/assets/images/svgs/verification/verify-sms.svg
new file mode 100644
index 00000000..ae5fa9f7
--- /dev/null
+++ b/assets/images/svgs/verification/verify-sms.svg
@@ -0,0 +1,11 @@
+
diff --git a/assets/images/svgs/verification/verify-whtsapp.svg b/assets/images/svgs/verification/verify-whtsapp.svg
new file mode 100644
index 00000000..09ac85c9
--- /dev/null
+++ b/assets/images/svgs/verification/verify-whtsapp.svg
@@ -0,0 +1,12 @@
+
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index 66be39bf..80868187 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -215,7 +215,6 @@
TargetAttributes = {
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
- DevelopmentTeam = 3A359E86ZF;
LastSwiftMigration = 1100;
};
};
@@ -400,7 +399,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -416,7 +415,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 4;
- DEVELOPMENT_TEAM = 3A359E86ZF;
+ DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -485,7 +484,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -534,7 +533,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -551,7 +550,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 4;
- DEVELOPMENT_TEAM = 3A359E86ZF;
+ DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@@ -582,7 +581,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/RunnerRelease.entitlements;
CURRENT_PROJECT_VERSION = 4;
- DEVELOPMENT_TEAM = 3A359E86ZF;
+ DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
index a28140cf..bfbb2561 100644
--- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -1,6 +1,6 @@
-
-
-
-
+
+
-
-
= 400) {
onFailure(Helpers.generateContactAdminMsg(), statusCode);
} else {
var parsed = json.decode(response.body.toString());
if (parsed['ErrorType'] == 4) {
- helpers.navigateToUpdatePage(parsed['ErrorEndUserMessage'], parsed['AndroidLink'], parsed['IOSLink']);
+ helpers.navigateToUpdatePage(parsed['ErrorEndUserMessage'],
+ parsed['AndroidLink'], parsed['IOSLink']);
}
if (parsed['IsAuthenticated'] != null && !parsed['IsAuthenticated']) {
if (body['OTP_SendType'] != null) {
onFailure(getError(parsed), statusCode);
} else if (!isAllowAny) {
- await Provider.of(AppGlobal.CONTEX, listen: false).logout();
+ await Provider.of(AppGlobal.CONTEX,
+ listen: false)
+ .logout();
Helpers.showErrorToast('Your session expired Please login again');
locator().pushNamedAndRemoveUntil(ROOT);
@@ -147,10 +164,14 @@ class BaseAppClient {
String url = BASE_URL + endPoint;
try {
- Map headers = {'Content-Type': 'application/json', 'Accept': 'application/json'};
+ Map headers = {
+ 'Content-Type': 'application/json',
+ 'Accept': 'application/json'
+ };
String token = await sharedPref.getString(TOKEN);
- var languageID = await sharedPref.getStringWithDefaultValue(APP_Language, 'en');
+ var languageID =
+ await sharedPref.getStringWithDefaultValue(APP_Language, 'en');
body['SetupID'] = body.containsKey('SetupID')
? body['SetupID'] != null
? body['SetupID']
@@ -170,11 +191,12 @@ class BaseAppClient {
: PATIENT_OUT_SA_PATIENT_REQ;
if (body.containsKey('isDentalAllowedBackend')) {
- body['isDentalAllowedBackend'] = body.containsKey('isDentalAllowedBackend')
- ? body['isDentalAllowedBackend'] != null
- ? body['isDentalAllowedBackend']
- : IS_DENTAL_ALLOWED_BACKEND
- : IS_DENTAL_ALLOWED_BACKEND;
+ body['isDentalAllowedBackend'] =
+ body.containsKey('isDentalAllowedBackend')
+ ? body['isDentalAllowedBackend'] != null
+ ? body['isDentalAllowedBackend']
+ : IS_DENTAL_ALLOWED_BACKEND
+ : IS_DENTAL_ALLOWED_BACKEND;
}
body['DeviceTypeID'] = Platform.isAndroid ? 1 : 2;
@@ -196,7 +218,9 @@ class BaseAppClient {
: PATIENT_TYPE_ID;
body['TokenID'] = body.containsKey('TokenID') ? body['TokenID'] : token;
- body['PatientID'] = body['PatientID'] != null ? body['PatientID'] : patient.patientId ?? patient.patientMRN;
+ body['PatientID'] = body['PatientID'] != null
+ ? body['PatientID']
+ : patient.patientId ?? patient.patientMRN;
body['PatientOutSA'] = 0; //user['OutSA']; //TODO change it
body['SessionID'] = SESSION_ID; //getSe
@@ -209,9 +233,11 @@ class BaseAppClient {
print("URL : $url");
print("Body : ${json.encode(body)}");
-
+ var asd = json.encode(body);
+ var asd2;
if (await Helpers.checkConnection()) {
- final response = await http.post(url.trim(), body: json.encode(body), headers: headers);
+ final response = await http.post(url.trim(),
+ body: json.encode(body), headers: headers);
final int statusCode = response.statusCode;
print("statusCode :$statusCode");
if (statusCode < 200 || statusCode >= 400 || json == null) {
@@ -223,7 +249,8 @@ class BaseAppClient {
onSuccess(parsed, statusCode);
} else {
if (parsed['ErrorType'] == 4) {
- helpers.navigateToUpdatePage(parsed['ErrorEndUserMessage'], parsed['AndroidLink'], parsed['IOSLink']);
+ helpers.navigateToUpdatePage(parsed['ErrorEndUserMessage'],
+ parsed['AndroidLink'], parsed['IOSLink']);
}
if (parsed['IsAuthenticated'] == null) {
if (parsed['isSMSSent'] == true) {
@@ -239,20 +266,28 @@ class BaseAppClient {
onFailure(getError(parsed), statusCode);
}
}
- } else if (parsed['MessageStatus'] == 1 || parsed['SMSLoginRequired'] == true) {
+ } else if (parsed['MessageStatus'] == 1 ||
+ parsed['SMSLoginRequired'] == true) {
onSuccess(parsed, statusCode);
- } else if (parsed['MessageStatus'] == 2 && parsed['IsAuthenticated']) {
+ } else if (parsed['MessageStatus'] == 2 &&
+ parsed['IsAuthenticated']) {
if (parsed['SameClinicApptList'] != null) {
onSuccess(parsed, statusCode);
} else {
- if (parsed['message'] == null && parsed['ErrorEndUserMessage'] == null) {
+ if (parsed['message'] == null &&
+ parsed['ErrorEndUserMessage'] == null) {
if (parsed['ErrorSearchMsg'] == null) {
- onFailure("Server Error found with no available message", statusCode);
+ onFailure("Server Error found with no available message",
+ statusCode);
} else {
onFailure(parsed['ErrorSearchMsg'], statusCode);
}
} else {
- onFailure(parsed['message'] ?? parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'], statusCode);
+ onFailure(
+ parsed['message'] ??
+ parsed['ErrorEndUserMessage'] ??
+ parsed['ErrorMessage'],
+ statusCode);
}
}
} else {
@@ -262,7 +297,9 @@ class BaseAppClient {
if (parsed['message'] != null) {
onFailure(parsed['message'] ?? parsed['message'], statusCode);
} else {
- onFailure(parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'], statusCode);
+ onFailure(
+ parsed['ErrorEndUserMessage'] ?? parsed['ErrorMessage'],
+ statusCode);
}
}
}
@@ -285,8 +322,12 @@ class BaseAppClient {
if (parsed["ValidationErrors"]["ValidationErrors"] != null &&
parsed["ValidationErrors"]["ValidationErrors"].length != 0) {
- for (var i = 0; i < parsed["ValidationErrors"]["ValidationErrors"].length; i++) {
- error = error + parsed["ValidationErrors"]["ValidationErrors"][i]["Messages"][0] + "\n";
+ for (var i = 0;
+ i < parsed["ValidationErrors"]["ValidationErrors"].length;
+ i++) {
+ error = error +
+ parsed["ValidationErrors"]["ValidationErrors"][i]["Messages"][0] +
+ "\n";
}
}
}
diff --git a/lib/config/config.dart b/lib/config/config.dart
index b8e34330..03c74f52 100644
--- a/lib/config/config.dart
+++ b/lib/config/config.dart
@@ -5,89 +5,122 @@ const ONLY_NUMBERS = "[0-9]";
const ONLY_LETTERS = "[a-zA-Z &'\"]";
const ONLY_DATE = "[0-9/]";
const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
-const BASE_URL = 'https://hmgwebservices.com/';
-// const BASE_URL = 'https://uat.hmgwebservices.com/';
+// const BASE_URL = 'https://hmgwebservices.com/';
+const BASE_URL = 'https://uat.hmgwebservices.com/';
const PHARMACY_ITEMS_URL = "Services/Lists.svc/REST/GetPharmcyItems_Region_enh";
const PHARMACY_LIST_URL = "Services/Patients.svc/REST/GetPharmcyList";
-const PATIENT_PROGRESS_NOTE_URL = "Services/DoctorApplication.svc/REST/GetProgressNoteForInPatient";
-const PATIENT_INSURANCE_APPROVALS_URL = "Services/DoctorApplication.svc/REST/GetApprovalStatusForInpatient";
-const PATIENT_ORDERS_URL = "Services/DoctorApplication.svc/REST/GetProgressNoteForInPatient";
-const PATIENT_REFER_TO_DOCTOR_URL = "Services/DoctorApplication.svc/REST/ReferToDoctor";
-const PATIENT_GET_DOCTOR_BY_CLINIC_URL = "Services/DoctorApplication.svc/REST/GetDoctorsByClinicID";
-
-const PATIENT_GET_DOCTOR_BY_CLINIC_Hospital = "Services/Doctors.svc/REST/SearchDoctorsByTime";
-
-const GET_CLINICS_FOR_DOCTOR = 'Services/DoctorApplication.svc/REST/GetClinicsForDoctor';
-const PATIENT_GET_LIST_REFERAL_URL = "Services/Lists.svc/REST/GetList_STPReferralFrequency";
-const PATIENT_GET_CLINIC_BY_PROJECT_URL = "Services/DoctorApplication.svc/REST/GetClinicsByProjectID";
+const PATIENT_PROGRESS_NOTE_URL =
+ "Services/DoctorApplication.svc/REST/GetProgressNoteForInPatient";
+const PATIENT_INSURANCE_APPROVALS_URL =
+ "Services/DoctorApplication.svc/REST/GetApprovalStatusForInpatient";
+const PATIENT_ORDERS_URL =
+ "Services/DoctorApplication.svc/REST/GetProgressNoteForInPatient";
+const PATIENT_REFER_TO_DOCTOR_URL =
+ "Services/DoctorApplication.svc/REST/ReferToDoctor";
+const PATIENT_GET_DOCTOR_BY_CLINIC_URL =
+ "Services/DoctorApplication.svc/REST/GetDoctorsByClinicID";
+
+const PATIENT_GET_DOCTOR_BY_CLINIC_Hospital =
+ "Services/Doctors.svc/REST/SearchDoctorsByTime";
+
+const GET_CLINICS_FOR_DOCTOR =
+ 'Services/DoctorApplication.svc/REST/GetClinicsForDoctor';
+const PATIENT_GET_LIST_REFERAL_URL =
+ "Services/Lists.svc/REST/GetList_STPReferralFrequency";
+const PATIENT_GET_CLINIC_BY_PROJECT_URL =
+ "Services/DoctorApplication.svc/REST/GetClinicsByProjectID";
const PROJECT_GET_INFO = "Services/DoctorApplication.svc/REST/GetProjectInfo";
const GET_CLINICS = "Services/DoctorApplication.svc/REST/GetClinics";
-const GET_REFERRAL_FACILITIES = 'Services/DoctorApplication.svc/REST/GetReferralFacilities';
+const GET_REFERRAL_FACILITIES =
+ 'Services/DoctorApplication.svc/REST/GetReferralFacilities';
const GET_PROJECTS = 'Services/DoctorApplication.svc/REST/GetProjectInfo';
-const GET_PATIENT_VITAL_SIGN = 'Services/Doctors.svc/REST/Doctor_GetPatientVitalSign';
-const GET_PATIENT_VITAL_SIGN_DATA = 'Services/DoctorApplication.svc/REST/GetVitalSigns';
-const GET_PATIENT_LAB_OREDERS = 'Services/DoctorApplication.svc/REST/GetPatientLabOreders';
+const GET_PATIENT_VITAL_SIGN =
+ 'Services/Doctors.svc/REST/Doctor_GetPatientVitalSign';
+const GET_PATIENT_VITAL_SIGN_DATA =
+ 'Services/DoctorApplication.svc/REST/GetVitalSigns';
+const GET_PATIENT_LAB_OREDERS =
+ 'Services/DoctorApplication.svc/REST/GetPatientLabOreders';
const GET_PRESCRIPTION = 'Services/Patients.svc/REST/GetPrescriptionApptList';
const GET_RADIOLOGY = 'Services/DoctorApplication.svc/REST/GetPatientRadResult';
-const GET_LIVECARE_PENDINGLIST = 'Services/DoctorApplication.svc/REST/GetPendingPatientER';
+const GET_LIVECARE_PENDINGLIST =
+ 'Services/DoctorApplication.svc/REST/GetPendingPatientER';
const START_LIVE_CARE_CALL = 'LiveCareApi/DoctorApp/CallPatient';
const LIVE_CARE_STATISTICS_FOR_CERTAIN_DOCTOR_URL =
"Lists.svc/REST/DashBoard_GetLiveCareDoctorsStatsticsForCertainDoctor";
-const GET_PRESCRIPTION_REPORT = 'Services/Patients.svc/REST/GetPrescriptionReport';
+const GET_PRESCRIPTION_REPORT =
+ 'Services/Patients.svc/REST/GetPrescriptionReport';
-const GT_MY_PATIENT_QUESTION = 'Services/DoctorApplication.svc/REST/GtMyPatientsQuestions';
+const GT_MY_PATIENT_QUESTION =
+ 'Services/DoctorApplication.svc/REST/GtMyPatientsQuestions';
-const PRM_SEARCH_PATIENT = 'Services/Patients.svc/REST/GetPatientInformation_PRM';
+const PRM_SEARCH_PATIENT =
+ 'Services/Patients.svc/REST/GetPatientInformation_PRM';
const GET_PATIENT = 'Services/DoctorApplication.svc/REST/';
-const GET_PRESCRIPTION_REPORT_FOR_IN_PATIENT = 'Services/DoctorApplication.svc/REST/GetPrescriptionReportForInPatient';
+const GET_PRESCRIPTION_REPORT_FOR_IN_PATIENT =
+ 'Services/DoctorApplication.svc/REST/GetPrescriptionReportForInPatient';
-const GET_MY_REFERRAL_PATIENT = 'Services/DoctorApplication.svc/REST/GtMyReferralPatient';
+const GET_MY_REFERRAL_PATIENT =
+ 'Services/DoctorApplication.svc/REST/GtMyReferralPatient';
const REFER_TO_DOCTOR = 'Services/DoctorApplication.svc/REST/ReferToDoctor';
-const ADD_REFERRED_DOCTOR_REMARKS = 'Services/DoctorApplication.svc/REST/AddReferredDoctorRemarks';
+const ADD_REFERRED_DOCTOR_REMARKS =
+ 'Services/DoctorApplication.svc/REST/AddReferredDoctorRemarks';
-const GET_MY_REFERRED_PATIENT = 'Services/DoctorApplication.svc/REST/GtMyReferredPatient';
+const GET_MY_REFERRED_PATIENT =
+ 'Services/DoctorApplication.svc/REST/GtMyReferredPatient';
-const GET_MY_REFERRED_OUT_PATIENT = 'Services/DoctorApplication.svc/REST/GtMyReferredOutPatient';
+const GET_MY_REFERRED_OUT_PATIENT =
+ 'Services/DoctorApplication.svc/REST/GtMyReferredOutPatient';
-const GET_PENDING_REFERRAL_PATIENT = 'Services/DoctorApplication.svc/REST/PendingReferrals';
+const GET_PENDING_REFERRAL_PATIENT =
+ 'Services/DoctorApplication.svc/REST/PendingReferrals';
-const CREATE_REFERRAL_PATIENT = 'Services/DoctorApplication.svc/REST/CreateReferral';
+const CREATE_REFERRAL_PATIENT =
+ 'Services/DoctorApplication.svc/REST/CreateReferral';
-const RESPONSE_PENDING_REFERRAL_PATIENT = 'Services/DoctorApplication.svc/REST/RespondReferral';
+const RESPONSE_PENDING_REFERRAL_PATIENT =
+ 'Services/DoctorApplication.svc/REST/RespondReferral';
const GET_PATIENT_REFERRAL = 'Services/DoctorApplication.svc/REST/GetRefferal';
const POST_UCAF = 'Services/DoctorApplication.svc/REST/PostUCAF';
-const GET_DOCTOR_WORKING_HOURS_TABLE = 'Services/Doctors.svc/REST/GetDoctorWorkingHoursTable';
+const GET_DOCTOR_WORKING_HOURS_TABLE =
+ 'Services/Doctors.svc/REST/GetDoctorWorkingHoursTable';
-const GET_PATIENT_LAB_RESULTS = 'Services/DoctorApplication.svc/REST/GetPatientLabResults';
+const GET_PATIENT_LAB_RESULTS =
+ 'Services/DoctorApplication.svc/REST/GetPatientLabResults';
const LOGIN_URL = 'Services/Sentry.svc/REST/MemberLogIN_New';
-const INSERT_DEVICE_IMEI = 'Services/DoctorApplication.svc/REST/DoctorApp_InsertOrUpdateDeviceDetails';
+const INSERT_DEVICE_IMEI =
+ 'Services/DoctorApplication.svc/REST/DoctorApp_InsertOrUpdateDeviceDetails';
// 'Services/Sentry.svc/REST/DoctorApplication_INSERTDeviceIMEI';
// const SELECT_DEVICE_IMEI =
// 'Services/Sentry.svc/REST/DoctorApplication_SELECTDeviceIMEIbyIMEI';
-const SELECT_DEVICE_IMEI = 'Services/DoctorApplication.svc/REST/DoctorApp_GetDeviceDetailsByIMEI';
+const SELECT_DEVICE_IMEI =
+ 'Services/DoctorApplication.svc/REST/DoctorApp_GetDeviceDetailsByIMEI';
const SEND_ACTIVATION_CODE_BY_OTP_NOTIFICATION_TYPE =
'Services/Sentry.svc/REST/DoctorApplication_SendActivationCodebyOTPNotificationType';
-const SEND_ACTIVATION_CODE_FOR_DOCTOR_APP = 'Services/DoctorApplication.svc/REST/SendActivationCodeForDoctorApp';
+const SEND_ACTIVATION_CODE_FOR_DOCTOR_APP =
+ 'Services/DoctorApplication.svc/REST/SendActivationCodeForDoctorApp';
-const SEND_ACTIVATION_CODE_FOR_VERIFICATION_SCREEN = 'Services/DoctorApplication.svc/REST/SendVerificationCode';
-const MEMBER_CHECK_ACTIVATION_CODE_NEW = 'Services/Sentry.svc/REST/MemberCheckActivationCode_New';
+const SEND_ACTIVATION_CODE_FOR_VERIFICATION_SCREEN =
+ 'Services/DoctorApplication.svc/REST/SendVerificationCode';
+const MEMBER_CHECK_ACTIVATION_CODE_NEW =
+ 'Services/Sentry.svc/REST/MemberCheckActivationCode_New';
-const CHECK_ACTIVATION_CODE_FOR_DOCTOR_APP = 'Services/DoctorApplication.svc/REST/CheckActivationCodeForDoctorApp';
+const CHECK_ACTIVATION_CODE_FOR_DOCTOR_APP =
+ 'Services/DoctorApplication.svc/REST/CheckActivationCodeForDoctorApp';
const GET_DOC_PROFILES = 'Services/Doctors.svc/REST/GetDocProfiles';
const TRANSFERT_TO_ADMIN = 'LiveCareApi/DoctorApp/TransferToAdmin';
@@ -95,153 +128,263 @@ const SEND_SMS_INSTRUCTIONS = 'LiveCareApi/DoctorApp/SendSMSInstruction';
const GET_ALTERNATIVE_SERVICE = 'LiveCareApi/DoctorApp/GetAlternativeServices';
const END_CALL = 'LiveCareApi/DoctorApp/EndCall';
const END_CALL_WITH_CHARGE = 'LiveCareApi/DoctorApp/CompleteCallWithCharge';
-const GET_DASHBOARD = 'Services/DoctorApplication.svc/REST/GetDoctorDashboardKPI';
-const GET_SICKLEAVE_STATISTIC = 'Services/DoctorApplication.svc/REST/PreSickLeaveStatistics';
-const ARRIVED_PATIENT_URL = 'Services/DoctorApplication.svc/REST/PatientArrivalList';
+const GET_DASHBOARD =
+ 'Services/DoctorApplication.svc/REST/GetDoctorDashboardKPI';
+const GET_SICKLEAVE_STATISTIC =
+ 'Services/DoctorApplication.svc/REST/PreSickLeaveStatistics';
+const ARRIVED_PATIENT_URL =
+ 'Services/DoctorApplication.svc/REST/PatientArrivalList';
const ADD_SICK_LEAVE = 'Services/DoctorApplication.svc/REST/PostSickLeave';
const GET_SICK_LEAVE = 'Services/Patients.svc/REST/GetPatientSickLeave';
const EXTEND_SICK_LEAVE = 'Services/DoctorApplication.svc/REST/ExtendSickLeave';
const GET_OFFTIME = 'Services/DoctorApplication.svc/REST/GetMasterLookUpList';
-const GET_COVERING_DOCTORS = 'Services/DoctorApplication.svc/REST/GetCoveringDoctor';
+const GET_COVERING_DOCTORS =
+ 'Services/DoctorApplication.svc/REST/GetCoveringDoctor';
const ADD_RESCHDEULE = 'Services/DoctorApplication.svc/REST/PostRequisition';
-const UPDATE_RESCHDEULE = 'Services/DoctorApplication.svc/REST/PatchRequisition';
-const GET_RESCHEDULE_LEAVE = 'Services/DoctorApplication.svc/REST/GetRequisition';
-const GET_PRESCRIPTION_LIST = 'Services/DoctorApplication.svc/REST/GetPrescription';
-
-const POST_PRESCRIPTION_LIST = 'Services/DoctorApplication.svc/REST/PostPrescription';
-const GET_PROCEDURE_LIST = 'Services/DoctorApplication.svc/REST/GetOrderedProcedure';
+const UPDATE_RESCHDEULE =
+ 'Services/DoctorApplication.svc/REST/PatchRequisition';
+const GET_RESCHEDULE_LEAVE =
+ 'Services/DoctorApplication.svc/REST/GetRequisition';
+const GET_PRESCRIPTION_LIST =
+ 'Services/DoctorApplication.svc/REST/GetPrescription';
+
+const POST_PRESCRIPTION_LIST =
+ 'Services/DoctorApplication.svc/REST/PostPrescription';
+const GET_PROCEDURE_LIST =
+ 'Services/DoctorApplication.svc/REST/GetOrderedProcedure';
const POST_PROCEDURE_LIST = 'Services/DoctorApplication.svc/REST/PostProcedure';
-const GET_PATIENT_ARRIVAL_LIST = 'Services/DoctorApplication.svc/REST/PatientArrivalList';
+const GET_PATIENT_ARRIVAL_LIST =
+ 'Services/DoctorApplication.svc/REST/PatientArrivalList';
-const GET_PATIENT_IN_PATIENT_LIST = 'Services/DoctorApplication.svc/REST/GetMyInPatient';
+const GET_PATIENT_IN_PATIENT_LIST =
+ 'Services/DoctorApplication.svc/REST/GetMyInPatient';
-const Verify_Referral_Doctor_Remarks = 'Services/DoctorApplication.svc/REST/VerifyReferralDoctorRemarks';
+const Verify_Referral_Doctor_Remarks =
+ 'Services/DoctorApplication.svc/REST/VerifyReferralDoctorRemarks';
///Lab Order
const GET_Patient_LAB_ORDERS = 'Services/Patients.svc/REST/GetPatientLabOrders';
-const GET_Patient_LAB_SPECIAL_RESULT = 'Services/Patients.svc/REST/GetPatientLabSpecialResults';
-const SEND_LAB_RESULT_EMAIL = 'Services/Notifications.svc/REST/SendLabReportEmail';
-const GET_Patient_LAB_RESULT = 'Services/Patients.svc/REST/GetPatientLabResults';
-const GET_Patient_LAB_ORDERS_RESULT = 'Services/Patients.svc/REST/GetPatientLabOrdersResults';
+const GET_Patient_LAB_SPECIAL_RESULT =
+ 'Services/Patients.svc/REST/GetPatientLabSpecialResults';
+const SEND_LAB_RESULT_EMAIL =
+ 'Services/Notifications.svc/REST/SendLabReportEmail';
+const GET_Patient_LAB_RESULT =
+ 'Services/Patients.svc/REST/GetPatientLabResults';
+const GET_Patient_LAB_ORDERS_RESULT =
+ 'Services/Patients.svc/REST/GetPatientLabOrdersResults';
const GET_PATIENT_LAB_ORDERS_RESULT_HISTORY_BY_DESCRIPTION =
'Services/Patients.svc/REST/GetPatientLabOrdersResultsHistoryByDescription';
// SOAP
const GET_ALLERGIES = 'Services/DoctorApplication.svc/REST/GetAllergies';
-const GET_MASTER_LOOKUP_LIST = 'Services/DoctorApplication.svc/REST/GetMasterLookUpList';
+const GET_MASTER_LOOKUP_LIST =
+ 'Services/DoctorApplication.svc/REST/GetMasterLookUpList';
const POST_EPISODE = 'Services/DoctorApplication.svc/REST/PostEpisode';
-const POST_EPISODE_FOR_IN_PATIENT = 'Services/DoctorApplication.svc/REST/PostEpisodeForInpatient';
+const POST_EPISODE_FOR_IN_PATIENT =
+ 'Services/DoctorApplication.svc/REST/PostEpisodeForInpatient';
const POST_ALLERGY = 'Services/DoctorApplication.svc/REST/PostAllergies';
const POST_HISTORY = 'Services/DoctorApplication.svc/REST/PostHistory';
-const POST_CHIEF_COMPLAINT = 'Services/DoctorApplication.svc/REST/PostChiefcomplaint';
-const POST_PHYSICAL_EXAM = 'Services/DoctorApplication.svc/REST/PostPhysicalExam';
-const POST_PROGRESS_NOTE = '/Services/DoctorApplication.svc/REST/PostProgressNote';
+const POST_CHIEF_COMPLAINT =
+ 'Services/DoctorApplication.svc/REST/PostChiefcomplaint';
+const POST_PHYSICAL_EXAM =
+ 'Services/DoctorApplication.svc/REST/PostPhysicalExam';
+const POST_PROGRESS_NOTE =
+ '/Services/DoctorApplication.svc/REST/PostProgressNote';
const POST_ASSESSMENT = 'Services/DoctorApplication.svc/REST/PostAssessment';
const PATCH_ALLERGY = 'Services/DoctorApplication.svc/REST/PatchAllergies';
const PATCH_HISTORY = 'Services/DoctorApplication.svc/REST/PatchHistory';
-const PATCH_CHIEF_COMPLAINT = 'Services/DoctorApplication.svc/REST/PatchChiefcomplaint';
+const PATCH_CHIEF_COMPLAINT =
+ 'Services/DoctorApplication.svc/REST/PatchChiefcomplaint';
-const PATCH_PHYSICAL_EXAM = 'Services/DoctorApplication.svc/REST/PatchPhysicalExam';
-const PATCH_PROGRESS_NOTE = 'Services/DoctorApplication.svc/REST/PatchProgressNote';
+const PATCH_PHYSICAL_EXAM =
+ 'Services/DoctorApplication.svc/REST/PatchPhysicalExam';
+const PATCH_PROGRESS_NOTE =
+ 'Services/DoctorApplication.svc/REST/PatchProgressNote';
const PATCH_ASSESSMENT = 'Services/DoctorApplication.svc/REST/PatchAssessment';
const GET_ALLERGY = 'Services/DoctorApplication.svc/REST/GetAllergies';
const GET_HISTORY = 'Services/DoctorApplication.svc/REST/GetHistory';
-const GET_CHIEF_COMPLAINT = 'Services/DoctorApplication.svc/REST/GetChiefcomplaint';
+const GET_CHIEF_COMPLAINT =
+ 'Services/DoctorApplication.svc/REST/GetChiefcomplaint';
const GET_PHYSICAL_EXAM = 'Services/DoctorApplication.svc/REST/GetPhysicalExam';
const GET_PROGRESS_NOTE = 'Services/DoctorApplication.svc/REST/GetProgressNote';
const GET_ASSESSMENT = 'Services/DoctorApplication.svc/REST/GetAssessment';
-const GET_ORDER_PROCEDURE = 'Services/DoctorApplication.svc/REST/GetOrderedProcedure';
+const GET_ORDER_PROCEDURE =
+ 'Services/DoctorApplication.svc/REST/GetOrderedProcedure';
-const GET_LIST_CATEGORISE = 'Services/DoctorApplication.svc/REST/GetProcedureCategories';
+const GET_LIST_CATEGORISE =
+ 'Services/DoctorApplication.svc/REST/GetProcedureCategories';
-const GET_CATEGORISE_PROCEDURE = 'Services/DoctorApplication.svc/REST/GetProcedure';
+const GET_CATEGORISE_PROCEDURE =
+ 'Services/DoctorApplication.svc/REST/GetProcedure';
const UPDATE_PROCEDURE = 'Services/DoctorApplication.svc/REST/PatchProcedure';
-const UPDATE_PRESCRIPTION = 'Services/DoctorApplication.svc/REST/PatchPrescription';
+const UPDATE_PRESCRIPTION =
+ 'Services/DoctorApplication.svc/REST/PatchPrescription';
const SEARCH_DRUG = 'Services/DoctorApplication.svc/REST/GetMedicationList';
-const DRUG_TO_DRUG = 'Services/DoctorApplication.svc/REST/DrugToDrugInteraction';
+const DRUG_TO_DRUG =
+ 'Services/DoctorApplication.svc/REST/DrugToDrugInteraction';
const GET_MEDICAL_FILE = 'Services/DoctorApplication.svc/REST/GetMedicalFile';
const GET_FLOORS = 'Services/DoctorApplication.svc/REST/GetFloors';
const GET_WARDS = 'Services/DoctorApplication.svc/REST/GetWards';
-const GET_ROOM_CATEGORIES = 'Services/DoctorApplication.svc/REST/GetRoomCategories';
-const GET_DIAGNOSIS_TYPES = 'Services/DoctorApplication.svc/REST/DiagnosisTypes';
+const GET_ROOM_CATEGORIES =
+ 'Services/DoctorApplication.svc/REST/GetRoomCategories';
+const GET_DIAGNOSIS_TYPES =
+ 'Services/DoctorApplication.svc/REST/DiagnosisTypes';
const GET_DIET_TYPES = 'Services/DoctorApplication.svc/REST/DietTypes';
const GET_ICD_CODES = 'Services/DoctorApplication.svc/REST/GetICDCodes';
-const POST_ADMISSION_REQUEST = 'Services/DoctorApplication.svc/REST/PostAdmissionRequest';
-const GET_ITEM_BY_MEDICINE = 'Services/DoctorApplication.svc/REST/GetItemByMedicineCode';
+const POST_ADMISSION_REQUEST =
+ 'Services/DoctorApplication.svc/REST/PostAdmissionRequest';
+const GET_ITEM_BY_MEDICINE =
+ 'Services/DoctorApplication.svc/REST/GetItemByMedicineCode';
-const GET_PROCEDURE_VALIDATION = 'Services/DoctorApplication.svc/REST/ValidateProcedures';
-const GET_BOX_QUANTITY = 'Services/DoctorApplication.svc/REST/CalculateBoxQuantity';
+const GET_PROCEDURE_VALIDATION =
+ 'Services/DoctorApplication.svc/REST/ValidateProcedures';
+const GET_BOX_QUANTITY =
+ 'Services/DoctorApplication.svc/REST/CalculateBoxQuantity';
///GET ECG
const GET_ECG = "Services/Patients.svc/REST/HIS_GetPatientMuseResults";
-const GET_MY_REFERRAL_INPATIENT = "Services/DoctorApplication.svc/REST/GtMyReferralPatient";
+const GET_MY_REFERRAL_INPATIENT =
+ "Services/DoctorApplication.svc/REST/GtMyReferralPatient";
-const GET_MY_REFERRAL_OUT_PATIENT = "Services/DoctorApplication.svc/REST/GtMyReferralForOutPatient";
+const GET_MY_REFERRAL_OUT_PATIENT =
+ "Services/DoctorApplication.svc/REST/GtMyReferralForOutPatient";
-const GET_MY_DISCHARGE_PATIENT = "Services/DoctorApplication.svc/REST/GtMyDischargeReferralPatient";
-const GET_DISCHARGE_PATIENT = "Services/DoctorApplication.svc/REST/GtMyDischargePatient";
+const GET_MY_DISCHARGE_PATIENT =
+ "Services/DoctorApplication.svc/REST/GtMyDischargeReferralPatient";
+const GET_DISCHARGE_PATIENT =
+ "Services/DoctorApplication.svc/REST/GtMyDischargePatient";
-const GET_PAtIENTS_INSURANCE_APPROVALS = "Services/Patients.svc/REST/GetApprovalStatus";
+const GET_PAtIENTS_INSURANCE_APPROVALS =
+ "Services/Patients.svc/REST/GetApprovalStatus";
const GET_RAD_IMAGE_URL = 'Services/Patients.svc/Rest/GetRadImageURL';
const GET_PATIENT_ORDERS = 'Services/Patients.svc/REST/GetPatientRadOrders';
-const GET_IN_PATIENT_ORDERS = 'Services/DoctorApplication.svc/REST/GetPatientRadResult';
+const GET_IN_PATIENT_ORDERS =
+ 'Services/DoctorApplication.svc/REST/GetPatientRadResult';
///Prescriptions
const PRESCRIPTIONS = 'Services/Patients.svc/REST/GetPrescriptionApptList';
-const GET_PRESCRIPTIONS_ALL_ORDERS = 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
-const GET_PRESCRIPTION_REPORT_NEW = 'Services/Patients.svc/REST/INP_GetPrescriptionReport';
-const SEND_PRESCRIPTION_EMAIL = 'Services/Notifications.svc/REST/SendPrescriptionEmail';
-const GET_PRESCRIPTION_REPORT_ENH = 'Services/Patients.svc/REST/GetPrescriptionReport_enh';
+const GET_PRESCRIPTIONS_ALL_ORDERS =
+ 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
+const GET_PRESCRIPTION_REPORT_NEW =
+ 'Services/Patients.svc/REST/INP_GetPrescriptionReport';
+const SEND_PRESCRIPTION_EMAIL =
+ 'Services/Notifications.svc/REST/SendPrescriptionEmail';
+const GET_PRESCRIPTION_REPORT_ENH =
+ 'Services/Patients.svc/REST/GetPrescriptionReport_enh';
const GET_PHARMACY_LIST = "Services/Patients.svc/REST/GetPharmcyList";
-const UPDATE_PROGRESS_NOTE_FOR_INPATIENT = "Services/DoctorApplication.svc/REST/UpdateProgressNoteForInPatient";
-const CREATE_PROGRESS_NOTE_FOR_INPATIENT = "Services/DoctorApplication.svc/REST/CreateProgressNoteForInPatient";
+const UPDATE_PROGRESS_NOTE_FOR_INPATIENT =
+ "Services/DoctorApplication.svc/REST/UpdateProgressNoteForInPatient";
+const CREATE_PROGRESS_NOTE_FOR_INPATIENT =
+ "Services/DoctorApplication.svc/REST/CreateProgressNoteForInPatient";
-const GET_PRESCRIPTION_IN_PATIENT = 'Services/DoctorApplication.svc/REST/GetPrescriptionReportForInPatient';
+const GET_PRESCRIPTION_IN_PATIENT =
+ 'Services/DoctorApplication.svc/REST/GetPrescriptionReportForInPatient';
-const GET_INSURANCE_IN_PATIENT = "Services/DoctorApplication.svc/REST/GetApprovalStatusForInpatient";
+const GET_INSURANCE_IN_PATIENT =
+ "Services/DoctorApplication.svc/REST/GetApprovalStatusForInpatient";
const GET_SICK_LEAVE_PATIENT = "Services/Patients.svc/REST/GetPatientSickLeave";
-const GET_MY_OUT_PATIENT = "Services/DoctorApplication.svc/REST/GetMyOutPatient";
+const GET_MY_OUT_PATIENT =
+ "Services/DoctorApplication.svc/REST/GetMyOutPatient";
-const PATIENT_MEDICAL_REPORT_GET_LIST = "Services/Patients.svc/REST/DAPP_ListMedicalReport";
-const PATIENT_MEDICAL_REPORT_GET_TEMPLATE = "Services/Patients.svc/REST/DAPP_GetTemplateByID";
-const PATIENT_MEDICAL_REPORT_INSERT = "Services/Patients.svc/REST/DAPP_InsertMedicalReport";
-const PATIENT_MEDICAL_REPORT_VERIFIED = "Services/Patients.svc/REST/DAPP_VerifiedMedicalReport";
+const PATIENT_MEDICAL_REPORT_GET_LIST =
+ "Services/Patients.svc/REST/DAPP_ListMedicalReport";
+const PATIENT_MEDICAL_REPORT_GET_TEMPLATE =
+ "Services/Patients.svc/REST/DAPP_GetTemplateByID";
+const PATIENT_MEDICAL_REPORT_INSERT =
+ "Services/Patients.svc/REST/DAPP_InsertMedicalReport";
+const PATIENT_MEDICAL_REPORT_VERIFIED =
+ "Services/Patients.svc/REST/DAPP_VerifiedMedicalReport";
-const GET_PROCEDURE_TEMPLETE = 'Services/Doctors.svc/REST/DAPP_ProcedureTemplateGet';
+const GET_PROCEDURE_TEMPLETE =
+ 'Services/Doctors.svc/REST/DAPP_ProcedureTemplateGet';
const GET_TEMPLETE_LIST = 'Services/Doctors.svc/REST/DAPP_TemplateGet';
-const GET_PROCEDURE_TEMPLETE_DETAILS = "Services/Doctors.svc/REST/DAPP_ProcedureTemplateDetailsGet";
-const GET_PENDING_PATIENT_ER_FOR_DOCTOR_APP = 'Services/DoctorApplication.svc/REST/GetPendingPatientERForDoctorApp';
+const GET_PROCEDURE_TEMPLETE_DETAILS =
+ "Services/Doctors.svc/REST/DAPP_ProcedureTemplateDetailsGet";
+const GET_PENDING_PATIENT_ER_FOR_DOCTOR_APP =
+ 'Services/DoctorApplication.svc/REST/GetPendingPatientERForDoctorApp';
-const DOCTOR_CHECK_HAS_LIVE_CARE = "Services/DoctorApplication.svc/REST/CheckDoctorHasLiveCare";
+const DOCTOR_CHECK_HAS_LIVE_CARE =
+ "Services/DoctorApplication.svc/REST/CheckDoctorHasLiveCare";
const LIVE_CARE_IS_LOGIN = "LiveCareApi/DoctorApp/UseIsLogin";
-const ADD_REFERRED_REMARKS_NEW = "Services/DoctorApplication.svc/REST/AddReferredDoctorRemarks_New";
-const GET_SPECIAL_CLINICAL_CARE_LIST = "Services/DoctorApplication.svc/REST/GetSpecialClinicalCareList";
-const GET_SPECIAL_CLINICAL_CARE_MAPPING_LIST = "Services/DoctorApplication.svc/REST/GetSpecialClinicalCareMappingList";
-
-const INSERT_MEDICAL_REPORT = "Services/Patients.svc/REST/DAPP_InsertMedicalReport_New";
-
-const UPDATE_MEDICAL_REPORT = "Services/Patients.svc/REST/DAPP_UpdateMedicalReport";
-const GET_SICK_LEAVE_DOCTOR_APP = "Services/DoctorApplication.svc/REST/GetAllSickLeaves";
+const ADD_REFERRED_REMARKS_NEW =
+ "Services/DoctorApplication.svc/REST/AddReferredDoctorRemarks_New";
+const GET_SPECIAL_CLINICAL_CARE_LIST =
+ "Services/DoctorApplication.svc/REST/GetSpecialClinicalCareList";
+const GET_SPECIAL_CLINICAL_CARE_MAPPING_LIST =
+ "Services/DoctorApplication.svc/REST/GetSpecialClinicalCareMappingList";
+
+const INSERT_MEDICAL_REPORT =
+ "Services/Patients.svc/REST/DAPP_InsertMedicalReport_New";
+
+const UPDATE_MEDICAL_REPORT =
+ "Services/Patients.svc/REST/DAPP_UpdateMedicalReport";
+const GET_SICK_LEAVE_DOCTOR_APP =
+ "Services/DoctorApplication.svc/REST/GetAllSickLeaves";
const ADD_PATIENT_TO_DOCTOR = "LiveCareApi/DoctorApp/AssignPatientToDoctor";
const REMOVE_PATIENT_FROM_DOCTOR = "LiveCareApi/DoctorApp/BackPatientToQueue";
-const CREATE_DOCTOR_RESPONSE = "Services/DoctorApplication.svc/REST/CreateDoctorResponse";
-const GET_DOCTOR_NOT_REPLIED_COUNTS = "Services/DoctorApplication.svc/REST/DoctorApp_GetDoctorNotRepliedCounts";
-const ALL_SPECIAL_LAB_RESULT = "services/Patients.svc/REST/GetPatientLabSpecialResultsALL";
-const GET_MEDICATION_FOR_IN_PATIENT = "Services/DoctorApplication.svc/REST/Doctor_GetMedicationForInpatient";
-const GET_EPISODE_FOR_INPATIENT = "/Services/DoctorApplication.svc/REST/DoctorApp_GetEpisodeForInpatient";
+const CREATE_DOCTOR_RESPONSE =
+ "Services/DoctorApplication.svc/REST/CreateDoctorResponse";
+const GET_DOCTOR_NOT_REPLIED_COUNTS =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetDoctorNotRepliedCounts";
+const ALL_SPECIAL_LAB_RESULT =
+ "services/Patients.svc/REST/GetPatientLabSpecialResultsALL";
+const GET_MEDICATION_FOR_IN_PATIENT =
+ "Services/DoctorApplication.svc/REST/Doctor_GetMedicationForInpatient";
+const GET_EPISODE_FOR_INPATIENT =
+ "/Services/DoctorApplication.svc/REST/DoctorApp_GetEpisodeForInpatient";
+
+///Operation Details Services
+
+const GET_RESERVATIONS =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetReservationDetails";
+const GET_OPERATION_DETAILS =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetOperationDetails";
+const UPDATE_OPERATION_REPORT =
+ "Services/DoctorApplication.svc/REST/DoctorApp_CreateUpdateOperationReport";
+
+const NURSING_PROGRESS_NOTE =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetNursingProgressNote";
+const GET_DIAGNOSIS_FOR_IN_PATIENT =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetDiagnosisForInPatient";
+
+const GET_DIABETIC_CHART_VALUES =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetDiabeticChartValues";
+
+const GET_PENDING_ORDERS =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetPendingOrdersForInPatient";
+
+const GET_ADMISSION_ORDERS =
+ "/Services/DoctorApplication.svc/REST/DoctorApp_GetAdmissionOrders";
+
+///Patient Registration Services
+const CHECK_PATIENT_FOR_REGISTRATION =
+ "Services/Authentication.svc/REST/CheckPatientForRegisteration";
+const SEND_ACTIVATION_CODE_BY_OTP_NOT_TYPE_FOR_REGISTRATION =
+ "Services/Authentication.svc/REST/SendActivationCodebyOTPNotificationTypeForRegistration";
+const CHECK_ACTIVATION_CODE_FOR_PATIENT =
+ "Services/Authentication.svc/REST/CheckActivationCode";
+const PATIENT_REGISTRATION =
+ "Services/Authentication.svc/REST/PatientRegistration";
+const GET_PATIENT_INFO = "Services/NHIC.svc/REST/GetPatientInfo";
+
+/// Discharge Summary
+const GET_PENDING_DISCHARGE_SUMMARY =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetPendingDischargeSummary";
+const GET_ALL_DISCHARGE_SUMMARY =
+ "Services/DoctorApplication.svc/REST/DoctorApp_GetDischargeSummary";
var selectedPatientType = 1;
@@ -312,5 +455,7 @@ const TIMER_MIN = 10;
class AppGlobal {
static var CONTEX;
- static Color appPrimaryColor = Color(0xFFB9382C);
+ static Color appRedColor = Color(0xFFD02127);
+ static Color appGreenColor = Color(0xFF359846);
+ static Color appTextColor = Color(0xFF2B353E);
}
diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart
index 9b91015f..09562b9f 100644
--- a/lib/config/localized_values.dart
+++ b/lib/config/localized_values.dart
@@ -1,7 +1,10 @@
const Map> localizedValues = {
"dashboardScreenToolbarTitle": {"ar": "الرئيسة", "en": "Home"},
"settings": {"en": "Settings", "ar": "الاعدادات"},
- "areYouSureYouWantTo": {"en": "Are you sure you want to", "ar": "هل انت متاكد من انك تريد أن"},
+ "areYouSureYouWantTo": {
+ "en": "Are you sure you want to",
+ "ar": "هل انت متاكد من انك تريد أن"
+ },
"language": {"en": "App Language", "ar": "لغة التطبيق"},
"lanEnglish": {"en": "English", "ar": "English"},
"lanArabic": {"en": "العربية", "ar": "العربية"},
@@ -12,18 +15,27 @@ const Map> localizedValues = {
"mobileNo": {"en": "Mobile No", "ar": "رقم الجوال"},
"messagesScreenToolbarTitle": {"en": "Messages", "ar": "الرسائل"},
"mySchedule": {"en": "Schedule", "ar": "جدولي"},
- "errorNoSchedule": {"en": "You don't have any Schedule", "ar": "ليس لديك أي جدول"},
+ "errorNoSchedule": {
+ "en": "You don't have any Schedule",
+ "ar": "ليس لديك أي جدول"
+ },
"verify": {"en": "VERIFY", "ar": "تحقق"},
"referralDoctor": {"en": "Referral Doctor", "ar": "الطبيب المُحول إليه"},
"referringClinic": {"en": "Referring Clinic", "ar": "العيادة المُحول إليها"},
"frequency": {"en": "Frequency", "ar": "تكرر"},
"priority": {"en": "Priority", "ar": "الأولوية"},
"maxResponseTime": {"en": "Max Response Time", "ar": "الوقت الأقصى للرد"},
- "clinicDetailsandRemarks": {"en": "Clinic Details and Remarks", "ar": "ملاحضات وتفاصيل العيادة"},
+ "clinicDetailsandRemarks": {
+ "en": "Clinic Details and Remarks",
+ "ar": "ملاحضات وتفاصيل العيادة"
+ },
"answerSuggestions": {"en": "Answer/Suggestions", "ar": "الرد / الاقتراحات"},
"outPatients": {"en": "Out Patient", "ar": "العيادات الخارجية"},
"myOutPatient": {"en": "My OutPatients", "ar": "مرضى العيادات الخارجية"},
- "myOutPatient_2lines": {"en": "My\nOutPatients", "ar": "مريض\nالعيادات الخارجية"},
+ "myOutPatient_2lines": {
+ "en": "My\nOutPatients",
+ "ar": "مريض\nالعيادات الخارجية"
+ },
"searchPatient": {"en": "Search Patients", "ar": "البحث عن مريض"},
"searchPatientDashBoard": {"en": "Search\nPatients", "ar": "البحث\nعن مريض"},
"searchAbout": {"en": "Search", "ar": "البحث عن"},
@@ -40,14 +52,17 @@ const Map> localizedValues = {
"radiology": {"en": "Radiology", "ar": "الأشعة"},
"service": {"en": "Service", "ar": "خدمة"},
"referral": {"en": "Referral", "ar": "الإحالة"},
- "inPatient": {"en": "InPatients", "ar": "مرضاي"},
- "myInPatient": {"en": "My\nInPatients", "ar": "مرضاي\nالمنومين"},
- "myInPatientTitle": {"en": "My InPatients", "ar": "مرضاي المنومين"},
+ "inPatient": {"en": "In Patients", "ar": "مرضاي"},
+ "myInPatient": {"en": "My\n In Patients", "ar": "مرضاي\nالمنومين"},
+ "myInPatientTitle": {"en": "My Patients", "ar": "مرضاي المنومين"},
"inPatientLabel": {"en": "InPatients", "ar": "المريض المنوم"},
- "inPatientAll": {"en": "All InPatients", "ar": "جميع المرضى المنومين"},
+ "inPatientAll": {"en": "All Patients", "ar": "جميع المرضى المنومين"},
"operations": {"en": "Operations", "ar": "عمليات"},
"patientServices": {"en": "Patient Services", "ar": "خدمات المرضى"},
- "searchMedicineDashboard": {"en": "Search\nMedicines", "ar": "بحث\nعن الدواء"},
+ "searchMedicineDashboard": {
+ "en": "Search\nMedicines",
+ "ar": "بحث\nعن الدواء"
+ },
"searchMedicine": {"en": "Search Medicines", "ar": "بحث عن الدواء"},
"myReferralPatient": {"en": "My Referral Patient", "ar": "مرضى الاحالة"},
"referPatient": {"en": "Referral Patient", "ar": "إحالة مريض"},
@@ -63,14 +78,20 @@ const Map> localizedValues = {
"patientFile": {"en": "Patient File", "ar": "ملف المريض"},
"familyMedicine": {"en": "Family Medicine Clinic", "ar": "عيادة طب الأسرة"},
"search": {"en": "Search", "ar": "بحث "},
- "onlyArrivedPatient": {"en": "Only Arrived Patient", "ar": "المريض الذي حضر للموعد"},
+ "onlyArrivedPatient": {
+ "en": "Only Arrived Patient",
+ "ar": "المريض الذي حضر للموعد"
+ },
"searchMedicineNameHere": {"en": "Search Medicine ", "ar": "ابحث هنا"},
"youCanFind": {"en": "You Can Find ", "ar": "تستطيع ان تجد "},
"itemsInSearch": {"en": "items in search", "ar": "عناصر في البحث"},
"qr": {"en": "QR", "ar": "QR"},
"reader": {"en": "Reader", "ar": "قارىء رمز ال"},
"startScanning": {"en": "Start Scanning", "ar": "بدء المسح"},
- "scanQrCode": {"en": "scan Qr code to retrieve patient profile", "ar": "مسح رمزاال QR لاسترداد ملف تعريف المريض"},
+ "scanQrCode": {
+ "en": "scan Qr code to retrieve patient profile",
+ "ar": "مسح رمزاال QR لاسترداد ملف تعريف المريض"
+ },
"scanQr": {"en": "Scan Qr", "ar": "اقراء ال QR"},
"profile": {"en": "Profile", "ar": "ملفي الشخصي"},
"gender": {"en": "Gender", "ar": "الجنس"},
@@ -95,9 +116,15 @@ const Map> localizedValues = {
"bloodPressure": {"en": "Blood Pressure", "ar": "ضغط الدم"},
"oxygenation": {"en": "Oxygenation", "ar": "الأوكسجين"},
"painScale": {"en": "Pain Scale", "ar": "مقياس الألم"},
- "errorNoVitalSign": {"en": "You don't have any Vital Sign", "ar": "ليس لديك اي مؤشرات حيوية"},
+ "errorNoVitalSign": {
+ "en": "You don't have any Vital Sign",
+ "ar": "ليس لديك اي مؤشرات حيوية"
+ },
"labOrders": {"en": "Lab Orders", "ar": "طلبات المختبر"},
- "errorNoLabOrders": {"en": "You don\"t have any lab orders", "ar": "ليس لديك اي طلبات للمختبر"},
+ "errorNoLabOrders": {
+ "en": "You don\"t have any lab orders",
+ "ar": "ليس لديك اي طلبات للمختبر"
+ },
"answerThePatient": {"en": "answer the patient", "ar": "الرد على المريض "},
"pleaseEnterAnswer": {"en": "please enter answer", "ar": "الرجاء ادخال الرد"},
"replay": {"en": "Reply", "ar": "تاكيد"},
@@ -105,18 +132,30 @@ const Map> localizedValues = {
"progress": {"en": "Progress", "ar": "التقدم"},
"note": {"en": "Note", "ar": "ملاحظة"},
"searchNote": {"en": "Search Note", "ar": "بحث عن ملاحظة"},
- "errorNoProgressNote": {"en": "You don\"t have any Progress Note", "ar": "ليس لديك اي ملاحظة تقدم"},
+ "errorNoProgressNote": {
+ "en": "You don\"t have any Progress Note",
+ "ar": "ليس لديك اي ملاحظة تقدم"
+ },
"invoiceNo:": {"en": "Invoice No :", "ar": "رقم الفاتورة"},
"generalResult": {"en": "General Result ", "ar": "النتيجة العامة"},
"description": {"en": "Description", "ar": "الوصف"},
"value": {"en": "Value", "ar": "القيمة"},
"range": {"en": "Range", "ar": "النطاق"},
"enterId": {"en": "User ID", "ar": "معرف المستخدم"},
- "pleaseEnterYourID": {"en": "Please enter your ID", "ar": "الرجاء ادخال الهوية"},
+ "pleaseEnterYourID": {
+ "en": "Please enter your ID",
+ "ar": "الرجاء ادخال الهوية"
+ },
"enterPassword": {"en": "Password", "ar": "كلمه السر"},
- "pleaseEnterPassword": {"en": "Please Enter Password", "ar": "الرجاء ادخال الرقم السري"},
+ "pleaseEnterPassword": {
+ "en": "Please Enter Password",
+ "ar": "الرجاء ادخال الرقم السري"
+ },
"selectYourProject": {"en": "Branch", "ar": "فرع"},
- "pleaseEnterYourProject": {"en": "Please Enter Your Project", "ar": "الرجاء ادخال مستشفى"},
+ "pleaseEnterYourProject": {
+ "en": "Please Enter Your Project",
+ "ar": "الرجاء ادخال مستشفى"
+ },
"login": {"en": "Login", "ar": "تسجيل دخول"},
"drSulaimanAlHabib": {"en": "Dr Sulaiman Al Habib", "ar": "د.سليمان الحبيب"},
"welcomeTo": {"en": "Welcome to", "ar": "مرحبا بك"},
@@ -143,7 +182,10 @@ const Map> localizedValues = {
"youWillReceiveA": {"en": "You will receive a", "ar": "سوف تتلقى "},
"loginCode": {"en": "Login Code", "ar": "رمز تسجيل دخول"},
"smsBy": {"en": "By SMS", "ar": "عن طريق رسالة قصيرة"},
- "pleaseEnterTheCode": {"en": "Please enter the code", "ar": "الرجاء ادخال الرمز"},
+ "pleaseEnterTheCode": {
+ "en": "Please enter the code",
+ "ar": "الرجاء ادخال الرمز"
+ },
"youDontHaveAnyPatient": {
"en": "No data found for the selected search criteria",
"ar": "لا توجد بيانات لمعايير البحث المختارة"
@@ -155,8 +197,14 @@ const Map> localizedValues = {
"tomorrow": {"en": "Tomorrow", "ar": "الغد"},
"nextWeek": {"en": "Next Week", "ar": "الاسبوع القادم"},
"all": {"en": "All", "ar": "الجميع"},
- "errorNoInsuranceApprovals": {"en": "You don\"t have any Insurance Approvals", "ar": "ليس لديك اي موفقات تأمين"},
- "searchInsuranceApprovals": {"en": "Search InsuranceApprovals", "ar": "بحث عن موافقات التأمين"},
+ "errorNoInsuranceApprovals": {
+ "en": "You don\"t have any Insurance Approvals",
+ "ar": "ليس لديك اي موفقات تأمين"
+ },
+ "searchInsuranceApprovals": {
+ "en": "Search InsuranceApprovals",
+ "ar": "بحث عن موافقات التأمين"
+ },
"status": {"en": "STATUS", "ar": "الحالة"},
"expiryDate": {"en": "EXPIRY DATE", "ar": "تاريخ الانتهاء"},
"producerName": {"en": "PRODUCER NAME", "ar": "اسم المنتج"},
@@ -169,10 +217,19 @@ const Map> localizedValues = {
"routine": {"en": "Routine", "ar": "روتيني"},
"send": {"en": "Send", "ar": "ارسال"},
"referralFrequency": {"en": "Referral Frequency:", "ar": "تواتر الحالة:"},
- "selectReferralFrequency": {"en": "Select Referral Frequency:", "ar": "اختار تواتر الحالة:"},
- "clinicalDetailsAndRemarks": {"en": "Clinical Details and Remarks", "ar": "التفاصيل السرسرية والملاحظات"},
+ "selectReferralFrequency": {
+ "en": "Select Referral Frequency:",
+ "ar": "اختار تواتر الحالة:"
+ },
+ "clinicalDetailsAndRemarks": {
+ "en": "Clinical Details and Remarks",
+ "ar": "التفاصيل السرسرية والملاحظات"
+ },
"remarks": {"en": "Remarks", "ar": "ملاحظات"},
- "pleaseFill": {"en": "Please fill all fields..!", "ar": "الرجاء ملأ جميع الحقول..!"},
+ "pleaseFill": {
+ "en": "Please fill all fields..!",
+ "ar": "الرجاء ملأ جميع الحقول..!"
+ },
"replay2": {"en": "Reply", "ar": "رد الطبيب"},
"logout": {"en": "Logout", "ar": "تسجيل خروج"},
"pharmaciesList": {"en": "Pharmacies List", "ar": "قائمة الصيدليات"},
@@ -184,7 +241,10 @@ const Map> localizedValues = {
"searchOrders": {"en": "Search Orders", "ar": " بحث عن الطلبات"},
"prescriptionDetails": {"en": "Prescription Details", "ar": "تفاصبل الوصفة"},
"prescriptionInfo": {"en": "Prescription Info", "ar": "معلومات الوصفة"},
- "errorNoOrders": {"en": "You don\"t have any Orders", "ar": "لا يوجد لديك اي طلبات"},
+ "errorNoOrders": {
+ "en": "You don\"t have any Orders",
+ "ar": "لا يوجد لديك اي طلبات"
+ },
"livecare": {"en": "Live Care", "ar": "Live Care"},
"beingBad": {"en": "being bad", "ar": "سيء"},
"beingGreat": {"en": "being great", "ar": "رائع"},
@@ -195,14 +255,26 @@ const Map> localizedValues = {
"endcallwithcharge": {"en": "End with charge", "ar": "انهاء مع خصم المبلغ"},
"endcall": {"en": "End Call", "ar": "إنهاء المكالمة"},
"transfertoadmin": {"en": "Transfer to admin", "ar": "تحويل للمشرف"},
- "searchMedicineImageCaption": {"en": "Type the medicine name to search", "ar": " اكتب اسم الدواء للبحث"},
+ "searchMedicineImageCaption": {
+ "en": "Type the medicine name to search",
+ "ar": " اكتب اسم الدواء للبحث"
+ },
"type": {"en": "Type", "ar": "اكتب"},
"fromDate": {"en": "From Date", "ar": "من تاريخ"},
"toDate": {"en": "To Date", "ar": "الى تاريخ"},
- "searchPatientImageCaptionTitle": {"en": "SEARCH PATIENT", "ar": "البحث عن المريض"},
- "searchPatientImageCaptionBody": {"en": "Add Details Of Patient To search", "ar": " أضف تفاصيل المريض للبحث"},
+ "searchPatientImageCaptionTitle": {
+ "en": "SEARCH PATIENT",
+ "ar": "البحث عن المريض"
+ },
+ "searchPatientImageCaptionBody": {
+ "en": "Add Details Of Patient To search",
+ "ar": " أضف تفاصيل المريض للبحث"
+ },
"welcome": {"en": "Welcome", "ar": "أهلا بك"},
- "youDoNotHaveAnyItem": {"en": "You don\"t have any Items", "ar": "لا يوجد اي نتائج"},
+ "youDoNotHaveAnyItem": {
+ "en": "You don\"t have any Items",
+ "ar": "لا يوجد اي نتائج"
+ },
"typeMedicineName": {"en": "Type Medicine Name", "ar": "اكتب اسم الدواء"},
"moreThan3Letter": {
"en": "Medicine Name Should Be More Than 3 letter",
@@ -229,14 +301,20 @@ const Map> localizedValues = {
"bed": {"en": "BED:", "ar": "السرير"},
"next": {"en": "Next", "ar": "التالي"},
"previous": {"en": "Previous", "ar": "السابق"},
- "healthRecordInformation": {"en": "HEALTH RECORD INFORMATION", "ar": "معلومات السجل الصحي"},
+ "healthRecordInformation": {
+ "en": "HEALTH RECORD INFORMATION",
+ "ar": "معلومات السجل الصحي"
+ },
"prevoius-sickleave-issed": {
"en": "Total previous sick leave issued by the doctor",
"ar": "مجموع الإجازات المرضية السابقة التي أصدرها الطبيب"
},
"clinicSelect": {"en": "Select Clinic", "ar": "اختر عيادة"},
"doctorSelect": {"en": "Select Doctor", "ar": "اختر طبيب"},
- "empty-message": {"en": "Please enter this field", "ar": "يرجى ادخال هذا الحقل"},
+ "empty-message": {
+ "en": "Please enter this field",
+ "ar": "يرجى ادخال هذا الحقل"
+ },
"no-sickleve-applied": {
"en": "No sick leave available, apply Now",
"ar": "لا توجد إجازة مرضية متاحة ، تقدم بطلب الآن"
@@ -251,13 +329,19 @@ const Map> localizedValues = {
"leave-start-date": {"en": "Leave start date", "ar": "تاريخ بدء المغادرة"},
"days-sick-leave": {"en": "Leave Days: ", "ar": "أيام الإجازة "},
"extend": {"en": "Extend", "ar": "تمديد"},
- "extend-sickleave": {"en": "Extend Sick Leave", "ar": "قم بتمديد الإجازة المرضية"},
+ "extend-sickleave": {
+ "en": "Extend Sick Leave",
+ "ar": "قم بتمديد الإجازة المرضية"
+ },
"chiefComplaintLength": {
"en": "Chief Complaint length should be greater than 25",
"ar": "يجب أن يكون طول شكوى الرئيسية أكبر من 25"
},
"patient-target": {"en": "Target Patient", "ar": "المريض المستدف"},
- "no-priscription-listed": {"en": "No Prescription Listed", "ar": "لا يوجد وصفة طبية مدرجة"},
+ "no-priscription-listed": {
+ "en": "No Prescription Listed",
+ "ar": "لا يوجد وصفة طبية مدرجة"
+ },
"referTo": {"en": "Refer To", "ar": "محال إلى"},
"referredFrom": {"en": "From : ", "ar": " : من"},
"branch": {"en": "Branch", "ar": "الفرع"},
@@ -272,9 +356,15 @@ const Map> localizedValues = {
"summaryReport": {"en": "Summary", "ar": "ملخص"},
"accept": {"en": "ACCEPT", "ar": "قبول"},
"reject": {"en": "REJECT", "ar": "رفض"},
- "noAppointmentsErrorMsg": {"en": "There is no appointments for at this date", "ar": "لا توجد مواعيد في هذا التاريخ"},
+ "noAppointmentsErrorMsg": {
+ "en": "There is no appointments for at this date",
+ "ar": "لا توجد مواعيد في هذا التاريخ"
+ },
"referralPatient": {"en": "Referral Patient", "ar": "المريض المحال "},
- "noPrescriptionListed": {"en": "NO PRESCRIPTION LISTED", "ar": "لأيوجد وصفة طبية"},
+ "noPrescriptionListed": {
+ "en": "NO PRESCRIPTION LISTED",
+ "ar": "لأيوجد وصفة طبية"
+ },
"addNow": {"en": "ADD Now", "ar": "اضف الآن"},
"orderType": {"en": "Order Type", "ar": "نوع الطلب"},
"strength": {"en": "Strength", "ar": "شديد"},
@@ -284,8 +374,14 @@ const Map> localizedValues = {
"instruction": {"en": "Instructions", "ar": "إرشادات"},
"addMedication": {"en": "Add Medication", "ar": "اضف دواء"},
"route": {"en": "Route", "ar": "طريقة الاستخدام"},
- "reschedule-leave": {"en": "Reschedule and leaves", "ar": "إعادة الجدولة والمغادرة"},
- "no-reschedule-leave": {"en": "No Reschedule and leaves", "ar": "لايوجد طلبات اعادة جدولة او مغادرة"},
+ "reschedule-leave": {
+ "en": "Reschedule and leaves",
+ "ar": "إعادة الجدولة والمغادرة"
+ },
+ "no-reschedule-leave": {
+ "en": "No Reschedule and leaves",
+ "ar": "لايوجد طلبات اعادة جدولة او مغادرة"
+ },
"weight": {"en": "Weight", "ar": "الوزن"},
"kg": {"en": "kg", "ar": "كغ"},
"height": {"en": "Height", "ar": "الطول"},
@@ -307,7 +403,10 @@ const Map> localizedValues = {
"rhythm": {"en": "Rhythm", "ar": "الإيقاع"},
"respBeats": {"en": "RESP (beats/minute)", "ar": " (دقة/دقيقة)التنفس"},
"patternOfRespiration": {"en": "Pattern Of Respiration", "ar": "نمط التنفس"},
- "bloodPressureDiastoleAndSystole": {"en": "Blood Pressure (Sys, Dias)", "ar": "ضغط الدم (الانقباض, الإنبساط)"},
+ "bloodPressureDiastoleAndSystole": {
+ "en": "Blood Pressure (Sys, Dias)",
+ "ar": "ضغط الدم (الانقباض, الإنبساط)"
+ },
"cuffLocation": {"en": "Cuff Location", "ar": "موقع الكف"},
"cuffSize": {"en": "Cuff Size", "ar": "حجم الكف"},
"patientPosition": {"en": "Patient Position", "ar": "موقع المريض"},
@@ -318,41 +417,80 @@ const Map> localizedValues = {
"to": {"en": "To", "ar": "إلى"},
"coveringDoctor": {"en": "Covering Doctor: ", "ar": " :تغطية دكتور"},
"requestLeave": {"en": "Request Leave", "ar": "طلب إجازة"},
- "pleaseEnterDate": {"en": "Please enter leave start date", "ar": "الرجاء إدخال تاريخ بدء الإجازة"},
- "pleaseEnterNoOfDays": {"en": "Please enter sick leave days", "ar": "الرجاء إدخال أيام الإجازة المرضية"},
- "pleaseEnterRemarks": {"en": "Please enter remarks", "ar": "الرجاء إدخال الملاحظات"},
+ "pleaseEnterDate": {
+ "en": "Please enter leave start date",
+ "ar": "الرجاء إدخال تاريخ بدء الإجازة"
+ },
+ "pleaseEnterNoOfDays": {
+ "en": "Please enter sick leave days",
+ "ar": "الرجاء إدخال أيام الإجازة المرضية"
+ },
+ "pleaseEnterRemarks": {
+ "en": "Please enter remarks",
+ "ar": "الرجاء إدخال الملاحظات"
+ },
"update": {"en": "Update", "ar": "تحديث"},
"admission": {"en": "Admission", "ar": "تنويم"},
"request": {"en": "Request", "ar": "طلب"},
"admissionRequest": {"en": "Admission Request", "ar": "طلب تنويم"},
"patientDetails": {"en": "Patient Details", "ar": "تفاصيل المريض"},
- "specialityAndDoctorDetail": {"en": "SPECIALITY AND DOCTOR DETAILS", "ar": "تفاصيل التخصص والطبيب"},
+ "specialityAndDoctorDetail": {
+ "en": "SPECIALITY AND DOCTOR DETAILS",
+ "ar": "تفاصيل التخصص والطبيب"
+ },
"referringDate": {"en": "Referring Date", "ar": "تاريخ الإحالة"},
"referringDoctor": {"en": "Referring Doctor", "ar": "دكتور الإحالة"},
"otherInformation": {"en": "Other Information", "ar": "معلومات أخرى"},
"expectedDays": {"en": "Expected Days", "ar": "الأيام المتوقعة"},
- "expectedAdmissionDate": {"en": "Expected Admission Date", "ar": "تاريخ التنويم المتوقع"},
+ "expectedAdmissionDate": {
+ "en": "Expected Admission Date",
+ "ar": "تاريخ التنويم المتوقع"
+ },
"admissionDate": {"en": "Admission Date", "ar": "تاريخ التنويم"},
- "isSickLeaveRequired": {"en": "Is Sick Leave Required", "ar": "هل الإجازة المرضية مطلوبة"},
+ "isSickLeaveRequired": {
+ "en": "Is Sick Leave Required",
+ "ar": "هل الإجازة المرضية مطلوبة"
+ },
"patientPregnant": {"en": "Patient Pregnant", "ar": "المريض حامل"},
- "treatmentLine": {"en": "Main line of treatment", "ar": "الخط الرئيسي للعلاج"},
+ "treatmentLine": {
+ "en": "Main line of treatment",
+ "ar": "الخط الرئيسي للعلاج"
+ },
"ward": {"en": "Ward", "ar": "جناح"},
- "preAnesthesiaReferred": {"en": "PRE ANESTHESIA REFERRED", "ar": "الاحالة قبل التخدير"},
+ "preAnesthesiaReferred": {
+ "en": "PRE ANESTHESIA REFERRED",
+ "ar": "الاحالة قبل التخدير"
+ },
"admissionType": {"en": "Admission Type", "ar": "نوع التنويم"},
"diagnosis": {"en": "Diagnosis", "ar": "التشخيص"},
"allergies": {"en": "Allergies", "ar": "الحساسية"},
- "preOperativeOrders": {"en": "Pre Operative Orders", "ar": "أوامر ما قبل العملية"},
- "elementForImprovement": {"en": "Element For Improvement", "ar": "عنصر للتحسين"},
+ "preOperativeOrders": {
+ "en": "Pre Operative Orders",
+ "ar": "أوامر ما قبل العملية"
+ },
+ "elementForImprovement": {
+ "en": "Element For Improvement",
+ "ar": "عنصر للتحسين"
+ },
"dischargeDate": {"en": "Discharge Date", "ar": "تاريخ الخروج"},
"dietType": {"en": "Diet Type", "ar": "نوع النظام الغذائي"},
- "dietTypeRemarks": {"en": "Remarks on diet type", "ar": "ملاحظات على نوع النظام الغذائي"},
+ "dietTypeRemarks": {
+ "en": "Remarks on diet type",
+ "ar": "ملاحظات على نوع النظام الغذائي"
+ },
"save": {"en": "SAVE", "ar": "حفظ"},
- "postPlansEstimatedCost": {"en": "POST PLANS & ESTIMATED COST", "ar": "خطط ما بعد العملية والتكلفة المقدرة"},
+ "postPlansEstimatedCost": {
+ "en": "POST PLANS & ESTIMATED COST",
+ "ar": "خطط ما بعد العملية والتكلفة المقدرة"
+ },
"postPlans": {"en": "POST PLANS", "ar": "ما بعد العملية"},
"ucaf": {"en": "UCAF", "ar": "UCAF"},
"emergencyCase": {"en": "Emergency Case", "ar": "حالة طارئة"},
"durationOfIllness": {"en": "duration Of Illness", "ar": "مدة المرض"},
- "chiefComplaintsAndSymptoms": {"en": "CHIEF COMPLAINTS", "ar": "الشكوى الرئيسية"},
+ "chiefComplaintsAndSymptoms": {
+ "en": "CHIEF COMPLAINTS",
+ "ar": "الشكوى الرئيسية"
+ },
"patientFeelsPainInHisBackAndCough": {
"en": "Patient Feels pain in his back and cough",
"ar": "يشعر المريض بألم في ظهره ويسعل"
@@ -366,7 +504,10 @@ const Map> localizedValues = {
"how": {"en": "How", "ar": "كيف"},
"when": {"en": "When", "ar": "متى"},
"where": {"en": "Where", "ar": "أين"},
- "specifyPossibleLineManagement": {"en": "Specify possible line of management", "ar": "حدد خط الإدارة المحتمل"},
+ "specifyPossibleLineManagement": {
+ "en": "Specify possible line of management",
+ "ar": "حدد خط الإدارة المحتمل"
+ },
"significantSigns": {"en": "SIGNIFICANT SIGNS", "ar": "علامات مهمة"},
"backAbdomen": {"en": "Back : Abdomen", "ar": "الظهر: البطن"},
"reasons": {"en": "Reasons", "ar": "الأسباب"},
@@ -376,11 +517,20 @@ const Map> localizedValues = {
"addChiefComplaints": {"en": "Add Chief Complaints", "ar": " اضافه الشكاوى"},
"histories": {"en": "Histories", "ar": "التاريخ المرضي"},
"allergiesSoap": {"en": "Allergies", "ar": "الحساسية"},
- "historyOfPresentIllness": {"en": "History of Present Illness", "ar": "تاريخ المرض الحالي"},
- "requiredMsg": {"en": "Please add required field correctly", "ar": "الرجاء إضافة الحقل المطلوب بشكل صحيح"},
+ "historyOfPresentIllness": {
+ "en": "History of Present Illness",
+ "ar": "تاريخ المرض الحالي"
+ },
+ "requiredMsg": {
+ "en": "Please add required field correctly",
+ "ar": "الرجاء إضافة الحقل المطلوب بشكل صحيح"
+ },
"addHistory": {"en": "Add History", "ar": "اضافه تاريخ مرضي"},
"searchHistory": {"en": "Search History", "ar": " البحث"},
- "addSelectedHistories": {"en": "Add Selected Histories", "ar": " اضافه تاريخ مرضي"},
+ "addSelectedHistories": {
+ "en": "Add Selected Histories",
+ "ar": " اضافه تاريخ مرضي"
+ },
"addAllergies": {"en": "Add Allergies", "ar": "أضف الحساسية"},
"itemExist": {"en": "This item already exist", "ar": "هذا العنصر موجود"},
"selectAllergy": {"en": "Select Allergy", "ar": "أختر الحساسية"},
@@ -388,9 +538,18 @@ const Map> localizedValues = {
"leaveCreated": {"en": "Leave has been created", "ar": "تم إنشاء الإجازة"},
"medications": {"en": "Medications", "ar": "الأدوية"},
"procedures": {"en": "Procedures", "ar": "الإجراءات"},
- "vitalSignEmptyMsg": {"en": "There is no vital signs for this patient", "ar": "لا توجد علامات حيوية لهذا المريض"},
- "referralEmptyMsg": {"en": "There is no referral data", "ar": "لا توجد بيانات إحالة"},
- "referralSuccessMsg": {"en": "You make referral successfully", "ar": "تمت الاحالة بنجاح"},
+ "vitalSignEmptyMsg": {
+ "en": "There is no vital signs for this patient",
+ "ar": "لا توجد علامات حيوية لهذا المريض"
+ },
+ "referralEmptyMsg": {
+ "en": "There is no referral data",
+ "ar": "لا توجد بيانات إحالة"
+ },
+ "referralSuccessMsg": {
+ "en": "You make referral successfully",
+ "ar": "تمت الاحالة بنجاح"
+ },
"fromTime": {"en": "From Time", "ar": "من وقت"},
"toTime": {"en": "To Time", "ar": "الى وقت"},
"diagnoseType": {"en": "Diagnose Type", "ar": "نوع التشخيص"},
@@ -401,9 +560,18 @@ const Map> localizedValues = {
"codeNo": {"en": "Code #", "ar": "# الرمز"},
"covered": {"en": "Covered", "ar": "مغطى"},
"approvalRequired": {"en": "Approval Required", "ar": "الموافقة مطلوبة"},
- "uncoveredByDoctor": {"en": "Uncovered By Doctor", "ar": "غير مغطى من قبل الدكتور"},
- "chiefComplaintEmptyMsg": {"en": "There is no Chief Complaint", "ar": "ليس هناك شكوى رئيسية"},
- "more-verify": {"en": "More Verification Options", "ar": "المزيد من خيارات التحقق"},
+ "uncoveredByDoctor": {
+ "en": "Uncovered By Doctor",
+ "ar": "غير مغطى من قبل الدكتور"
+ },
+ "chiefComplaintEmptyMsg": {
+ "en": "There is no Chief Complaint",
+ "ar": "ليس هناك شكوى رئيسية"
+ },
+ "more-verify": {
+ "en": "More Verification Options",
+ "ar": "المزيد من خيارات التحقق"
+ },
"welcome-back": {"en": "Welcome back!", "ar": "مرحبا بك!"},
"account-info": {
"en": "Would you like to login with current username?",
@@ -420,24 +588,37 @@ const Map> localizedValues = {
"verify-with-sms": {"en": " SMS", "ar": "الرسائل القصيرة"},
"verify-with-whatsapp": {"en": "WhatsApp", "ar": " الواتس اب"},
"verify-with": {"en": "Verify through ", "ar": " الواتس اب"},
- "last-login": {"en": "Last login details:", "ar": "تفاصيل تسجيل الدخول الأخير:"},
+ "last-login": {
+ "en": "Last login details:",
+ "ar": "تفاصيل تسجيل الدخول الأخير:"
+ },
"last-login-with": {"en": "VERIFICATION TYPE:", "ar": "نوع التحقق:"},
"verify-fingerprint": {
- "en": "To activate the fingerprint login service, please verify data by using one of the following options.",
+ "en":
+ "To activate the fingerprint login service, please verify data by using one of the following options.",
"ar": "لتفعيل خدمة الدخول بالبصمة، يرجى اختيار احدى القنوات التالية"
},
"verification_message": {
"en": "Please enter the Verification Code sent to",
"ar": "الرجاء ادخال رمز التحقق الذي تم إرساله إلى"
},
- "validation_message": {"en": "The verification code expires in", "ar": "تنتهي صلاحية رمز التحقق خلال"},
+ "validation_message": {
+ "en": "The verification code expires in",
+ "ar": "تنتهي صلاحية رمز التحقق خلال"
+ },
"addAssessment": {"en": "Add Assessment", "ar": "أضف التقييم"},
"assessment": {"en": "Assessment", "ar": " التقييم"},
- "physicalSystemExamination": {"en": "Physical System / Examination", "ar": "الفحص البدني / النظام"},
+ "physicalSystemExamination": {
+ "en": "Physical System / Examination",
+ "ar": "الفحص البدني / النظام"
+ },
"searchExamination": {"en": "Search Examination", "ar": "بحث عن فحص"},
"addExamination": {"en": "Add Examination", "ar": "اضافة فحص"},
"doc": {"en": "Doc : ", "ar": " د : "},
- "patientNoDetailErrMsg": {"en": "There is no detail for this patient", "ar": "لا توجد تفاصيل لهذا المريض"},
+ "patientNoDetailErrMsg": {
+ "en": "There is no detail for this patient",
+ "ar": "لا توجد تفاصيل لهذا المريض"
+ },
"allergicTO": {"en": "ALLERGIC TO ", "ar": "حساس من"},
"normal": {"en": "Normal", "ar": "عادي"},
"abnormal": {"en": "Abnormal", "ar": " غير عادي"},
@@ -456,25 +637,46 @@ const Map> localizedValues = {
"visitDate": {"en": "Visit Date", "ar": "تاريخ الزيارة"},
"test": {"en": "Procedures/Test", "ar": "اجراءات/تحاليل"},
"regular": {"en": "Regular", "ar": "اعتيادي"},
- "addMoreProcedure": {"en": "Add More Procedures", "ar": "اضف المزيد من اجراءات"},
+ "addMoreProcedure": {
+ "en": "Add More Procedures",
+ "ar": "اضف المزيد من اجراءات"
+ },
"searchProcedures": {"en": "Search Procedures", "ar": "البحث في اجراءات"},
"selectProcedures": {"en": "Select procedure", "ar": "اختر الاجراء"},
- "procedureCategorise": {"en": "Select Procedure Category", "ar": "اختر نوع الاجراء "},
- "addSelectedProcedures": {"en": "add Selected Procedures", "ar": "اضافة الاجراءات المختارة "},
+ "procedureCategorise": {
+ "en": "Select Procedure Category",
+ "ar": "اختر نوع الاجراء "
+ },
+ "addSelectedProcedures": {
+ "en": "add Selected Procedures",
+ "ar": "اضافة الاجراءات المختارة "
+ },
"addProcedures": {"en": "Add Procedure", "ar": "اضافة اجراء"},
"updateProcedure": {"en": "Update Procedure", "ar": "تحديث الاجراء"},
"orderProcedure": {"en": "order procedure", "ar": "طلب اجراء"},
"nameOrICD": {"en": "Name or ICD", "ar": "Name or ICD"},
"dType": {"en": "Type", "ar": "النوع"},
- "addAssessmentDetails": {"en": "Add Assessment Details", "ar": "أضف تفاصيل التقييم"},
+ "addAssessmentDetails": {
+ "en": "Add Assessment Details",
+ "ar": "أضف تفاصيل التقييم"
+ },
"progressNoteSOAP": {"en": "Progress Note", "ar": "ملاحظة التقدم"},
"addProgressNote": {"en": "Add Progress Note", "ar": "أضف ملاحظة التقدم"},
"createdBy": {"en": "Created By :", "ar": "أضيفت عن طريق: "},
"editedBy": {"en": "Edited By :", "ar": "عدلت من : "},
"currentMedications": {"en": "Current Medications", "ar": "الأدوية الحالية"},
- "noItem": {"en": "No items exists in this list", "ar": "لا توجد عناصر في هذه القائمة"},
- "postUcafSuccessMsg": {"en": "UCAF request send successfully", "ar": "تم ارسال طلب UCAF بنجاح"},
- "vitalSignDetailEmpty": {"en": "There is no data for this vital sign", "ar": "لا توجد بيانات لهذه العلامة الحيوية"},
+ "noItem": {
+ "en": "No items exists in this list",
+ "ar": "لا توجد عناصر في هذه القائمة"
+ },
+ "postUcafSuccessMsg": {
+ "en": "UCAF request send successfully",
+ "ar": "تم ارسال طلب UCAF بنجاح"
+ },
+ "vitalSignDetailEmpty": {
+ "en": "There is no data for this vital sign",
+ "ar": "لا توجد بيانات لهذه العلامة الحيوية"
+ },
"onlyOfftimeHoliday": {
"en": "You can only apply holiday or offtime from mobile app",
"ar": "يمكنك تقديم عطلة أو إجازة فقط"
@@ -490,7 +692,10 @@ const Map> localizedValues = {
"en": "You have to add at least one examination.",
"ar": "يجب عليك إضافة فحص واحد على الأقل."
},
- "progressNoteErrorMsg": {"en": "You have to add progress Note.", "ar": "يجب عليك إضافة ملاحظة التقدم."},
+ "progressNoteErrorMsg": {
+ "en": "You have to add progress Note.",
+ "ar": "يجب عليك إضافة ملاحظة التقدم."
+ },
"chiefComplaintErrorMsg": {
"en": "You have to add chief complaint fields correctly .",
"ar": "يجب عليك إضافة الشكوى الرئيسية بشكل صحيح"
@@ -514,20 +719,41 @@ const Map> localizedValues = {
"referralStatusNotSeen": {"en": "NotSeen", "ar": "لم يحضر"},
"clinicSearch": {"en": "Search Clinic", "ar": "بحث عن عيادة"},
"doctorSearch": {"en": "Search Doctor", "ar": "بحث عن طبيب"},
- "referralResponse": {"en": "Referral Response : ", "ar": " : استجابة الإحالة"},
+ "referralResponse": {
+ "en": "Referral Response : ",
+ "ar": " : استجابة الإحالة"
+ },
"estimatedCost": {"en": "Estimated Cost", "ar": "التكلفة المتوقعة"},
"diagnosisDetail": {"en": "Diagnosis Details", "ar": "تفاصيل التشخيص"},
- "referralSuccessMsgAccept": {"en": "Referral Accepted Successfully", "ar": "تم قبول الإحالة بنجاح"},
- "referralSuccessMsgReject": {"en": "Referral Rejected Successfully", "ar": "تم رفض الإحالة بنجاح"},
- "sickLeaveComments": {"en": "Sick leave comments", "ar": "ملاحظات الإجازة المرضية"},
+ "referralSuccessMsgAccept": {
+ "en": "Referral Accepted Successfully",
+ "ar": "تم قبول الإحالة بنجاح"
+ },
+ "referralSuccessMsgReject": {
+ "en": "Referral Rejected Successfully",
+ "ar": "تم رفض الإحالة بنجاح"
+ },
+ "sickLeaveComments": {
+ "en": "Sick leave comments",
+ "ar": "ملاحظات الإجازة المرضية"
+ },
"pastMedicalHistory": {"en": "Past medical history", "ar": "التاريخ الطبي"},
- "pastSurgicalHistory": {"en": "Past surgical history", "ar": "التاريخ الجراحي"},
+ "pastSurgicalHistory": {
+ "en": "Past surgical history",
+ "ar": "التاريخ الجراحي"
+ },
"complications": {"en": "Complications", "ar": "المضاعفات"},
"floor": {"en": "Floor", "ar": "الطابق"},
"roomCategory": {"en": "Room category", "ar": "فئة الغرفة"},
- "otherDepartmentsInterventions": {"en": "Other departments interventions", "ar": "ملاحظات الأقسام الأخرى"},
+ "otherDepartmentsInterventions": {
+ "en": "Other departments interventions",
+ "ar": "ملاحظات الأقسام الأخرى"
+ },
"otherProcedure": {"en": "Other procedure", "ar": "إجراء آخر"},
- "admissionRequestSuccessMsg": {"en": "Admission Request Created Successfully", "ar": "تم إنشاء طلب التنويم بنجاح"},
+ "admissionRequestSuccessMsg": {
+ "en": "Admission Request Created Successfully",
+ "ar": "تم إنشاء طلب التنويم بنجاح"
+ },
"orderNo": {"en": "Order No : ", "ar": "رقم الطلب"},
"infoStatus": {"en": "Info Status", "ar": "حالة المعلومات"},
"doctorResponse": {"en": "Doctor Response", "ar": "استجابة الطبيب"},
@@ -540,7 +766,10 @@ const Map> localizedValues = {
"ptientsreferral": {"en": "Patients Referrals", "ar": "إحالات المريض"},
"myPatientsReferral": {"en": "Patient's\nReferrals", "ar": "إحالات\nالمريض"},
"arrivalpatient": {"en": "Arrival Patients", "ar": "المرضى الواصلون"},
- "searchmedicinepatient": {"en": "Search patient or Medicines", "ar": "ابحث عن المريض أو الأدوية"},
+ "searchmedicinepatient": {
+ "en": "Search patient or Medicines",
+ "ar": "ابحث عن المريض أو الأدوية"
+ },
"appointmentDate": {"en": "Appointment Date", "ar": "تاريخ الموعد"},
"arrived_p": {"en": "Arrived", "ar": "وصل"},
"details": {"en": "Details", "ar": "التفاصيل"},
@@ -548,16 +777,28 @@ const Map> localizedValues = {
"out-patient": {"en": "OutPatient", "ar": "عيادات خارجية"},
"BillNo": {"en": "Bill No :", "ar": "رقم الفاتورة"},
"labResults": {"en": "Lab Result", "ar": "نتيجة المختبر"},
- "sendSuc": {"en": "A copy has been sent to the email", "ar": "تم إرسال نسخة إلى البريد الإلكتروني"},
+ "sendSuc": {
+ "en": "A copy has been sent to the email",
+ "ar": "تم إرسال نسخة إلى البريد الإلكتروني"
+ },
"SpecialResult": {"en": "Special Result", "ar": "نتيجة خاصة"},
- "noDataAvailable": {"en": "No data available", "ar": " لا يوجد بيانات متاحة "},
+ "noDataAvailable": {
+ "en": "No data available",
+ "ar": " لا يوجد بيانات متاحة "
+ },
"show-more-btn": {"en": "Flowchart", "ar": "النتائج التراكمية"},
"open-rad": {"en": "Open Radiology Image", "ar": "فتح صور الاشعة"},
"fileNumber": {"en": "File Number: ", "ar": "رقم الملف : "},
- "searchPatient-name": {"en": "Search Name, Medical File, Phone Number", "ar": "اسم البحث ، الملف الطبي ، رقم الهاتف"},
+ "searchPatient-name": {
+ "en": "Search Name, Medical File, Phone Number",
+ "ar": "اسم البحث ، الملف الطبي ، رقم الهاتف"
+ },
"reschedule": {"en": "Reschedule", "ar": "إعادة جدولة"},
"leaves": {"en": "Leaves", "ar": "يغادر"},
- "totalApproval": {"en": "Total approval unused", "ar": "اجمالي الموافقات الغير مستخدمة"},
+ "totalApproval": {
+ "en": "Total approval unused",
+ "ar": "اجمالي الموافقات الغير مستخدمة"
+ },
"procedureStatus": {"en": "Procedure Status: ", "ar": "حالة الاجراء"},
"unusedCount": {"en": "Unused Count: ", "ar": "غير مستخدم: "},
"companyName": {"en": "Company Name ", "ar": "اسم الشركة: "},
@@ -566,16 +807,31 @@ const Map> localizedValues = {
"prescriptions": {"en": "Prescriptions", "ar": "الوصفات الطبية"},
"notes": {"en": "Notes", "ar": "ملاحظات"},
"dailyDoses": {"en": "Daily Doses", "ar": "جرعات يومية"},
- "searchWithOther": {"en": "Search With Other Criteria", "ar": "المزيد من خيارات البحث"},
- "hideOtherCriteria": {"en": "Hide Other Criteria", "ar": "إخفاء الخيارات الأخرى"},
- "applyForReschedule": {"en": "Apply for leave or reschedule", "ar": "تقدم بطلب للحصول على إجازة أو إعادة جدولة"},
+ "searchWithOther": {
+ "en": "Search With Other Criteria",
+ "ar": "المزيد من خيارات البحث"
+ },
+ "hideOtherCriteria": {
+ "en": "Hide Other Criteria",
+ "ar": "إخفاء الخيارات الأخرى"
+ },
+ "applyForReschedule": {
+ "en": "Apply for leave or reschedule",
+ "ar": "تقدم بطلب للحصول على إجازة أو إعادة جدولة"
+ },
"startDate": {"en": "Start Date: ", "ar": " :تاريخ البدء"},
"endDate": {"en": "End Date: ", "ar": " :تاريخ الانتهاء"},
"add-reschedule": {"en": "Add reschedule", "ar": "أضف إعادة الجدولة"},
"update-reschedule": {"en": "Update reschedule", "ar": "تحديث إعادة الجدولة"},
"sick_leave": {"en": "Sick Leave", "ar": "إجازة مرضية"},
- "addSickLeaveRequest": {"en": "Add Sick Leave Request", "ar": "إضافة طلب إجازة مرضية"},
- "extendSickLeaveRequest": {"en": "Extend Sick Leave Request", "ar": "تمديد طلب الإجازة المرضية"},
+ "addSickLeaveRequest": {
+ "en": "Add Sick Leave Request",
+ "ar": "إضافة طلب إجازة مرضية"
+ },
+ "extendSickLeaveRequest": {
+ "en": "Extend Sick Leave Request",
+ "ar": "تمديد طلب الإجازة المرضية"
+ },
"accepted": {"en": "Accepted", "ar": "موافق"},
"cancelled": {"en": "Cancelled", "ar": "ألغي"},
"unReplied": {"en": "UnReplied", "ar": "لم يتم الرد"},
@@ -585,10 +841,16 @@ const Map> localizedValues = {
"remove": {"en": "Remove", "ar": "حذف"},
"changeOfSchedule": {"en": "Change of Schedule", "ar": "تغيير الجدول"},
"newSchedule": {"en": "New Schedule", "ar": "جدول جديد"},
- "enter_credentials": {"en": "Enter the user credentials below", "ar": "أدخل بيانات المستخدم أدناه"},
+ "enter_credentials": {
+ "en": "Enter the user credentials below",
+ "ar": "أدخل بيانات المستخدم أدناه"
+ },
"step": {"en": "Step", "ar": "خطوة"},
"fieldRequired": {"en": "This field is required", "ar": "هذه الخانة مطلوبه"},
- "applyOrRescheduleLeave": {"en": "Apply Reschedule Leave", "ar": "التقدم بطلب أو إعادة جدولة الإجازة"},
+ "applyOrRescheduleLeave": {
+ "en": "Apply Reschedule Leave",
+ "ar": "التقدم بطلب أو إعادة جدولة الإجازة"
+ },
"myQRCode": {"en": "My QR Code", "ar": " كود QR "},
"patientIDMobilenational": {
"en": "Patient ID, National ID, Mobile Number",
@@ -603,32 +865,68 @@ const Map> localizedValues = {
"try-saying": {"en": "Try saying something", "ar": "حاول قول شيء ما"},
"refClinic": {"en": "Ref Clinic", "ar": "العيادة المرجعية"},
"acknowledged": {"en": "Acknowledged", "ar": "إقرار"},
- "didntCatch": {"en": "Didn't catch that. Try Speaking again", "ar": "لم يتم التقاط ذلك. حاول التحدث مرة أخرى"},
+ "didntCatch": {
+ "en": "Didn't catch that. Try Speaking again",
+ "ar": "لم يتم التقاط ذلك. حاول التحدث مرة أخرى"
+ },
"showDetail": {"en": "Show Detail", "ar": "أظهر المعلومات"},
"viewProfile": {"en": "View Profile", "ar": "إعرض الملف"},
- "pleaseEnterProcedure": {"en": "Please Enter Procedure", "ar": "الرجاء إدخال الإجراء "},
- "fillTheMandatoryProcedureDetails": {"en": "Fill The Mandatory Procedure Details", "ar": "املأ تفاصيل الإجراء"},
- "atLeastThreeCharacters": {"en": "At least three Characters", "ar": "ثلاثة أحرف على الأقل "},
- "searchProcedureHere": {"en": "Search Procedure here...", "ar": "إجراء البحث هنا ... "},
- "noInsuranceApprovalFound": {"en": "No Insurance Approval Found", "ar": "لم يتم العثور على موافقة التأمين"},
+ "pleaseEnterProcedure": {
+ "en": "Please Enter Procedure",
+ "ar": "الرجاء إدخال الإجراء "
+ },
+ "fillTheMandatoryProcedureDetails": {
+ "en": "Fill The Mandatory Procedure Details",
+ "ar": "املأ تفاصيل الإجراء"
+ },
+ "atLeastThreeCharacters": {
+ "en": "At least three Characters",
+ "ar": "ثلاثة أحرف على الأقل "
+ },
+ "searchProcedureHere": {
+ "en": "Search Procedure here...",
+ "ar": "إجراء البحث هنا ... "
+ },
+ "noInsuranceApprovalFound": {
+ "en": "No Insurance Approval Found",
+ "ar": "لم يتم العثور على موافقة التأمين"
+ },
"procedure": {"en": "Procedure", "ar": "اجراء"},
"stopDate": {"en": "Stop Date", "ar": "تاريخ التوقف"},
"processed": {"en": "processed", "ar": "معالجتها"},
"direction": {"en": "Direction", "ar": "توجيه"},
"refill": {"en": "Refill", "ar": "اعادة تعبئه"},
- "medicationHasBeenAdded": {"en": "Medication has been added", "ar": "تمت إضافة الدواء"},
- "newPrescriptionOrder": {"en": "New Prescription Order", "ar": "طلب وصفة طبية جديد "},
- "pleaseFillAllFields": {"en": "Please Fill All Fields", "ar": "الرجاء أملأ جميع الحقول"},
+ "medicationHasBeenAdded": {
+ "en": "Medication has been added",
+ "ar": "تمت إضافة الدواء"
+ },
+ "newPrescriptionOrder": {
+ "en": "New Prescription Order",
+ "ar": "طلب وصفة طبية جديد "
+ },
+ "pleaseFillAllFields": {
+ "en": "Please Fill All Fields",
+ "ar": "الرجاء أملأ جميع الحقول"
+ },
"narcoticMedicineCanOnlyBePrescribedFromVida": {
"en": "Narcotic medicine can only be prescribed from VIDA",
"ar": "لا يمكن وصف الأدوية المخدرة إلا من VIDA "
},
- "only5DigitsAllowedForStrength": {"en": "Only 5 Digits allowed for strength", "ar": "يسمح فقط بـ 5 أرقام للقوة"},
+ "only5DigitsAllowedForStrength": {
+ "en": "Only 5 Digits allowed for strength",
+ "ar": "يسمح فقط بـ 5 أرقام للقوة"
+ },
"unit": {"en": "Unit", "ar": "وحدة"},
"boxQuantity": {"en": "Box Quantity", "ar": "كمية العبوة "},
"orderTestOr": {"en": "Order Test or", "ar": "اطلب اختبار أو"},
- "applyForRadiologyOrder": {"en": "Apply for Radiology Order", "ar": "التقدم بطلب للحصول على طلب الأشعة "},
- "applyForNewLabOrder": {"en": "Apply for New Lab Order", "ar": "تقدم بطلب جديد للمختبر الأشعة"},
+ "applyForRadiologyOrder": {
+ "en": "Apply for Radiology Order",
+ "ar": "التقدم بطلب للحصول على طلب الأشعة "
+ },
+ "applyForNewLabOrder": {
+ "en": "Apply for New Lab Order",
+ "ar": "تقدم بطلب جديد للمختبر الأشعة"
+ },
"addLabOrder": {"en": "Add Lab Order", "ar": "إضافة طلب مختبر"},
"addRadiologyOrder": {"en": "Add Radiology Order", "ar": "إضافة اشعة"},
"newRadiologyOrder": {"en": "New Radiology Order", "ar": "طلب أشعة جديد"},
@@ -640,14 +938,23 @@ const Map> localizedValues = {
"en": "Apply for New Prescriptions Order",
"ar": "التقدم بطلب للحصول على وصفات طبية جديدة "
},
- "noPrescriptionsFound": {"en": "No Prescriptions Found", "ar": "لم يتم العثور على وصفات طبية"},
- "noMedicalFileFound": {"en": "No Medical File Found", "ar": "لم يتم العثور على ملف طبي"},
+ "noPrescriptionsFound": {
+ "en": "No Prescriptions Found",
+ "ar": "لم يتم العثور على وصفات طبية"
+ },
+ "noMedicalFileFound": {
+ "en": "No Medical File Found",
+ "ar": "لم يتم العثور على ملف طبي"
+ },
"insurance22": {"en": "Insurance", "ar": "موافقات"},
"approvals22": {"en": "Approvals", "ar": "التامين"},
"severe": {"en": "Severe", "ar": "الشدة"},
"graphDetails": {"en": "Graph Details", "ar": "تفاصيل الرسم البياني"},
"addNewOrderSheet": {"en": "Add a New Order Sheet", "ar": "أضف طلب جديد"},
- "addNewProgressNote": {"en": "Add a New Progress Note", "ar": "أضف ملاحظة جديدة"},
+ "addNewProgressNote": {
+ "en": "Add a New Progress Note",
+ "ar": "أضف ملاحظة جديدة"
+ },
"notePending": {"en": "Pending", "ar": "قيد الانتظار"},
"noteCanceled": {"en": "Canceled", "ar": "ألغي"},
"noteVerified": {"en": "Verified", "ar": "تم التحقق"},
@@ -666,7 +973,10 @@ const Map> localizedValues = {
"notRepliedYet": {"en": "Not Replied yet", "ar": "لم يتم الرد بعد"},
"clearText": {"en": "Clear Text", "ar": "نص واضح"},
"medicalReportAdd": {"en": "Add Medical Report", "ar": "إضافة تقرير طبي"},
- "medicalReportVerify": {"en": "Verify Medical Report", "ar": "تحقق من التقرير الطبي"},
+ "medicalReportVerify": {
+ "en": "Verify Medical Report",
+ "ar": "تحقق من التقرير الطبي"
+ },
"comments": {"en": "Comments", "ar": "ملاحظات"},
"initiateCall": {"en": "Initiate Call ", "ar": "بدء الاتصال"},
"transferTo": {"en": "Transfer To ", "ar": "حول إلى"},
@@ -677,10 +987,22 @@ const Map> localizedValues = {
"consultation": {"en": "Consultation", "ar": "استشارة"},
"resume": {"en": "Resume", "ar": "استأنف"},
"theCall": {"en": "The Call", "ar": "الاتصال"},
- "createNewMedicalReport": {"en": "Create New Medical Report", "ar": "إنشاء تقرير طبي جديد"},
- "historyPhysicalFinding": {"en": "History and Physical Finding", "ar": "التاريخ"},
- "laboratoryPhysicalData": {"en": "Laboratory and Physical Data", "ar": "المختبرات والبيانات الفيزيائية"},
- "impressionRecommendation": {"en": "Impression and Recommendation", "ar": "الانطباع والتوصية"},
+ "createNewMedicalReport": {
+ "en": "Create New Medical Report",
+ "ar": "إنشاء تقرير طبي جديد"
+ },
+ "historyPhysicalFinding": {
+ "en": "History and Physical Finding",
+ "ar": "التاريخ"
+ },
+ "laboratoryPhysicalData": {
+ "en": "Laboratory and Physical Data",
+ "ar": "المختبرات والبيانات الفيزيائية"
+ },
+ "impressionRecommendation": {
+ "en": "Impression and Recommendation",
+ "ar": "الانطباع والتوصية"
+ },
"onHold": {"en": "On Hold", "ar": "قيد الانتظار"},
"verified": {"en": "Verified", "ar": "تم التحقق"},
"endCall": {"en": "End Call", "ar": "انهاء"},
@@ -693,21 +1015,107 @@ const Map> localizedValues = {
"edit": {"en": "Edit", "ar": "تعديل"},
"summeryReply": {"en": "Summary Reply", "ar": "ملخص الرد"},
"finish": {"en": "Finish", "ar": "انهاء"},
- "severityValidationError": {"en": "Please add allergy severity", "ar": "الرجاء إضافة شدة الحساسية"},
+ "severityValidationError": {
+ "en": "Please add allergy severity",
+ "ar": "الرجاء إضافة شدة الحساسية"
+ },
"inProgress": {"en": "inProgress", "ar": "تحت المعالجه"},
"Completed": {"en": "Completed", "ar": "مكتمل"},
"Locked": {"en": "Locked", "ar": "مقفل"},
- "textCopiedSuccessfully": {"en": "Text copied successfully", "ar": "تم نسخ النص بنجاح"},
+ "textCopiedSuccessfully": {
+ "en": "Text copied successfully",
+ "ar": "تم نسخ النص بنجاح"
+ },
"roomNo": {"en": "Room No", "ar": "رقم الغرفة"},
"replayCallStatus": {"en": "Called", "ar": "تم الاتصال"},
"patientArrived": {"en": "Patient Arrived", "ar": "وصل المريض"},
- "calledAndNoResponse": {"en": "Called And No Response", "ar": "تم الاتصال ولا يوجد رد"},
+ "calledAndNoResponse": {
+ "en": "Called And No Response",
+ "ar": "تم الاتصال ولا يوجد رد"
+ },
"underProcess": {"en": "Under Process", "ar": "تحت التجهيز"},
"textResponse": {"en": "Text Response", "ar": "استجابة النص"},
"notReplied": {"en": "Not Replied", "ar": "لم يتم يرد"},
- "requestType":{
- "en":"Request Type",
- "ar":"نوع الطلب"},
+ "requestType": {"en": "Request Type", "ar": "نوع الطلب"},
"special": {"en": "Special", "ar": "خاص"},
- "allClinic": {"en": "All Clinics", "ar": "جميع العيادات"}
+ "allClinic": {"en": "All Clinics", "ar": "جميع العيادات"},
+ "operationReports": {"en": "Operation Reports", "ar": "تقارير العملية"},
+ "reports": {"en": "Reports", "ar": "تقارير "},
+ "operation": {"en": "Operation", "ar": " العملية"},
+ "registerNewPatient": {
+ "en": "Register\nNew Patient",
+ "ar": "تسجيل\n مريض جديد"
+ },
+ "registeraPatient": {"en": "Register a Patient", "ar": "تسجيل المريض"},
+ "occupation": {"en": "Occupation", "ar": "مهنة"},
+ "healthID": {"en": "Health ID", "ar": "معرف الصحة"},
+ "identityNumber": {"en": "Identity Number", "ar": "رقم الهوية"},
+ "maritalStatus": {"en": "Marital Status", "ar": "الحالة الزوجية"},
+ "nursing": {"en": "Nursing", "ar": "تمريض"},
+ "diabetic": {"en": "Diabetic", "ar": "مرض السكري"},
+ "chart": {"en": "Chart", "ar": "جدول"},
+ "operationTimeStart": {
+ "en": "Operation Time Start :",
+ "ar": "بدء وقت العملية:"
+ },
+ "operationDate": {"en": "operation Date :", "ar": "تاريخ العملية:"},
+ "reservation": {"en": "Reservation Number :", "ar": " رقم الحجز :"},
+ "anesthetist": {"en": "Anesthetist", "ar": "طبيب تخدير "},
+ "bloodTransfusedDetail": {
+ "en": "blood Transfused Detail",
+ "ar": "تفاصيل نقل الدم "
+ },
+ "circulatingNurse": {"en": "circulating Nurse", "ar": "ممرضة عمومية"},
+ "scrubNurse": {"en": "Scrub Nurse", "ar": "ممرضة تدليك"},
+ "otherSpecimen": {"en": "Other Specimen", "ar": "عينة أخرى"},
+ "microbiologySpecimen": {
+ "en": "Microbiology Specimen",
+ "ar": "عينة علم الأحياء الدقيقة"
+ },
+ "histopathSpecimen": {"en": "Histopath Specimen", "ar": "عينة الأنسجة"},
+ "bloodLossDetail": {"en": "Blood Loss Detail", "ar": "تفاصيل فقدان الدم"},
+ "complicationDetails1": {
+ "en": "Complication Details",
+ "ar": "تفاصيل المضاعفات"
+ },
+ "postOperationInstruction": {
+ "en": "Post Operation Instruction",
+ "ar": "تعليمات ما بعد العملية"
+ },
+ "surgeryProcedure": {"en": "Surgery Procedures", "ar": "إجراءات الجراحة"},
+ "finding": {"en": "Finding", "ar": "العثور على"},
+ "preOperationDiagnosis": {
+ "en": "Pre OperationOperation Diagnosis",
+ "ar": "التشخيص قبل العملية"
+ },
+ "postOperationDiagnosis": {
+ "en": "Post Operation Diagnosis",
+ "ar": "تشخيص ما بعد العملية"
+ },
+ "surgeon": {"en": "surgeon", "ar": "دكتور جراح"},
+ "assistant": {"en": "assistant", "ar": "مساعد"},
+ "askForIdentification": {
+ "en": "Please enter a mobile number or Identification number",
+ "ar": "الرجاء إدخال رقم الهاتف المحمول أو رقم التعريف"
+ },
+ "iDNumber": {"en": "ID Number", "ar": "رقم معرف"},
+ "calender": {"en": "Calender", "ar": "التقويم"},
+ "gregorian": {"en": "Gregorian", "ar": "ميلادي"},
+ "hijri": {"en": "Hijri", "ar": "هجري"},
+ "birthdate": {"en": "Birthdate", "ar": "تاريخ الولادة"},
+ "activation": {"en": "Activation", "ar": "تفعيل"},
+ "confirmation": {"en": "Confirmation", "ar": "تفعيل"},
+ "firstNameInAr": {"en": "First Name In Arabic", "ar": "الاسم الاول بالعربية"},
+ "middleNameInAr": {
+ "en": "Middle Name In Arabic",
+ "ar": "الاسم الأوسط بالعربية"
+ },
+ "lastNameInAr": {"en": "Last Name In Arabic", "ar": "الاسم الأخير بالعربية"},
+ "investigation": {"en": "investigation", "ar": "التحقيقات"},
+ "conditionOnDischarge": {
+ "en": "Condition On Discharge",
+ "ar": "الحالة عند الاخراج"
+ },
+ "planedProcedure": {"en": "Planed Procedure", "ar": "الإجراء المخطط"},
+ "moreDetails": {"en": "More Details", "ar": "المزيد من التفاصيل"},
};
diff --git a/lib/config/size_config.dart b/lib/config/size_config.dart
index abb3ddd6..21859d3b 100644
--- a/lib/config/size_config.dart
+++ b/lib/config/size_config.dart
@@ -12,9 +12,8 @@ class SizeConfig {
static double textMultiplier;
static double imageSizeMultiplier;
static double heightMultiplier;
- static double widthMultiplier;
-
static bool isPortrait = true;
+ static double widthMultiplier;
static bool isMobilePortrait = false;
static bool isMobile = false;
static bool isHeightShort = false;
@@ -61,7 +60,7 @@ class SizeConfig {
}
_blockWidth = screenWidth / 100;
_blockHeight = screenHeight / 100;
-
+
textMultiplier = _blockHeight;
imageSizeMultiplier = _blockWidth;
heightMultiplier = _blockHeight;
@@ -75,8 +74,6 @@ class SizeConfig {
print('widthMultiplier $widthMultiplier');
print('isPortrait $isPortrait');
print('isMobilePortrait $isMobilePortrait');
-
-
}
static getTextMultiplierBasedOnWidth({double width}) {
@@ -102,5 +99,4 @@ class SizeConfig {
}
return heightMultiplier;
}
-
}
diff --git a/lib/core/enum/CalenderType.dart b/lib/core/enum/CalenderType.dart
new file mode 100644
index 00000000..51f98512
--- /dev/null
+++ b/lib/core/enum/CalenderType.dart
@@ -0,0 +1,4 @@
+enum CalenderType{
+ Gregorian,
+ Hijri,
+}
\ No newline at end of file
diff --git a/lib/core/model/PatientRegistration/CheckActivationCodeModel.dart b/lib/core/model/PatientRegistration/CheckActivationCodeModel.dart
new file mode 100644
index 00000000..4b95c1b0
--- /dev/null
+++ b/lib/core/model/PatientRegistration/CheckActivationCodeModel.dart
@@ -0,0 +1,112 @@
+class CheckActivationCodeModel {
+ int patientMobileNumber;
+ String mobileNo;
+ int projectOutSA;
+ int loginType;
+ String zipCode;
+ bool isRegister;
+ String logInTokenID;
+ int searchType;
+ int patientID;
+ int nationalID;
+ int patientIdentificationID;
+ bool forRegisteration;
+ String activationCode;
+ double versionID;
+ int channel;
+ int languageID;
+ String iPAdress;
+ String generalid;
+ int patientOutSA;
+ Null sessionID;
+ bool isDentalAllowedBackend;
+ int deviceTypeID;
+ String dOB;
+ int isHijri;
+ String healthId;
+
+ CheckActivationCodeModel(
+ {this.patientMobileNumber,
+ this.mobileNo,
+ this.projectOutSA,
+ this.loginType,
+ this.zipCode,
+ this.isRegister,
+ this.logInTokenID,
+ this.searchType,
+ this.patientID,
+ this.nationalID,
+ this.patientIdentificationID,
+ this.forRegisteration,
+ this.activationCode,
+ this.versionID,
+ this.channel,
+ this.languageID,
+ this.iPAdress,
+ this.generalid,
+ this.patientOutSA,
+ this.sessionID,
+ this.isDentalAllowedBackend,
+ this.deviceTypeID,
+ this.dOB,
+ this.isHijri,
+ this.healthId});
+
+ CheckActivationCodeModel.fromJson(Map json) {
+ patientMobileNumber = json['PatientMobileNumber'];
+ mobileNo = json['MobileNo'];
+ projectOutSA = json['ProjectOutSA'];
+ loginType = json['LoginType'];
+ zipCode = json['ZipCode'];
+ isRegister = json['isRegister'];
+ logInTokenID = json['LogInTokenID'];
+ searchType = json['SearchType'];
+ patientID = json['PatientID'];
+ nationalID = json['NationalID'];
+ patientIdentificationID = json['PatientIdentificationID'];
+ forRegisteration = json['ForRegisteration'];
+ activationCode = json['activationCode'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ languageID = json['LanguageID'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ patientOutSA = json['PatientOutSA'];
+ sessionID = json['SessionID'];
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ deviceTypeID = json['DeviceTypeID'];
+ dOB = json['DOB'];
+ isHijri = json['IsHijri'];
+ healthId = json['HealthId'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientMobileNumber'] = this.patientMobileNumber;
+ data['MobileNo'] = this.mobileNo;
+ data['ProjectOutSA'] = this.projectOutSA;
+ data['LoginType'] = this.loginType;
+ data['ZipCode'] = this.zipCode;
+ data['isRegister'] = this.isRegister;
+ data['LogInTokenID'] = this.logInTokenID;
+ data['SearchType'] = this.searchType;
+ data['PatientID'] = this.patientID;
+ data['NationalID'] = this.nationalID;
+ data['PatientIdentificationID'] = this.patientIdentificationID;
+ data['ForRegisteration'] = this.forRegisteration;
+ data['activationCode'] = this.activationCode;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['LanguageID'] = this.languageID;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['SessionID'] = this.sessionID;
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['DOB'] = this.dOB;
+ data['IsHijri'] = this.isHijri;
+ data['HealthId'] = this.healthId;
+ return data;
+ }
+}
diff --git a/lib/core/model/PatientRegistration/CheckPatientForRegistrationModel.dart b/lib/core/model/PatientRegistration/CheckPatientForRegistrationModel.dart
new file mode 100644
index 00000000..3465cf8d
--- /dev/null
+++ b/lib/core/model/PatientRegistration/CheckPatientForRegistrationModel.dart
@@ -0,0 +1,80 @@
+class CheckPatientForRegistrationModel {
+ int patientIdentificationID;
+ int patientMobileNumber;
+ String zipCode;
+ double versionID;
+ int channel;
+ int languageID;
+ String iPAdress;
+ String generalid;
+ int patientOutSA;
+ Null sessionID;
+ bool isDentalAllowedBackend;
+ int deviceTypeID;
+ String tokenID;
+ int patientID;
+ bool isRegister;
+ String dOB;
+ int isHijri;
+
+ CheckPatientForRegistrationModel(
+ {this.patientIdentificationID,
+ this.patientMobileNumber,
+ this.zipCode,
+ this.versionID,
+ this.channel,
+ this.languageID,
+ this.iPAdress,
+ this.generalid,
+ this.patientOutSA,
+ this.sessionID,
+ this.isDentalAllowedBackend,
+ this.deviceTypeID,
+ this.tokenID,
+ this.patientID,
+ this.isRegister,
+ this.dOB,
+ this.isHijri});
+
+ CheckPatientForRegistrationModel.fromJson(Map json) {
+ patientIdentificationID = json['PatientIdentificationID'];
+ patientMobileNumber = json['PatientMobileNumber'];
+ zipCode = json['ZipCode'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ languageID = json['LanguageID'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ patientOutSA = json['PatientOutSA'];
+ sessionID = json['SessionID'];
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ deviceTypeID = json['DeviceTypeID'];
+ tokenID = json['TokenID'];
+ patientID = json['PatientID'];
+ isRegister = json['isRegister'];
+ dOB = json['DOB'];
+ isHijri = json['IsHijri'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientIdentificationID'] = this.patientIdentificationID;
+ data['PatientMobileNumber'] = this.patientMobileNumber;
+ data['ZipCode'] = this.zipCode;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['LanguageID'] = this.languageID;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['SessionID'] = this.sessionID;
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['TokenID'] = this.tokenID;
+ data['PatientID'] = this.patientID;
+ data['isRegister'] = this.isRegister;
+ data['DOB'] = this.dOB;
+ data['IsHijri'] = this.isHijri;
+ return data;
+ }
+}
diff --git a/lib/core/model/PatientRegistration/GetPatientInfoRequestModel.dart b/lib/core/model/PatientRegistration/GetPatientInfoRequestModel.dart
new file mode 100644
index 00000000..f05131ef
--- /dev/null
+++ b/lib/core/model/PatientRegistration/GetPatientInfoRequestModel.dart
@@ -0,0 +1,60 @@
+class GetPatientInfoRequestModel {
+ String patientIdentificationID;
+ String dOB;
+ int isHijri;
+ double versionID;
+ int channel;
+ int languageID;
+ String iPAdress;
+ String generalid;
+ int patientOutSA;
+ Null sessionID;
+ bool isDentalAllowedBackend;
+ int deviceTypeID;
+
+ GetPatientInfoRequestModel(
+ {this.patientIdentificationID,
+ this.dOB,
+ this.isHijri,
+ this.versionID,
+ this.channel,
+ this.languageID,
+ this.iPAdress,
+ this.generalid,
+ this.patientOutSA,
+ this.sessionID,
+ this.isDentalAllowedBackend,
+ this.deviceTypeID});
+
+ GetPatientInfoRequestModel.fromJson(Map json) {
+ patientIdentificationID = json['PatientIdentificationID'];
+ dOB = json['DOB'];
+ isHijri = json['IsHijri'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ languageID = json['LanguageID'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ patientOutSA = json['PatientOutSA'];
+ sessionID = json['SessionID'];
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ deviceTypeID = json['DeviceTypeID'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientIdentificationID'] = this.patientIdentificationID;
+ data['DOB'] = this.dOB;
+ data['IsHijri'] = this.isHijri;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['LanguageID'] = this.languageID;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['SessionID'] = this.sessionID;
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ return data;
+ }
+}
diff --git a/lib/core/model/PatientRegistration/GetPatientInfoResponseModel.dart b/lib/core/model/PatientRegistration/GetPatientInfoResponseModel.dart
new file mode 100644
index 00000000..158bd1e2
--- /dev/null
+++ b/lib/core/model/PatientRegistration/GetPatientInfoResponseModel.dart
@@ -0,0 +1,374 @@
+class GetPatientInfoResponseModel {
+ dynamic date;
+ int languageID;
+ int serviceName;
+ dynamic time;
+ dynamic androidLink;
+ dynamic authenticationTokenID;
+ dynamic data;
+ bool dataw;
+ int dietType;
+ dynamic errorCode;
+ dynamic errorEndUserMessage;
+ dynamic errorEndUserMessageN;
+ dynamic errorMessage;
+ int errorType;
+ int foodCategory;
+ dynamic iOSLink;
+ bool isAuthenticated;
+ int mealOrderStatus;
+ int mealType;
+ int messageStatus;
+ int numberOfResultRecords;
+ dynamic patientBlodType;
+ dynamic successMsg;
+ dynamic successMsgN;
+ dynamic vidaUpdatedResponse;
+ dynamic accessTokenObject;
+ int age;
+ dynamic clientIdentifierId;
+ int createdBy;
+ String dateOfBirth;
+ String firstNameAr;
+ String firstNameEn;
+ String gender;
+ dynamic genderAr;
+ dynamic genderEn;
+ String healthId;
+ String idNumber;
+ String idType;
+ bool isHijri;
+ int isInstertedOrUpdated;
+ int isNull;
+ int isPatientExistNHIC;
+ bool isRecordLockedByCurrentUser;
+ String lastNameAr;
+ String lastNameEn;
+ dynamic listActiveAccessToken;
+ String maritalStatus;
+ String maritalStatusCode;
+ String nationalDateOfBirth;
+ String nationality;
+ String nationalityCode;
+ String occupation;
+ dynamic pCDTransactionDataResultList;
+ dynamic pCDGetVidaPatientForManualVerificationList;
+ dynamic pCDNHICHMGPatientDetailsMatchCalulationList;
+ int pCDReturnValue;
+ String patientStatus;
+ String placeofBirth;
+ dynamic practitionerStatusCode;
+ dynamic practitionerStatusDescAr;
+ dynamic practitionerStatusDescEn;
+ int rowCount;
+ String secondNameAr;
+ String secondNameEn;
+ String thirdNameAr;
+ String thirdNameEn;
+ dynamic yakeenVidaPatientDataStatisticsByPatientIdList;
+ dynamic yakeenVidaPatientDataStatisticsList;
+ dynamic yakeenVidaPatientDataStatisticsPrefferedList;
+ dynamic accessToken;
+ int categoryCode;
+ dynamic categoryNameAr;
+ dynamic categoryNameEn;
+ int constraintCode;
+ dynamic constraintNameAr;
+ dynamic constraintNameEn;
+ dynamic content;
+ dynamic errorList;
+ dynamic licenseExpiryDate;
+ dynamic licenseIssuedDate;
+ dynamic licenseStatusCode;
+ dynamic licenseStatusDescAr;
+ dynamic licenseStatusDescEn;
+ dynamic organizations;
+ dynamic registrationNumber;
+ int specialtyCode;
+ dynamic specialtyNameAr;
+ dynamic specialtyNameEn;
+
+ GetPatientInfoResponseModel(
+ {this.date,
+ this.languageID,
+ this.serviceName,
+ this.time,
+ this.androidLink,
+ this.authenticationTokenID,
+ this.data,
+ this.dataw,
+ this.dietType,
+ this.errorCode,
+ this.errorEndUserMessage,
+ this.errorEndUserMessageN,
+ this.errorMessage,
+ this.errorType,
+ this.foodCategory,
+ this.iOSLink,
+ this.isAuthenticated,
+ this.mealOrderStatus,
+ this.mealType,
+ this.messageStatus,
+ this.numberOfResultRecords,
+ this.patientBlodType,
+ this.successMsg,
+ this.successMsgN,
+ this.vidaUpdatedResponse,
+ this.accessTokenObject,
+ this.age,
+ this.clientIdentifierId,
+ this.createdBy,
+ this.dateOfBirth,
+ this.firstNameAr,
+ this.firstNameEn,
+ this.gender,
+ this.genderAr,
+ this.genderEn,
+ this.healthId,
+ this.idNumber,
+ this.idType,
+ this.isHijri,
+ this.isInstertedOrUpdated,
+ this.isNull,
+ this.isPatientExistNHIC,
+ this.isRecordLockedByCurrentUser,
+ this.lastNameAr,
+ this.lastNameEn,
+ this.listActiveAccessToken,
+ this.maritalStatus,
+ this.maritalStatusCode,
+ this.nationalDateOfBirth,
+ this.nationality,
+ this.nationalityCode,
+ this.occupation,
+ this.pCDTransactionDataResultList,
+ this.pCDGetVidaPatientForManualVerificationList,
+ this.pCDNHICHMGPatientDetailsMatchCalulationList,
+ this.pCDReturnValue,
+ this.patientStatus,
+ this.placeofBirth,
+ this.practitionerStatusCode,
+ this.practitionerStatusDescAr,
+ this.practitionerStatusDescEn,
+ this.rowCount,
+ this.secondNameAr,
+ this.secondNameEn,
+ this.thirdNameAr,
+ this.thirdNameEn,
+ this.yakeenVidaPatientDataStatisticsByPatientIdList,
+ this.yakeenVidaPatientDataStatisticsList,
+ this.yakeenVidaPatientDataStatisticsPrefferedList,
+ this.accessToken,
+ this.categoryCode,
+ this.categoryNameAr,
+ this.categoryNameEn,
+ this.constraintCode,
+ this.constraintNameAr,
+ this.constraintNameEn,
+ this.content,
+ this.errorList,
+ this.licenseExpiryDate,
+ this.licenseIssuedDate,
+ this.licenseStatusCode,
+ this.licenseStatusDescAr,
+ this.licenseStatusDescEn,
+ this.organizations,
+ this.registrationNumber,
+ this.specialtyCode,
+ this.specialtyNameAr,
+ this.specialtyNameEn});
+
+ GetPatientInfoResponseModel.fromJson(Map json) {
+ date = json['Date'];
+ languageID = json['LanguageID'];
+ serviceName = json['ServiceName'];
+ time = json['Time'];
+ androidLink = json['AndroidLink'];
+ authenticationTokenID = json['AuthenticationTokenID'];
+ data = json['Data'];
+ dataw = json['Dataw'];
+ dietType = json['DietType'];
+ errorCode = json['ErrorCode'];
+ errorEndUserMessage = json['ErrorEndUserMessage'];
+ errorEndUserMessageN = json['ErrorEndUserMessageN'];
+ errorMessage = json['ErrorMessage'];
+ errorType = json['ErrorType'];
+ foodCategory = json['FoodCategory'];
+ iOSLink = json['IOSLink'];
+ isAuthenticated = json['IsAuthenticated'];
+ mealOrderStatus = json['MealOrderStatus'];
+ mealType = json['MealType'];
+ messageStatus = json['MessageStatus'];
+ numberOfResultRecords = json['NumberOfResultRecords'];
+ patientBlodType = json['PatientBlodType'];
+ successMsg = json['SuccessMsg'];
+ successMsgN = json['SuccessMsgN'];
+ vidaUpdatedResponse = json['VidaUpdatedResponse'];
+ accessTokenObject = json['AccessTokenObject'];
+ age = json['Age'];
+ clientIdentifierId = json['ClientIdentifierId'];
+ createdBy = json['CreatedBy'];
+ dateOfBirth = json['DateOfBirth'];
+ firstNameAr = json['FirstNameAr'];
+ firstNameEn = json['FirstNameEn'];
+ gender = json['Gender'];
+ genderAr = json['GenderAr'];
+ genderEn = json['GenderEn'];
+ healthId = json['HealthId'];
+ idNumber = json['IdNumber'];
+ idType = json['IdType'];
+ isHijri = json['IsHijri'];
+ isInstertedOrUpdated = json['IsInstertedOrUpdated'];
+ isNull = json['IsNull'];
+ isPatientExistNHIC = json['IsPatientExistNHIC'];
+ isRecordLockedByCurrentUser = json['IsRecordLockedByCurrentUser'];
+ lastNameAr = json['LastNameAr'];
+ lastNameEn = json['LastNameEn'];
+ listActiveAccessToken = json['List_ActiveAccessToken'];
+ maritalStatus = json['MaritalStatus'];
+ maritalStatusCode = json['MaritalStatusCode'];
+ nationalDateOfBirth = json['NationalDateOfBirth'];
+ nationality = json['Nationality'];
+ nationalityCode = json['NationalityCode'];
+ occupation = json['Occupation'];
+ pCDTransactionDataResultList = json['PCDTransactionDataResultList'];
+ pCDGetVidaPatientForManualVerificationList =
+ json['PCD_GetVidaPatientForManualVerificationList'];
+ pCDNHICHMGPatientDetailsMatchCalulationList =
+ json['PCD_NHIC_HMG_PatientDetailsMatchCalulationList'];
+ pCDReturnValue = json['PCD_ReturnValue'];
+ patientStatus = json['PatientStatus'];
+ placeofBirth = json['PlaceofBirth'];
+ practitionerStatusCode = json['PractitionerStatusCode'];
+ practitionerStatusDescAr = json['PractitionerStatusDescAr'];
+ practitionerStatusDescEn = json['PractitionerStatusDescEn'];
+ rowCount = json['RowCount'];
+ secondNameAr = json['SecondNameAr'];
+ secondNameEn = json['SecondNameEn'];
+ thirdNameAr = json['ThirdNameAr'];
+ thirdNameEn = json['ThirdNameEn'];
+ yakeenVidaPatientDataStatisticsByPatientIdList =
+ json['YakeenVidaPatientDataStatisticsByPatientIdList'];
+ yakeenVidaPatientDataStatisticsList =
+ json['YakeenVidaPatientDataStatisticsList'];
+ yakeenVidaPatientDataStatisticsPrefferedList =
+ json['YakeenVidaPatientDataStatisticsPrefferedList'];
+ accessToken = json['accessToken'];
+ categoryCode = json['categoryCode'];
+ categoryNameAr = json['categoryNameAr'];
+ categoryNameEn = json['categoryNameEn'];
+ constraintCode = json['constraintCode'];
+ constraintNameAr = json['constraintNameAr'];
+ constraintNameEn = json['constraintNameEn'];
+ content = json['content'];
+ errorList = json['errorList'];
+ licenseExpiryDate = json['licenseExpiryDate'];
+ licenseIssuedDate = json['licenseIssuedDate'];
+ licenseStatusCode = json['licenseStatusCode'];
+ licenseStatusDescAr = json['licenseStatusDescAr'];
+ licenseStatusDescEn = json['licenseStatusDescEn'];
+ organizations = json['organizations'];
+ registrationNumber = json['registrationNumber'];
+ specialtyCode = json['specialtyCode'];
+ specialtyNameAr = json['specialtyNameAr'];
+ specialtyNameEn = json['specialtyNameEn'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['Date'] = this.date;
+ data['LanguageID'] = this.languageID;
+ data['ServiceName'] = this.serviceName;
+ data['Time'] = this.time;
+ data['AndroidLink'] = this.androidLink;
+ data['AuthenticationTokenID'] = this.authenticationTokenID;
+ data['Data'] = this.data;
+ data['Dataw'] = this.dataw;
+ data['DietType'] = this.dietType;
+ data['ErrorCode'] = this.errorCode;
+ data['ErrorEndUserMessage'] = this.errorEndUserMessage;
+ data['ErrorEndUserMessageN'] = this.errorEndUserMessageN;
+ data['ErrorMessage'] = this.errorMessage;
+ data['ErrorType'] = this.errorType;
+ data['FoodCategory'] = this.foodCategory;
+ data['IOSLink'] = this.iOSLink;
+ data['IsAuthenticated'] = this.isAuthenticated;
+ data['MealOrderStatus'] = this.mealOrderStatus;
+ data['MealType'] = this.mealType;
+ data['MessageStatus'] = this.messageStatus;
+ data['NumberOfResultRecords'] = this.numberOfResultRecords;
+ data['PatientBlodType'] = this.patientBlodType;
+ data['SuccessMsg'] = this.successMsg;
+ data['SuccessMsgN'] = this.successMsgN;
+ data['VidaUpdatedResponse'] = this.vidaUpdatedResponse;
+ data['AccessTokenObject'] = this.accessTokenObject;
+ data['Age'] = this.age;
+ data['ClientIdentifierId'] = this.clientIdentifierId;
+ data['CreatedBy'] = this.createdBy;
+ data['DateOfBirth'] = this.dateOfBirth;
+ data['FirstNameAr'] = this.firstNameAr;
+ data['FirstNameEn'] = this.firstNameEn;
+ data['Gender'] = this.gender;
+ data['GenderAr'] = this.genderAr;
+ data['GenderEn'] = this.genderEn;
+ data['HealthId'] = this.healthId;
+ data['IdNumber'] = this.idNumber;
+ data['IdType'] = this.idType;
+ data['IsHijri'] = this.isHijri;
+ data['IsInstertedOrUpdated'] = this.isInstertedOrUpdated;
+ data['IsNull'] = this.isNull;
+ data['IsPatientExistNHIC'] = this.isPatientExistNHIC;
+ data['IsRecordLockedByCurrentUser'] = this.isRecordLockedByCurrentUser;
+ data['LastNameAr'] = this.lastNameAr;
+ data['LastNameEn'] = this.lastNameEn;
+ data['List_ActiveAccessToken'] = this.listActiveAccessToken;
+ data['MaritalStatus'] = this.maritalStatus;
+ data['MaritalStatusCode'] = this.maritalStatusCode;
+ data['NationalDateOfBirth'] = this.nationalDateOfBirth;
+ data['Nationality'] = this.nationality;
+ data['NationalityCode'] = this.nationalityCode;
+ data['Occupation'] = this.occupation;
+ data['PCDTransactionDataResultList'] = this.pCDTransactionDataResultList;
+ data['PCD_GetVidaPatientForManualVerificationList'] =
+ this.pCDGetVidaPatientForManualVerificationList;
+ data['PCD_NHIC_HMG_PatientDetailsMatchCalulationList'] =
+ this.pCDNHICHMGPatientDetailsMatchCalulationList;
+ data['PCD_ReturnValue'] = this.pCDReturnValue;
+ data['PatientStatus'] = this.patientStatus;
+ data['PlaceofBirth'] = this.placeofBirth;
+ data['PractitionerStatusCode'] = this.practitionerStatusCode;
+ data['PractitionerStatusDescAr'] = this.practitionerStatusDescAr;
+ data['PractitionerStatusDescEn'] = this.practitionerStatusDescEn;
+ data['RowCount'] = this.rowCount;
+ data['SecondNameAr'] = this.secondNameAr;
+ data['SecondNameEn'] = this.secondNameEn;
+ data['ThirdNameAr'] = this.thirdNameAr;
+ data['ThirdNameEn'] = this.thirdNameEn;
+ data['YakeenVidaPatientDataStatisticsByPatientIdList'] =
+ this.yakeenVidaPatientDataStatisticsByPatientIdList;
+ data['YakeenVidaPatientDataStatisticsList'] =
+ this.yakeenVidaPatientDataStatisticsList;
+ data['YakeenVidaPatientDataStatisticsPrefferedList'] =
+ this.yakeenVidaPatientDataStatisticsPrefferedList;
+ data['accessToken'] = this.accessToken;
+ data['categoryCode'] = this.categoryCode;
+ data['categoryNameAr'] = this.categoryNameAr;
+ data['categoryNameEn'] = this.categoryNameEn;
+ data['constraintCode'] = this.constraintCode;
+ data['constraintNameAr'] = this.constraintNameAr;
+ data['constraintNameEn'] = this.constraintNameEn;
+ data['content'] = this.content;
+ data['errorList'] = this.errorList;
+ data['licenseExpiryDate'] = this.licenseExpiryDate;
+ data['licenseIssuedDate'] = this.licenseIssuedDate;
+ data['licenseStatusCode'] = this.licenseStatusCode;
+ data['licenseStatusDescAr'] = this.licenseStatusDescAr;
+ data['licenseStatusDescEn'] = this.licenseStatusDescEn;
+ data['organizations'] = this.organizations;
+ data['registrationNumber'] = this.registrationNumber;
+ data['specialtyCode'] = this.specialtyCode;
+ data['specialtyNameAr'] = this.specialtyNameAr;
+ data['specialtyNameEn'] = this.specialtyNameEn;
+ return data;
+ }
+}
diff --git a/lib/core/model/PatientRegistration/PatientRegistrationModel.dart b/lib/core/model/PatientRegistration/PatientRegistrationModel.dart
new file mode 100644
index 00000000..83ff53d7
--- /dev/null
+++ b/lib/core/model/PatientRegistration/PatientRegistrationModel.dart
@@ -0,0 +1,185 @@
+class PatientRegistrationModel {
+ Patientobject patientobject;
+ String patientIdentificationID;
+ String patientMobileNumber;
+ String logInTokenID;
+ double versionID;
+ int channel;
+ int languageID;
+ String iPAdress;
+ String generalid;
+ int patientOutSA;
+ Null sessionID;
+ bool isDentalAllowedBackend;
+ int deviceTypeID;
+ String tokenID;
+ String dOB;
+ int isHijri;
+ String healthId;
+ String zipCode;
+
+ PatientRegistrationModel(
+ {this.patientobject,
+ this.patientIdentificationID,
+ this.patientMobileNumber,
+ this.logInTokenID,
+ this.versionID,
+ this.channel,
+ this.languageID,
+ this.iPAdress,
+ this.generalid,
+ this.patientOutSA,
+ this.sessionID,
+ this.isDentalAllowedBackend,
+ this.deviceTypeID,
+ this.tokenID,
+ this.dOB,
+ this.isHijri,
+ this.healthId,
+ this.zipCode});
+
+ PatientRegistrationModel.fromJson(Map json) {
+ patientobject = json['Patientobject'] != null
+ ? new Patientobject.fromJson(json['Patientobject'])
+ : null;
+ patientIdentificationID = json['PatientIdentificationID'];
+ patientMobileNumber = json['PatientMobileNumber'];
+ logInTokenID = json['LogInTokenID'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ languageID = json['LanguageID'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ patientOutSA = json['PatientOutSA'];
+ sessionID = json['SessionID'];
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ deviceTypeID = json['DeviceTypeID'];
+ tokenID = json['TokenID'];
+ dOB = json['DOB'];
+ isHijri = json['IsHijri'];
+ healthId = json['HealthId'];
+ zipCode = json['ZipCode'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ if (this.patientobject != null) {
+ data['Patientobject'] = this.patientobject.toJson();
+ }
+ data['PatientIdentificationID'] = this.patientIdentificationID;
+ data['PatientMobileNumber'] = this.patientMobileNumber;
+ data['LogInTokenID'] = this.logInTokenID;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['LanguageID'] = this.languageID;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['SessionID'] = this.sessionID;
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['TokenID'] = this.tokenID;
+ data['DOB'] = this.dOB;
+ data['IsHijri'] = this.isHijri;
+ data['HealthId'] = this.healthId;
+ data['ZipCode'] = this.zipCode;
+ return data;
+ }
+}
+
+class Patientobject {
+ bool tempValue;
+ int patientIdentificationType;
+ String patientIdentificationNo;
+ int mobileNumber;
+ int patientOutSA;
+ String firstNameN;
+ String middleNameN;
+ String lastNameN;
+ String firstName;
+ String middleName;
+ String lastName;
+ String strDateofBirth;
+ String dateofBirth;
+ int gender;
+ String nationalityID;
+ String dateofBirthN;
+ String emailAddress;
+ String sourceType;
+ String preferredLanguage;
+ String marital;
+ String eHealthIDField;
+
+ Patientobject(
+ {this.tempValue,
+ this.patientIdentificationType,
+ this.patientIdentificationNo,
+ this.mobileNumber,
+ this.patientOutSA,
+ this.firstNameN,
+ this.middleNameN,
+ this.lastNameN,
+ this.firstName,
+ this.middleName,
+ this.lastName,
+ this.strDateofBirth,
+ this.dateofBirth,
+ this.gender,
+ this.nationalityID,
+ this.dateofBirthN,
+ this.emailAddress,
+ this.sourceType,
+ this.preferredLanguage,
+ this.marital,
+ this.eHealthIDField});
+
+ Patientobject.fromJson(Map json) {
+ tempValue = json['TempValue'];
+ patientIdentificationType = json['PatientIdentificationType'];
+ patientIdentificationNo = json['PatientIdentificationNo'];
+ mobileNumber = json['MobileNumber'];
+ patientOutSA = json['PatientOutSA'];
+ firstNameN = json['FirstNameN'];
+ middleNameN = json['MiddleNameN'];
+ lastNameN = json['LastNameN'];
+ firstName = json['FirstName'];
+ middleName = json['MiddleName'];
+ lastName = json['LastName'];
+ strDateofBirth = json['StrDateofBirth'];
+ dateofBirth = json['DateofBirth'];
+ gender = json['Gender'];
+ nationalityID = json['NationalityID'];
+ dateofBirthN = json['DateofBirthN'];
+ emailAddress = json['EmailAddress'];
+ sourceType = json['SourceType'];
+ preferredLanguage = json['PreferredLanguage'];
+ marital = json['Marital'];
+ eHealthIDField = json['eHealthIDField'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['TempValue'] = this.tempValue;
+ data['PatientIdentificationType'] = this.patientIdentificationType;
+ data['PatientIdentificationNo'] = this.patientIdentificationNo;
+ data['MobileNumber'] = this.mobileNumber;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['FirstNameN'] = this.firstNameN;
+ data['MiddleNameN'] = this.middleNameN;
+ data['LastNameN'] = this.lastNameN;
+ data['FirstName'] = this.firstName;
+ data['MiddleName'] = this.middleName;
+ data['LastName'] = this.lastName;
+ data['StrDateofBirth'] = this.strDateofBirth;
+ data['DateofBirth'] = this.dateofBirth;
+ data['Gender'] = this.gender;
+ data['NationalityID'] = this.nationalityID;
+ data['DateofBirthN'] = this.dateofBirthN;
+ data['EmailAddress'] = this.emailAddress;
+ data['SourceType'] = this.sourceType;
+ data['PreferredLanguage'] = this.preferredLanguage;
+ data['Marital'] = this.marital;
+ data['eHealthIDField'] = this.eHealthIDField;
+ return data;
+ }
+}
diff --git a/lib/core/model/PatientRegistration/SendActivationCodebyOTPNotificationTypeForRegistrationModel.dart b/lib/core/model/PatientRegistration/SendActivationCodebyOTPNotificationTypeForRegistrationModel.dart
new file mode 100644
index 00000000..8244a95f
--- /dev/null
+++ b/lib/core/model/PatientRegistration/SendActivationCodebyOTPNotificationTypeForRegistrationModel.dart
@@ -0,0 +1,109 @@
+class SendActivationCodeByOTPNotificationTypeForRegistrationModel {
+ int patientMobileNumber;
+ String mobileNo;
+ int projectOutSA;
+ int loginType;
+ String zipCode;
+ bool isRegister;
+ String logInTokenID;
+ int searchType;
+ int patientID;
+ int nationalID;
+ int patientIdentificationID;
+ int oTPSendType;
+ int languageID;
+ double versionID;
+ int channel;
+ String iPAdress;
+ String generalid;
+ int patientOutSA;
+ Null sessionID;
+ bool isDentalAllowedBackend;
+ int deviceTypeID;
+ String dOB;
+ int isHijri;
+ String healthId;
+
+ SendActivationCodeByOTPNotificationTypeForRegistrationModel(
+ {this.patientMobileNumber,
+ this.mobileNo,
+ this.projectOutSA,
+ this.loginType,
+ this.zipCode,
+ this.isRegister,
+ this.logInTokenID,
+ this.searchType,
+ this.patientID,
+ this.nationalID,
+ this.patientIdentificationID,
+ this.oTPSendType,
+ this.languageID,
+ this.versionID,
+ this.channel,
+ this.iPAdress,
+ this.generalid,
+ this.patientOutSA,
+ this.sessionID,
+ this.isDentalAllowedBackend,
+ this.deviceTypeID,
+ this.dOB,
+ this.isHijri,
+ this.healthId});
+
+ SendActivationCodeByOTPNotificationTypeForRegistrationModel.fromJson(
+ Map json) {
+ patientMobileNumber = json['PatientMobileNumber'];
+ mobileNo = json['MobileNo'];
+ projectOutSA = json['ProjectOutSA'];
+ loginType = json['LoginType'];
+ zipCode = json['ZipCode'];
+ isRegister = json['isRegister'];
+ logInTokenID = json['LogInTokenID'];
+ searchType = json['SearchType'];
+ patientID = json['PatientID'];
+ nationalID = json['NationalID'];
+ patientIdentificationID = json['PatientIdentificationID'];
+ oTPSendType = json['OTP_SendType'];
+ languageID = json['LanguageID'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ patientOutSA = json['PatientOutSA'];
+ sessionID = json['SessionID'];
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ deviceTypeID = json['DeviceTypeID'];
+ dOB = json['DOB'];
+ isHijri = json['IsHijri'];
+ healthId = json['HealthId'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientMobileNumber'] = this.patientMobileNumber;
+ data['MobileNo'] = this.mobileNo;
+ data['ProjectOutSA'] = this.projectOutSA;
+ data['LoginType'] = this.loginType;
+ data['ZipCode'] = this.zipCode;
+ data['isRegister'] = this.isRegister;
+ data['LogInTokenID'] = this.logInTokenID;
+ data['SearchType'] = this.searchType;
+ data['PatientID'] = this.patientID;
+ data['NationalID'] = this.nationalID;
+ data['PatientIdentificationID'] = this.patientIdentificationID;
+ data['OTP_SendType'] = this.oTPSendType;
+ data['LanguageID'] = this.languageID;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['SessionID'] = this.sessionID;
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['DOB'] = this.dOB;
+ data['IsHijri'] = this.isHijri;
+ data['HealthId'] = this.healthId;
+ return data;
+ }
+}
diff --git a/lib/core/model/diabetic_chart/DiabeticType.dart b/lib/core/model/diabetic_chart/DiabeticType.dart
new file mode 100644
index 00000000..26641e61
--- /dev/null
+++ b/lib/core/model/diabetic_chart/DiabeticType.dart
@@ -0,0 +1,21 @@
+class DiabeticType {
+ int value;
+ String nameEn;
+ String nameAr;
+
+ DiabeticType({this.value, this.nameEn, this.nameAr});
+
+ DiabeticType.fromJson(Map json) {
+ value = json['value'];
+ nameEn = json['nameEn'];
+ nameAr = json['nameAr'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['value'] = this.value;
+ data['nameEn'] = this.nameEn;
+ data['nameAr'] = this.nameAr;
+ return data;
+ }
+}
diff --git a/lib/core/model/diabetic_chart/GetDiabeticChartValuesRequestModel.dart b/lib/core/model/diabetic_chart/GetDiabeticChartValuesRequestModel.dart
new file mode 100644
index 00000000..7fad3106
--- /dev/null
+++ b/lib/core/model/diabetic_chart/GetDiabeticChartValuesRequestModel.dart
@@ -0,0 +1,44 @@
+class GetDiabeticChartValuesRequestModel {
+ int deviceTypeID;
+ int patientID;
+ int resultType;
+ int admissionNo;
+ String setupID;
+ bool patientOutSA;
+ int patientType;
+ int patientTypeID;
+
+ GetDiabeticChartValuesRequestModel(
+ {this.deviceTypeID,
+ this.patientID,
+ this.resultType,
+ this.admissionNo,
+ this.setupID,
+ this.patientOutSA,
+ this.patientType,
+ this.patientTypeID});
+
+ GetDiabeticChartValuesRequestModel.fromJson(Map json) {
+ deviceTypeID = json['DeviceTypeID'];
+ patientID = json['PatientID'];
+ resultType = json['ResultType'];
+ admissionNo = json['AdmissionNo'];
+ setupID = json['SetupID'];
+ patientOutSA = json['PatientOutSA'];
+ patientType = json['PatientType'];
+ patientTypeID = json['PatientTypeID'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['PatientID'] = this.patientID;
+ data['ResultType'] = this.resultType;
+ data['AdmissionNo'] = this.admissionNo;
+ data['SetupID'] = this.setupID;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['PatientType'] = this.patientType;
+ data['PatientTypeID'] = this.patientTypeID;
+ return data;
+ }
+}
diff --git a/lib/core/model/diabetic_chart/GetDiabeticChartValuesResponseModel.dart b/lib/core/model/diabetic_chart/GetDiabeticChartValuesResponseModel.dart
new file mode 100644
index 00000000..fa2c1ca2
--- /dev/null
+++ b/lib/core/model/diabetic_chart/GetDiabeticChartValuesResponseModel.dart
@@ -0,0 +1,36 @@
+class GetDiabeticChartValuesResponseModel {
+ String resultType;
+ int admissionNo;
+ String dateChart;
+ int resultValue;
+ int createdBy;
+ String createdOn;
+
+ GetDiabeticChartValuesResponseModel(
+ {this.resultType,
+ this.admissionNo,
+ this.dateChart,
+ this.resultValue,
+ this.createdBy,
+ this.createdOn});
+
+ GetDiabeticChartValuesResponseModel.fromJson(Map json) {
+ resultType = json['ResultType'];
+ admissionNo = json['AdmissionNo'];
+ dateChart = json['DateChart'];
+ resultValue = json['ResultValue'];
+ createdBy = json['CreatedBy'];
+ createdOn = json['CreatedOn'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['ResultType'] = this.resultType;
+ data['AdmissionNo'] = this.admissionNo;
+ data['DateChart'] = this.dateChart;
+ data['ResultValue'] = this.resultValue;
+ data['CreatedBy'] = this.createdBy;
+ data['CreatedOn'] = this.createdOn;
+ return data;
+ }
+}
diff --git a/lib/core/model/diagnosis/GetDiagnosisForInPatientRequestModel.dart b/lib/core/model/diagnosis/GetDiagnosisForInPatientRequestModel.dart
new file mode 100644
index 00000000..310cfb50
--- /dev/null
+++ b/lib/core/model/diagnosis/GetDiagnosisForInPatientRequestModel.dart
@@ -0,0 +1,32 @@
+class GetDiagnosisForInPatientRequestModel {
+ int patientID;
+ int admissionNo;
+ String setupID;
+ int patientType;
+ int patientTypeID;
+
+ GetDiagnosisForInPatientRequestModel(
+ {this.patientID,
+ this.admissionNo,
+ this.setupID,
+ this.patientType,
+ this.patientTypeID});
+
+ GetDiagnosisForInPatientRequestModel.fromJson(Map json) {
+ patientID = json['PatientID'];
+ admissionNo = json['AdmissionNo'];
+ setupID = json['SetupID'];
+ patientType = json['PatientType'];
+ patientTypeID = json['PatientTypeID'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientID'] = this.patientID;
+ data['AdmissionNo'] = this.admissionNo;
+ data['SetupID'] = this.setupID;
+ data['PatientType'] = this.patientType;
+ data['PatientTypeID'] = this.patientTypeID;
+ return data;
+ }
+}
diff --git a/lib/core/model/diagnosis/GetDiagnosisForInPatientResponseModel.dart b/lib/core/model/diagnosis/GetDiagnosisForInPatientResponseModel.dart
new file mode 100644
index 00000000..1ec48964
--- /dev/null
+++ b/lib/core/model/diagnosis/GetDiagnosisForInPatientResponseModel.dart
@@ -0,0 +1,52 @@
+class GetDiagnosisForInPatientResponseModel {
+ String iCDCode10ID;
+ int diagnosisTypeID;
+ int conditionID;
+ bool complexDiagnosis;
+ String asciiDesc;
+ int createdBy;
+ String createdOn;
+ int editedBy;
+ String editedOn;
+ String createdByName;
+ String editedByName;
+
+ GetDiagnosisForInPatientResponseModel(
+ {this.iCDCode10ID,
+ this.diagnosisTypeID,
+ this.conditionID,
+ this.complexDiagnosis,
+ this.asciiDesc,
+ this.createdBy,
+ this.createdOn,
+ this.editedBy,
+ this.editedOn, this.createdByName});
+
+ GetDiagnosisForInPatientResponseModel.fromJson(Map json) {
+ iCDCode10ID = json['ICDCode10ID'];
+ diagnosisTypeID = json['DiagnosisTypeID'];
+ conditionID = json['ConditionID'];
+ complexDiagnosis = json['ComplexDiagnosis'];
+ asciiDesc = json['Ascii_Desc'];
+ createdBy = json['CreatedBy'];
+ createdOn = json['CreatedOn'];
+ editedBy = json['EditedBy'];
+ editedOn = json['EditedOn'];
+ createdByName = json['CreatedByName'];
+ editedByName = json['EditedByName'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['ICDCode10ID'] = this.iCDCode10ID;
+ data['DiagnosisTypeID'] = this.diagnosisTypeID;
+ data['ConditionID'] = this.conditionID;
+ data['ComplexDiagnosis'] = this.complexDiagnosis;
+ data['Ascii_Desc'] = this.asciiDesc;
+ data['CreatedBy'] = this.createdBy;
+ data['CreatedOn'] = this.createdOn;
+ data['EditedBy'] = this.editedBy;
+ data['EditedOn'] = this.editedOn;
+ return data;
+ }
+}
diff --git a/lib/core/model/labs/all_special_lab_result_model.dart b/lib/core/model/labs/all_special_lab_result_model.dart
index ffea88de..ffdc5ee5 100644
--- a/lib/core/model/labs/all_special_lab_result_model.dart
+++ b/lib/core/model/labs/all_special_lab_result_model.dart
@@ -1,5 +1,5 @@
class AllSpecialLabResultModel {
- int actualDoctorRate;
+ dynamic actualDoctorRate;
dynamic admissionDate;
dynamic admissionNumber;
dynamic appointmentDate;
diff --git a/lib/core/model/note/GetNursingProgressNoteRequestModel.dart b/lib/core/model/note/GetNursingProgressNoteRequestModel.dart
new file mode 100644
index 00000000..4335053c
--- /dev/null
+++ b/lib/core/model/note/GetNursingProgressNoteRequestModel.dart
@@ -0,0 +1,30 @@
+import 'package:doctor_app_flutter/config/config.dart';
+
+class GetNursingProgressNoteRequestModel {
+ int patientID;
+ int admissionNo;
+ int patientTypeID;
+ int patientType;
+ String setupID;
+
+ GetNursingProgressNoteRequestModel(
+ {this.patientID, this.admissionNo, this.patientTypeID = 1, this.patientType = 1, this.setupID });
+
+ GetNursingProgressNoteRequestModel.fromJson(Map json) {
+ patientID = json['PatientID'];
+ admissionNo = json['AdmissionNo'];
+ patientTypeID = json['PatientTypeID'];
+ patientType = json['PatientType'];
+ setupID = json['SetupID'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['PatientID'] = this.patientID;
+ data['AdmissionNo'] = this.admissionNo;
+ data['PatientTypeID'] = this.patientTypeID;
+ data['PatientType'] = this.patientType;
+ data['SetupID'] = this.setupID;
+ return data;
+ }
+}
diff --git a/lib/core/model/note/GetNursingProgressNoteResposeModel.dart b/lib/core/model/note/GetNursingProgressNoteResposeModel.dart
new file mode 100644
index 00000000..fb7fbcec
--- /dev/null
+++ b/lib/core/model/note/GetNursingProgressNoteResposeModel.dart
@@ -0,0 +1,44 @@
+class GetNursingProgressNoteResposeModel {
+ String notes;
+ dynamic conditionType;
+ int createdBy;
+ String createdOn;
+ dynamic editedBy;
+ dynamic editedOn;
+
+ String createdByName;
+
+ String editedByName;
+
+ GetNursingProgressNoteResposeModel(
+ {this.notes,
+ this.conditionType,
+ this.createdBy,
+ this.createdOn,
+ this.editedBy,
+ this.editedOn,
+ this.editedByName,
+ this.createdByName});
+
+ GetNursingProgressNoteResposeModel.fromJson(Map json) {
+ notes = json['Notes'];
+ conditionType = json['ConditionType'];
+ createdBy = json['CreatedBy'];
+ createdOn = json['CreatedOn'];
+ editedBy = json['EditedBy'];
+ editedOn = json['EditedOn'];
+ createdByName = json['CreatedByName'];
+ editedByName = json['EditedByName'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['Notes'] = this.notes;
+ data['ConditionType'] = this.conditionType;
+ data['CreatedBy'] = this.createdBy;
+ data['CreatedOn'] = this.createdOn;
+ data['EditedBy'] = this.editedBy;
+ data['EditedOn'] = this.editedOn;
+ return data;
+ }
+}
diff --git a/lib/core/service/NavigationService.dart b/lib/core/service/NavigationService.dart
index 26191ffc..5690c01e 100644
--- a/lib/core/service/NavigationService.dart
+++ b/lib/core/service/NavigationService.dart
@@ -15,4 +15,12 @@ class NavigationService {
Future pushNamedAndRemoveUntil(String routeName) {
return navigatorKey.currentState.pushNamedAndRemoveUntil(routeName,(asd)=>false);
}
+
+ Future pushAndRemoveUntil(Route newRoute) {
+ return navigatorKey.currentState.pushAndRemoveUntil(newRoute,(asd)=>false);
+ }
+
+ pop() {
+ return navigatorKey.currentState.pop();
+ }
}
\ No newline at end of file
diff --git a/lib/core/service/PatientRegistrationService.dart b/lib/core/service/PatientRegistrationService.dart
new file mode 100644
index 00000000..236bcd42
--- /dev/null
+++ b/lib/core/service/PatientRegistrationService.dart
@@ -0,0 +1,108 @@
+import 'package:doctor_app_flutter/config/config.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/CheckActivationCodeModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/CheckPatientForRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/GetPatientInfoRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/GetPatientInfoResponseModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/PatientRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/SendActivationCodebyOTPNotificationTypeForRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/service/base/base_service.dart';
+import 'package:doctor_app_flutter/core/viewModel/PatientRegistrationViewModel.dart';
+
+class PatientRegistrationService extends BaseService {
+ GetPatientInfoResponseModel getPatientInfoResponseModel;
+ String logInTokenID;
+
+ checkPatientForRegistration(
+ CheckPatientForRegistrationModel registrationModel) async {
+ hasError = false;
+ await baseAppClient.post(CHECK_PATIENT_FOR_REGISTRATION,
+ onSuccess: (dynamic response, int statusCode) {
+ //TODO Elham* fix it
+ logInTokenID = "OjEi/qgRekGICZm5/a4jbQ=="; //response["LogInTokenID"];
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: registrationModel.toJson());
+ }
+
+ getPatientInfo(GetPatientInfoRequestModel getPatientInfoRequestMode) async {
+ hasError = false;
+ await baseAppClient.post(GET_PATIENT_INFO,
+ onSuccess: (dynamic response, int statusCode) {
+ getPatientInfoResponseModel =
+ GetPatientInfoResponseModel.fromJson(response);
+ print("ddd");
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: getPatientInfoRequestMode.toJson());
+ }
+
+ sendActivationCodeByOTPNotificationType(
+ {SendActivationCodeByOTPNotificationTypeForRegistrationModel
+ registrationModel,
+ int otpType,
+ PatientRegistrationViewModel model,
+ CheckPatientForRegistrationModel
+ checkPatientForRegistrationModel}) async {
+ registrationModel =
+ SendActivationCodeByOTPNotificationTypeForRegistrationModel(
+ oTPSendType: otpType,
+ patientIdentificationID: checkPatientForRegistrationModel
+ .patientIdentificationID,
+ patientMobileNumber: checkPatientForRegistrationModel
+ .patientMobileNumber,
+ zipCode: checkPatientForRegistrationModel.zipCode,
+ patientOutSA: 0,
+ healthId: model.getPatientInfoResponseModel.healthId,
+ dOB: checkPatientForRegistrationModel.dOB,
+ isRegister: checkPatientForRegistrationModel.isRegister,
+ isHijri: checkPatientForRegistrationModel.isHijri,
+ sessionID: null,
+ generalid: GENERAL_ID,
+ isDentalAllowedBackend: false,
+ projectOutSA: 0,
+ searchType: 1,
+ versionID: 7.1,
+ channel: 3,
+ nationalID:
+ model.checkPatientForRegistrationModel.patientIdentificationID,
+ patientID: 0,
+ mobileNo: model.checkPatientForRegistrationModel.patientMobileNumber
+ .toString(),
+ loginType: otpType,
+ logInTokenID: logInTokenID);
+
+ hasError = false;
+ await baseAppClient.post(SEND_ACTIVATION_CODE_BY_OTP_NOT_TYPE_FOR_REGISTRATION,
+ onSuccess: (dynamic response, int statusCode) {
+ registrationModel =
+ SendActivationCodeByOTPNotificationTypeForRegistrationModel.fromJson(
+ response);
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: registrationModel.toJson());
+ }
+
+ checkActivationCode(CheckActivationCodeModel registrationModel) async {
+ hasError = false;
+ await baseAppClient.post(CHECK_ACTIVATION_CODE_FOR_PATIENT,
+ onSuccess: (dynamic response, int statusCode) {
+ registrationModel = CheckActivationCodeModel.fromJson(response);
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: registrationModel.toJson());
+ }
+
+ registrationPatient(PatientRegistrationModel registrationModel) async {
+ hasError = false;
+ await baseAppClient.post(PATIENT_REGISTRATION,
+ onSuccess: (dynamic response, int statusCode) {},
+ onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: registrationModel.toJson());
+ }
+}
diff --git a/lib/core/service/base/base_service.dart b/lib/core/service/base/base_service.dart
index ade01d9b..58526da7 100644
--- a/lib/core/service/base/base_service.dart
+++ b/lib/core/service/base/base_service.dart
@@ -1,5 +1,4 @@
import 'package:doctor_app_flutter/client/base_app_client.dart';
-import 'package:doctor_app_flutter/config/config.dart';
import 'package:doctor_app_flutter/config/shared_pref_kay.dart';
import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart';
import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart';
@@ -44,38 +43,5 @@ class BaseService {
}
}
- Future getPatientArrivalList(String date,{String fromDate, int patientMrn = -1, int appointmentNo = -1}) async{
- hasError = false;
- Map body = Map();
- body['From'] = fromDate == null ? date : fromDate;
- body['To'] = date;
- body['PageIndex'] = 0;
- body['PageSize'] = 0;
- if(patientMrn != -1){
- body['PatientMRN'] = patientMrn;
- }
- if(appointmentNo != -1){
- body['AppointmentNo'] = appointmentNo;
- }
-
- await baseAppClient.post(
- ARRIVED_PATIENT_URL,
- onSuccess: (dynamic response, int statusCode) {
- patientArrivalList.clear();
-
- if(response['patientArrivalList']['entityList'] != null){
- response['patientArrivalList']['entityList'].forEach((v) {
- PatiantInformtion item = PatiantInformtion.fromJson(v);
- patientArrivalList.add(item);
- });
- }
- },
- onFailure: (String error, int statusCode) {
- hasError = true;
- this.error = error;
- },
- body: body,
- );
- }
}
diff --git a/lib/core/service/patient/patient_service.dart b/lib/core/service/patient/patient_service.dart
index 25e9481b..f79e342c 100644
--- a/lib/core/service/patient/patient_service.dart
+++ b/lib/core/service/patient/patient_service.dart
@@ -1,7 +1,13 @@
import 'package:doctor_app_flutter/client/base_app_client.dart';
import 'package:doctor_app_flutter/config/config.dart';
import 'package:doctor_app_flutter/config/shared_pref_kay.dart';
+import 'package:doctor_app_flutter/core/model/diabetic_chart/GetDiabeticChartValuesRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/diabetic_chart/GetDiabeticChartValuesResponseModel.dart';
+import 'package:doctor_app_flutter/core/model/diagnosis/GetDiagnosisForInPatientRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/diagnosis/GetDiagnosisForInPatientResponseModel.dart';
import 'package:doctor_app_flutter/core/model/note/CreateNoteModel.dart';
+import 'package:doctor_app_flutter/core/model/note/GetNursingProgressNoteRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/note/GetNursingProgressNoteResposeModel.dart';
import 'package:doctor_app_flutter/core/model/note/note_model.dart';
import 'package:doctor_app_flutter/core/model/note/update_note_model.dart';
import 'package:doctor_app_flutter/core/model/patient_muse/PatientSearchRequestModel.dart';
@@ -51,11 +57,21 @@ class PatientService extends BaseService {
List get labResultList => _labResultList;
- // TODO: replace var with model
List _patientProgressNoteList = [];
List get patientProgressNoteList => _patientProgressNoteList;
+ List _patientNursingProgressNoteList = [];
+
+ List get patientNursingProgressNoteList => _patientNursingProgressNoteList;
+
+ List _diagnosisForInPatientList = [];
+
+ List get diagnosisForInPatientList => _diagnosisForInPatientList;
+ List _diabeticChartValuesList = [];
+
+ List get diabeticChartValuesList => _diabeticChartValuesList;
+
// TODO: replace var with model
var _insuranceApporvalsList = [];
@@ -465,4 +481,63 @@ class PatientService extends BaseService {
body: _doctorsByClinicIdRequest.toJson(),
);
}
+
+
+ Future getNursingProgressNote(GetNursingProgressNoteRequestModel getNursingProgressNoteRequestModel) async {
+ hasError = false;
+
+ await baseAppClient.post(
+ NURSING_PROGRESS_NOTE,
+ onSuccess: (dynamic response, int statusCode) {
+ _patientNursingProgressNoteList = [];
+ response['List_NursingProgressNote'].forEach((v) {
+ _patientNursingProgressNoteList.add( GetNursingProgressNoteResposeModel.fromJson(v));
+ });
+ },
+ onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ },
+ body: getNursingProgressNoteRequestModel.toJson(),
+ );
+ }
+
+ Future getDiagnosisForInPatient(GetDiagnosisForInPatientRequestModel getDiagnosisForInPatientRequestModel) async {
+ hasError = false;
+
+ await baseAppClient.post(
+ GET_DIAGNOSIS_FOR_IN_PATIENT,
+ onSuccess: (dynamic response, int statusCode) {
+ _diagnosisForInPatientList = [];
+ response['List_DiagnosisForInPatient'].forEach((v) {
+ _diagnosisForInPatientList.add( GetDiagnosisForInPatientResponseModel.fromJson(v));
+ });
+ },
+ onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ },
+ body: getDiagnosisForInPatientRequestModel.toJson(),
+ );
+ }
+
+
+ Future getDiabeticChartValues(GetDiabeticChartValuesRequestModel getDiabeticChartValuesRequestModel) async {
+ hasError = false;
+
+ await baseAppClient.post(
+ GET_DIABETIC_CHART_VALUES,
+ onSuccess: (dynamic response, int statusCode) {
+ _diabeticChartValuesList = [];
+ response['List_DiabeticChartValues'].forEach((v) {
+ _diabeticChartValuesList.add( GetDiabeticChartValuesResponseModel.fromJson(v));
+ });
+ },
+ onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ },
+ body: getDiabeticChartValuesRequestModel.toJson(),
+ );
+ }
}
diff --git a/lib/core/service/patient/profile/discharge_summary_servive.dart b/lib/core/service/patient/profile/discharge_summary_servive.dart
new file mode 100644
index 00000000..a92ef0eb
--- /dev/null
+++ b/lib/core/service/patient/profile/discharge_summary_servive.dart
@@ -0,0 +1,54 @@
+import 'package:doctor_app_flutter/config/config.dart';
+import 'package:doctor_app_flutter/core/service/base/base_service.dart';
+import 'package:doctor_app_flutter/models/discharge_summary/GetDischargeSummaryReqModel.dart';
+import 'package:doctor_app_flutter/models/discharge_summary/GetDischargeSummaryResModel.dart';
+import 'package:doctor_app_flutter/models/operation_report/create_update_operation_report_request_model.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_request_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_response_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_reservations_response_model.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_reservations_request_model.dart';
+
+class DischargeSummaryService extends BaseService {
+ List _pendingDischargeSummaryList = [];
+ List get pendingDischargeSummaryList =>
+ _pendingDischargeSummaryList;
+
+ List _allDischargeSummaryList = [];
+ List get allDischargeSummaryList =>
+ _allDischargeSummaryList;
+
+ Future getPendingDischargeSummary(
+ {GetDischargeSummaryReqModel getDischargeSummaryReqModel}) async {
+ hasError = false;
+ await baseAppClient.post(GET_PENDING_DISCHARGE_SUMMARY,
+ onSuccess: (dynamic response, int statusCode) {
+ _pendingDischargeSummaryList.clear();
+ response['List_PendingDischargeSummary'].forEach(
+ (v) {
+ _pendingDischargeSummaryList
+ .add(GetDischargeSummaryResModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: getDischargeSummaryReqModel.toJson());
+ }
+
+ Future getAllDischargeSummary(
+ {GetDischargeSummaryReqModel getDischargeSummaryReqModel}) async {
+ hasError = false;
+ await baseAppClient.post(GET_ALL_DISCHARGE_SUMMARY,
+ onSuccess: (dynamic response, int statusCode) {
+ _allDischargeSummaryList.clear();
+ response['List_DischargeSummary'].forEach(
+ (v) {
+ _allDischargeSummaryList.add(GetDischargeSummaryResModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: getDischargeSummaryReqModel.toJson());
+ }
+}
diff --git a/lib/core/service/patient/profile/operation_report_servive.dart b/lib/core/service/patient/profile/operation_report_servive.dart
new file mode 100644
index 00000000..7ac4ade7
--- /dev/null
+++ b/lib/core/service/patient/profile/operation_report_servive.dart
@@ -0,0 +1,68 @@
+import 'package:doctor_app_flutter/config/config.dart';
+import 'package:doctor_app_flutter/core/service/base/base_service.dart';
+import 'package:doctor_app_flutter/models/operation_report/create_update_operation_report_request_model.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_request_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_response_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_reservations_response_model.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_reservations_request_model.dart';
+
+class OperationReportService extends BaseService {
+ List _reservationList = [];
+ List get reservationList => _reservationList;
+
+ List _operationDetailsList = [];
+ List get operationDetailsList => _operationDetailsList;
+
+ Future getReservations(
+ {GetReservationsRequestModel getReservationsRequestModel,
+ int patientId}) async {
+ getReservationsRequestModel =
+ GetReservationsRequestModel(patientID: patientId, doctorID: "");
+
+ hasError = false;
+ await baseAppClient.post(GET_RESERVATIONS,
+ onSuccess: (dynamic response, int statusCode) {
+ print("Success");
+ _reservationList.clear();
+ response['List_OTReservationDetails'].forEach(
+ (v) {
+ _reservationList.add(GetReservationsResponseModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: getReservationsRequestModel.toJson());
+ }
+
+ Future getOperationReportDetails(
+ {GetOperationDetailsRequestModel getOperationReportRequestModel,
+ }) async {
+
+ hasError = false;
+ await baseAppClient.post(GET_OPERATION_DETAILS,
+ onSuccess: (dynamic response, int statusCode) {
+ print("Success");
+ _operationDetailsList.clear();
+ response['List_OperationDetails'].forEach(
+ (v) {
+ _operationDetailsList.add(GetOperationDetailsResponseModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: getOperationReportRequestModel.toJson());
+ }
+
+ Future updateOperationReport(
+ CreateUpdateOperationReportRequestModel
+ createUpdateOperationReport) async {
+ await baseAppClient.post(UPDATE_OPERATION_REPORT,
+ onSuccess: (dynamic response, int statusCode) {},
+ onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: createUpdateOperationReport.toJson(), isFallLanguage: true);
+ }
+}
diff --git a/lib/core/service/pending_order_service.dart b/lib/core/service/pending_order_service.dart
new file mode 100644
index 00000000..e6f35bb8
--- /dev/null
+++ b/lib/core/service/pending_order_service.dart
@@ -0,0 +1,68 @@
+import 'package:doctor_app_flutter/config/config.dart';
+import 'package:doctor_app_flutter/core/service/base/base_service.dart';
+import 'package:doctor_app_flutter/models/admisson_orders/admission_orders_model.dart';
+import 'package:doctor_app_flutter/models/admisson_orders/admission_orders_request_model.dart';
+import 'package:doctor_app_flutter/models/pending_orders/pending_order_request_model.dart';
+import 'package:doctor_app_flutter/models/pending_orders/pending_orders_model.dart';
+
+class PendingOrderService extends BaseService {
+ List _pendingOrderList = List();
+ List get pendingOrderList => _pendingOrderList;
+
+ List _admissionOrderList = List();
+ List get admissionOrderList => _admissionOrderList;
+
+ Future getPendingOrders(
+ {PendingOrderRequestModel pendingOrderRequestModel,
+ int patientId,
+ int admissionNo}) async {
+ pendingOrderRequestModel = PendingOrderRequestModel(
+ patientID: patientId,
+ admissionNo: admissionNo,
+ patientTypeID: 1,
+ patientType: 1,
+ setupID: "010266");
+
+ hasError = false;
+ await baseAppClient.post(GET_PENDING_ORDERS,
+ onSuccess: (dynamic response, int statusCode) {
+ print("Success");
+ _pendingOrderList.clear();
+ response['List_PendingOrders'].forEach(
+ (v) {
+ _pendingOrderList.add(PendingOrderModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: pendingOrderRequestModel.toJson());
+ }
+
+ Future getAdmissionOrders(
+ {AdmissionOrdersRequestModel admissionOrdersRequestModel,
+ int patientId,
+ int admissionNo}) async {
+ admissionOrdersRequestModel = AdmissionOrdersRequestModel(
+ patientID: patientId,
+ admissionNo: admissionNo,
+ patientTypeID: 1,
+ patientType: 1,
+ setupID: "010266");
+
+ hasError = false;
+ await baseAppClient.post(GET_ADMISSION_ORDERS,
+ onSuccess: (dynamic response, int statusCode) {
+ print("Success");
+ //admissionOrderList.clear();
+ response['List_AdmissionOrders'].forEach(
+ (v) {
+ _admissionOrderList.add(AdmissionOrdersModel.fromJson(v));
+ },
+ );
+ }, onFailure: (String error, int statusCode) {
+ hasError = true;
+ super.error = error;
+ }, body: admissionOrdersRequestModel.toJson());
+ }
+}
diff --git a/lib/core/viewModel/PatientRegistrationViewModel.dart b/lib/core/viewModel/PatientRegistrationViewModel.dart
new file mode 100644
index 00000000..866f99a8
--- /dev/null
+++ b/lib/core/viewModel/PatientRegistrationViewModel.dart
@@ -0,0 +1,209 @@
+import 'package:doctor_app_flutter/config/config.dart';
+import 'package:doctor_app_flutter/core/enum/viewstate.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/CheckActivationCodeModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/CheckPatientForRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/GetPatientInfoRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/GetPatientInfoResponseModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/PatientRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/model/PatientRegistration/SendActivationCodebyOTPNotificationTypeForRegistrationModel.dart';
+import 'package:doctor_app_flutter/core/service/PatientRegistrationService.dart';
+import 'package:doctor_app_flutter/core/viewModel/base_view_model.dart';
+
+import '../../locator.dart';
+
+class PatientRegistrationViewModel extends BaseViewModel {
+ PatientRegistrationService _patientRegistrationService =
+ locator();
+
+ GetPatientInfoResponseModel get getPatientInfoResponseModel =>
+ _patientRegistrationService.getPatientInfoResponseModel;
+
+ CheckPatientForRegistrationModel checkPatientForRegistrationModel;
+
+ Future checkPatientForRegistration(
+ CheckPatientForRegistrationModel registrationModel) async {
+ checkPatientForRegistrationModel = registrationModel;
+
+ checkPatientForRegistrationModel =
+ CheckPatientForRegistrationModel.fromJson(registrationModel.toJson());
+ setState(ViewState.BusyLocal);
+ await _patientRegistrationService
+ .checkPatientForRegistration(registrationModel);
+ if (_patientRegistrationService.hasError) {
+ error = _patientRegistrationService.error;
+ setState(ViewState.ErrorLocal);
+ } else
+ setState(ViewState.Idle);
+ }
+
+ Future getPatientInfo(
+ GetPatientInfoRequestModel getPatientInfoRequestModel) async {
+ setState(ViewState.BusyLocal);
+
+ /// TODO Elham* return call service when it working
+ _patientRegistrationService.getPatientInfoResponseModel =
+ GetPatientInfoResponseModel.fromJson({
+ "Date": null,
+ "LanguageID": 0,
+ "ServiceName": 0,
+ "Time": null,
+ "AndroidLink": null,
+ "AuthenticationTokenID": null,
+ "Data": null,
+ "Dataw": false,
+ "DietType": 0,
+ "ErrorCode": null,
+ "ErrorEndUserMessage": null,
+ "ErrorEndUserMessageN": null,
+ "ErrorMessage": null,
+ "ErrorType": 0,
+ "FoodCategory": 0,
+ "IOSLink": null,
+ "IsAuthenticated": false,
+ "MealOrderStatus": 0,
+ "MealType": 0,
+ "MessageStatus": 1,
+ "NumberOfResultRecords": 0,
+ "PatientBlodType": null,
+ "SuccessMsg": null,
+ "SuccessMsgN": null,
+ "VidaUpdatedResponse": null,
+ "AccessTokenObject": null,
+ "Age": 33,
+ "ClientIdentifierId": null,
+ "CreatedBy": 0,
+ "DateOfBirth": "07/31/1988",
+ "FirstNameAr": "سفيان",
+ "FirstNameEn": "SUFIAN",
+ "Gender": "M",
+ "GenderAr": null,
+ "GenderEn": null,
+ "HealthId": "30000018540264",
+ "IdNumber": "1062938285",
+ "IdType": "NationalId",
+ "IsHijri": false,
+ "IsInstertedOrUpdated": 0,
+ "IsNull": 0,
+ "IsPatientExistNHIC": 0,
+ "IsRecordLockedByCurrentUser": false,
+ "LastNameAr": "عثمان",
+ "LastNameEn": "OTHMAN",
+ "List_ActiveAccessToken": null,
+ "MaritalStatus": "غير معروف",
+ "MaritalStatusCode": "U",
+ "NationalDateOfBirth": "18/12/1408",
+ "Nationality": "السعودية",
+ "NationalityCode": "SAU",
+ "Occupation": "طالب",
+ "PCDTransactionDataResultList": null,
+ "PCD_GetVidaPatientForManualVerificationList": null,
+ "PCD_NHIC_HMG_PatientDetailsMatchCalulationList": null,
+ "PCD_ReturnValue": 0,
+ "PatientStatus": "-",
+ "PlaceofBirth": "فينا",
+ "PractitionerStatusCode": null,
+ "PractitionerStatusDescAr": null,
+ "PractitionerStatusDescEn": null,
+ "RowCount": 0,
+ "SecondNameAr": "عبدالهادي",
+ "SecondNameEn": "ABDULHADI",
+ "ThirdNameAr": "احمد",
+ "ThirdNameEn": "A",
+ "YakeenVidaPatientDataStatisticsByPatientIdList": null,
+ "YakeenVidaPatientDataStatisticsList": null,
+ "YakeenVidaPatientDataStatisticsPrefferedList": null,
+ "accessToken": null,
+ "categoryCode": 0,
+ "categoryNameAr": null,
+ "categoryNameEn": null,
+ "constraintCode": 0,
+ "constraintNameAr": null,
+ "constraintNameEn": null,
+ "content": null,
+ "errorList": null,
+ "licenseExpiryDate": null,
+ "licenseIssuedDate": null,
+ "licenseStatusCode": null,
+ "licenseStatusDescAr": null,
+ "licenseStatusDescEn": null,
+ "organizations": null,
+ "registrationNumber": null,
+ "specialtyCode": 0,
+ "specialtyNameAr": null,
+ "specialtyNameEn": null
+ });
+ // await _patientRegistrationService.
+ // getPatientInfo(getPatientInfoRequestModel);
+ // if (_patientRegistrationService.hasError) {
+ // error = _patientRegistrationService.error;
+ // setState(ViewState.ErrorLocal);
+ // } else
+ setState(ViewState.Idle);
+ }
+
+ Future sendActivationCodeByOTPNotificationType(
+ {SendActivationCodeByOTPNotificationTypeForRegistrationModel
+ registrationModel,
+ int otpType,
+ PatientRegistrationViewModel user}) async {
+ setState(ViewState.BusyLocal);
+ print(checkPatientForRegistrationModel);
+ print(checkPatientForRegistrationModel);
+
+ await _patientRegistrationService.sendActivationCodeByOTPNotificationType(
+ otpType: otpType,
+ model: this,
+ checkPatientForRegistrationModel: checkPatientForRegistrationModel);
+ if (_patientRegistrationService.hasError) {
+ error = _patientRegistrationService.error;
+ setState(ViewState.ErrorLocal);
+ } else
+ setState(ViewState.Idle);
+ }
+
+ Future checkActivationCode(String code) async {
+ CheckActivationCodeModel model = CheckActivationCodeModel(
+ activationCode: code,
+ patientIdentificationID:
+ checkPatientForRegistrationModel.patientIdentificationID,
+ patientMobileNumber: checkPatientForRegistrationModel.patientMobileNumber,
+ zipCode: checkPatientForRegistrationModel.zipCode,
+ patientOutSA: 0,
+ healthId: getPatientInfoResponseModel.healthId,
+ dOB: checkPatientForRegistrationModel.dOB,
+ isRegister: checkPatientForRegistrationModel.isRegister,
+ isHijri: checkPatientForRegistrationModel.isHijri,
+ sessionID: null,
+ generalid: GENERAL_ID,
+ forRegisteration: true,
+ isDentalAllowedBackend: false,
+ projectOutSA: 0,
+ searchType: 1,
+ versionID: 7.1,
+ channel: 3,
+ // TODO Elham* loginType
+ loginType: 4,
+ logInTokenID:_patientRegistrationService.logInTokenID ,
+ nationalID: checkPatientForRegistrationModel.patientIdentificationID,
+ patientID: 0,
+ mobileNo: checkPatientForRegistrationModel.patientMobileNumber.toString(),
+ );
+ setState(ViewState.BusyLocal);
+ await _patientRegistrationService.checkActivationCode(model);
+ if (_patientRegistrationService.hasError) {
+ error = _patientRegistrationService.error;
+ setState(ViewState.ErrorLocal);
+ } else
+ setState(ViewState.Idle);
+ }
+
+ Future registrationPatient(PatientRegistrationModel registrationModel) async {
+ setState(ViewState.BusyLocal);
+ await _patientRegistrationService.registrationPatient(registrationModel);
+ if (_patientRegistrationService.hasError) {
+ error = _patientRegistrationService.error;
+ setState(ViewState.ErrorLocal);
+ } else
+ setState(ViewState.Idle);
+ }
+}
diff --git a/lib/core/viewModel/base_view_model.dart b/lib/core/viewModel/base_view_model.dart
index 03f6e84a..d50a8d5a 100644
--- a/lib/core/viewModel/base_view_model.dart
+++ b/lib/core/viewModel/base_view_model.dart
@@ -22,7 +22,7 @@ class BaseViewModel extends ChangeNotifier {
void setState(ViewState viewState) {
_state = viewState;
- notifyListeners();
+ notifyListeners();
}
Future getDoctorProfile({bool isGetProfile = false}) async {
diff --git a/lib/core/viewModel/dashboard_view_model.dart b/lib/core/viewModel/dashboard_view_model.dart
index afcec235..04e63dd9 100644
--- a/lib/core/viewModel/dashboard_view_model.dart
+++ b/lib/core/viewModel/dashboard_view_model.dart
@@ -37,7 +37,7 @@ class DashboardViewModel extends BaseViewModel {
await getDoctorProfile(isGetProfile: true);
final results = await Future.wait([
- projectsProvider.getDoctorClinicsList(),
+ projectsProvider.getDoctorClinicsList(),
_dashboardService.getDashboard(),
_dashboardService.checkDoctorHasLiveCare(),
_specialClinicsService.getSpecialClinicalCareList(),
@@ -45,7 +45,7 @@ class DashboardViewModel extends BaseViewModel {
if (_dashboardService.hasError) {
error = _dashboardService.error;
- setState(ViewState.Error);
+ setState(ViewState.ErrorLocal);
} else
setState(ViewState.Idle);
@@ -72,31 +72,21 @@ class DashboardViewModel extends BaseViewModel {
Future getDashboard() async {
setState(ViewState.Busy);
await _dashboardService.getDashboard();
- if (_dashboardService.hasError) {
- error = _dashboardService.error;
- setState(ViewState.Error);
- } else
- setState(ViewState.Idle);
}
Future checkDoctorHasLiveCare() async {
setState(ViewState.Busy);
await _dashboardService.checkDoctorHasLiveCare();
- if (_dashboardService.hasError) {
- error = _dashboardService.error;
- setState(ViewState.Error);
- } else
- setState(ViewState.Idle);
}
Future getSpecialClinicalCareList() async {
setState(ViewState.Busy);
await _specialClinicsService.getSpecialClinicalCareList();
- if (_specialClinicsService.hasError) {
- error = _specialClinicsService.error;
- setState(ViewState.Error);
- } else
- setState(ViewState.Idle);
+ // if (_specialClinicsService.hasError) {
+ // error = _specialClinicsService.error;
+ // setState(ViewState.Error);
+ // } else
+ // setState(ViewState.Idle);
}
Future changeClinic(
diff --git a/lib/core/viewModel/patient-referral-viewmodel.dart b/lib/core/viewModel/patient-referral-viewmodel.dart
index 4240e848..93635629 100644
--- a/lib/core/viewModel/patient-referral-viewmodel.dart
+++ b/lib/core/viewModel/patient-referral-viewmodel.dart
@@ -256,17 +256,7 @@ class PatientReferralViewModel extends BaseViewModel {
}
}
- Future getPatientDetails(String fromDate, String toDate, int patientMrn, int appointmentNo) async {
- setState(ViewState.Busy);
- await _referralPatientService.getPatientArrivalList(toDate, fromDate: fromDate, patientMrn: patientMrn);
- if (_referralPatientService.hasError) {
- error = _referralPatientService.error;
- setState(ViewState.Error);
- } else {
- setState(ViewState.Idle);
- }
- }
Future getReferralFrequencyList() async {
setState(ViewState.Busy);
diff --git a/lib/core/viewModel/patient_view_model.dart b/lib/core/viewModel/patient_view_model.dart
index 5bc6250f..1d5f087a 100644
--- a/lib/core/viewModel/patient_view_model.dart
+++ b/lib/core/viewModel/patient_view_model.dart
@@ -1,5 +1,11 @@
import 'package:doctor_app_flutter/core/enum/viewstate.dart';
+import 'package:doctor_app_flutter/core/model/diabetic_chart/GetDiabeticChartValuesRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/diabetic_chart/GetDiabeticChartValuesResponseModel.dart';
+import 'package:doctor_app_flutter/core/model/diagnosis/GetDiagnosisForInPatientRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/diagnosis/GetDiagnosisForInPatientResponseModel.dart';
import 'package:doctor_app_flutter/core/model/note/CreateNoteModel.dart';
+import 'package:doctor_app_flutter/core/model/note/GetNursingProgressNoteRequestModel.dart';
+import 'package:doctor_app_flutter/core/model/note/GetNursingProgressNoteResposeModel.dart';
import 'package:doctor_app_flutter/core/model/note/note_model.dart';
import 'package:doctor_app_flutter/core/model/note/update_note_model.dart';
import 'package:doctor_app_flutter/core/model/patient_muse/PatientSearchRequestModel.dart';
@@ -21,41 +27,60 @@ class PatientViewModel extends BaseViewModel {
List get inPatientList => _patientService.inPatientList;
- List get patientVitalSignList => _patientService.patientVitalSignList;
+ List get patientVitalSignList =>
+ _patientService.patientVitalSignList;
- List get patientVitalSignOrderdSubList => _patientService.patientVitalSignOrderdSubList;
+ List get patientVitalSignOrderdSubList =>
+ _patientService.patientVitalSignOrderdSubList;
- List get patientLabResultOrdersList => _patientService.patientLabResultOrdersList;
+ List get patientLabResultOrdersList =>
+ _patientService.patientLabResultOrdersList;
- List get patientPrescriptionsList => _patientService.patientPrescriptionsList;
+ List get patientPrescriptionsList =>
+ _patientService.patientPrescriptionsList;
List get prescriptionReportForInPatientList =>
_patientService.prescriptionReportForInPatientList;
- List get prescriptionReport => _patientService.prescriptionReport;
+ List get prescriptionReport =>
+ _patientService.prescriptionReport;
- List get patientRadiologyList => _patientService.patientRadiologyList;
+ List get patientRadiologyList =>
+ _patientService.patientRadiologyList;
List get labResultList => _patientService.labResultList;
get insuranceApporvalsList => _patientService.insuranceApporvalsList;
- List get patientProgressNoteList => _patientService.patientProgressNoteList;
+ List get patientProgressNoteList =>
+ _patientService.patientProgressNoteList;
+
+ List get patientNursingProgressNoteList =>
+ _patientService.patientNursingProgressNoteList;
+
+ List get diagnosisForInPatientList =>
+ _patientService.diagnosisForInPatientList;
+
+ List get diabeticChartValuesList =>
+ _patientService.diabeticChartValuesList;
List get clinicsList => _patientService.clinicsList;
List get doctorsList => _patientService.doctorsList;
- List get referralFrequencyList => _patientService.referalFrequancyList;
+ List get referralFrequencyList =>
+ _patientService.referalFrequancyList;
- Future getPatientList(patient, patientType, {bool isBusyLocal = false, isView}) async {
+ Future getPatientList(patient, patientType,
+ {bool isBusyLocal = false, isView}) async {
var localRes;
if (isBusyLocal) {
setState(ViewState.BusyLocal);
} else {
setState(ViewState.Busy);
}
- localRes = await _patientService.getPatientList(patient, patientType, isView: isView);
+ localRes = await _patientService.getPatientList(patient, patientType,
+ isView: isView);
if (_patientService.hasError) {
error = _patientService.error;
@@ -204,12 +229,16 @@ class PatientViewModel extends BaseViewModel {
}
List getDoctorNameList() {
- var doctorNamelist = _patientService.doctorsList.map((value) => value['DoctorName'].toString()).toList();
+ var doctorNamelist = _patientService.doctorsList
+ .map((value) => value['DoctorName'].toString())
+ .toList();
return doctorNamelist;
}
List getClinicNameList() {
- var clinicsNameslist = _patientService.clinicsList.map((value) => value['ClinicDescription'].toString()).toList();
+ var clinicsNameslist = _patientService.clinicsList
+ .map((value) => value['ClinicDescription'].toString())
+ .toList();
return clinicsNameslist;
}
@@ -224,8 +253,9 @@ class PatientViewModel extends BaseViewModel {
}
List getReferralNamesList() {
- var referralNamesList =
- _patientService.referalFrequancyList.map((value) => value['Description'].toString()).toList();
+ var referralNamesList = _patientService.referalFrequancyList
+ .map((value) => value['Description'].toString())
+ .toList();
return referralNamesList;
}
@@ -271,7 +301,8 @@ class PatientViewModel extends BaseViewModel {
setState(ViewState.Idle);
}
- Future getInPatientList(PatientSearchRequestModel requestModel, {bool isMyInpatient = false}) async {
+ Future getInPatientList(PatientSearchRequestModel requestModel,
+ {bool isMyInpatient = false}) async {
await getDoctorProfile();
setState(ViewState.Busy);
@@ -284,4 +315,60 @@ class PatientViewModel extends BaseViewModel {
setState(ViewState.Idle);
}
}
+
+ Future getNursingProgressNote(
+ GetNursingProgressNoteRequestModel requestModel) async {
+ await getDoctorProfile();
+ setState(ViewState.Busy);
+
+ await _patientService.getNursingProgressNote(requestModel);
+ if (_patientService.hasError) {
+ error = _patientService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+ Future getDiagnosisForInPatient(
+ GetDiagnosisForInPatientRequestModel requestModel) async {
+ await getDoctorProfile();
+ setState(ViewState.Busy);
+
+ await _patientService.getDiagnosisForInPatient(requestModel);
+ if (_patientService.hasError) {
+ error = _patientService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+ Future getDiabeticChartValues(PatiantInformtion patient, int resultType,
+ {bool isLocalBusy = false}) async {
+ await getDoctorProfile();
+ if (isLocalBusy)
+ setState(ViewState.BusyLocal);
+ else
+ setState(ViewState.Busy);
+
+ GetDiabeticChartValuesRequestModel requestModel =
+ GetDiabeticChartValuesRequestModel(
+ patientID: patient.patientId,
+ admissionNo: int.parse(patient.admissionNo),
+ patientTypeID: 1,
+ patientType: 1,
+ resultType: resultType,
+ setupID: "010266");
+ await _patientService.getDiabeticChartValues(requestModel);
+ if (_patientService.hasError) {
+ error = _patientService.error;
+ if (isLocalBusy)
+ setState(ViewState.ErrorLocal);
+ else
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
}
diff --git a/lib/core/viewModel/pednding_orders_view_model.dart b/lib/core/viewModel/pednding_orders_view_model.dart
new file mode 100644
index 00000000..3f3e92be
--- /dev/null
+++ b/lib/core/viewModel/pednding_orders_view_model.dart
@@ -0,0 +1,43 @@
+import 'package:doctor_app_flutter/core/enum/viewstate.dart';
+import 'package:doctor_app_flutter/core/service/pending_order_service.dart';
+import 'package:doctor_app_flutter/core/viewModel/base_view_model.dart';
+import 'package:doctor_app_flutter/locator.dart';
+import 'package:doctor_app_flutter/models/admisson_orders/admission_orders_model.dart';
+import 'package:doctor_app_flutter/models/pending_orders/pending_orders_model.dart';
+
+class PendingOrdersViewModel extends BaseViewModel {
+ bool hasError = false;
+ PendingOrderService _pendingOrderService = locator();
+
+ List get pendingOrdersList =>
+ _pendingOrderService.pendingOrderList;
+
+ List get admissionOrderList =>
+ _pendingOrderService.admissionOrderList;
+
+ Future getPendingOrders({int patientId, int admissionNo}) async {
+ hasError = false;
+ setState(ViewState.Busy);
+ await _pendingOrderService.getPendingOrders(
+ patientId: patientId, admissionNo: admissionNo);
+ if (_pendingOrderService.hasError) {
+ error = _pendingOrderService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+ Future getAdmissionOrders({int patientId, int admissionNo}) async {
+ hasError = false;
+ setState(ViewState.Busy);
+ await _pendingOrderService.getAdmissionOrders(
+ patientId: patientId, admissionNo: admissionNo);
+ if (_pendingOrderService.hasError) {
+ error = _pendingOrderService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+}
diff --git a/lib/core/viewModel/profile/discharge_summary_view_model.dart b/lib/core/viewModel/profile/discharge_summary_view_model.dart
new file mode 100644
index 00000000..9db5a6dd
--- /dev/null
+++ b/lib/core/viewModel/profile/discharge_summary_view_model.dart
@@ -0,0 +1,50 @@
+import 'package:doctor_app_flutter/core/enum/viewstate.dart';
+import 'package:doctor_app_flutter/core/service/patient/profile/discharge_summary_servive.dart';
+import 'package:doctor_app_flutter/core/service/patient/profile/operation_report_servive.dart';
+import 'package:doctor_app_flutter/core/viewModel/base_view_model.dart';
+import 'package:doctor_app_flutter/locator.dart';
+import 'package:doctor_app_flutter/models/discharge_summary/GetDischargeSummaryReqModel.dart';
+import 'package:doctor_app_flutter/models/discharge_summary/GetDischargeSummaryResModel.dart';
+
+class DischargeSummaryViewModel extends BaseViewModel {
+ bool hasError = false;
+ DischargeSummaryService _dischargeSummaryService =
+ locator();
+
+ List get pendingDischargeSummaryList =>
+ _dischargeSummaryService.pendingDischargeSummaryList;
+
+
+ List get allDisChargeSummaryList =>
+ _dischargeSummaryService.allDischargeSummaryList;
+
+
+ Future getPendingDischargeSummary({int patientId, int admissionNo, }) async {
+ GetDischargeSummaryReqModel getDischargeSummaryReqModel = GetDischargeSummaryReqModel(admissionNo:admissionNo,patientID: patientId );
+ hasError = false;
+ setState(ViewState.Busy);
+ await _dischargeSummaryService.getPendingDischargeSummary(getDischargeSummaryReqModel: getDischargeSummaryReqModel);
+ if (_dischargeSummaryService.hasError) {
+ error = _dischargeSummaryService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+
+
+ Future getAllDischargeSummary({int patientId, int admissionNo, }) async {
+ GetDischargeSummaryReqModel getDischargeSummaryReqModel = GetDischargeSummaryReqModel(admissionNo:admissionNo,patientID: patientId );
+ hasError = false;
+ setState(ViewState.Busy);
+ await _dischargeSummaryService.getAllDischargeSummary(getDischargeSummaryReqModel: getDischargeSummaryReqModel);
+ if (_dischargeSummaryService.hasError) {
+ error = _dischargeSummaryService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+}
diff --git a/lib/core/viewModel/profile/operation_report_view_model.dart b/lib/core/viewModel/profile/operation_report_view_model.dart
new file mode 100644
index 00000000..e3f4f430
--- /dev/null
+++ b/lib/core/viewModel/profile/operation_report_view_model.dart
@@ -0,0 +1,59 @@
+import 'package:doctor_app_flutter/core/enum/viewstate.dart';
+import 'package:doctor_app_flutter/core/service/patient/profile/operation_report_servive.dart';
+import 'package:doctor_app_flutter/core/viewModel/base_view_model.dart';
+import 'package:doctor_app_flutter/locator.dart';
+import 'package:doctor_app_flutter/models/operation_report/create_update_operation_report_request_model.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_request_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_operation_details_response_modle.dart';
+import 'package:doctor_app_flutter/models/operation_report/get_reservations_response_model.dart';
+
+class OperationReportViewModel extends BaseViewModel {
+ bool hasError = false;
+ OperationReportService _operationReportService =
+ locator();
+
+ List get reservationList =>
+ _operationReportService.reservationList;
+
+ List get operationDetailsList =>
+ _operationReportService.operationDetailsList;
+
+ Future getReservations(int patientId) async {
+ hasError = false;
+ setState(ViewState.Busy);
+ await _operationReportService.getReservations(patientId: patientId);
+ if (_operationReportService.hasError) {
+ error = _operationReportService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+ Future getOperationReportDetails(GetReservationsResponseModel reservation) async {
+ hasError = false;
+ setState(ViewState.Busy);
+ GetOperationDetailsRequestModel getOperationReportRequestModel = GetOperationDetailsRequestModel(reservationNo:reservation.oTReservationID, patientID: reservation.patientID, setupID: "010266" );
+ await _operationReportService.getOperationReportDetails(getOperationReportRequestModel:getOperationReportRequestModel);
+ if (_operationReportService.hasError) {
+ error = _operationReportService.error;
+ setState(ViewState.ErrorLocal);
+ } else {
+ setState(ViewState.Idle);
+ }
+ }
+
+
+
+ Future updateOperationReport(
+ CreateUpdateOperationReportRequestModel
+ createUpdateOperationReport) async {
+ setState(ViewState.BusyLocal);
+ await _operationReportService.updateOperationReport(createUpdateOperationReport);
+ if (_operationReportService.hasError) {
+ error = _operationReportService.error;
+ setState(ViewState.ErrorLocal);
+ } else
+ setState(ViewState.Idle);
+ }
+}
diff --git a/lib/landing_page.dart b/lib/landing_page.dart
index 72b5c857..fcdb1eff 100644
--- a/lib/landing_page.dart
+++ b/lib/landing_page.dart
@@ -1,3 +1,4 @@
+import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
import 'package:doctor_app_flutter/screens/doctor/doctor_replay/doctor_reply_screen.dart';
import 'package:doctor_app_flutter/screens/doctor/my_schedule_screen.dart';
import 'package:doctor_app_flutter/screens/home/home_screen.dart';
@@ -5,10 +6,13 @@ import 'package:doctor_app_flutter/screens/qr_reader/QR_reader_screen.dart';
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
import 'package:doctor_app_flutter/widgets/shared/app_drawer_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
+import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/bottom_nav_bar.dart';
import 'package:doctor_app_flutter/widgets/shared/user-guid/app_showcase_widget.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
+import 'package:flutter_svg/flutter_svg.dart';
+import 'package:provider/provider.dart';
class LandingPage extends StatefulWidget {
@override
@@ -34,6 +38,7 @@ class _LandingPageState extends State {
@override
Widget build(BuildContext context) {
+ ProjectViewModel projectViewModel = Provider.of(context);
return AppScaffold(
appBar: currentTab != 0
? AppBar(
@@ -41,16 +46,26 @@ class _LandingPageState extends State {
backgroundColor: Colors.grey[100],
//textTheme: TextTheme(headline6: TextStyle(color: Colors.white)),
title: currentTab != 0
- ? Text(getText(currentTab).toUpperCase())
+ ? AppText(
+ getText(currentTab),
+ letterSpacing: -1.44,
+ fontWeight: FontWeight.w700,
+ fontSize: 24.0,
+ color: Color(0xff2B353E),
+ )
: SizedBox(),
leading: Builder(
builder: (BuildContext context) {
- return IconButton(
- icon: Image.asset('assets/images/menu.png',
- height: 50, width: 50),
- iconSize: 15,
- color: Colors.black,
- onPressed: () => Scaffold.of(context).openDrawer(),
+ return Container(
+ width: 40,
+ margin: EdgeInsets.only(left: projectViewModel.isArabic? 0:20, right: projectViewModel.isArabic? 20:0),
+ child: IconButton(
+ icon: SvgPicture.asset('assets/images/svgs/menu.svg',
+ height: 25, width: 10),
+ iconSize: 15,
+ color: Color(0xff2B353E),
+ onPressed: () => Scaffold.of(context).openDrawer(),
+ ),
);
},
),
diff --git a/lib/locator.dart b/lib/locator.dart
index 3ee2650c..18c04ffc 100644
--- a/lib/locator.dart
+++ b/lib/locator.dart
@@ -1,9 +1,14 @@
import 'package:doctor_app_flutter/core/service/authentication_service.dart';
import 'package:doctor_app_flutter/core/service/home/scan_qr_service.dart';
+import 'package:doctor_app_flutter/core/service/patient/profile/discharge_summary_servive.dart';
+import 'package:doctor_app_flutter/core/service/pending_order_service.dart';
import 'package:doctor_app_flutter/core/viewModel/dashboard_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/hospitals_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/medical_file_view_model.dart';
+import 'package:doctor_app_flutter/core/viewModel/profile/discharge_summary_view_model.dart';
+import 'package:doctor_app_flutter/core/viewModel/profile/operation_report_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/patient_view_model.dart';
+import 'package:doctor_app_flutter/core/viewModel/pednding_orders_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/prescription_view_model.dart';
import 'package:doctor_app_flutter/core/viewModel/procedure_View_model.dart';
import 'package:doctor_app_flutter/core/viewModel/scan_qr_view_model.dart';
@@ -12,6 +17,7 @@ import 'package:get_it/get_it.dart';
import 'core/service/AnalyticsService.dart';
import 'core/service/NavigationService.dart';
+import 'core/service/PatientRegistrationService.dart';
import 'core/service/VideoCallService.dart';
import 'core/service/home/dasboard_service.dart';
import 'core/service/home/doctor_reply_service.dart';
@@ -26,6 +32,7 @@ import 'core/service/patient/out_patient_service.dart';
import 'core/service/patient/patient-doctor-referral-service.dart';
import 'core/service/patient/patientInPatientService.dart';
import 'core/service/patient/patient_service.dart';
+import 'core/service/patient/profile/operation_report_servive.dart';
import 'core/service/patient/referral_patient_service.dart';
import 'core/service/patient_medical_file/admission_request/patient-admission-request-service.dart';
import 'core/service/patient_medical_file/insurance/InsuranceCardService.dart';
@@ -47,6 +54,7 @@ import 'core/viewModel/InsuranceViewModel.dart';
import 'core/viewModel/LiveCarePatientViewModel.dart';
import 'core/viewModel/PatientMedicalReportViewModel.dart';
import 'core/viewModel/PatientMuseViewModel.dart';
+import 'core/viewModel/PatientRegistrationViewModel.dart';
import 'core/viewModel/PatientSearchViewModel.dart';
import 'core/viewModel/SOAP_view_model.dart';
import 'core/viewModel/doctor_replay_view_model.dart';
@@ -100,6 +108,10 @@ void setupLocator() {
locator.registerLazySingleton(() => SpecialClinicsService());
locator.registerLazySingleton(() => VideoCallService());
locator.registerLazySingleton(() => AnalyticsService());
+ locator.registerLazySingleton(() => OperationReportService());
+ locator.registerLazySingleton(() => PendingOrderService());
+ locator.registerLazySingleton(() => PatientRegistrationService());
+ locator.registerLazySingleton(() => DischargeSummaryService());
/// View Model
locator.registerFactory(() => DoctorReplayViewModel());
@@ -128,4 +140,9 @@ void setupLocator() {
locator.registerFactory(() => LiveCarePatientViewModel());
locator.registerFactory(() => PatientMedicalReportViewModel());
locator.registerFactory(() => ScanQrViewModel());
+ locator.registerFactory(() => OperationReportViewModel());
+ locator.registerFactory(() => PatientRegistrationViewModel());
+ locator.registerFactory(() => PendingOrdersViewModel());
+ locator.registerFactory(() => DischargeSummaryViewModel());
+
}
diff --git a/lib/main.dart b/lib/main.dart
index 450c046f..37f3d3d0 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -36,7 +36,8 @@ class MyApp extends StatelessWidget {
SizeConfig().init(constraints, orientation);
return MultiProvider(
providers: [
- ChangeNotifierProvider(create: (context) => AuthenticationViewModel()),
+ ChangeNotifierProvider(
+ create: (context) => AuthenticationViewModel()),
ChangeNotifierProvider(
create: (context) => ProjectViewModel(),
),
@@ -67,7 +68,7 @@ class MyApp extends StatelessWidget {
theme: ThemeData(
primarySwatch: Colors.grey,
primaryColor: Colors.grey,
- buttonColor: HexColor('#B8382C'),
+ buttonColor: HexColor('#D02127'),
fontFamily: 'Poppins',
dividerColor: Colors.grey[350],
backgroundColor: Color.fromRGBO(255, 255, 255, 1),
diff --git a/lib/models/admisson_orders/admission_orders_model.dart b/lib/models/admisson_orders/admission_orders_model.dart
new file mode 100644
index 00000000..a0891a02
--- /dev/null
+++ b/lib/models/admisson_orders/admission_orders_model.dart
@@ -0,0 +1,57 @@
+class AdmissionOrdersModel {
+ int procedureID;
+ String procedureName;
+ String procedureNameN;
+ int orderNo;
+ int doctorID;
+ int clinicID;
+ String createdOn;
+ int createdBy;
+ String editedOn;
+ int editedBy;
+ String createdByName;
+
+ AdmissionOrdersModel(
+ {this.procedureID,
+ this.procedureName,
+ this.procedureNameN,
+ this.orderNo,
+ this.doctorID,
+ this.clinicID,
+ this.createdOn,
+ this.createdBy,
+ this.editedOn,
+ this.editedBy,
+ this.createdByName});
+
+ AdmissionOrdersModel.fromJson(Map json) {
+ procedureID = json['ProcedureID'];
+ procedureName = json['ProcedureName'];
+ procedureNameN = json['ProcedureNameN'];
+ orderNo = json['OrderNo'];
+ doctorID = json['DoctorID'];
+ clinicID = json['ClinicID'];
+ createdOn = json['CreatedOn'];
+ createdBy = json['CreatedBy'];
+ editedOn = json['EditedOn'];
+ editedBy = json['EditedBy'];
+ createdByName = json['CreatedByName'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['ProcedureID'] = this.procedureID;
+ data['ProcedureName'] = this.procedureName;
+ data['ProcedureNameN'] = this.procedureNameN;
+ data['OrderNo'] = this.orderNo;
+ data['DoctorID'] = this.doctorID;
+ data['ClinicID'] = this.clinicID;
+ data['CreatedOn'] = this.createdOn;
+ data['CreatedBy'] = this.createdBy;
+ data['EditedOn'] = this.editedOn;
+ data['EditedBy'] = this.editedBy;
+ data['CreatedByName'] = this.createdByName;
+
+ return data;
+ }
+}
diff --git a/lib/models/admisson_orders/admission_orders_request_model.dart b/lib/models/admisson_orders/admission_orders_request_model.dart
new file mode 100644
index 00000000..897bb8f8
--- /dev/null
+++ b/lib/models/admisson_orders/admission_orders_request_model.dart
@@ -0,0 +1,76 @@
+class AdmissionOrdersRequestModel {
+ bool isDentalAllowedBackend;
+ double versionID;
+ int channel;
+ int languageID;
+ String iPAdress;
+ String generalid;
+ int deviceTypeID;
+ String tokenID;
+ int patientID;
+ int admissionNo;
+ String sessionID;
+ int projectID;
+ String setupID;
+ bool patientOutSA;
+ int patientType;
+ int patientTypeID;
+
+ AdmissionOrdersRequestModel(
+ {this.isDentalAllowedBackend,
+ this.versionID,
+ this.channel,
+ this.languageID,
+ this.iPAdress,
+ this.generalid,
+ this.deviceTypeID,
+ this.tokenID,
+ this.patientID,
+ this.admissionNo,
+ this.sessionID,
+ this.projectID,
+ this.setupID,
+ this.patientOutSA,
+ this.patientType,
+ this.patientTypeID});
+
+ AdmissionOrdersRequestModel.fromJson(Map json) {
+ isDentalAllowedBackend = json['isDentalAllowedBackend'];
+ versionID = json['VersionID'];
+ channel = json['Channel'];
+ languageID = json['LanguageID'];
+ iPAdress = json['IPAdress'];
+ generalid = json['generalid'];
+ deviceTypeID = json['DeviceTypeID'];
+ tokenID = json['TokenID'];
+ patientID = json['PatientID'];
+ admissionNo = json['AdmissionNo'];
+ sessionID = json['SessionID'];
+ projectID = json['ProjectID'];
+ setupID = json['SetupID'];
+ patientOutSA = json['PatientOutSA'];
+ patientType = json['PatientType'];
+ patientTypeID = json['PatientTypeID'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
+ data['VersionID'] = this.versionID;
+ data['Channel'] = this.channel;
+ data['LanguageID'] = this.languageID;
+ data['IPAdress'] = this.iPAdress;
+ data['generalid'] = this.generalid;
+ data['DeviceTypeID'] = this.deviceTypeID;
+ data['TokenID'] = this.tokenID;
+ data['PatientID'] = this.patientID;
+ data['AdmissionNo'] = this.admissionNo;
+ data['SessionID'] = this.sessionID;
+ data['ProjectID'] = this.projectID;
+ data['SetupID'] = this.setupID;
+ data['PatientOutSA'] = this.patientOutSA;
+ data['PatientType'] = this.patientType;
+ data['PatientTypeID'] = this.patientTypeID;
+ return data;
+ }
+}
diff --git a/lib/models/countriesModel.dart b/lib/models/countriesModel.dart
new file mode 100644
index 00000000..89797fab
--- /dev/null
+++ b/lib/models/countriesModel.dart
@@ -0,0 +1,1087 @@
+// final List countries = [
+// new Countries(
+// name: "Saudi Arabia", name_ar: "المملكة العربية السعودية", code: '966'),
+// new Countries(
+// name: "United Arab Emirates",
+// name_ar: "الإمارات العربية المتحدة",
+// code: '971'),
+// ];
+
+// class Countries {
+// final String name;
+// final String name_ar;
+// final String code;
+
+// Countries({this.name, this.name_ar, this.code});
+// }
+
+class Countries {
+ String name;
+ String nameAr;
+ String code;
+ String countryCode;
+
+ Countries({this.name, this.nameAr, this.code, this.countryCode});
+
+ Countries.fromJson(Map json) {
+ name = json['name'];
+ nameAr = json['name_ar'];
+ code = json['code'];
+ countryCode = json['countryCode'];
+ }
+
+ Map toJson() {
+ final Map data = new Map();
+ data['name'] = this.name;
+ data['name_ar'] = this.nameAr;
+ data['code'] = this.code;
+ data['countryCode'] = this.countryCode;
+ return data;
+ }
+}
+
+List