Skip to content

Commit

Permalink
Merge pull request AY2324S2-CS2103T-T15-1#245 from alfaloo/debug
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
ararchch authored Apr 15, 2024
2 parents 828cfe8 + 77b4953 commit 74866b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ Examples:
#### Adding an appointment : `addappt`

Adds an appointment to MediCLI. Appointments are between a doctor with the specified `DOCTOR_NRIC` and a patient with the `PATIENT_NRIC` on a specific date and time.
Note that while you cannot create a new appointment with the date and time in the past, appointments that were valid when created but are now past their date and time will be allowed to remain in the system. This is an intended feature to allow the hospital admins to track a patient / doctors past appointments.

<div markdown="span" class="alert alert-info">:information_source: **INFO**: Note that while you cannot create a new appointment with the date and time in the past, appointments that were valid when created but are now past their date and time will be allowed to remain in the system. This is an intended feature to allow the hospital admins to track a patient / doctors past appointments.</div>

Format: `addappt ad/DATETIME dn/DOCTOR_NRIC pn/PATIENT_NRIC`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class QueryDoctorAppointmentCommand extends Command {
+ "list with index numbers.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...(Keywords have to be the "
+ "exact NRICs of the doctor(s) in question)\n"
+ "Example: " + COMMAND_WORD + " alice bob T1234567A S7654321A";
+ "Example: " + COMMAND_WORD + " T1234567A S7654321A";

private final AppointmentContainsDoctorPredicate predicate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class QueryPatientAppointmentCommand extends Command {
+ "list with index numbers.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...(Keywords have to be the "
+ "exact NRICs of the patient(s) in question)\n"
+ "Example: " + COMMAND_WORD + " alice bob T1234567A S7654321A";
+ "Example: " + COMMAND_WORD + " T1234567A S7654321A";

private final AppointmentContainsPatientPredicate predicate;

Expand Down

0 comments on commit 74866b8

Please sign in to comment.