Skip to content

Commit

Permalink
Update Patient.java
Browse files Browse the repository at this point in the history
Remove Record field from Patient.java.
  • Loading branch information
longnguyentan committed Oct 13, 2023
1 parent 1d0158e commit 35930ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/seedu/address/model/patient/Patient.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Patient {
// Data fields
private final Address address;
private final Set<Tag> tags = new HashSet<>();
private final Record medicalRecord;


/**
* Every field must be present and not null.
Expand All @@ -36,7 +36,6 @@ public Patient(Name name, Phone phone, Email email, Address address, Set<Tag> ta
this.email = email;
this.address = address;
this.tags.addAll(tags);
this.medicalRecord = new Record(this);
}

public Name getName() {
Expand Down

0 comments on commit 35930ef

Please sign in to comment.