diff --git a/Frontend/patient_manager/lib/mih_objects/patient_queue.dart b/Frontend/patient_manager/lib/mih_objects/patient_queue.dart index deddddb0..e8c5e0c9 100644 --- a/Frontend/patient_manager/lib/mih_objects/patient_queue.dart +++ b/Frontend/patient_manager/lib/mih_objects/patient_queue.dart @@ -7,6 +7,7 @@ class PatientQueue { final String first_name; final String last_name; final String medical_aid_no; + final String business_name; const PatientQueue({ required this.idpatient_queue, @@ -17,6 +18,7 @@ class PatientQueue { required this.first_name, required this.last_name, required this.medical_aid_no, + required this.business_name, }); factory PatientQueue.fromJson(Map json) { @@ -30,6 +32,7 @@ class PatientQueue { 'first_name': String first_name, 'last_name': String last_name, 'medical_aid_no': String medical_aid_no, + 'business_name': String business_name, } => PatientQueue( idpatient_queue: idpatient_queue, @@ -40,6 +43,7 @@ class PatientQueue { first_name: first_name, last_name: last_name, medical_aid_no: medical_aid_no, + business_name: business_name, ), _ => throw const FormatException('Failed to load album.'), };