@@ -63,6 +63,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
6363 email : "patient@mail.com" ,
6464 phone : Some ( "+2348012345671" ) ,
6565 gender : Some ( Gender :: Male ) ,
66+ address : Some ( "123 Patient St, City, State, ZIP" ) ,
67+ image_url : None ,
6668 dob : Some ( chrono:: NaiveDate :: from_ymd_opt ( 1990 , 5 , 15 ) . unwrap ( ) ) ,
6769 password_hash : & password_hash,
6870 role : Role :: Patient ,
@@ -87,6 +89,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
8789 chronic_illnesses : Some ( "None" ) ,
8890 allergies : Some ( "Penicillin" ) ,
8991 hmo_number : Some ( "HMO123456" ) ,
92+ medications : Some ( "None" ) ,
93+ existing_conditions : Some ( "None" ) ,
94+ primary_physician : None ,
9095 emergency_contact_name : Some ( "Jane Patient" ) ,
9196 emergency_contact_phone : Some ( "+2348012345672" ) ,
9297 medical_notes : Some ( "Regular checkups needed" ) ,
@@ -105,6 +110,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
105110 email : "donor@mail.com" ,
106111 phone : Some ( "+2348012345673" ) ,
107112 gender : Some ( Gender :: Female ) ,
113+ address : Some ( "123 Donor St, City, State, ZIP" ) ,
114+ image_url : None ,
108115 dob : Some ( chrono:: NaiveDate :: from_ymd_opt ( 1988 , 8 , 20 ) . unwrap ( ) ) ,
109116 password_hash : & password_hash,
110117 role : Role :: Donor ,
@@ -128,6 +135,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
128135 blood_type : Some ( "A+" ) ,
129136 chronic_illnesses : Some ( "None" ) ,
130137 allergies : Some ( "None" ) ,
138+ medications : Some ( "None" ) ,
139+ existing_conditions : Some ( "None" ) ,
140+ primary_physician : None ,
131141 hmo_number : None ,
132142 emergency_contact_name : Some ( "John Donor" ) ,
133143 emergency_contact_phone : Some ( "+2348012345674" ) ,
@@ -147,6 +157,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
147157 email : "hospital@mail.com" ,
148158 phone : Some ( "+2348012345675" ) ,
149159 gender : None ,
160+ address : Some ( "123 Hospital St, City, State, ZIP" ) ,
161+ image_url : None ,
150162 dob : None ,
151163 password_hash : & password_hash,
152164 role : Role :: Hospital ,
@@ -174,6 +186,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
174186 email : "admin@mail.com" ,
175187 phone : Some ( "+2348012345676" ) ,
176188 gender : Some ( Gender :: Male ) ,
189+ address : Some ( "123 Admin St, City, State, ZIP" ) ,
190+ image_url : None ,
177191 dob : Some ( chrono:: NaiveDate :: from_ymd_opt ( 1985 , 3 , 10 ) . unwrap ( ) ) ,
178192 password_hash : & password_hash,
179193 role : Role :: Admin ,
@@ -201,6 +215,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
201215 email : "specialist@mail.com" ,
202216 phone : Some ( "+2348012345677" ) ,
203217 gender : Some ( Gender :: Female ) ,
218+ address : Some ( "123 Specialist St, City, State, ZIP" ) ,
219+ image_url : None ,
204220 dob : Some ( chrono:: NaiveDate :: from_ymd_opt ( 1982 , 11 , 25 ) . unwrap ( ) ) ,
205221 password_hash : & password_hash,
206222 role : Role :: Specialist ,
0 commit comments