You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.4 KiB
Dart
85 lines
2.4 KiB
Dart
class PatientArrivalEntity {
|
|
String? age;
|
|
String? appointmentDate;
|
|
int? appointmentNo;
|
|
String? appointmentType;
|
|
String? arrivedOn;
|
|
String? companyName;
|
|
String? endTime;
|
|
int? episodeNo;
|
|
int? fallRiskScore;
|
|
String? gender;
|
|
int? medicationOrders;
|
|
String? mobileNumber;
|
|
String? nationality;
|
|
int? patientMRN;
|
|
String? patientName;
|
|
int? rowCount;
|
|
String? startTime;
|
|
String? visitType;
|
|
|
|
PatientArrivalEntity(
|
|
{this.age,
|
|
this.appointmentDate,
|
|
this.appointmentNo,
|
|
this.appointmentType,
|
|
this.arrivedOn,
|
|
this.companyName,
|
|
this.endTime,
|
|
this.episodeNo,
|
|
this.fallRiskScore,
|
|
this.gender,
|
|
this.medicationOrders,
|
|
this.mobileNumber,
|
|
this.nationality,
|
|
this.patientMRN,
|
|
this.patientName,
|
|
this.rowCount,
|
|
this.startTime,
|
|
this.visitType});
|
|
|
|
PatientArrivalEntity.fromJson(Map<String?, dynamic> json) {
|
|
age = json['age'];
|
|
appointmentDate = json['appointmentDate'];
|
|
appointmentNo = json['appointmentNo'];
|
|
appointmentType = json['appointmentType'];
|
|
arrivedOn = json['arrivedOn'];
|
|
companyName = json['companyName'];
|
|
endTime = json['endTime'];
|
|
episodeNo = json['episodeNo'];
|
|
fallRiskScore = json['fallRiskScore'];
|
|
gender = json['gender'];
|
|
medicationOrders = json['medicationOrders'];
|
|
mobileNumber = json['mobileNumber'];
|
|
nationality = json['nationality'];
|
|
patientMRN = json['patientMRN'];
|
|
patientName = json['patientName'];
|
|
rowCount = json['rowCount'];
|
|
startTime = json['startTime'];
|
|
visitType = json['visitType'];
|
|
}
|
|
|
|
Map<String?, dynamic> toJson() {
|
|
final Map<String?, dynamic> data = new Map<String?, dynamic>();
|
|
data['age'] = this.age;
|
|
data['appointmentDate'] = this.appointmentDate;
|
|
data['appointmentNo'] = this.appointmentNo;
|
|
data['appointmentType'] = this.appointmentType;
|
|
data['arrivedOn'] = this.arrivedOn;
|
|
data['companyName'] = this.companyName;
|
|
data['endTime'] = this.endTime;
|
|
data['episodeNo'] = this.episodeNo;
|
|
data['fallRiskScore'] = this.fallRiskScore;
|
|
data['gender'] = this.gender;
|
|
data['medicationOrders'] = this.medicationOrders;
|
|
data['mobileNumber'] = this.mobileNumber;
|
|
data['nationality'] = this.nationality;
|
|
data['patientMRN'] = this.patientMRN;
|
|
data['patientName'] = this.patientName;
|
|
data['rowCount'] = this.rowCount;
|
|
data['startTime'] = this.startTime;
|
|
data['visitType'] = this.visitType;
|
|
return data;
|
|
}
|
|
}
|