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.
33 lines
895 B
Dart
33 lines
895 B
Dart
class GetAllergiesRequestModel {
|
|
String vidaAuthTokenID;
|
|
int patientMRN;
|
|
int appointmentNo;
|
|
int episodeId;
|
|
String doctorID;
|
|
|
|
GetAllergiesRequestModel(
|
|
{this.vidaAuthTokenID,
|
|
this.patientMRN,
|
|
this.appointmentNo,
|
|
this.episodeId,
|
|
this.doctorID});
|
|
|
|
GetAllergiesRequestModel.fromJson(Map<String, dynamic> json) {
|
|
vidaAuthTokenID = json['VidaAuthTokenID'];
|
|
patientMRN = json['PatientMRN'];
|
|
appointmentNo = json['AppointmentNo'];
|
|
episodeId = json['EpisodeId'];
|
|
doctorID = json['DoctorID'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['VidaAuthTokenID'] = this.vidaAuthTokenID;
|
|
data['PatientMRN'] = this.patientMRN;
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
data['EpisodeId'] = this.episodeId;
|
|
data['DoctorID'] = this.doctorID;
|
|
return data;
|
|
}
|
|
}
|