public void ExaminePatient(Nurse NR, WardBoy WB, Patient objPatient) { NR.AssistDoctor(); WB.ArrangeWards(); //Doctor Takes A Look At Patient Symptoms And Allergies //LookUpProblems(); //LookUpAllergies(); ProvideTreatment(objPatient); }
public void ApproveAppointment(Doctor AssignDoctor, Nurse N, WardBoy W, Patient P) //Receptionist Checks For Doctor's Availabilty And Approve Patient's Appointment { Confirm = P.MakeAppointment; if (Confirm == true) { AssignDoctorToPatient(AssignDoctor, N, W, P); } else { Console.WriteLine("No Appointment Has Been Made."); } }
public void AssignDoctorToPatient(Doctor AssignDoctor, Nurse N, WardBoy W, Patient P) //Doctor Is Assigned To Doctor As Per Speciality { //Make a database call and check for Doctor's Speciality related to Patient's problem if (AssignDoctor.Availability == 'Y') { AssignDoctor.PatientCount++; //Make A DataBase Entry For The Patient Against Doctor Console.WriteLine("The Patient : {0} Has Been Allocated Doctor : Dr . {1}.", P.PatientName, AssignDoctor.Name); AssignDoctor.ExaminePatient(N, W, P); } else { Console.WriteLine("Doctor Is Not available For Check Up Today."); } }