Merge branch 'development' into 'master'
Development See merge request Cloud_Solution/doctor_app_flutter!390merge-requests/582/merge
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"project_info": {
|
||||||
|
"project_number": "1097451043303",
|
||||||
|
"project_id": "doctor-app-35ddc",
|
||||||
|
"storage_bucket": "doctor-app-35ddc.appspot.com"
|
||||||
|
},
|
||||||
|
"client": [
|
||||||
|
{
|
||||||
|
"client_info": {
|
||||||
|
"mobilesdk_app_id": "1:1097451043303:android:f82ecce9562ecaad866542",
|
||||||
|
"android_client_info": {
|
||||||
|
"package_name": "com.example.doctor_app_flutter"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "1097451043303-u7bl21167fq5b7u06cqpq621psv9s3qh.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"api_key": [
|
||||||
|
{
|
||||||
|
"current_key": "AIzaSyChu44P8Dp8jtRqnoDR2mdjqKgSKQq-FPY"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"services": {
|
||||||
|
"appinvite_service": {
|
||||||
|
"other_platform_oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "1097451043303-u7bl21167fq5b7u06cqpq621psv9s3qh.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"client_id": "1097451043303-ifgtu6ub88dlk5dmv5tm531a5s47gbre.apps.googleusercontent.com",
|
||||||
|
"client_type": 2,
|
||||||
|
"ios_info": {
|
||||||
|
"bundle_id": "com.hmg.doctorApp"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configuration_version": "1"
|
||||||
|
}
|
||||||
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"project_info": {
|
||||||
|
"project_number": "1008895414777",
|
||||||
|
"project_id": "doctorapp-9f172",
|
||||||
|
"storage_bucket": "doctorapp-9f172.appspot.com"
|
||||||
|
},
|
||||||
|
"client": [
|
||||||
|
{
|
||||||
|
"client_info": {
|
||||||
|
"mobilesdk_app_id": "1:1008895414777:android:d00fe21d6955c21b1f6d28",
|
||||||
|
"android_client_info": {
|
||||||
|
"package_name": "com.example.doctor_app_flutter"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "1008895414777-3mg88j5ocs5r1au7rf4sh3f4pgsri2f2.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"api_key": [
|
||||||
|
{
|
||||||
|
"current_key": "AIzaSyCNncEIj8ehVUSxV89rx0x1NaWp8t1YVkw"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"services": {
|
||||||
|
"appinvite_service": {
|
||||||
|
"other_platform_oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "1008895414777-3mg88j5ocs5r1au7rf4sh3f4pgsri2f2.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configuration_version": "1"
|
||||||
|
}
|
||||||
@ -1,4 +1,5 @@
|
|||||||
org.gradle.jvmargs=-Xmx1536M
|
|
||||||
android.enableR8=true
|
android.enableR8=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
org.gradle.jvmargs=-Xmx4608m
|
||||||
|
|||||||
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 412 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 435 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<svg id="enter" xmlns="http://www.w3.org/2000/svg" width="42" height="42" viewBox="0 0 42 42">
|
||||||
|
<path id="Path_1146" data-name="Path 1146" d="M17.938,210.625H1.313a1.313,1.313,0,1,1,0-2.625H17.938a1.313,1.313,0,1,1,0,2.625Zm0,0" transform="translate(22.749 -190.938)"/>
|
||||||
|
<path id="Path_1147" data-name="Path 1147" d="M123.984,143.736a1.313,1.313,0,0,1-.928-2.242l5.635-5.635-5.635-5.633a1.313,1.313,0,0,1,1.857-1.857l6.563,6.562a1.313,1.313,0,0,1,0,1.857l-6.562,6.562A1.31,1.31,0,0,1,123.984,143.736Zm0,0" transform="translate(-89.86 -117.486)"/>
|
||||||
|
<path id="Path_1148" data-name="Path 1148" d="M312.668,42.076a3.5,3.5,0,0,0,3.5-3.5V7.076A3.522,3.522,0,0,0,313.8,3.753L303.284.248a3.537,3.537,0,0,0-4.616,3.329v31.5a3.524,3.524,0,0,0,2.368,3.321L311.553,41.9A3.662,3.662,0,0,0,312.668,42.076ZM302.168,2.7a1.03,1.03,0,0,1,.313.046l10.47,3.491a.9.9,0,0,1,.592.838v31.5a.922.922,0,0,1-1.188.83l-10.47-3.491a.905.905,0,0,1-.591-.838V3.576A.876.876,0,0,1,302.168,2.7Zm0,0" transform="translate(-298.668 -0.076)"/>
|
||||||
|
<path id="Path_1149" data-name="Path 1149" d="M195.168,8.75a1.313,1.313,0,0,0,1.313-1.312V4.813A4.816,4.816,0,0,0,191.668,0H171.98a1.313,1.313,0,0,0,0,2.625h19.688a2.19,2.19,0,0,1,2.187,2.188V7.438A1.313,1.313,0,0,0,195.168,8.75Zm0,0" transform="translate(-168.48)"/>
|
||||||
|
<path id="Path_1150" data-name="Path 1150" d="M171.98,350.082h7a4.816,4.816,0,0,0,4.812-4.813v-2.625a1.313,1.313,0,0,0-2.625,0v2.625a2.19,2.19,0,0,1-2.187,2.188h-7a1.313,1.313,0,0,0,0,2.625Zm0,0" transform="translate(-155.793 -313.332)"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 753 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 488 B |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 987 B |
|
After Width: | Height: | Size: 942 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 549 B |
|
After Width: | Height: | Size: 232 B |
|
After Width: | Height: | Size: 616 B |
|
After Width: | Height: | Size: 1007 B |
|
After Width: | Height: | Size: 819 B |
|
After Width: | Height: | Size: 631 B |
|
After Width: | Height: | Size: 988 B |
|
After Width: | Height: | Size: 652 B |
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 733 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 940 B |
|
After Width: | Height: | Size: 417 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 995 B |
|
After Width: | Height: | Size: 854 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 399 B |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 388 B |
|
After Width: | Height: | Size: 594 B |
|
After Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 698 B |
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CLIENT_ID</key>
|
||||||
|
<string>1097451043303-ifgtu6ub88dlk5dmv5tm531a5s47gbre.apps.googleusercontent.com</string>
|
||||||
|
<key>REVERSED_CLIENT_ID</key>
|
||||||
|
<string>com.googleusercontent.apps.1097451043303-ifgtu6ub88dlk5dmv5tm531a5s47gbre</string>
|
||||||
|
<key>API_KEY</key>
|
||||||
|
<string>AIzaSyAKPayaNaI-2RN6S4PH5W9wYExmEgoBUvo</string>
|
||||||
|
<key>GCM_SENDER_ID</key>
|
||||||
|
<string>1097451043303</string>
|
||||||
|
<key>PLIST_VERSION</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>BUNDLE_ID</key>
|
||||||
|
<string>com.hmg.doctorApp</string>
|
||||||
|
<key>PROJECT_ID</key>
|
||||||
|
<string>doctor-app-35ddc</string>
|
||||||
|
<key>STORAGE_BUCKET</key>
|
||||||
|
<string>doctor-app-35ddc.appspot.com</string>
|
||||||
|
<key>IS_ADS_ENABLED</key>
|
||||||
|
<false></false>
|
||||||
|
<key>IS_ANALYTICS_ENABLED</key>
|
||||||
|
<false></false>
|
||||||
|
<key>IS_APPINVITE_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>IS_GCM_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>IS_SIGNIN_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>GOOGLE_APP_ID</key>
|
||||||
|
<string>1:1097451043303:ios:0e9b87e77dcf397d866542</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CLIENT_ID</key>
|
||||||
|
<string>1097451043303-ifgtu6ub88dlk5dmv5tm531a5s47gbre.apps.googleusercontent.com</string>
|
||||||
|
<key>REVERSED_CLIENT_ID</key>
|
||||||
|
<string>com.googleusercontent.apps.1097451043303-ifgtu6ub88dlk5dmv5tm531a5s47gbre</string>
|
||||||
|
<key>API_KEY</key>
|
||||||
|
<string>AIzaSyAKPayaNaI-2RN6S4PH5W9wYExmEgoBUvo</string>
|
||||||
|
<key>GCM_SENDER_ID</key>
|
||||||
|
<string>1097451043303</string>
|
||||||
|
<key>PLIST_VERSION</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>BUNDLE_ID</key>
|
||||||
|
<string>com.hmg.doctorApp</string>
|
||||||
|
<key>PROJECT_ID</key>
|
||||||
|
<string>doctor-app-35ddc</string>
|
||||||
|
<key>STORAGE_BUCKET</key>
|
||||||
|
<string>doctor-app-35ddc.appspot.com</string>
|
||||||
|
<key>IS_ADS_ENABLED</key>
|
||||||
|
<false></false>
|
||||||
|
<key>IS_ANALYTICS_ENABLED</key>
|
||||||
|
<false></false>
|
||||||
|
<key>IS_APPINVITE_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>IS_GCM_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>IS_SIGNIN_ENABLED</key>
|
||||||
|
<true></true>
|
||||||
|
<key>GOOGLE_APP_ID</key>
|
||||||
|
<string>1:1097451043303:ios:0e9b87e77dcf397d866542</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>aps-environment</key>
|
||||||
|
<string>development</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -1,10 +1,16 @@
|
|||||||
final TOKEN = 'token';
|
final TOKEN = 'token';
|
||||||
final PROJECT_ID = 'projectID';
|
final PROJECT_ID = 'projectID';
|
||||||
//===========amjad============
|
final VIDA_AUTH_TOKEN_ID = 'VidaAuthTokenID';
|
||||||
|
final VIDA_REFRESH_TOKEN_ID = 'VidaRefreshTokenID';
|
||||||
|
final LOGIN_TOKEN_ID = 'LogInToken';
|
||||||
final DOCTOR_ID = 'doctorID';
|
final DOCTOR_ID = 'doctorID';
|
||||||
//=======================
|
|
||||||
final SLECTED_PATIENT_TYPE = 'slectedPatientType';
|
final SLECTED_PATIENT_TYPE = 'slectedPatientType';
|
||||||
final APP_Language = 'language';
|
final APP_Language = 'language';
|
||||||
final DOCTOR_PROFILE = 'doctorProfile';
|
final DOCTOR_PROFILE = 'doctorProfile';
|
||||||
final LIVE_CARE_PATIENT = 'livecare-patient-profile';
|
final LIVE_CARE_PATIENT = 'livecare-patient-profile';
|
||||||
final LOGGED_IN_USER = 'loggedUser';
|
final LOGGED_IN_USER = 'loggedUser';
|
||||||
|
final DASHBOARD_DATA = 'dashboard-data';
|
||||||
|
final OTP_TYPE = 'otp-type';
|
||||||
|
final LAST_LOGIN_USER = 'last-login-user';
|
||||||
|
final PASSWORD = 'password';
|
||||||
|
final CLINIC_NAME = 'clinic-name';
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
enum FilterType { Clinic, Hospital }
|
||||||
|
|
||||||
@ -0,0 +1,95 @@
|
|||||||
|
enum MasterKeysService {
|
||||||
|
Allergies,
|
||||||
|
HistoryFamily,
|
||||||
|
HistoryMedical,
|
||||||
|
HistorySocial,
|
||||||
|
HistorySports,
|
||||||
|
HistorySurgical,
|
||||||
|
PhysicalExamination,
|
||||||
|
AllergySeverity,
|
||||||
|
physiotherapyGoals,
|
||||||
|
DiagnosisCondition,
|
||||||
|
DiagnosisType,
|
||||||
|
ICD10,
|
||||||
|
TemperatureMethods,
|
||||||
|
Speciality,
|
||||||
|
MedicationStrength,
|
||||||
|
MedicationDuration,
|
||||||
|
MedicationRoute,
|
||||||
|
MedicationFrequency,
|
||||||
|
MedicationDoseTime,
|
||||||
|
MedicationIndications,
|
||||||
|
|
||||||
|
AdmissionRequestType,
|
||||||
|
DiagnosisSelectionType,
|
||||||
|
}
|
||||||
|
|
||||||
|
extension SelectedMasterKeysService on MasterKeysService {
|
||||||
|
// ignore: missing_return
|
||||||
|
int getMasterKeyService() {
|
||||||
|
switch (this) {
|
||||||
|
case MasterKeysService.Allergies:
|
||||||
|
return 11;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.HistoryFamily:
|
||||||
|
return 36;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.HistoryMedical:
|
||||||
|
return 37;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.HistorySocial:
|
||||||
|
return 38;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.HistorySports:
|
||||||
|
return 39;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.HistorySurgical:
|
||||||
|
return 66;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.PhysicalExamination:
|
||||||
|
return 59;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.AllergySeverity:
|
||||||
|
return 55;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.physiotherapyGoals:
|
||||||
|
return 117;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.DiagnosisCondition:
|
||||||
|
return 34;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.DiagnosisType:
|
||||||
|
return 35;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.ICD10:
|
||||||
|
return 2500;
|
||||||
|
case MasterKeysService.TemperatureMethods:
|
||||||
|
return 2005;
|
||||||
|
case MasterKeysService.Speciality:
|
||||||
|
return 10;
|
||||||
|
case MasterKeysService.MedicationStrength:
|
||||||
|
return 2100;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.MedicationDuration:
|
||||||
|
return 118;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.MedicationRoute:
|
||||||
|
return 32;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.MedicationFrequency:
|
||||||
|
return 31;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.MedicationDoseTime:
|
||||||
|
return 30;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.MedicationIndications:
|
||||||
|
return 450;
|
||||||
|
case MasterKeysService.AdmissionRequestType:
|
||||||
|
return 2019;
|
||||||
|
break;
|
||||||
|
case MasterKeysService.DiagnosisSelectionType:
|
||||||
|
return 2024;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,64 @@
|
|||||||
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
||||||
|
|
||||||
|
class PatientMuseResultsModel {
|
||||||
|
int rowID;
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
String orderNo;
|
||||||
|
int lineItemNo;
|
||||||
|
int patientType;
|
||||||
|
int patientID;
|
||||||
|
String procedureID;
|
||||||
|
dynamic reportData;
|
||||||
|
String imageURL;
|
||||||
|
String createdBy;
|
||||||
|
String createdOn;
|
||||||
|
DateTime createdOnDateTime;
|
||||||
|
|
||||||
|
PatientMuseResultsModel(
|
||||||
|
{this.rowID,
|
||||||
|
this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.orderNo,
|
||||||
|
this.lineItemNo,
|
||||||
|
this.patientType,
|
||||||
|
this.patientID,
|
||||||
|
this.procedureID,
|
||||||
|
this.reportData,
|
||||||
|
this.imageURL,
|
||||||
|
this.createdBy,
|
||||||
|
this.createdOn});
|
||||||
|
|
||||||
|
PatientMuseResultsModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
rowID = json['RowID'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
orderNo = json['OrderNo'];
|
||||||
|
lineItemNo = json['LineItemNo'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
procedureID = json['ProcedureID'];
|
||||||
|
reportData = json['ReportData'];
|
||||||
|
imageURL = json['ImageURL'];
|
||||||
|
createdBy = json['CreatedBy'];
|
||||||
|
createdOn = json['CreatedOn'];
|
||||||
|
createdOnDateTime = DateUtils.getDateTimeFromServerFormat(json['CreatedOn']);
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['RowID'] = this.rowID;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['OrderNo'] = this.orderNo;
|
||||||
|
data['LineItemNo'] = this.lineItemNo;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['ProcedureID'] = this.procedureID;
|
||||||
|
data['ReportData'] = this.reportData;
|
||||||
|
data['ImageURL'] = this.imageURL;
|
||||||
|
data['CreatedBy'] = this.createdBy;
|
||||||
|
data['CreatedOn'] = this.createdOn;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,158 @@
|
|||||||
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
||||||
|
|
||||||
|
class Prescriptions {
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
int patientID;
|
||||||
|
int appointmentNo;
|
||||||
|
String appointmentDate;
|
||||||
|
String doctorName;
|
||||||
|
String clinicDescription;
|
||||||
|
String name;
|
||||||
|
int episodeID;
|
||||||
|
int actualDoctorRate;
|
||||||
|
int admission;
|
||||||
|
int clinicID;
|
||||||
|
String companyName;
|
||||||
|
String despensedStatus;
|
||||||
|
DateTime dischargeDate;
|
||||||
|
int dischargeNo;
|
||||||
|
int doctorID;
|
||||||
|
String doctorImageURL;
|
||||||
|
int doctorRate;
|
||||||
|
String doctorTitle;
|
||||||
|
int gender;
|
||||||
|
String genderDescription;
|
||||||
|
bool isActiveDoctorProfile;
|
||||||
|
bool isDoctorAllowVedioCall;
|
||||||
|
bool isExecludeDoctor;
|
||||||
|
bool isInOutPatient;
|
||||||
|
bool isLiveCareAppointment;
|
||||||
|
String isInOutPatientDescription;
|
||||||
|
String isInOutPatientDescriptionN;
|
||||||
|
bool isInsurancePatient;
|
||||||
|
String nationalityFlagURL;
|
||||||
|
int noOfPatientsRate;
|
||||||
|
String qR;
|
||||||
|
List<String> speciality;
|
||||||
|
|
||||||
|
Prescriptions(
|
||||||
|
{this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.patientID,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.appointmentDate,
|
||||||
|
this.doctorName,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.name,
|
||||||
|
this.episodeID,
|
||||||
|
this.actualDoctorRate,
|
||||||
|
this.admission,
|
||||||
|
this.clinicID,
|
||||||
|
this.companyName,
|
||||||
|
this.despensedStatus,
|
||||||
|
this.dischargeDate,
|
||||||
|
this.dischargeNo,
|
||||||
|
this.doctorID,
|
||||||
|
this.doctorImageURL,
|
||||||
|
this.doctorRate,
|
||||||
|
this.doctorTitle,
|
||||||
|
this.gender,
|
||||||
|
this.genderDescription,
|
||||||
|
this.isActiveDoctorProfile,
|
||||||
|
this.isDoctorAllowVedioCall,
|
||||||
|
this.isExecludeDoctor,
|
||||||
|
this.isInOutPatient,
|
||||||
|
this.isInOutPatientDescription,
|
||||||
|
this.isInOutPatientDescriptionN,
|
||||||
|
this.isInsurancePatient,
|
||||||
|
this.nationalityFlagURL,
|
||||||
|
this.noOfPatientsRate,
|
||||||
|
this.qR,
|
||||||
|
this.speciality,this.isLiveCareAppointment});
|
||||||
|
|
||||||
|
Prescriptions.fromJson(Map<String, dynamic> json) {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
appointmentDate = json['AppointmentDate'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
name = json['Name'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
actualDoctorRate = json['ActualDoctorRate'];
|
||||||
|
admission = json['Admission'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
companyName = json['CompanyName'];
|
||||||
|
despensedStatus = json['Despensed_Status'];
|
||||||
|
dischargeDate = DateUtils.convertStringToDate(json['DischargeDate']);
|
||||||
|
dischargeNo = json['DischargeNo'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
doctorImageURL = json['DoctorImageURL'];
|
||||||
|
doctorRate = json['DoctorRate'];
|
||||||
|
doctorTitle = json['DoctorTitle'];
|
||||||
|
gender = json['Gender'];
|
||||||
|
genderDescription = json['GenderDescription'];
|
||||||
|
isActiveDoctorProfile = json['IsActiveDoctorProfile'];
|
||||||
|
isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
|
||||||
|
isExecludeDoctor = json['IsExecludeDoctor'];
|
||||||
|
isInOutPatient = json['IsInOutPatient'];
|
||||||
|
isInOutPatientDescription = json['IsInOutPatientDescription'];
|
||||||
|
isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
|
||||||
|
isInsurancePatient = json['IsInsurancePatient'];
|
||||||
|
nationalityFlagURL = json['NationalityFlagURL'];
|
||||||
|
noOfPatientsRate = json['NoOfPatientsRate'];
|
||||||
|
qR = json['QR'];
|
||||||
|
isLiveCareAppointment = json['IsLiveCareAppointment'];
|
||||||
|
// speciality = json['Speciality'].cast<String>();
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['AppointmentDate'] = this.appointmentDate;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['ClinicDescription'] = this.clinicDescription;
|
||||||
|
data['Name'] = this.name;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['ActualDoctorRate'] = this.actualDoctorRate;
|
||||||
|
data['Admission'] = this.admission;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['CompanyName'] = this.companyName;
|
||||||
|
data['Despensed_Status'] = this.despensedStatus;
|
||||||
|
data['DischargeDate'] = this.dischargeDate;
|
||||||
|
data['DischargeNo'] = this.dischargeNo;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['DoctorImageURL'] = this.doctorImageURL;
|
||||||
|
data['DoctorRate'] = this.doctorRate;
|
||||||
|
data['DoctorTitle'] = this.doctorTitle;
|
||||||
|
data['Gender'] = this.gender;
|
||||||
|
data['GenderDescription'] = this.genderDescription;
|
||||||
|
data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
|
||||||
|
data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
|
||||||
|
data['IsExecludeDoctor'] = this.isExecludeDoctor;
|
||||||
|
data['IsInOutPatient'] = this.isInOutPatient;
|
||||||
|
data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
|
||||||
|
data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
|
||||||
|
data['IsInsurancePatient'] = this.isInsurancePatient;
|
||||||
|
data['NationalityFlagURL'] = this.nationalityFlagURL;
|
||||||
|
data['NoOfPatientsRate'] = this.noOfPatientsRate;
|
||||||
|
data['QR'] = this.qR;
|
||||||
|
data['Speciality'] = this.speciality;
|
||||||
|
data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class PrescriptionsList {
|
||||||
|
String filterName = "";
|
||||||
|
List<Prescriptions> prescriptionsList = List();
|
||||||
|
|
||||||
|
PrescriptionsList({this.filterName, Prescriptions prescriptions}) {
|
||||||
|
prescriptionsList.add(prescriptions);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,108 @@
|
|||||||
|
class PharmacyPrescriptions {
|
||||||
|
String expiryDate;
|
||||||
|
dynamic sellingPrice;
|
||||||
|
int quantity;
|
||||||
|
int itemID;
|
||||||
|
int locationID;
|
||||||
|
int projectID;
|
||||||
|
String setupID;
|
||||||
|
String locationDescription;
|
||||||
|
Null locationDescriptionN;
|
||||||
|
String itemDescription;
|
||||||
|
Null itemDescriptionN;
|
||||||
|
String alias;
|
||||||
|
int locationTypeID;
|
||||||
|
int barcode;
|
||||||
|
Null companybarcode;
|
||||||
|
int cityID;
|
||||||
|
String cityName;
|
||||||
|
int distanceInKilometers;
|
||||||
|
String latitude;
|
||||||
|
int locationType;
|
||||||
|
String longitude;
|
||||||
|
String phoneNumber;
|
||||||
|
String projectImageURL;
|
||||||
|
Null sortOrder;
|
||||||
|
|
||||||
|
PharmacyPrescriptions(
|
||||||
|
{this.expiryDate,
|
||||||
|
this.sellingPrice,
|
||||||
|
this.quantity,
|
||||||
|
this.itemID,
|
||||||
|
this.locationID,
|
||||||
|
this.projectID,
|
||||||
|
this.setupID,
|
||||||
|
this.locationDescription,
|
||||||
|
this.locationDescriptionN,
|
||||||
|
this.itemDescription,
|
||||||
|
this.itemDescriptionN,
|
||||||
|
this.alias,
|
||||||
|
this.locationTypeID,
|
||||||
|
this.barcode,
|
||||||
|
this.companybarcode,
|
||||||
|
this.cityID,
|
||||||
|
this.cityName,
|
||||||
|
this.distanceInKilometers,
|
||||||
|
this.latitude,
|
||||||
|
this.locationType,
|
||||||
|
this.longitude,
|
||||||
|
this.phoneNumber,
|
||||||
|
this.projectImageURL,
|
||||||
|
this.sortOrder});
|
||||||
|
|
||||||
|
PharmacyPrescriptions.fromJson(Map<String, dynamic> json) {
|
||||||
|
expiryDate = json['ExpiryDate'];
|
||||||
|
sellingPrice = json['SellingPrice'];
|
||||||
|
quantity = json['Quantity'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
locationID = json['LocationID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
locationDescription = json['LocationDescription'];
|
||||||
|
locationDescriptionN = json['LocationDescriptionN'];
|
||||||
|
itemDescription = json['ItemDescription'];
|
||||||
|
itemDescriptionN = json['ItemDescriptionN'];
|
||||||
|
alias = json['Alias'];
|
||||||
|
locationTypeID = json['LocationTypeID'];
|
||||||
|
barcode = json['Barcode'];
|
||||||
|
companybarcode = json['Companybarcode'];
|
||||||
|
cityID = json['CityID'];
|
||||||
|
cityName = json['CityName'];
|
||||||
|
distanceInKilometers = json['DistanceInKilometers'];
|
||||||
|
latitude = json['Latitude'];
|
||||||
|
locationType = json['LocationType'];
|
||||||
|
longitude = json['Longitude'];
|
||||||
|
phoneNumber = json['PhoneNumber'];
|
||||||
|
projectImageURL = json['ProjectImageURL'];
|
||||||
|
sortOrder = json['SortOrder'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ExpiryDate'] = this.expiryDate;
|
||||||
|
data['SellingPrice'] = this.sellingPrice;
|
||||||
|
data['Quantity'] = this.quantity;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
data['LocationID'] = this.locationID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['LocationDescription'] = this.locationDescription;
|
||||||
|
data['LocationDescriptionN'] = this.locationDescriptionN;
|
||||||
|
data['ItemDescription'] = this.itemDescription;
|
||||||
|
data['ItemDescriptionN'] = this.itemDescriptionN;
|
||||||
|
data['Alias'] = this.alias;
|
||||||
|
data['LocationTypeID'] = this.locationTypeID;
|
||||||
|
data['Barcode'] = this.barcode;
|
||||||
|
data['Companybarcode'] = this.companybarcode;
|
||||||
|
data['CityID'] = this.cityID;
|
||||||
|
data['CityName'] = this.cityName;
|
||||||
|
data['DistanceInKilometers'] = this.distanceInKilometers;
|
||||||
|
data['Latitude'] = this.latitude;
|
||||||
|
data['LocationType'] = this.locationType;
|
||||||
|
data['Longitude'] = this.longitude;
|
||||||
|
data['PhoneNumber'] = this.phoneNumber;
|
||||||
|
data['ProjectImageURL'] = this.projectImageURL;
|
||||||
|
data['SortOrder'] = this.sortOrder;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,191 @@
|
|||||||
|
class PrescriptionReport {
|
||||||
|
String address;
|
||||||
|
int appointmentNo;
|
||||||
|
String clinic;
|
||||||
|
String companyName;
|
||||||
|
int days;
|
||||||
|
String doctorName;
|
||||||
|
var doseDailyQuantity;
|
||||||
|
String frequency;
|
||||||
|
int frequencyNumber;
|
||||||
|
String image;
|
||||||
|
String imageExtension;
|
||||||
|
String imageSRCUrl;
|
||||||
|
String imageString;
|
||||||
|
String imageThumbUrl;
|
||||||
|
String isCovered;
|
||||||
|
String itemDescription;
|
||||||
|
int itemID;
|
||||||
|
String orderDate;
|
||||||
|
int patientID;
|
||||||
|
String patientName;
|
||||||
|
String phoneOffice1;
|
||||||
|
String prescriptionQR;
|
||||||
|
int prescriptionTimes;
|
||||||
|
String productImage;
|
||||||
|
String productImageBase64;
|
||||||
|
String productImageString;
|
||||||
|
int projectID;
|
||||||
|
String projectName;
|
||||||
|
String remarks;
|
||||||
|
String route;
|
||||||
|
String sKU;
|
||||||
|
int scaleOffset;
|
||||||
|
String startDate;
|
||||||
|
|
||||||
|
String patientAge;
|
||||||
|
String patientGender;
|
||||||
|
String phoneOffice;
|
||||||
|
int doseTimingID;
|
||||||
|
int frequencyID;
|
||||||
|
int routeID;
|
||||||
|
String name;
|
||||||
|
String itemDescriptionN;
|
||||||
|
String routeN;
|
||||||
|
String frequencyN;
|
||||||
|
|
||||||
|
PrescriptionReport({
|
||||||
|
this.address,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.clinic,
|
||||||
|
this.companyName,
|
||||||
|
this.days,
|
||||||
|
this.doctorName,
|
||||||
|
this.doseDailyQuantity,
|
||||||
|
this.frequency,
|
||||||
|
this.frequencyNumber,
|
||||||
|
this.image,
|
||||||
|
this.imageExtension,
|
||||||
|
this.imageSRCUrl,
|
||||||
|
this.imageString,
|
||||||
|
this.imageThumbUrl,
|
||||||
|
this.isCovered,
|
||||||
|
this.itemDescription,
|
||||||
|
this.itemID,
|
||||||
|
this.orderDate,
|
||||||
|
this.patientID,
|
||||||
|
this.patientName,
|
||||||
|
this.phoneOffice1,
|
||||||
|
this.prescriptionQR,
|
||||||
|
this.prescriptionTimes,
|
||||||
|
this.productImage,
|
||||||
|
this.productImageBase64,
|
||||||
|
this.productImageString,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.remarks,
|
||||||
|
this.route,
|
||||||
|
this.sKU,
|
||||||
|
this.scaleOffset,
|
||||||
|
this.startDate,
|
||||||
|
this.patientAge,
|
||||||
|
this.patientGender,
|
||||||
|
this.phoneOffice,
|
||||||
|
this.doseTimingID,
|
||||||
|
this.frequencyID,
|
||||||
|
this.routeID,
|
||||||
|
this.name,
|
||||||
|
this.itemDescriptionN,
|
||||||
|
this.routeN,
|
||||||
|
this.frequencyN,
|
||||||
|
});
|
||||||
|
|
||||||
|
PrescriptionReport.fromJson(Map<String, dynamic> json) {
|
||||||
|
address = json['Address'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
clinic = json['Clinic'];
|
||||||
|
companyName = json['CompanyName'];
|
||||||
|
days = json['Days'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doseDailyQuantity = json['DoseDailyQuantity'];
|
||||||
|
frequency = json['Frequency'];
|
||||||
|
frequencyNumber = json['FrequencyNumber'];
|
||||||
|
image = json['Image'];
|
||||||
|
imageExtension = json['ImageExtension'];
|
||||||
|
imageSRCUrl = json['ImageSRCUrl'];
|
||||||
|
imageString = json['ImageString'];
|
||||||
|
imageThumbUrl = json['ImageThumbUrl'];
|
||||||
|
isCovered = json['IsCovered'];
|
||||||
|
itemDescription = json['ItemDescription'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
orderDate = json['OrderDate'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
patientName = json['PatientName'];
|
||||||
|
phoneOffice1 = json['PhoneOffice1'];
|
||||||
|
prescriptionQR = json['PrescriptionQR'];
|
||||||
|
prescriptionTimes = json['PrescriptionTimes'];
|
||||||
|
productImage = json['ProductImage'];
|
||||||
|
productImageBase64 = json['ProductImageBase64'];
|
||||||
|
productImageString = json['ProductImageString'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
remarks = json['Remarks'];
|
||||||
|
route = json['Route'];
|
||||||
|
sKU = json['SKU'];
|
||||||
|
scaleOffset = json['ScaleOffset'];
|
||||||
|
startDate = json['StartDate'];
|
||||||
|
|
||||||
|
patientAge = json['patientAge'];
|
||||||
|
patientGender = json['patientGender'];
|
||||||
|
phoneOffice = json['phoneOffice'];
|
||||||
|
doseTimingID = json['doseTimingID'];
|
||||||
|
frequencyID = json['frequencyID'];
|
||||||
|
routeID = json['routeID'];
|
||||||
|
name = json['name'];
|
||||||
|
itemDescriptionN = json['itemDescriptionN'];
|
||||||
|
routeN = json['routeN'];
|
||||||
|
frequencyN = json['frequencyN'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
|
||||||
|
data['Address'] = this.address;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['Clinic'] = this.clinic;
|
||||||
|
data['CompanyName'] = this.companyName;
|
||||||
|
data['Days'] = this.days;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoseDailyQuantity'] = this.doseDailyQuantity;
|
||||||
|
data['Frequency'] = this.frequency;
|
||||||
|
data['FrequencyNumber'] = this.frequencyNumber;
|
||||||
|
data['Image'] = this.image;
|
||||||
|
data['ImageExtension'] = this.imageExtension;
|
||||||
|
data['ImageSRCUrl'] = this.imageSRCUrl;
|
||||||
|
data['ImageString'] = this.imageString;
|
||||||
|
data['ImageThumbUrl'] = this.imageThumbUrl;
|
||||||
|
data['IsCovered'] = this.isCovered;
|
||||||
|
data['ItemDescription'] = this.itemDescription;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['PatientName'] = this.patientName;
|
||||||
|
data['PhoneOffice1'] = this.phoneOffice1;
|
||||||
|
data['PrescriptionQR'] = this.prescriptionQR;
|
||||||
|
data['PrescriptionTimes'] = this.prescriptionTimes;
|
||||||
|
data['ProductImage'] = this.productImage;
|
||||||
|
data['ProductImageBase64'] = this.productImageBase64;
|
||||||
|
data['ProductImageString'] = this.productImageString;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['Remarks'] = this.remarks;
|
||||||
|
data['Route'] = this.route;
|
||||||
|
data['SKU'] = this.sKU;
|
||||||
|
data['ScaleOffset'] = this.scaleOffset;
|
||||||
|
data['StartDate'] = this.startDate;
|
||||||
|
|
||||||
|
data['PatientAge'] = this.patientAge;
|
||||||
|
data['PatientGender'] = this.patientGender;
|
||||||
|
data['PhoneOffice'] = this.phoneOffice;
|
||||||
|
data['DoseTimingID'] = this.doseTimingID;
|
||||||
|
data['FrequencyID'] = this.frequencyID;
|
||||||
|
data['RouteID'] = this.routeID;
|
||||||
|
data['Name'] = this.name;
|
||||||
|
data['ItemDescriptionN'] = this.itemDescriptionN;
|
||||||
|
data['RouteN'] = this.routeN;
|
||||||
|
data['FrequencyN'] = this.frequencyN;
|
||||||
|
data['hasPlan'] = false;
|
||||||
|
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,144 @@
|
|||||||
|
class PrescriptionReportEnh {
|
||||||
|
String address;
|
||||||
|
int appointmentNo;
|
||||||
|
String clinic;
|
||||||
|
Null companyName;
|
||||||
|
int days;
|
||||||
|
String doctorName;
|
||||||
|
int doseDailyQuantity;
|
||||||
|
String frequency;
|
||||||
|
int frequencyNumber;
|
||||||
|
Null image;
|
||||||
|
Null imageExtension;
|
||||||
|
String imageSRCUrl;
|
||||||
|
Null imageString;
|
||||||
|
String imageThumbUrl;
|
||||||
|
String isCovered;
|
||||||
|
String itemDescription;
|
||||||
|
int itemID;
|
||||||
|
String orderDate;
|
||||||
|
int patientID;
|
||||||
|
String patientName;
|
||||||
|
String phoneOffice1;
|
||||||
|
Null prescriptionQR;
|
||||||
|
int prescriptionTimes;
|
||||||
|
Null productImage;
|
||||||
|
Null productImageBase64;
|
||||||
|
String productImageString;
|
||||||
|
int projectID;
|
||||||
|
String projectName;
|
||||||
|
String remarks;
|
||||||
|
String route;
|
||||||
|
String sKU;
|
||||||
|
int scaleOffset;
|
||||||
|
String startDate;
|
||||||
|
|
||||||
|
PrescriptionReportEnh(
|
||||||
|
{this.address,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.clinic,
|
||||||
|
this.companyName,
|
||||||
|
this.days,
|
||||||
|
this.doctorName,
|
||||||
|
this.doseDailyQuantity,
|
||||||
|
this.frequency,
|
||||||
|
this.frequencyNumber,
|
||||||
|
this.image,
|
||||||
|
this.imageExtension,
|
||||||
|
this.imageSRCUrl,
|
||||||
|
this.imageString,
|
||||||
|
this.imageThumbUrl,
|
||||||
|
this.isCovered,
|
||||||
|
this.itemDescription,
|
||||||
|
this.itemID,
|
||||||
|
this.orderDate,
|
||||||
|
this.patientID,
|
||||||
|
this.patientName,
|
||||||
|
this.phoneOffice1,
|
||||||
|
this.prescriptionQR,
|
||||||
|
this.prescriptionTimes,
|
||||||
|
this.productImage,
|
||||||
|
this.productImageBase64,
|
||||||
|
this.productImageString,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.remarks,
|
||||||
|
this.route,
|
||||||
|
this.sKU,
|
||||||
|
this.scaleOffset,
|
||||||
|
this.startDate});
|
||||||
|
|
||||||
|
PrescriptionReportEnh.fromJson(Map<String, dynamic> json) {
|
||||||
|
address = json['Address'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
clinic = json['Clinic'];
|
||||||
|
companyName = json['CompanyName'];
|
||||||
|
days = json['Days'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doseDailyQuantity = json['DoseDailyQuantity'];
|
||||||
|
frequency = json['Frequency'];
|
||||||
|
frequencyNumber = json['FrequencyNumber'];
|
||||||
|
image = json['Image'];
|
||||||
|
imageExtension = json['ImageExtension'];
|
||||||
|
imageSRCUrl = json['ImageSRCUrl'];
|
||||||
|
imageString = json['ImageString'];
|
||||||
|
imageThumbUrl = json['ImageThumbUrl'];
|
||||||
|
isCovered = json['IsCovered'];
|
||||||
|
itemDescription = json['ItemDescription'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
orderDate = json['OrderDate'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
patientName = json['PatientName'];
|
||||||
|
phoneOffice1 = json['PhoneOffice1'];
|
||||||
|
prescriptionQR = json['PrescriptionQR'];
|
||||||
|
prescriptionTimes = json['PrescriptionTimes'];
|
||||||
|
productImage = json['ProductImage'];
|
||||||
|
productImageBase64 = json['ProductImageBase64'];
|
||||||
|
productImageString = json['ProductImageString'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
remarks = json['Remarks'];
|
||||||
|
route = json['Route'];
|
||||||
|
sKU = json['SKU'];
|
||||||
|
scaleOffset = json['ScaleOffset'];
|
||||||
|
startDate = json['StartDate'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Address'] = this.address;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['Clinic'] = this.clinic;
|
||||||
|
data['CompanyName'] = this.companyName;
|
||||||
|
data['Days'] = this.days;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoseDailyQuantity'] = this.doseDailyQuantity;
|
||||||
|
data['Frequency'] = this.frequency;
|
||||||
|
data['FrequencyNumber'] = this.frequencyNumber;
|
||||||
|
data['Image'] = this.image;
|
||||||
|
data['ImageExtension'] = this.imageExtension;
|
||||||
|
data['ImageSRCUrl'] = this.imageSRCUrl;
|
||||||
|
data['ImageString'] = this.imageString;
|
||||||
|
data['ImageThumbUrl'] = this.imageThumbUrl;
|
||||||
|
data['IsCovered'] = this.isCovered;
|
||||||
|
data['ItemDescription'] = this.itemDescription;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['PatientName'] = this.patientName;
|
||||||
|
data['PhoneOffice1'] = this.phoneOffice1;
|
||||||
|
data['PrescriptionQR'] = this.prescriptionQR;
|
||||||
|
data['PrescriptionTimes'] = this.prescriptionTimes;
|
||||||
|
data['ProductImage'] = this.productImage;
|
||||||
|
data['ProductImageBase64'] = this.productImageBase64;
|
||||||
|
data['ProductImageString'] = this.productImageString;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['Remarks'] = this.remarks;
|
||||||
|
data['Route'] = this.route;
|
||||||
|
data['SKU'] = this.sKU;
|
||||||
|
data['ScaleOffset'] = this.scaleOffset;
|
||||||
|
data['StartDate'] = this.startDate;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,134 @@
|
|||||||
|
import 'package:doctor_app_flutter/util/date-utils.dart';
|
||||||
|
|
||||||
|
class PrescriptionsOrder {
|
||||||
|
int iD;
|
||||||
|
dynamic patientID;
|
||||||
|
bool patientOutSA;
|
||||||
|
bool isOutPatient;
|
||||||
|
int projectID;
|
||||||
|
int nearestProjectID;
|
||||||
|
double longitude;
|
||||||
|
double latitude;
|
||||||
|
dynamic appointmentNo;
|
||||||
|
dynamic dischargeID;
|
||||||
|
int lineItemNo;
|
||||||
|
int status;
|
||||||
|
dynamic description;
|
||||||
|
dynamic descriptionN;
|
||||||
|
DateTime createdOn;
|
||||||
|
int serviceID;
|
||||||
|
int createdBy;
|
||||||
|
DateTime editedOn;
|
||||||
|
int editedBy;
|
||||||
|
int channel;
|
||||||
|
dynamic clientRequestID;
|
||||||
|
bool returnedToQueue;
|
||||||
|
dynamic pickupDateTime;
|
||||||
|
dynamic pickupLocationName;
|
||||||
|
dynamic dropoffLocationName;
|
||||||
|
int realRRTHaveTransactions;
|
||||||
|
dynamic nearestProjectDescription;
|
||||||
|
dynamic nearestProjectDescriptionN;
|
||||||
|
dynamic projectDescription;
|
||||||
|
dynamic projectDescriptionN;
|
||||||
|
|
||||||
|
PrescriptionsOrder(
|
||||||
|
{this.iD,
|
||||||
|
this.patientID,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.isOutPatient,
|
||||||
|
this.projectID,
|
||||||
|
this.nearestProjectID,
|
||||||
|
this.longitude,
|
||||||
|
this.latitude,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.dischargeID,
|
||||||
|
this.lineItemNo,
|
||||||
|
this.status,
|
||||||
|
this.description,
|
||||||
|
this.descriptionN,
|
||||||
|
this.createdOn,
|
||||||
|
this.serviceID,
|
||||||
|
this.createdBy,
|
||||||
|
this.editedOn,
|
||||||
|
this.editedBy,
|
||||||
|
this.channel,
|
||||||
|
this.clientRequestID,
|
||||||
|
this.returnedToQueue,
|
||||||
|
this.pickupDateTime,
|
||||||
|
this.pickupLocationName,
|
||||||
|
this.dropoffLocationName,
|
||||||
|
this.realRRTHaveTransactions,
|
||||||
|
this.nearestProjectDescription,
|
||||||
|
this.nearestProjectDescriptionN,
|
||||||
|
this.projectDescription,
|
||||||
|
this.projectDescriptionN});
|
||||||
|
|
||||||
|
PrescriptionsOrder.fromJson(Map<String, dynamic> json) {
|
||||||
|
iD = json['ID'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
patientOutSA = json['PatientOutSA'];
|
||||||
|
isOutPatient = json['IsOutPatient'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
nearestProjectID = json['NearestProjectID'];
|
||||||
|
longitude = json['Longitude'];
|
||||||
|
latitude = json['Latitude'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
dischargeID = json['DischargeID'];
|
||||||
|
lineItemNo = json['LineItemNo'];
|
||||||
|
status = json['Status'];
|
||||||
|
description = json['Description'];
|
||||||
|
descriptionN = json['DescriptionN'];
|
||||||
|
createdOn = DateUtils.convertStringToDate(json['CreatedOn']);
|
||||||
|
serviceID = json['ServiceID'];
|
||||||
|
createdBy = json['CreatedBy'];
|
||||||
|
editedOn = DateUtils.convertStringToDate(json['EditedOn']);
|
||||||
|
editedBy = json['EditedBy'];
|
||||||
|
channel = json['Channel'];
|
||||||
|
clientRequestID = json['ClientRequestID'];
|
||||||
|
returnedToQueue = json['ReturnedToQueue'];
|
||||||
|
pickupDateTime = json['PickupDateTime'];
|
||||||
|
pickupLocationName = json['PickupLocationName'];
|
||||||
|
dropoffLocationName = json['DropoffLocationName'];
|
||||||
|
realRRTHaveTransactions = json['RealRRT_HaveTransactions'];
|
||||||
|
nearestProjectDescription = json['NearestProjectDescription'];
|
||||||
|
nearestProjectDescriptionN = json['NearestProjectDescriptionN'];
|
||||||
|
projectDescription = json['ProjectDescription'];
|
||||||
|
projectDescriptionN = json['ProjectDescriptionN'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ID'] = this.iD;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['PatientOutSA'] = this.patientOutSA;
|
||||||
|
data['IsOutPatient'] = this.isOutPatient;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['NearestProjectID'] = this.nearestProjectID;
|
||||||
|
data['Longitude'] = this.longitude;
|
||||||
|
data['Latitude'] = this.latitude;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['DischargeID'] = this.dischargeID;
|
||||||
|
data['LineItemNo'] = this.lineItemNo;
|
||||||
|
data['Status'] = this.status;
|
||||||
|
data['Description'] = this.description;
|
||||||
|
data['DescriptionN'] = this.descriptionN;
|
||||||
|
data['CreatedOn'] = this.createdOn;
|
||||||
|
data['ServiceID'] = this.serviceID;
|
||||||
|
data['CreatedBy'] = this.createdBy;
|
||||||
|
data['EditedOn'] = this.editedOn;
|
||||||
|
data['EditedBy'] = this.editedBy;
|
||||||
|
data['Channel'] = this.channel;
|
||||||
|
data['ClientRequestID'] = this.clientRequestID;
|
||||||
|
data['ReturnedToQueue'] = this.returnedToQueue;
|
||||||
|
data['PickupDateTime'] = this.pickupDateTime;
|
||||||
|
data['PickupLocationName'] = this.pickupLocationName;
|
||||||
|
data['DropoffLocationName'] = this.dropoffLocationName;
|
||||||
|
data['RealRRT_HaveTransactions'] = this.realRRTHaveTransactions;
|
||||||
|
data['NearestProjectDescription'] = this.nearestProjectDescription;
|
||||||
|
data['NearestProjectDescriptionN'] = this.nearestProjectDescriptionN;
|
||||||
|
data['ProjectDescription'] = this.projectDescription;
|
||||||
|
data['ProjectDescriptionN'] = this.projectDescriptionN;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,60 @@
|
|||||||
|
class RequestGetListPharmacyForPrescriptions {
|
||||||
|
int latitude;
|
||||||
|
int longitude;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int itemID;
|
||||||
|
|
||||||
|
RequestGetListPharmacyForPrescriptions(
|
||||||
|
{this.latitude,
|
||||||
|
this.longitude,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.itemID});
|
||||||
|
|
||||||
|
RequestGetListPharmacyForPrescriptions.fromJson(Map<String, dynamic> json) {
|
||||||
|
latitude = json['Latitude'];
|
||||||
|
longitude = json['Longitude'];
|
||||||
|
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'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Latitude'] = this.latitude;
|
||||||
|
data['Longitude'] = this.longitude;
|
||||||
|
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['ItemID'] = this.itemID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,88 @@
|
|||||||
|
class RequestPrescriptionReport {
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
int appointmentNo;
|
||||||
|
String setupID;
|
||||||
|
int episodeID;
|
||||||
|
int clinicID;
|
||||||
|
int projectID;
|
||||||
|
int dischargeNo;
|
||||||
|
|
||||||
|
RequestPrescriptionReport(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.setupID,
|
||||||
|
this.episodeID,
|
||||||
|
this.clinicID,
|
||||||
|
this.projectID,
|
||||||
|
this.dischargeNo});
|
||||||
|
|
||||||
|
RequestPrescriptionReport.fromJson(Map<String, dynamic> json) {
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
dischargeNo = json['DischargeNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['DischargeNo'] = this.dischargeNo;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,86 @@
|
|||||||
|
class RequestPrescriptionReportEnh {
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
int appointmentNo;
|
||||||
|
String setupID;
|
||||||
|
int dischargeNo;
|
||||||
|
int episodeID;
|
||||||
|
int clinicID;
|
||||||
|
int projectID;
|
||||||
|
|
||||||
|
RequestPrescriptionReportEnh(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.setupID,
|
||||||
|
this.episodeID,
|
||||||
|
this.clinicID,
|
||||||
|
this.projectID,this.dischargeNo});
|
||||||
|
|
||||||
|
RequestPrescriptionReportEnh.fromJson(Map<String, dynamic> json) {
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['DischargeNo'] = this.dischargeNo;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,200 @@
|
|||||||
|
class AdmissionRequest {
|
||||||
|
int patientMRN;
|
||||||
|
int admitToClinic;
|
||||||
|
bool isPregnant;
|
||||||
|
int pregnancyWeeks;
|
||||||
|
int pregnancyType;
|
||||||
|
int noOfBabies;
|
||||||
|
int mrpDoctorID;
|
||||||
|
String admissionDate;
|
||||||
|
int expectedDays;
|
||||||
|
int admissionType;
|
||||||
|
int admissionLocationID;
|
||||||
|
int roomCategoryID;
|
||||||
|
int wardID;
|
||||||
|
bool isSickLeaveRequired;
|
||||||
|
String sickLeaveComments;
|
||||||
|
bool isTransport;
|
||||||
|
String transportComments;
|
||||||
|
bool isPhysioAppointmentNeeded;
|
||||||
|
String physioAppointmentComments;
|
||||||
|
bool isOPDFollowupAppointmentNeeded;
|
||||||
|
String opdFollowUpComments;
|
||||||
|
bool isDietType;
|
||||||
|
int dietType;
|
||||||
|
String dietRemarks;
|
||||||
|
bool isPhysicalActivityModification;
|
||||||
|
String physicalActivityModificationComments;
|
||||||
|
int orStatus;
|
||||||
|
String mainLineOfTreatment;
|
||||||
|
int estimatedCost;
|
||||||
|
String elementsForImprovement;
|
||||||
|
bool isPackagePatient;
|
||||||
|
String complications;
|
||||||
|
String otherDepartmentInterventions;
|
||||||
|
String otherProcedures;
|
||||||
|
String pastMedicalHistory;
|
||||||
|
String pastSurgicalHistory;
|
||||||
|
List<dynamic> admissionRequestDiagnoses;
|
||||||
|
List<dynamic> admissionRequestProcedures;
|
||||||
|
int appointmentNo;
|
||||||
|
int episodeID;
|
||||||
|
int admissionRequestNo;
|
||||||
|
|
||||||
|
AdmissionRequest(
|
||||||
|
{this.patientMRN,
|
||||||
|
this.admitToClinic,
|
||||||
|
this.isPregnant,
|
||||||
|
this.pregnancyWeeks = 0,
|
||||||
|
this.pregnancyType = 0,
|
||||||
|
this.noOfBabies = 0,
|
||||||
|
this.mrpDoctorID,
|
||||||
|
this.admissionDate,
|
||||||
|
this.expectedDays,
|
||||||
|
this.admissionType,
|
||||||
|
this.admissionLocationID = 0,
|
||||||
|
this.roomCategoryID = 0,
|
||||||
|
this.wardID,
|
||||||
|
this.isSickLeaveRequired,
|
||||||
|
this.sickLeaveComments = "",
|
||||||
|
this.isTransport = false,
|
||||||
|
this.transportComments = "",
|
||||||
|
this.isPhysioAppointmentNeeded = false,
|
||||||
|
this.physioAppointmentComments = "",
|
||||||
|
this.isOPDFollowupAppointmentNeeded = false,
|
||||||
|
this.opdFollowUpComments = "",
|
||||||
|
this.isDietType,
|
||||||
|
this.dietType,
|
||||||
|
this.dietRemarks,
|
||||||
|
this.isPhysicalActivityModification = false,
|
||||||
|
this.physicalActivityModificationComments = "",
|
||||||
|
this.orStatus = 1,
|
||||||
|
this.mainLineOfTreatment,
|
||||||
|
this.estimatedCost,
|
||||||
|
this.elementsForImprovement,
|
||||||
|
this.isPackagePatient = false,
|
||||||
|
this.complications = "",
|
||||||
|
this.otherDepartmentInterventions = "",
|
||||||
|
this.otherProcedures = "",
|
||||||
|
this.pastMedicalHistory = "",
|
||||||
|
this.pastSurgicalHistory = "",
|
||||||
|
this.admissionRequestDiagnoses,
|
||||||
|
this.admissionRequestProcedures,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.episodeID,
|
||||||
|
this.admissionRequestNo});
|
||||||
|
|
||||||
|
AdmissionRequest.fromJson(Map<String, dynamic> json) {
|
||||||
|
patientMRN = json['patientMRN'];
|
||||||
|
admitToClinic = json['admitToClinic'];
|
||||||
|
isPregnant = json['isPregnant'];
|
||||||
|
pregnancyWeeks = json['pregnancyWeeks'];
|
||||||
|
pregnancyType = json['pregnancyType'];
|
||||||
|
noOfBabies = json['noOfBabies'];
|
||||||
|
mrpDoctorID = json['mrpDoctorID'];
|
||||||
|
admissionDate = json['admissionDate'];
|
||||||
|
expectedDays = json['expectedDays'];
|
||||||
|
admissionType = json['admissionType'];
|
||||||
|
admissionLocationID = json['admissionLocationID'];
|
||||||
|
roomCategoryID = json['roomCategoryID'];
|
||||||
|
wardID = json['wardID'];
|
||||||
|
isSickLeaveRequired = json['isSickLeaveRequired'];
|
||||||
|
sickLeaveComments = json['sickLeaveComments'];
|
||||||
|
isTransport = json['isTransport'];
|
||||||
|
transportComments = json['transportComments'];
|
||||||
|
isPhysioAppointmentNeeded = json['isPhysioAppointmentNeeded'];
|
||||||
|
physioAppointmentComments = json['physioAppointmentComments'];
|
||||||
|
isOPDFollowupAppointmentNeeded = json['isOPDFollowupAppointmentNeeded'];
|
||||||
|
opdFollowUpComments = json['opdFollowUpComments'];
|
||||||
|
isDietType = json['isDietType'];
|
||||||
|
dietType = json['dietType'];
|
||||||
|
dietRemarks = json['dietRemarks'];
|
||||||
|
isPhysicalActivityModification = json['isPhysicalActivityModification'];
|
||||||
|
physicalActivityModificationComments =
|
||||||
|
json['physicalActivityModificationComments'];
|
||||||
|
orStatus = json['orStatus'];
|
||||||
|
mainLineOfTreatment = json['mainLineOfTreatment'];
|
||||||
|
estimatedCost = json['estimatedCost'];
|
||||||
|
elementsForImprovement = json['elementsForImprovement'];
|
||||||
|
isPackagePatient = json['isPackagePatient'];
|
||||||
|
complications = json['complications'];
|
||||||
|
otherDepartmentInterventions = json['otherDepartmentInterventions'];
|
||||||
|
otherProcedures = json['otherProcedures'];
|
||||||
|
pastMedicalHistory = json['pastMedicalHistory'];
|
||||||
|
pastSurgicalHistory = json['pastSurgicalHistory'];
|
||||||
|
if (json['admissionRequestDiagnoses'] != null) {
|
||||||
|
admissionRequestDiagnoses = new List<dynamic>();
|
||||||
|
json['admissionRequestDiagnoses'].forEach((v) {
|
||||||
|
admissionRequestDiagnoses.add(v);
|
||||||
|
// admissionRequestDiagnoses
|
||||||
|
// .add(new AdmissionRequestDiagnoses.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (json['admissionRequestProcedures'] != null) {
|
||||||
|
admissionRequestProcedures = new List<dynamic>();
|
||||||
|
json['admissionRequestProcedures'].forEach((v) {
|
||||||
|
admissionRequestProcedures.add(v);
|
||||||
|
// admissionRequestProcedures
|
||||||
|
// .add(new AdmissionRequestProcedures.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
appointmentNo = json['appointmentNo'];
|
||||||
|
episodeID = json['episodeID'];
|
||||||
|
admissionRequestNo = json['admissionRequestNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['patientMRN'] = this.patientMRN;
|
||||||
|
data['admitToClinic'] = this.admitToClinic;
|
||||||
|
data['isPregnant'] = this.isPregnant;
|
||||||
|
data['pregnancyWeeks'] = this.pregnancyWeeks;
|
||||||
|
data['pregnancyType'] = this.pregnancyType;
|
||||||
|
data['noOfBabies'] = this.noOfBabies;
|
||||||
|
data['mrpDoctorID'] = this.mrpDoctorID;
|
||||||
|
data['admissionDate'] = this.admissionDate;
|
||||||
|
data['expectedDays'] = this.expectedDays;
|
||||||
|
data['admissionType'] = this.admissionType;
|
||||||
|
data['admissionLocationID'] = this.admissionLocationID;
|
||||||
|
data['roomCategoryID'] = this.roomCategoryID;
|
||||||
|
data['wardID'] = this.wardID;
|
||||||
|
data['isSickLeaveRequired'] = this.isSickLeaveRequired;
|
||||||
|
data['sickLeaveComments'] = this.sickLeaveComments;
|
||||||
|
data['isTransport'] = this.isTransport;
|
||||||
|
data['transportComments'] = this.transportComments;
|
||||||
|
data['isPhysioAppointmentNeeded'] = this.isPhysioAppointmentNeeded;
|
||||||
|
data['physioAppointmentComments'] = this.physioAppointmentComments;
|
||||||
|
data['isOPDFollowupAppointmentNeeded'] =
|
||||||
|
this.isOPDFollowupAppointmentNeeded;
|
||||||
|
data['opdFollowUpComments'] = this.opdFollowUpComments;
|
||||||
|
data['isDietType'] = this.isDietType;
|
||||||
|
data['dietType'] = this.dietType;
|
||||||
|
data['dietRemarks'] = this.dietRemarks;
|
||||||
|
data['isPhysicalActivityModification'] =
|
||||||
|
this.isPhysicalActivityModification;
|
||||||
|
data['physicalActivityModificationComments'] =
|
||||||
|
this.physicalActivityModificationComments;
|
||||||
|
data['orStatus'] = this.orStatus;
|
||||||
|
data['mainLineOfTreatment'] = this.mainLineOfTreatment;
|
||||||
|
data['estimatedCost'] = this.estimatedCost;
|
||||||
|
data['elementsForImprovement'] = this.elementsForImprovement;
|
||||||
|
data['isPackagePatient'] = this.isPackagePatient;
|
||||||
|
data['complications'] = this.complications;
|
||||||
|
data['otherDepartmentInterventions'] = this.otherDepartmentInterventions;
|
||||||
|
data['otherProcedures'] = this.otherProcedures;
|
||||||
|
data['pastMedicalHistory'] = this.pastMedicalHistory;
|
||||||
|
data['pastSurgicalHistory'] = this.pastSurgicalHistory;
|
||||||
|
if (this.admissionRequestDiagnoses != null) {
|
||||||
|
data['admissionRequestDiagnoses'] = this.admissionRequestDiagnoses;
|
||||||
|
// this.admissionRequestDiagnoses.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
if (this.admissionRequestProcedures != null) {
|
||||||
|
data['admissionRequestProcedures'] =
|
||||||
|
this.admissionRequestProcedures.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
data['appointmentNo'] = this.appointmentNo;
|
||||||
|
data['episodeID'] = this.episodeID;
|
||||||
|
data['admissionRequestNo'] = this.admissionRequestNo;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
class Clinic {
|
||||||
|
int clinicGroupID;
|
||||||
|
String clinicGroupName;
|
||||||
|
int clinicID;
|
||||||
|
String clinicNameArabic;
|
||||||
|
String clinicNameEnglish;
|
||||||
|
|
||||||
|
Clinic(
|
||||||
|
{this.clinicGroupID,
|
||||||
|
this.clinicGroupName,
|
||||||
|
this.clinicID,
|
||||||
|
this.clinicNameArabic,
|
||||||
|
this.clinicNameEnglish});
|
||||||
|
|
||||||
|
Clinic.fromJson(Map<String, dynamic> json) {
|
||||||
|
clinicGroupID = json['clinicGroupID'];
|
||||||
|
clinicGroupName = json['clinicGroupName'];
|
||||||
|
clinicID = json['clinicID'];
|
||||||
|
clinicNameArabic = json['clinicNameArabic'];
|
||||||
|
clinicNameEnglish = json['clinicNameEnglish'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['clinicGroupID'] = this.clinicGroupID;
|
||||||
|
data['clinicGroupName'] = this.clinicGroupName;
|
||||||
|
data['clinicID'] = this.clinicID;
|
||||||
|
data['clinicNameArabic'] = this.clinicNameArabic;
|
||||||
|
data['clinicNameEnglish'] = this.clinicNameEnglish;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
class WardModel{
|
||||||
|
|
||||||
|
String description;
|
||||||
|
String descriptionN;
|
||||||
|
int floorID;
|
||||||
|
bool isActive;
|
||||||
|
|
||||||
|
WardModel(
|
||||||
|
{this.description, this.descriptionN, this.floorID, this.isActive});
|
||||||
|
|
||||||
|
WardModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
description = json['description'];
|
||||||
|
descriptionN = json['descriptionN'];
|
||||||
|
floorID = json['floorID'];
|
||||||
|
isActive = json['isActive'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['description'] = this.description;
|
||||||
|
data['descriptionN'] = this.descriptionN;
|
||||||
|
data['floorID'] = this.floorID;
|
||||||
|
data['isActive'] = this.isActive;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,32 @@
|
|||||||
|
class CalculateBoxQuantityRequestModel {
|
||||||
|
int itemCode;
|
||||||
|
double strength;
|
||||||
|
int frequency;
|
||||||
|
int duration;
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
|
||||||
|
CalculateBoxQuantityRequestModel(
|
||||||
|
{this.itemCode,
|
||||||
|
this.strength,
|
||||||
|
this.frequency,
|
||||||
|
this.duration,
|
||||||
|
this.vidaAuthTokenID});
|
||||||
|
|
||||||
|
CalculateBoxQuantityRequestModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
itemCode = json['ItemCode'];
|
||||||
|
strength = json['Strength'];
|
||||||
|
frequency = json['Frequency'];
|
||||||
|
duration = json['Duration'];
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ItemCode'] = this.itemCode;
|
||||||
|
data['Strength'] = this.strength;
|
||||||
|
data['Frequency'] = this.frequency;
|
||||||
|
data['Duration'] = this.duration;
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,47 @@
|
|||||||
|
class GetMedicationResponseModel {
|
||||||
|
String description;
|
||||||
|
String genericName;
|
||||||
|
int itemId;
|
||||||
|
String keywords;
|
||||||
|
dynamic price;
|
||||||
|
dynamic quantity;
|
||||||
|
dynamic mediSpanGPICode;
|
||||||
|
bool isNarcotic;
|
||||||
|
String uom;
|
||||||
|
GetMedicationResponseModel(
|
||||||
|
{this.description,
|
||||||
|
this.genericName,
|
||||||
|
this.itemId,
|
||||||
|
this.keywords,
|
||||||
|
this.price,
|
||||||
|
this.quantity,
|
||||||
|
this.isNarcotic,
|
||||||
|
this.uom,
|
||||||
|
this.mediSpanGPICode});
|
||||||
|
|
||||||
|
GetMedicationResponseModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
description = json['Description'];
|
||||||
|
genericName = json['GenericName'];
|
||||||
|
itemId = json['ItemId'];
|
||||||
|
keywords = json['Keywords'];
|
||||||
|
price = json['Price'];
|
||||||
|
quantity = json['Quantity'];
|
||||||
|
mediSpanGPICode = json['mediSpanGPICode'];
|
||||||
|
isNarcotic = json['isNarcotic'];
|
||||||
|
uom = json['uom'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Description'] = this.description;
|
||||||
|
data['GenericName'] = this.genericName;
|
||||||
|
data['ItemId'] = this.itemId;
|
||||||
|
data['Keywords'] = this.keywords;
|
||||||
|
data['Price'] = this.price;
|
||||||
|
data['Quantity'] = this.quantity;
|
||||||
|
data['mediSpanGPICode'] = this.mediSpanGPICode;
|
||||||
|
data['isNarcotic'] = this.isNarcotic;
|
||||||
|
data['uom'] = this.uom;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,127 @@
|
|||||||
|
class GetIMEIDetailsModel {
|
||||||
|
int iD;
|
||||||
|
String iMEI;
|
||||||
|
int logInTypeID;
|
||||||
|
bool outSA;
|
||||||
|
String mobile;
|
||||||
|
dynamic identificationNo;
|
||||||
|
int doctorID;
|
||||||
|
String doctorName;
|
||||||
|
String doctorNameN;
|
||||||
|
int clinicID;
|
||||||
|
String clinicDescription;
|
||||||
|
dynamic clinicDescriptionN;
|
||||||
|
int projectID;
|
||||||
|
String projectName;
|
||||||
|
String genderDescription;
|
||||||
|
dynamic genderDescriptionN;
|
||||||
|
String titleDescription;
|
||||||
|
dynamic titleDescriptionN;
|
||||||
|
dynamic zipCode;
|
||||||
|
String createdOn;
|
||||||
|
dynamic createdBy;
|
||||||
|
String editedOn;
|
||||||
|
dynamic editedBy;
|
||||||
|
bool biometricEnabled;
|
||||||
|
dynamic preferredLanguage;
|
||||||
|
bool isActive;
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
String vidaRefreshTokenID;
|
||||||
|
String password;
|
||||||
|
GetIMEIDetailsModel(
|
||||||
|
{this.iD,
|
||||||
|
this.iMEI,
|
||||||
|
this.logInTypeID,
|
||||||
|
this.outSA,
|
||||||
|
this.mobile,
|
||||||
|
this.identificationNo,
|
||||||
|
this.doctorID,
|
||||||
|
this.doctorName,
|
||||||
|
this.doctorNameN,
|
||||||
|
this.clinicID,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.clinicDescriptionN,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.genderDescription,
|
||||||
|
this.genderDescriptionN,
|
||||||
|
this.titleDescription,
|
||||||
|
this.titleDescriptionN,
|
||||||
|
this.zipCode,
|
||||||
|
this.createdOn,
|
||||||
|
this.createdBy,
|
||||||
|
this.editedOn,
|
||||||
|
this.editedBy,
|
||||||
|
this.biometricEnabled,
|
||||||
|
this.preferredLanguage,
|
||||||
|
this.isActive,
|
||||||
|
this.vidaAuthTokenID,
|
||||||
|
this.vidaRefreshTokenID,
|
||||||
|
this.password});
|
||||||
|
|
||||||
|
GetIMEIDetailsModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
iD = json['ID'];
|
||||||
|
iMEI = json['IMEI'];
|
||||||
|
logInTypeID = json['LogInTypeID'];
|
||||||
|
outSA = json['OutSA'];
|
||||||
|
mobile = json['Mobile'];
|
||||||
|
identificationNo = json['IdentificationNo'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doctorNameN = json['DoctorNameN'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
clinicDescriptionN = json['ClinicDescriptionN'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
genderDescription = json['Gender_Description'];
|
||||||
|
genderDescriptionN = json['Gender_DescriptionN'];
|
||||||
|
titleDescription = json['Title_Description'];
|
||||||
|
titleDescriptionN = json['Title_DescriptionN'];
|
||||||
|
zipCode = json['ZipCode'];
|
||||||
|
createdOn = json['CreatedOn'];
|
||||||
|
createdBy = json['CreatedBy'];
|
||||||
|
editedOn = json['EditedOn'];
|
||||||
|
editedBy = json['EditedBy'];
|
||||||
|
biometricEnabled = json['BiometricEnabled'];
|
||||||
|
preferredLanguage = json['PreferredLanguage'];
|
||||||
|
isActive = json['IsActive'];
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
||||||
|
password = json['Password'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ID'] = this.iD;
|
||||||
|
data['IMEI'] = this.iMEI;
|
||||||
|
data['LogInTypeID'] = this.logInTypeID;
|
||||||
|
data['OutSA'] = this.outSA;
|
||||||
|
data['Mobile'] = this.mobile;
|
||||||
|
data['IdentificationNo'] = this.identificationNo;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoctorNameN'] = this.doctorNameN;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['ClinicDescription'] = this.clinicDescription;
|
||||||
|
data['ClinicDescriptionN'] = this.clinicDescriptionN;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['Gender_Description'] = this.genderDescription;
|
||||||
|
data['Gender_DescriptionN'] = this.genderDescriptionN;
|
||||||
|
data['Title_Description'] = this.titleDescription;
|
||||||
|
data['Title_DescriptionN'] = this.titleDescriptionN;
|
||||||
|
data['ZipCode'] = this.zipCode;
|
||||||
|
data['CreatedOn'] = this.createdOn;
|
||||||
|
data['CreatedBy'] = this.createdBy;
|
||||||
|
data['EditedOn'] = this.editedOn;
|
||||||
|
data['EditedBy'] = this.editedBy;
|
||||||
|
data['BiometricEnabled'] = this.biometricEnabled;
|
||||||
|
data['PreferredLanguage'] = this.preferredLanguage;
|
||||||
|
data['IsActive'] = this.isActive;
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
data['VidaRefreshTokenID'] = this.vidaRefreshTokenID;
|
||||||
|
data['Password'] = this.password;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,143 @@
|
|||||||
|
class InsertIMEIDetailsModel {
|
||||||
|
String iMEI;
|
||||||
|
int logInTypeID;
|
||||||
|
dynamic outSA;
|
||||||
|
String mobile;
|
||||||
|
dynamic identificationNo;
|
||||||
|
int doctorID;
|
||||||
|
String doctorName;
|
||||||
|
String doctorNameN;
|
||||||
|
int clinicID;
|
||||||
|
String clinicDescription;
|
||||||
|
Null clinicDescriptionN;
|
||||||
|
String projectName;
|
||||||
|
String genderDescription;
|
||||||
|
Null genderDescriptionN;
|
||||||
|
String titleDescription;
|
||||||
|
Null titleDescriptionN;
|
||||||
|
bool bioMetricEnabled;
|
||||||
|
Null preferredLanguage;
|
||||||
|
bool isActive;
|
||||||
|
int editedBy;
|
||||||
|
int projectID;
|
||||||
|
String tokenID;
|
||||||
|
int languageID;
|
||||||
|
String stamp;
|
||||||
|
String iPAdress;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
String sessionID;
|
||||||
|
bool isLoginForDoctorApp;
|
||||||
|
int patientOutSA;
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
String vidaRefreshTokenID;
|
||||||
|
dynamic password;
|
||||||
|
InsertIMEIDetailsModel(
|
||||||
|
{this.iMEI,
|
||||||
|
this.logInTypeID,
|
||||||
|
this.outSA,
|
||||||
|
this.mobile,
|
||||||
|
this.identificationNo,
|
||||||
|
this.doctorID,
|
||||||
|
this.doctorName,
|
||||||
|
this.doctorNameN,
|
||||||
|
this.clinicID,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.clinicDescriptionN,
|
||||||
|
this.projectName,
|
||||||
|
this.genderDescription,
|
||||||
|
this.genderDescriptionN,
|
||||||
|
this.titleDescription,
|
||||||
|
this.titleDescriptionN,
|
||||||
|
this.bioMetricEnabled,
|
||||||
|
this.preferredLanguage,
|
||||||
|
this.isActive,
|
||||||
|
this.editedBy,
|
||||||
|
this.projectID,
|
||||||
|
this.tokenID,
|
||||||
|
this.languageID,
|
||||||
|
this.stamp,
|
||||||
|
this.iPAdress,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.sessionID,
|
||||||
|
this.isLoginForDoctorApp,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.vidaAuthTokenID,
|
||||||
|
this.vidaRefreshTokenID,
|
||||||
|
this.password});
|
||||||
|
|
||||||
|
InsertIMEIDetailsModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
iMEI = json['IMEI'];
|
||||||
|
logInTypeID = json['LogInTypeID'];
|
||||||
|
outSA = json['OutSA'];
|
||||||
|
mobile = json['MobileNo'];
|
||||||
|
identificationNo = json['IdentificationNo'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doctorNameN = json['DoctorNameN'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
clinicDescriptionN = json['ClinicDescriptionN'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
genderDescription = json['GenderDescription'];
|
||||||
|
genderDescriptionN = json['GenderDescriptionN'];
|
||||||
|
titleDescription = json['TitleDescription'];
|
||||||
|
titleDescriptionN = json['Title_DescriptionN'];
|
||||||
|
bioMetricEnabled = json['BioMetricEnabled'];
|
||||||
|
preferredLanguage = json['PreferredLanguage'];
|
||||||
|
isActive = json['IsActive'];
|
||||||
|
editedBy = json['EditedBy'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
languageID = json['LanguageID'];
|
||||||
|
stamp = json['stamp'];
|
||||||
|
iPAdress = json['IPAdress'];
|
||||||
|
versionID = json['VersionID'];
|
||||||
|
channel = json['Channel'];
|
||||||
|
sessionID = json['SessionID'];
|
||||||
|
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||||
|
patientOutSA = json['PatientOutSA'];
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
vidaRefreshTokenID = json['VidaRefreshTokenID'];
|
||||||
|
password = json['Password'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['IMEI'] = this.iMEI;
|
||||||
|
data['LogInTypeID'] = this.logInTypeID;
|
||||||
|
data['OutSA'] = this.outSA;
|
||||||
|
data['MobileNo'] = this.mobile;
|
||||||
|
data['IdentificationNo'] = this.identificationNo;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoctorNameN'] = this.doctorNameN;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['ClinicDescription'] = this.clinicDescription;
|
||||||
|
data['ClinicDescriptionN'] = this.clinicDescriptionN;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['GenderDescription'] = this.genderDescription;
|
||||||
|
data['GenderDescriptionN'] = this.genderDescriptionN;
|
||||||
|
data['TitleDescription'] = this.titleDescription;
|
||||||
|
data['Title_DescriptionN'] = this.titleDescriptionN;
|
||||||
|
data['BioMetricEnabled'] = this.bioMetricEnabled;
|
||||||
|
data['PreferredLanguage'] = this.preferredLanguage;
|
||||||
|
data['IsActive'] = this.isActive;
|
||||||
|
data['EditedBy'] = this.editedBy;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['LanguageID'] = this.languageID;
|
||||||
|
data['stamp'] = this.stamp;
|
||||||
|
data['IPAdress'] = this.iPAdress;
|
||||||
|
data['VersionID'] = this.versionID;
|
||||||
|
data['Channel'] = this.channel;
|
||||||
|
data['SessionID'] = this.sessionID;
|
||||||
|
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||||
|
data['PatientOutSA'] = this.patientOutSA;
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
data['VidaRefreshTokenID'] = this.vidaRefreshTokenID;
|
||||||
|
data['Password'] = this.password;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,140 @@
|
|||||||
|
class InsuranceApprovalDetails {
|
||||||
|
String procedureName;
|
||||||
|
String status;
|
||||||
|
String isInvoicedDesc;
|
||||||
|
|
||||||
|
InsuranceApprovalDetails({
|
||||||
|
this.procedureName,
|
||||||
|
this.status,
|
||||||
|
this.isInvoicedDesc,
|
||||||
|
});
|
||||||
|
|
||||||
|
InsuranceApprovalDetails.fromJson(Map<String, dynamic> json) {
|
||||||
|
try {
|
||||||
|
isInvoicedDesc = json['IsInvoicedDesc'];
|
||||||
|
status = json['Status'];
|
||||||
|
procedureName = json['ProcedureName'];
|
||||||
|
} catch (e) {
|
||||||
|
print(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class InsuranceApprovalModel {
|
||||||
|
InsuranceApprovalDetails approvalDetails;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
int eXuldAPPNO;
|
||||||
|
int projectID;
|
||||||
|
String doctorName;
|
||||||
|
String clinicName;
|
||||||
|
String patientDescription;
|
||||||
|
int approvalNo;
|
||||||
|
String approvalStatusDescption;
|
||||||
|
int unUsedCount;
|
||||||
|
|
||||||
|
//String companyName;
|
||||||
|
String expiryDate;
|
||||||
|
String rceiptOn;
|
||||||
|
int appointmentNo;
|
||||||
|
|
||||||
|
InsuranceApprovalModel(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType,
|
||||||
|
this.eXuldAPPNO,
|
||||||
|
this.projectID,
|
||||||
|
this.doctorName,
|
||||||
|
this.clinicName,
|
||||||
|
this.patientDescription,
|
||||||
|
this.approvalNo,
|
||||||
|
this.approvalStatusDescption,
|
||||||
|
this.unUsedCount,
|
||||||
|
//this.companyName,
|
||||||
|
this.expiryDate,
|
||||||
|
this.rceiptOn,
|
||||||
|
this.approvalDetails,
|
||||||
|
this.appointmentNo});
|
||||||
|
|
||||||
|
InsuranceApprovalDetails x = InsuranceApprovalDetails();
|
||||||
|
|
||||||
|
InsuranceApprovalModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
try {
|
||||||
|
rceiptOn = json['ReceiptOn'];
|
||||||
|
expiryDate = json['ExpiryDate'];
|
||||||
|
//companyName = json['CompanyName'];
|
||||||
|
unUsedCount = json['TotaUnUsedCount'];
|
||||||
|
approvalStatusDescption = json['ApprovalStatusDescption'];
|
||||||
|
approvalNo = json['ApprovalNo'];
|
||||||
|
patientDescription = json['IsInOutPatientDescription'];
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
eXuldAPPNO = json['EXuldAPPNO'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
clinicName = json['ClinicName'];
|
||||||
|
approvalDetails =
|
||||||
|
InsuranceApprovalDetails.fromJson(json['ApporvalDetails'][0]);
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
} catch (e) {
|
||||||
|
print(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
if (appointmentNo == null) {
|
||||||
|
data['EXuldAPPNO'] = this.eXuldAPPNO;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
}
|
||||||
|
if (appointmentNo != null) {
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
}
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,108 @@
|
|||||||
|
class ItemByMedicineModel {
|
||||||
|
List<Frequencies> frequencies;
|
||||||
|
List<Routes> routes;
|
||||||
|
List<Strengths> strengths;
|
||||||
|
|
||||||
|
ItemByMedicineModel({this.frequencies, this.routes, this.strengths});
|
||||||
|
|
||||||
|
ItemByMedicineModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
if (json['frequencies'] != null) {
|
||||||
|
frequencies = new List<Frequencies>();
|
||||||
|
json['frequencies'].forEach((v) {
|
||||||
|
frequencies.add(new Frequencies.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (json['routes'] != null) {
|
||||||
|
routes = new List<Routes>();
|
||||||
|
json['routes'].forEach((v) {
|
||||||
|
routes.add(new Routes.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (json['strengths'] != null) {
|
||||||
|
strengths = new List<Strengths>();
|
||||||
|
json['strengths'].forEach((v) {
|
||||||
|
strengths.add(new Strengths.fromJson(v));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
if (this.frequencies != null) {
|
||||||
|
data['frequencies'] = this.frequencies.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
if (this.routes != null) {
|
||||||
|
data['routes'] = this.routes.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
if (this.strengths != null) {
|
||||||
|
data['strengths'] = this.strengths.map((v) => v.toJson()).toList();
|
||||||
|
}
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Frequencies {
|
||||||
|
String description;
|
||||||
|
bool isDefault;
|
||||||
|
int parameterCode;
|
||||||
|
|
||||||
|
Frequencies({this.description, this.isDefault, this.parameterCode});
|
||||||
|
|
||||||
|
Frequencies.fromJson(Map<String, dynamic> json) {
|
||||||
|
description = json['description'];
|
||||||
|
isDefault = json['isDefault'];
|
||||||
|
parameterCode = json['parameterCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['description'] = this.description;
|
||||||
|
data['isDefault'] = this.isDefault;
|
||||||
|
data['parameterCode'] = this.parameterCode;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Strengths {
|
||||||
|
String description;
|
||||||
|
bool isDefault;
|
||||||
|
int parameterCode;
|
||||||
|
|
||||||
|
Strengths({this.description, this.isDefault, this.parameterCode});
|
||||||
|
|
||||||
|
Strengths.fromJson(Map<String, dynamic> json) {
|
||||||
|
description = json['description'];
|
||||||
|
isDefault = json['isDefault'];
|
||||||
|
parameterCode = json['parameterCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['description'] = this.description;
|
||||||
|
data['isDefault'] = this.isDefault;
|
||||||
|
data['parameterCode'] = this.parameterCode;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class Routes {
|
||||||
|
String description;
|
||||||
|
bool isDefault;
|
||||||
|
int parameterCode;
|
||||||
|
|
||||||
|
Routes({this.description, this.isDefault, this.parameterCode});
|
||||||
|
|
||||||
|
Routes.fromJson(Map<String, dynamic> json) {
|
||||||
|
description = json['description'];
|
||||||
|
isDefault = json['isDefault'];
|
||||||
|
parameterCode = json['parameterCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['description'] = this.description;
|
||||||
|
data['isDefault'] = this.isDefault;
|
||||||
|
data['parameterCode'] = this.parameterCode;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
class ItemByMedicineRequestModel {
|
||||||
|
String vidaAuthTokenID;
|
||||||
|
int medicineCode;
|
||||||
|
|
||||||
|
ItemByMedicineRequestModel({this.vidaAuthTokenID, this.medicineCode});
|
||||||
|
|
||||||
|
ItemByMedicineRequestModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
||||||
|
medicineCode = json['MedicineCode'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
||||||
|
data['MedicineCode'] = this.medicineCode;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||