Changeset 1110 for Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocument.cs
- Timestamp:
- Mar 21, 2011, 8:47:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocument.cs
r1106 r1110 177 177 /// <returns>Clears and repopluates m_appointments</returns> 178 178 /// </summary> 179 private bool Refresh DaysSchedule()179 private bool RefreshAppointments() 180 180 { 181 181 try … … 239 239 bWalkIn = (sWalkIn == "1") ? true : false; 240 240 241 Patient pt = new Patient() 242 { 243 DFN = Convert.ToInt32(sPatientID), 244 Name = sPatientName, 245 DOB = (DateTime)r["DOB"], 246 ID = r["PID"].ToString(), 247 HRN = sHRN, 248 Sex = r["SEX"].ToString() == "MALE" ? Sex.Male : Sex.Female 249 }; 250 241 251 pAppointment = new CGAppointment(); 252 pAppointment.Patient = pt; 242 253 pAppointment.CreateAppointment(dStart, dEnd, sNote, nKeyID, sResource); 243 254 pAppointment.PatientName = sPatientName; … … 396 407 { 397 408 this.RefreshAvailabilitySchedule(); 398 this.Refresh DaysSchedule();409 this.RefreshAppointments(); 399 410 return true; 400 411 }
Note:
See TracChangeset
for help on using the changeset viewer.