From 77b4953dd9f079304fb2a877e7a0efa70ee5b02a Mon Sep 17 00:00:00 2001 From: alfaloo Date: Mon, 15 Apr 2024 17:21:41 +0800 Subject: [PATCH] Minor fixes --- docs/UserGuide.md | 3 ++- .../address/logic/commands/QueryDoctorAppointmentCommand.java | 2 +- .../address/logic/commands/QueryPatientAppointmentCommand.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 5d854cb07da..e4641d84589 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -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. + +
: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.
Format: `addappt ad/DATETIME dn/DOCTOR_NRIC pn/PATIENT_NRIC` diff --git a/src/main/java/seedu/address/logic/commands/QueryDoctorAppointmentCommand.java b/src/main/java/seedu/address/logic/commands/QueryDoctorAppointmentCommand.java index 30f16912e6a..89af23b3bb5 100644 --- a/src/main/java/seedu/address/logic/commands/QueryDoctorAppointmentCommand.java +++ b/src/main/java/seedu/address/logic/commands/QueryDoctorAppointmentCommand.java @@ -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; diff --git a/src/main/java/seedu/address/logic/commands/QueryPatientAppointmentCommand.java b/src/main/java/seedu/address/logic/commands/QueryPatientAppointmentCommand.java index d111fcff09d..ca4b48db875 100644 --- a/src/main/java/seedu/address/logic/commands/QueryPatientAppointmentCommand.java +++ b/src/main/java/seedu/address/logic/commands/QueryPatientAppointmentCommand.java @@ -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;