xxxxxxxxxx
public class Patient {
private String firstName, lastName, dateOfBirth, gender, maritalStatus;
private String phone, email, address;
public Patient(String firstName, String lastName,
String dateOfBirth, String gender, String maritalStatus,
String phone, String email, String address) {
this.firstName = firstName;
this.lastName = lastName;
this.dateOfBirth = dateOfBirth;
this.gender = gender;
this.maritalStatus = maritalStatus;
this.phone = phone;
this.email = email; this.address = address;
}
// Getters omitted for brevity
}