forked from nus-cs2113-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from yentheng0110/YenTheng-ModifyObjectDiagra…
…msForBeforeAddVisitAndAfter Create one object diagram for before addVisit command, one object diagram for after addVisit command
Showing
5 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@startuml | ||
'https://plantuml.com/object-diagram | ||
|
||
object "<u> :Main</u>" as Main | ||
object "<u> in:Scanner</u>" as Scanner | ||
object "<u> records:Records</u>" as Records | ||
object "<u> appointmentRecord:AppointmentRecord</u>" as AppointmentRecord | ||
object "<u> :FileHandler</u>" as FileHandler | ||
object "<u> commandHandler:CommandHandler</u>" as CommandHandler | ||
|
||
object "<u> targetPatient:Patient</u>" as Patient { | ||
name = Patricia Chan | ||
nric = S9870789B | ||
sex = Female | ||
dateOfBirth = 01111998 | ||
phoneNumber = 98097890 | ||
homeAddress = Bukit Batok East Avenue 3 | ||
allergies = [Peanuts] | ||
medicalHistories = [Hypertension, Breast Cancer] | ||
} | ||
|
||
object "<u> existingVisit:Visit</u>" as Visit1 { | ||
visitDate = 22-10-2024 18:00 | ||
diagnoses = [Asthma, Cough] | ||
medications = [Panadol, Antibiotics] | ||
} | ||
|
||
object "<u> newVisit:Visit</u>" as Visit2 { | ||
visitDate = 29-10-2024 10:00 | ||
diagnoses = [Gastric] | ||
medications = [Gaviscon, Paracetamol] | ||
} | ||
|
||
Main --> Scanner | ||
Main --> Records | ||
Main --> AppointmentRecord | ||
Main --> FileHandler | ||
Main --> CommandHandler | ||
Patient --> Visit1 | ||
Patient --> Visit2 | ||
CommandHandler --> Records | ||
Records --> Patient | ||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters