public PatientService(List<Patient>patientList) { this.patientList = patientList; aP = new AddPatient(); vP = new ViewPatientList(); uP = new UpdatePatient(); dP = new DeletePatient(); }
public DiagnosisRecord(List<Record>recordList, List<Patient>patientList, List<Doctor>doctorList, List<Hospital> hospitalList) { this.patientList = patientList; this.doctorList = doctorList; this.hospitalList = hospitalList; this.recordList = recordList; vD = new ViewDoctorList(); vH = new ViewHospitalList(); aP = new AddPatient(); //pS = new PatientService(); }