updates -> 3.13.6

merge-update-with-lab-changes
devamirsaleemahmad 2 years ago
parent e8e7a726f5
commit 6ff864c4cd

@ -34,7 +34,7 @@ class DeleteBaby {
this.patientTypeID, this.patientTypeID,
this.patientType}); this.patientType});
DeleteBaby.fromJson(Map<String?, dynamic> json) { DeleteBaby.fromJson(Map<String, dynamic> json) {
isLogin = json['IsLogin']; isLogin = json['IsLogin'];
babyID = json['BabyID']; babyID = json['BabyID'];
editedBy = json['EditedBy']; editedBy = json['EditedBy'];
@ -53,8 +53,8 @@ class DeleteBaby {
patientType = json['PatientType']; patientType = json['PatientType'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['IsLogin'] = this.isLogin; data['IsLogin'] = this.isLogin;
data['BabyID'] = this.babyID; data['BabyID'] = this.babyID;
data['EditedBy'] = this.editedBy; data['EditedBy'] = this.editedBy;

@ -152,7 +152,7 @@ class PatientDoctorAppointment {
this.qR, this.qR,
this.speciality}); this.speciality});
PatientDoctorAppointment.fromJson(Map<String?, dynamic> json) { PatientDoctorAppointment.fromJson(Map<String, dynamic> json) {
try { try {
setupID = json['SetupID']; setupID = json['SetupID'];
projectID = json['ProjectID']; projectID = json['ProjectID'];
@ -233,8 +233,8 @@ class PatientDoctorAppointment {
} }
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['SetupID'] = this.setupID; data['SetupID'] = this.setupID;
data['ProjectID'] = this.projectID; data['ProjectID'] = this.projectID;
data['AppointmentNo'] = this.appointmentNo; data['AppointmentNo'] = this.appointmentNo;

@ -106,7 +106,7 @@ class AmbulanceRequestOrdersModel {
this.modifiedBy, this.modifiedBy,
this.isDeleted}); this.isDeleted});
AmbulanceRequestOrdersModel.fromJson(Map<String?, dynamic> json) { AmbulanceRequestOrdersModel.fromJson(Map<String, dynamic> json) {
statusText = json['StatusText']; statusText = json['StatusText'];
paymentStatus = json['PaymentStatus']; paymentStatus = json['PaymentStatus'];
clientRequestid = json['ClientRequestid']; clientRequestid = json['ClientRequestid'];
@ -165,8 +165,8 @@ class AmbulanceRequestOrdersModel {
isDeleted = json['IsDeleted']; isDeleted = json['IsDeleted'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['StatusText'] = this.statusText; data['StatusText'] = this.statusText;
data['PaymentStatus'] = this.paymentStatus; data['PaymentStatus'] = this.paymentStatus;
data['ClientRequestid'] = this.clientRequestid; data['ClientRequestid'] = this.clientRequestid;
@ -255,7 +255,7 @@ class WFOrder {
this.modifiedBy, this.modifiedBy,
this.isDeleted}); this.isDeleted});
WFOrder.fromJson(Map<String?, dynamic> json) { WFOrder.fromJson(Map<String, dynamic> json) {
wfButtonsDTO = json['wf_ButtonsDTO']; wfButtonsDTO = json['wf_ButtonsDTO'];
iD = json['ID']; iD = json['ID'];
orderId = json['OrderId']; orderId = json['OrderId'];
@ -270,8 +270,8 @@ class WFOrder {
isDeleted = json['IsDeleted']; isDeleted = json['IsDeleted'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['wf_ButtonsDTO'] = this.wfButtonsDTO; data['wf_ButtonsDTO'] = this.wfButtonsDTO;
data['ID'] = this.iD; data['ID'] = this.iD;
data['OrderId'] = this.orderId; data['OrderId'] = this.orderId;
@ -314,7 +314,7 @@ class Orderpayment {
this.modifiedBy, this.modifiedBy,
this.isDeleted}); this.isDeleted});
Orderpayment.fromJson(Map<String?, dynamic> json) { Orderpayment.fromJson(Map<String, dynamic> json) {
iD = json['ID']; iD = json['ID'];
orderId = json['OrderId']; orderId = json['OrderId'];
clientRequestId = json['ClientRequestId']; clientRequestId = json['ClientRequestId'];
@ -328,8 +328,8 @@ class Orderpayment {
isDeleted = json['IsDeleted']; isDeleted = json['IsDeleted'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ID'] = this.iD; data['ID'] = this.iD;
data['OrderId'] = this.orderId; data['OrderId'] = this.orderId;
data['ClientRequestId'] = this.clientRequestId; data['ClientRequestId'] = this.clientRequestId;

@ -42,7 +42,7 @@ class ErPatientShareModel {
this.statusCode, this.statusCode,
this.subPolicyNo}); this.subPolicyNo});
ErPatientShareModel.fromJson(Map<String?, dynamic> json) { ErPatientShareModel.fromJson(Map<String, dynamic> json) {
cashPrice = json['CashPrice']; cashPrice = json['CashPrice'];
cashPriceTax = json['CashPriceTax']; cashPriceTax = json['CashPriceTax'];
cashPriceWithTax = json['CashPriceWithTax']; cashPriceWithTax = json['CashPriceWithTax'];
@ -65,8 +65,8 @@ class ErPatientShareModel {
subPolicyNo = json['SubPolicyNo']; subPolicyNo = json['SubPolicyNo'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['CashPrice'] = this.cashPrice; data['CashPrice'] = this.cashPrice;
data['CashPriceTax'] = this.cashPriceTax; data['CashPriceTax'] = this.cashPriceTax;
data['CashPriceWithTax'] = this.cashPriceWithTax; data['CashPriceWithTax'] = this.cashPriceWithTax;

@ -62,7 +62,7 @@ class PatientAllPresOrders {
this.projectDescription, this.projectDescription,
this.projectDescriptionN}); this.projectDescriptionN});
PatientAllPresOrders.fromJson(Map<String?, dynamic> json) { PatientAllPresOrders.fromJson(Map<String, dynamic> json) {
iD = json['ID']; iD = json['ID'];
patientID = json['PatientID']; patientID = json['PatientID'];
patientOutSA = json['PatientOutSA']; patientOutSA = json['PatientOutSA'];
@ -95,8 +95,8 @@ class PatientAllPresOrders {
projectDescriptionN = json['ProjectDescriptionN']; projectDescriptionN = json['ProjectDescriptionN'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ID'] = this.iD; data['ID'] = this.iD;
data['PatientID'] = this.patientID; data['PatientID'] = this.patientID;
data['PatientOutSA'] = this.patientOutSA; data['PatientOutSA'] = this.patientOutSA;

@ -103,7 +103,7 @@ class PatientER {
this.patientERTransportationMethod, this.patientERTransportationMethod,
this.ambulate}); this.ambulate});
PatientER.fromJson(Map<String?, dynamic> json) { PatientER.fromJson(Map<String, dynamic> json) {
versionID = json['VersionID']; versionID = json['VersionID'];
channel = json['Channel']; channel = json['Channel'];
languageID = json['LanguageID']; languageID = json['LanguageID'];
@ -153,8 +153,8 @@ class PatientER {
appointmentTime = json['AppointmentTime']; appointmentTime = json['AppointmentTime'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['VersionID'] = this.versionID; data['VersionID'] = this.versionID;
data['Channel'] = this.channel; data['Channel'] = this.channel;
data['LanguageID'] = this.languageID; data['LanguageID'] = this.languageID;

@ -43,7 +43,7 @@ class PatientER_RC {
this.lineItemNo, this.lineItemNo,
this.transportationDetails}); this.transportationDetails});
PatientER_RC.fromJson(Map<String?, dynamic> json) { PatientER_RC.fromJson(Map<String, dynamic> json) {
versionID = json['VersionID']; versionID = json['VersionID'];
channel = json['Channel']; channel = json['Channel'];
languageID = json['LanguageID']; languageID = json['LanguageID'];
@ -67,8 +67,8 @@ class PatientER_RC {
: null; : null;
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['VersionID'] = this.versionID; data['VersionID'] = this.versionID;
data['Channel'] = this.channel; data['Channel'] = this.channel;
data['LanguageID'] = this.languageID; data['LanguageID'] = this.languageID;
@ -146,7 +146,7 @@ class TransportationDetails {
this.appointmentBranch, this.appointmentBranch,
this.appointmentTime}); this.appointmentTime});
TransportationDetails.fromJson(Map<String?, dynamic> json) { TransportationDetails.fromJson(Map<String, dynamic> json) {
direction = json['direction']; direction = json['direction'];
haveAppointment = json['haveAppointment']; haveAppointment = json['haveAppointment'];
tripType = json['tripType']; tripType = json['tripType'];
@ -173,8 +173,8 @@ class TransportationDetails {
appointmentTime = json['appointmentTime']; appointmentTime = json['appointmentTime'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['direction'] = this.direction; data['direction'] = this.direction;
data['haveAppointment'] = this.haveAppointment; data['haveAppointment'] = this.haveAppointment;
data['tripType'] = this.tripType; data['tripType'] = this.tripType;

@ -98,7 +98,7 @@ class PickUpRequestPresOrder {
this.ambulateDescription, this.ambulateDescription,
this.ambulateDescriptionN}); this.ambulateDescriptionN});
PickUpRequestPresOrder.fromJson(Map<String?, dynamic> json) { PickUpRequestPresOrder.fromJson(Map<String, dynamic> json) {
id = json['Id']; id = json['Id'];
presOrderID = json['PresOrderID']; presOrderID = json['PresOrderID'];
createDate = json['CreateDate']; createDate = json['CreateDate'];
@ -149,8 +149,8 @@ class PickUpRequestPresOrder {
ambulateDescriptionN = json['AmbulateDescriptionN']; ambulateDescriptionN = json['AmbulateDescriptionN'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['Id'] = this.id; data['Id'] = this.id;
data['PresOrderID'] = this.presOrderID; data['PresOrderID'] = this.presOrderID;
data['CreateDate'] = this.createDate; data['CreateDate'] = this.createDate;

@ -32,7 +32,7 @@ class TriageInformationRequest {
this.eRTriageInformation, this.eRTriageInformation,
this.selectedHospital}); this.selectedHospital});
TriageInformationRequest.fromJson(Map<String?, dynamic> json) { TriageInformationRequest.fromJson(Map<String, dynamic> json) {
versionID = json['VersionID']; versionID = json['VersionID'];
channel = json['Channel']; channel = json['Channel'];
languageID = json['LanguageID']; languageID = json['LanguageID'];
@ -48,8 +48,8 @@ class TriageInformationRequest {
eRTriageInformation = json['ERTriageInformation'] != null ? new ERTriageInformation.fromJson(json['ERTriageInformation']) : null; eRTriageInformation = json['ERTriageInformation'] != null ? new ERTriageInformation.fromJson(json['ERTriageInformation']) : null;
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['VersionID'] = this.versionID; data['VersionID'] = this.versionID;
data['Channel'] = this.channel; data['Channel'] = this.channel;
data['LanguageID'] = this.languageID; data['LanguageID'] = this.languageID;
@ -79,7 +79,7 @@ class ERTriageInformation {
ERTriageInformation({this.notes, this.chiefComplaint, this.patientId, this.projectId, this.riskScore, this.checklist}); ERTriageInformation({this.notes, this.chiefComplaint, this.patientId, this.projectId, this.riskScore, this.checklist});
ERTriageInformation.fromJson(Map<String?, dynamic> json) { ERTriageInformation.fromJson(Map<String, dynamic> json) {
notes = json['Notes']; notes = json['Notes'];
chiefComplaint = json['ChiefComplaint']; chiefComplaint = json['ChiefComplaint'];
patientId = json['PatientId']; patientId = json['PatientId'];
@ -93,8 +93,8 @@ class ERTriageInformation {
} }
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['Notes'] = this.notes; data['Notes'] = this.notes;
data['ChiefComplaint'] = this.chiefComplaint; data['ChiefComplaint'] = this.chiefComplaint;
data['PatientId'] = this.patientId; data['PatientId'] = this.patientId;
@ -116,7 +116,7 @@ class Checklist {
Checklist({this.isSelected, this.parameterCode, this.parameterGroup, this.parameterType, this.score}); Checklist({this.isSelected, this.parameterCode, this.parameterGroup, this.parameterType, this.score});
Checklist.fromJson(Map<String?, dynamic> json) { Checklist.fromJson(Map<String, dynamic> json) {
isSelected = json['IsSelected']; isSelected = json['IsSelected'];
parameterCode = json['ParameterCode']; parameterCode = json['ParameterCode'];
parameterGroup = json['ParameterGroup']; parameterGroup = json['ParameterGroup'];
@ -124,8 +124,8 @@ class Checklist {
score = json['Score']; score = json['Score'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['IsSelected'] = this.isSelected; data['IsSelected'] = this.isSelected;
data['ParameterCode'] = this.parameterCode; data['ParameterCode'] = this.parameterCode;
data['ParameterGroup'] = this.parameterGroup; data['ParameterGroup'] = this.parameterGroup;

@ -22,7 +22,7 @@ class TriageQuestionsModel {
this.scoreGroup, this.scoreGroup,
this.titles}); this.titles});
TriageQuestionsModel.fromJson(Map<String?, dynamic> json) { TriageQuestionsModel.fromJson(Map<String, dynamic> json) {
adultPoints = json['AdultPoints']; adultPoints = json['AdultPoints'];
headerSequence = json['HeaderSequence']; headerSequence = json['HeaderSequence'];
parameterCode = json['ParameterCode']; parameterCode = json['ParameterCode'];
@ -35,8 +35,8 @@ class TriageQuestionsModel {
titles = json['Titles']; titles = json['Titles'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['AdultPoints'] = this.adultPoints; data['AdultPoints'] = this.adultPoints;
data['HeaderSequence'] = this.headerSequence; data['HeaderSequence'] = this.headerSequence;
data['ParameterCode'] = this.parameterCode; data['ParameterCode'] = this.parameterCode;

@ -24,7 +24,7 @@ class PatientERTransportationMethod {
this.orderId, this.orderId,
this.quantity}); this.quantity});
PatientERTransportationMethod.fromJson(Map<String?, dynamic> json) { PatientERTransportationMethod.fromJson(Map<String, dynamic> json) {
iD = json['ID']; iD = json['ID'];
serviceID = json['ServiceID']; serviceID = json['ServiceID'];
orderServiceID = json['OrderServiceID']; orderServiceID = json['OrderServiceID'];
@ -38,8 +38,8 @@ class PatientERTransportationMethod {
quantity = json['Quantity']; quantity = json['Quantity'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ID'] = this.iD; data['ID'] = this.iD;
data['ServiceID'] = this.serviceID; data['ServiceID'] = this.serviceID;
data['OrderServiceID'] = this.orderServiceID; data['OrderServiceID'] = this.orderServiceID;

@ -22,7 +22,7 @@ class ProjectAvgERWaitingTime {
this.projectImageURL, this.projectImageURL,
this.projectName}); this.projectName});
ProjectAvgERWaitingTime.fromJson(Map<String?, dynamic> json) { ProjectAvgERWaitingTime.fromJson(Map<String, dynamic> json) {
iD = json['ID']; iD = json['ID'];
projectID = json['ProjectID']; projectID = json['ProjectID'];
avgTimeInMinutes = json['AvgTimeInMinutes']; avgTimeInMinutes = json['AvgTimeInMinutes'];
@ -35,8 +35,8 @@ class ProjectAvgERWaitingTime {
projectName = json['ProjectName']; projectName = json['ProjectName'];
} }
Map<String?, dynamic> toJson() { Map<String, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ID'] = this.iD; data['ID'] = this.iD;
data['ProjectID'] = this.projectID; data['ProjectID'] = this.projectID;
data['AvgTimeInMinutes'] = this.avgTimeInMinutes; data['AvgTimeInMinutes'] = this.avgTimeInMinutes;
@ -74,7 +74,7 @@ class ProjectAvgERWaitingTime {
// this.projectImageURL, // this.projectImageURL,
// this.projectName}); // this.projectName});
// //
// ProjectAvgERWaitingTime.fromJson(Map<String?, dynamic> json) { // ProjectAvgERWaitingTime.fromJson(Map<String, dynamic> json) {
// iD = json['ID']; // iD = json['ID'];
// projectID = json['ProjectID']; // projectID = json['ProjectID'];
// avgTimeInMinutes = json['AvgTimeInMinutes']; // avgTimeInMinutes = json['AvgTimeInMinutes'];
@ -87,8 +87,8 @@ class ProjectAvgERWaitingTime {
// projectName = json['ProjectName']; // projectName = json['ProjectName'];
// } // }
// //
// Map<String?, dynamic> toJson() { // Map<String, dynamic> toJson() {
// final Map<String?, dynamic> data = new Map<String?, dynamic>(); // final Map<String, dynamic> data = new Map<String, dynamic>();
// data['ID'] = this.iD; // data['ID'] = this.iD;
// data['ProjectID'] = this.projectID; // data['ProjectID'] = this.projectID;
// data['AvgTimeInMinutes'] = this.avgTimeInMinutes; // data['AvgTimeInMinutes'] = this.avgTimeInMinutes;

@ -137,7 +137,7 @@ class AppoimentAllHistoryResultList {
this.isInOutPatient, this.isInOutPatient,
}); });
AppoimentAllHistoryResultList.fromJson(Map<String?, dynamic> json) { AppoimentAllHistoryResultList.fromJson(Map<String, dynamic> json) {
setupID = json['SetupID']; setupID = json['SetupID'];
projectID = json['ProjectID']; projectID = json['ProjectID'];
appointmentNo = json['AppointmentNo']; appointmentNo = json['AppointmentNo'];
@ -178,7 +178,7 @@ class AppoimentAllHistoryResultList {
doctorImageURL = json['DoctorImageURL']; doctorImageURL = json['DoctorImageURL'];
doctorNameObj = json['DoctorNameObj']; doctorNameObj = json['DoctorNameObj'];
doctorRate = json['DoctorRate']; doctorRate = json['DoctorRate'];
if (doctorSpeciality != null) doctorSpeciality = json['DoctorSpeciality'].cast<String?>(); if (doctorSpeciality != null) doctorSpeciality = json['DoctorSpeciality'].cast<String>();
doctorTitle = json['DoctorTitle']; doctorTitle = json['DoctorTitle'];
gender = json['Gender']; gender = json['Gender'];
genderDescription = json['GenderDescription']; genderDescription = json['GenderDescription'];
@ -221,7 +221,7 @@ class AppoimentAllHistoryResultList {
} }
Map<String?, dynamic> toJson() { Map<String?, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['SetupID'] = this.setupID; data['SetupID'] = this.setupID;
data['ProjectID'] = this.projectID; data['ProjectID'] = this.projectID;
data['AppointmentNo'] = this.appointmentNo; data['AppointmentNo'] = this.appointmentNo;
@ -349,7 +349,7 @@ class ListHISGetContactLensPerscription {
this.isActive, this.isActive,
this.createdOn}); this.createdOn});
ListHISGetContactLensPerscription.fromJson(Map<String?, dynamic> json) { ListHISGetContactLensPerscription.fromJson(Map<String, dynamic> json) {
setupId = json['SetupId']; setupId = json['SetupId'];
projectId = json['ProjectId']; projectId = json['ProjectId'];
patientType = json['PatientType']; patientType = json['PatientType'];
@ -371,7 +371,7 @@ class ListHISGetContactLensPerscription {
} }
Map<String?, dynamic> toJson() { Map<String?, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['SetupId'] = this.setupId; data['SetupId'] = this.setupId;
data['ProjectId'] = this.projectId; data['ProjectId'] = this.projectId;
data['PatientType'] = this.patientType; data['PatientType'] = this.patientType;
@ -444,7 +444,7 @@ class ListHISGetGlassPerscription {
this.isActive, this.isActive,
this.createdOn}); this.createdOn});
ListHISGetGlassPerscription.fromJson(Map<String?, dynamic> json) { ListHISGetGlassPerscription.fromJson(Map<String, dynamic> json) {
projectID = json['ProjectID']; projectID = json['ProjectID'];
setupID = json['SetupID']; setupID = json['SetupID'];
patientId = json['PatientId']; patientId = json['PatientId'];
@ -471,7 +471,7 @@ class ListHISGetGlassPerscription {
} }
Map<String?, dynamic> toJson() { Map<String?, dynamic> toJson() {
final Map<String?, dynamic> data = new Map<String?, dynamic>(); final Map<String, dynamic> data = new Map<String, dynamic>();
data['ProjectID'] = this.projectID; data['ProjectID'] = this.projectID;
data['SetupID'] = this.setupID; data['SetupID'] = this.setupID;
data['PatientId'] = this.patientId; data['PatientId'] = this.patientId;

@ -1,5 +1,5 @@
class GeoZonesRequestModel { class GeoZonesRequestModel {
final String PatientID; final String? PatientID;
GeoZonesRequestModel({this.PatientID}); GeoZonesRequestModel({this.PatientID});

@ -4,7 +4,7 @@ class LogGeoZoneRequestModel {
final int PointsID; final int PointsID;
final int GeoType; final int GeoType;
LogGeoZoneRequestModel({@required this.PointsID, @required this.GeoType}); LogGeoZoneRequestModel({required this.PointsID, required this.GeoType});
Map<String, dynamic> toFlatMap() { Map<String, dynamic> toFlatMap() {
return {"PointsID": PointsID.toString(), "GeoType": GeoType.toString()}; return {"PointsID": PointsID.toString(), "GeoType": GeoType.toString()};

@ -1,27 +1,27 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_field.dart';
class GeoZonesResponseModel with JsonConvert<GeoZonesResponseModel> { class GeoZonesResponseModel extends JsonConvert<GeoZonesResponseModel> {
@JSONField(name: "GEOF_ID") @JSONField(name: "GEOF_ID")
int geofId; int? geofId;
@JSONField(name: "Description") @JSONField(name: "Description")
String description; String? description;
@JSONField(name: "DescriptionN") @JSONField(name: "DescriptionN")
String descriptionN; String? descriptionN;
@JSONField(name: "Latitude") @JSONField(name: "Latitude")
String latitude; String? latitude;
@JSONField(name: "Longitude") @JSONField(name: "Longitude")
String longitude; String? longitude;
@JSONField(name: "Radius") @JSONField(name: "Radius")
int radius; int? radius;
@JSONField(name: "Type") @JSONField(name: "Type")
int type; int? type;
@JSONField(name: "ProjectID") @JSONField(name: "ProjectID")
int projectID; int? projectID;
@JSONField(name: "ImageURL") @JSONField(name: "ImageURL")
String imageURL; String? imageURL;
@JSONField(name: "IsCity") @JSONField(name: "IsCity")
bool isCity; bool? isCity;
// Outside Server Response // Outside Server Response
bool isRegistered = false; bool isRegistered = false;
@ -29,7 +29,7 @@ class GeoZonesResponseModel with JsonConvert<GeoZonesResponseModel> {
bool onExit = true; bool onExit = true;
String geofenceId() { String geofenceId() {
return "$geofId\_${description.replaceAll(" ", "")}"; return "$geofId\_${description!.replaceAll(" ", "")}";
} }
static get(String coordinates, int radius, String name) { static get(String coordinates, int radius, String name) {

@ -1,26 +1,26 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:diplomaticquarterapp/generated/json/base/json_field.dart';
class LogGeoZoneResponseModel with JsonConvert<LogGeoZoneResponseModel> { class LogGeoZoneResponseModel extends JsonConvert<LogGeoZoneResponseModel> {
@JSONField(name: "LanguageID") @JSONField(name: "LanguageID")
int languageID; int? languageID;
@JSONField(name: "ErrorCode") @JSONField(name: "ErrorCode")
dynamic errorCode; dynamic errorCode;
@JSONField(name: "ErrorEndUserMessage") @JSONField(name: "ErrorEndUserMessage")
String errorEndUserMessage; String? errorEndUserMessage;
@JSONField(name: "ErrorEndUserMessageN") @JSONField(name: "ErrorEndUserMessageN")
dynamic errorEndUserMessageN; dynamic errorEndUserMessageN;
@JSONField(name: "ErrorMessage") @JSONField(name: "ErrorMessage")
dynamic errorMessage; dynamic errorMessage;
@JSONField(name: "ErrorType") @JSONField(name: "ErrorType")
int errorType; int? errorType;
@JSONField(name: "IsAuthenticated") @JSONField(name: "IsAuthenticated")
bool isAuthenticated; bool? isAuthenticated;
@JSONField(name: "SuccessMsg") @JSONField(name: "SuccessMsg")
dynamic successMsg; dynamic successMsg;
@JSONField(name: "SuccessMsgN") @JSONField(name: "SuccessMsgN")
dynamic successMsgN; dynamic successMsgN;
int statusCode; int? statusCode;
@JSONField(name: "MessageStatus") @JSONField(name: "MessageStatus")
int messageStatus; int? messageStatus;
} }

@ -1,47 +1,47 @@
class DoctorListByTimeModel { class DoctorListByTimeModel {
dynamic clinicID; dynamic clinicID;
String clinicName; String? clinicName;
String doctorTitle; String? doctorTitle;
dynamic iD; dynamic iD;
String name; String? name;
dynamic projectID; dynamic projectID;
String projectName; String? projectName;
dynamic actualDoctorRate; dynamic actualDoctorRate;
dynamic clinicRoomNo; dynamic clinicRoomNo;
dynamic date; dynamic date;
dynamic dayName; dynamic dayName;
double decimalDoctorRate; double? decimalDoctorRate;
dynamic doctorAvailability; dynamic doctorAvailability;
dynamic doctorID; dynamic doctorID;
String doctorImageURL; String? doctorImageURL;
dynamic doctorProfile; dynamic doctorProfile;
dynamic doctorProfileInfo; dynamic doctorProfileInfo;
dynamic doctorRate; dynamic doctorRate;
dynamic doctorStarsRate; dynamic doctorStarsRate;
dynamic gender; dynamic gender;
String genderDescription; String? genderDescription;
bool isAllowWaitList; bool? isAllowWaitList;
bool isAppointmentAllowed; bool? isAppointmentAllowed;
bool isDoctorAllowVedioCall; bool? isDoctorAllowVedioCall;
bool isDoctorDummy; bool? isDoctorDummy;
bool isDoctorHasPrePostImages; bool? isDoctorHasPrePostImages;
bool isLiveCare; bool? isLiveCare;
String latitude; String? latitude;
String longitude; String? longitude;
String nationalityFlagURL; String? nationalityFlagURL;
String nationalityID; String? nationalityID;
String nationalityName; String? nationalityName;
dynamic nearestFreeSlot; dynamic nearestFreeSlot;
dynamic noOfPatientsRate; dynamic noOfPatientsRate;
dynamic originalClinicID; dynamic originalClinicID;
dynamic personRate; dynamic personRate;
dynamic projectDistanceInKiloMeters; dynamic projectDistanceInKiloMeters;
String qR; String? qR;
dynamic qRString; dynamic qRString;
dynamic rateNumber; dynamic rateNumber;
dynamic serviceID; dynamic serviceID;
String setupID; String? setupID;
List<String> speciality; List<String>? speciality;
dynamic workingHours; dynamic workingHours;
DoctorListByTimeModel( DoctorListByTimeModel(
@ -188,11 +188,11 @@ class DoctorListByTimeModel {
} }
class DoctorsListTime { class DoctorsListTime {
List<DoctorListByTimeModel> doctorsByTimeList = List(); List<DoctorListByTimeModel> doctorsByTimeList = [];
String filterName = ""; String filterName = "";
DoctorsListTime({filterName, DoctorListByTimeModel doctor}) { DoctorsListTime({filterName, DoctorListByTimeModel? doctor}) {
doctorsByTimeList.add(doctor); doctorsByTimeList.add(doctor!);
this.filterName = filterName; this.filterName = filterName;
} }
} }

@ -1,21 +1,21 @@
class DoctorListByTimeRequestModel { class DoctorListByTimeRequestModel {
int clinicID; int? clinicID;
bool isGetNearAppointment; bool? isGetNearAppointment;
bool continueDentalPlan; bool? continueDentalPlan;
bool isSearchAppointmnetByClinicID; bool? isSearchAppointmnetByClinicID;
int patientID; int? patientID;
int latitude; int? latitude;
int longitude; int? longitude;
bool license; bool? license;
double versionID; double? versionID;
int channel; int? channel;
int languageID; int? languageID;
String iPAdress; String? iPAdress;
String generalid; String? generalid;
int patientOutSA; int? patientOutSA;
dynamic sessionID; dynamic sessionID;
bool isDentalAllowedBackend; bool? isDentalAllowedBackend;
int deviceTypeID; int? deviceTypeID;
DoctorListByTimeRequestModel( DoctorListByTimeRequestModel(
{this.clinicID, {this.clinicID,

@ -1,17 +1,17 @@
class GetDoctorListModel { class GetDoctorListModel {
int calcID; int? calcID;
int projectID; int? projectID;
int clinicID; int? clinicID;
String clinicName; String? clinicName;
int doctorID; int? doctorID;
String doctorImageURL; String? doctorImageURL;
String doctorName; String? doctorName;
String doctorTitle; String? doctorTitle;
int gender; int? gender;
String genderDescription; String? genderDescription;
String nationality; String? nationality;
String nationalityFlagURL; String? nationalityFlagURL;
String projectName; String? projectName;
GetDoctorListModel( GetDoctorListModel(
{this.calcID, {this.calcID,

@ -1,14 +1,14 @@
class GetDoctorListRequestModel { class GetDoctorListRequestModel {
int calculationID; int? calculationID;
double versionID; double? versionID;
int channel; int? channel;
int languageID; int? languageID;
String iPAdress; String? iPAdress;
String generalid; String? generalid;
int patientOutSA; int? patientOutSA;
String sessionID; String? sessionID;
bool isDentalAllowedBackend; bool? isDentalAllowedBackend;
int deviceTypeID; int? deviceTypeID;
GetDoctorListRequestModel( GetDoctorListRequestModel(
{this.calculationID, {this.calculationID,

@ -1,20 +1,20 @@
class HospitalsModel { class HospitalsModel {
String desciption; String? desciption;
dynamic desciptionN; dynamic desciptionN;
dynamic iD; dynamic iD;
String legalName; String? legalName;
String legalNameN; String? legalNameN;
String name; String? name;
dynamic nameN; dynamic nameN;
String phoneNumber; String? phoneNumber;
String setupID; String? setupID;
dynamic distanceInKilometers; dynamic distanceInKilometers;
bool isActive; bool? isActive;
String latitude; String? latitude;
String longitude; String? longitude;
dynamic mainProjectID; dynamic mainProjectID;
bool projectOutSA; bool? projectOutSA;
bool usingInDoctorApp; bool? usingInDoctorApp;
HospitalsModel( HospitalsModel(
{this.desciption, {this.desciption,

@ -1,15 +1,15 @@
class RequestGetHospitalsModel { class RequestGetHospitalsModel {
int latitude; int? latitude;
int longitude; int? longitude;
double versionID; double? versionID;
int channel; int? channel;
int languageID; int? languageID;
String iPAdress; String? iPAdress;
String generalid; String? generalid;
int patientOutSA; int? patientOutSA;
String sessionID; String? sessionID;
bool isDentalAllowedBackend; bool? isDentalAllowedBackend;
int deviceTypeID; int? deviceTypeID;
RequestGetHospitalsModel( RequestGetHospitalsModel(
{this.latitude, {this.latitude,

@ -1,84 +1,84 @@
class InsuranceApprovalModel { class InsuranceApprovalModel {
String setupID; String? setupID;
int projectID; int? projectID;
int approvalNo; int? approvalNo;
String approvalDate; String? approvalDate;
int patientType; int? patientType;
int patientID; int? patientID;
int companyID; int? companyID;
int subCategoryID; int? subCategoryID;
int doctorID; int? doctorID;
int clinicID; int? clinicID;
int approvalType; int? approvalType;
String inpatientApprovalSubType; String? inpatientApprovalSubType;
String validFrom; String? validFrom;
String vaildDays; String? vaildDays;
String validTo; String? validTo;
bool isApprovalOnGross; bool? isApprovalOnGross;
bool isPackage; bool? isPackage;
int requestedAmount; int? requestedAmount;
int actualApprovedAmount; int? actualApprovedAmount;
int aviliableAmount; int? aviliableAmount;
String companyApprovalNo; String? companyApprovalNo;
int progNoteOrderNo; int? progNoteOrderNo;
String submitOn; String? submitOn;
String receiptOn; String? receiptOn;
String remarks1; String? remarks1;
String remarks2; String? remarks2;
int status; int? status;
String feedbackStatusBy; String? feedbackStatusBy;
String feedbackStatus; String? feedbackStatus;
String feedbackStatusOn; String? feedbackStatusOn;
int authorizerID; int? authorizerID;
String expiryDate; String? expiryDate;
int appointmentNo; int? appointmentNo;
int admissionNo; int? admissionNo;
int admissionRequestNo; int? admissionRequestNo;
int createdBy; int? createdBy;
String createdOn; String? createdOn;
int editedBy; int? editedBy;
String editedOn; String? editedOn;
String rowVer; String? rowVer;
bool isAddlDiscApplied; bool? isAddlDiscApplied;
int inProgressReasonID; int? inProgressReasonID;
String extendedBy; String? extendedBy;
String extendedOn; String? extendedOn;
int subPolicyNo; int? subPolicyNo;
int noOrderAuthorizerID; int? noOrderAuthorizerID;
bool isVerbalApproval; bool? isVerbalApproval;
String subStatus; String? subStatus;
bool isNotificationSend; bool? isNotificationSend;
String eApprovalStatus; String? eApprovalStatus;
String eApprovalRemarks; String? eApprovalRemarks;
bool isEmailSentOnDelayApproval; bool? isEmailSentOnDelayApproval;
int eAuthorizationID; int? eAuthorizationID;
InsuranceApprovalDetails apporvalDetails; InsuranceApprovalDetails? apporvalDetails;
String approvalStatusDescption; String? approvalStatusDescption;
String clinicName; String? clinicName;
String clinicNameN; String? clinicNameN;
String companyName; String? companyName;
String doctorImageURL; String? doctorImageURL;
String doctorName; String? doctorName;
String doctorNameN; String? doctorNameN;
int doctorRate; int? doctorRate;
String doctorTitle; String? doctorTitle;
int gender; int? gender;
String genderDescription; String? genderDescription;
bool isActiveDoctorProfile; bool? isActiveDoctorProfile;
bool isExecludeDoctor; bool? isExecludeDoctor;
bool isInOutPatient; bool? isInOutPatient;
String isInOutPatientDescription; String? isInOutPatientDescription;
String isInOutPatientDescriptionN; String? isInOutPatientDescriptionN;
bool isLiveCareAppointment; bool? isLiveCareAppointment;
String projectName; String? projectName;
String projectNameN; String? projectNameN;
String qR; String? qR;
List<String> speciality; List<String>? speciality;
String strApprovalDate; String? strApprovalDate;
String strExpiryDate; String? strExpiryDate;
String strSubmitDate; String? strSubmitDate;
int totaUnUsedCount; int? totaUnUsedCount;
int unUsedCount; int? unUsedCount;
InsuranceApprovalModel( InsuranceApprovalModel(
{this.setupID, {this.setupID,
@ -303,7 +303,7 @@ class InsuranceApprovalModel {
data['IsEmailSentOnDelayApproval'] = this.isEmailSentOnDelayApproval; data['IsEmailSentOnDelayApproval'] = this.isEmailSentOnDelayApproval;
data['EAuthorizationID'] = this.eAuthorizationID; data['EAuthorizationID'] = this.eAuthorizationID;
if (this.apporvalDetails != null) { if (this.apporvalDetails != null) {
data['ApporvalDetails'] = this.apporvalDetails.toJson; data['ApporvalDetails'] = this.apporvalDetails!.toJson;
} }
data['ApprovalStatusDescption'] = this.approvalStatusDescption; data['ApprovalStatusDescption'] = this.approvalStatusDescption;
data['ClinicName'] = this.clinicName; data['ClinicName'] = this.clinicName;
@ -336,35 +336,35 @@ class InsuranceApprovalModel {
} }
class InsuranceApprovalDetails { class InsuranceApprovalDetails {
int setupID; int? setupID;
int projectID; int? projectID;
int approvalNo; int? approvalNo;
int lineItemNo; int? lineItemNo;
int orderType; int? orderType;
int procedureID; int? procedureID;
int toothNo; int? toothNo;
int price; int? price;
int approvedAmount; int? approvedAmount;
String unapprovedPatientShare; String? unapprovedPatientShare;
int waivedAmount; int? waivedAmount;
String discountType; String? discountType;
int discountValue; int? discountValue;
String shareType; String? shareType;
String patientShareTypeValue; String? patientShareTypeValue;
String companyShareTypeValue; String? companyShareTypeValue;
String patientShare; String? patientShare;
String companyShare; String? companyShare;
int deductableAmount; int? deductableAmount;
String disapprovedRemarks; String? disapprovedRemarks;
int progNoteOrderNo; int? progNoteOrderNo;
int progNoteLineItemNo; int? progNoteLineItemNo;
String invoiceTransactionType; String? invoiceTransactionType;
int invoiceNo; int? invoiceNo;
String procedureName; String? procedureName;
String procedureNameN; String? procedureNameN;
String status; String? status;
bool isInvoiced; bool? isInvoiced;
String isInvoicedDesc; String? isInvoicedDesc;
InsuranceApprovalDetails( InsuranceApprovalDetails(
{this.setupID, {this.setupID,

@ -6,16 +6,16 @@
class JSONField { class JSONField {
//Specify the parse field name //Specify the parse field name
final String name; final String? name;
//Specify the time resolution format //Specify the time resolution format
final String format; final String? format;
//Whether to participate in toJson //Whether to participate in toJson
final bool serialize; final bool? serialize;
//Whether to participate in fromMap //Whether to participate in fromMap
final bool deserialize; final bool? deserialize;
const JSONField({this.name, this.format, this.serialize, this.deserialize}); const JSONField({this.name, this.format, this.serialize, this.deserialize});
} }

Loading…
Cancel
Save