public Doctor(String name, String surname, String gender, DateTime dateOfBirth, int mobileNumber, String email, String speciality, int roomNumber) : base(name, surname, gender, dateOfBirth, mobileNumber, email) { this._database = new Database(); this.speciality = speciality; this.roomNumber = roomNumber; }
public Patient(String name, String surname, String gender, DateTime dateOfBirth, int mobileNumber, String email, DateTime dateOfRegistration) : base(name, surname, gender, dateOfBirth, mobileNumber, email) { this._database = new Database(); this.dateOfRegistration = dateOfRegistration; this.cases = new List<Case>(); }
public Sample(int patientID, int doctorID, DateTime creationDate, String result) { this.patientID = patientID; this.doctorID = doctorID; this.creationDate = creationDate; this.tested = true; this.result = result; this._database = new Database(); }
public Patient(String name, String surname, String gender, DateTime dateOfBirth, int mobileNumber, String email, DateTime dateOfRegistration, int patientID, int medicalCardID, Boolean underTreatment) : base(name, surname, gender, dateOfBirth, mobileNumber, email) { this._database = new Database(); this.dateOfRegistration = dateOfRegistration; this.cases = new List<Case>(); this.patientID = patientID; this.medicalCardID = medicalCardID; this.currentlyUnderTreatment = underTreatment; }
public Case(int patientID, DateTime startDate, String description) { this.patientID = patientID; this.startDate = startDate; this.description = description; this.appointments = new List<Appointment>(); this.admissions = new List<Admission>(); this.surgeries = new List<Surgery>(); this._database = new Database(); }
public ScheduleAppointmentWindowViewModel(CaseViewModel caseVM) { this._caseViewModel = caseVM; this._database = new Database(); this._doctorsVM = new DoctorsViewModel(); this._allDoctors = _doctorsVM.AllDoctors; _patientName = caseVM.PatientName + " " + caseVM.PatientSurname; _receptionist = new Receptionist(); List<String> appointmentTimes = this.getListOfAppointmentTimes(); _appointmentTimes = this.createObservableCollectionOfAppointmentTimes(appointmentTimes); }
public Appointment(int patientID, int doctorID, int roomNumber, DateTime date, String reason, int caseId) { this.patientID = patientID; this.doctorID = doctorID; this.roomNumber = roomNumber; this.date = date; this.reason = reason; this._database = new Database(); this.caseID = caseId; setPatientNameFromDb(); setDoctorNameFromDb(); }
private void Button_Click_1(object sender, RoutedEventArgs e) { Database database = new Database(); String result = database.selectSingleQuery(String.Format("SELECT * FROM passwords WHERE username='******' AND password='******'", this.login.Text, this.password.Password)); if (result == "") { this.errorMessage.Text = "Incorrect login or password"; } else { DoctorsAreaWindow window = new DoctorsAreaWindow(); window.Show(); this.Close(); } }
public Patient() : base() { this._database = new Database(); }
public Appointment() { this._database = new Database(); }
public Case() { this._database = new Database(); }
public Receptionist(String name, String surname, String gender, DateTime dateOfBirth, int mobileNumber, String email) : base(name, surname, gender, dateOfBirth, mobileNumber, email) { this._database = new Database(); }
public MedicalCard(int patientID) { this.patientID = patientID; this._database = new Database(); }
public Sample() { this._database = new Database(); }
public PatientListCreator() { this._database = new Database(); }
public LabWorker(String name, String surname, String gender, DateTime dateOfBirth, int mobileNumber, String email) : base(name, surname, gender, dateOfBirth, mobileNumber, email) { this.untestedSamples = new List<Sample>(); this._database = new Database(); }
public LabWorker() { this._database = new Database(); }
public CasesListCreator() { this._database = new Database(); }
public Receptionist() : base() { this._database = new Database(); }
public Doctor() : base() { this._database = new Database(); }