From 9886847ec7bb99470bdd95d42e1ce0501982b03d Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 14 Nov 2023 12:02:04 +0800 Subject: [PATCH 1/3] Update UG --- docs/UserGuide.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 4c2b581a5d6..f80cf69ea14 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -169,8 +169,6 @@ Here are some definitions of the terms used throughout this user guide. **Main Window**: ![Ui Component](images/UiComponent.png) -Here is a brief summary of the GUI components in MedBook. - | **Name of Component** | **Description** | | --------------------- | -------------------------------------------------------------------------------------------------------- | | Menu Bar | Displays the drop down menus for MedBook, such as **File** and **Help** | From 094a8656fb0d5d4cfffdd1129eb75d2d4abb2a2e Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 14 Nov 2023 12:13:28 +0800 Subject: [PATCH 2/3] Update UG and DG --- docs/DeveloperGuide.md | 24 ++++++++++++------------ docs/UserGuide.md | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 64a9fe2186f..2790765520b 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -260,7 +260,7 @@ The `delete` command deletes an existing `Person` object from MedBook. --- -### Searching a Patient +### Searching for Patients #### Overview @@ -274,7 +274,7 @@ The `search` command filters the list of patients using one or more keywords. - `NameContainsKeywordsPredicate#test(Person)` - `PersonListPanel`, `PersonCard` -#### Implementations Steps +#### Implementation Steps 1. **Parse User Input**: `FindCommandParser` checks for existence of the keyword(s) and creates an array of keywords. 2. **Create Predicate Object**: A `NameContainsKeywordsPredicate` object is instantiated during `FindCommandParser#parse(String)` and passed over to the `FindCommand`. @@ -297,7 +297,7 @@ The `pin` command pins a patient to the **Pinned Patient List** - `Model#setPerson(Person, Person)`, `AddressBook#setPerson(Person, Person)`, `UniquePersonList#setPerson(Person, Person)` - `PinnedPersonListPanel`, `PersonCard` -#### Implementations Steps +#### Implementation Steps 1. **Parse User Input**: `PinCommandParser` checks for the validity of the `Person` index. 2. **Create Index Object**: An `Index` object of the `Person` is instantiated during `PinCommandParser#parse(String)` and passed over to the `PinCommand`. @@ -320,7 +320,7 @@ The `unpin` command unpins a patient from the **Pinned Patient List** - `Model#setPerson(Person, Person)`, `AddressBook#setPerson(Person, Person)`, `UniquePersonList#setPerson(Person, Person)` - `PinnedPersonListPanel`, `PersonCard` -#### Implementations Steps +#### Implementation Steps 1. **Parse User Input**: `UnpinCommandParser` checks for the validity of the pinned `Person` index. 2. **Create Index Object**: An `Index` object is instantiated during `UnpinCommandParser#parse(String)` and passed over to the `UnpinCommand`. @@ -454,7 +454,7 @@ The `deleterecord` command deletes an existing `Record` object from MedBook. The `view` command displays the list of records of the patient being viewed. -#### Related class and methods +#### Related Classes and Methods - `ViewCommandParser#parse(String)` - `ViewCommand#execute(Model)` @@ -472,7 +472,7 @@ The `view` command displays the list of records of the patient being viewed. --- -### Searching a Record +### Searching for Records #### Overview @@ -486,7 +486,7 @@ The `searchrecord` command filters the list of records of the patient being view - `RecordContainsKeywordsPredicate#test(Record)` - `RecordListPanel`, `RecordCard` -#### Implementations Steps +#### Implementation Steps 1. **Parse User Input**: `FindRecordCommandParser` checks for existence of the keyword(s) and creates an array of keywords. 2. **Create Predicate Object**: A `RecordContainsKeywordsPredicate` object is instantiated during `FindRecordCommandParser#parse(String)` and passed over to the `FindRecordCommand`. @@ -982,11 +982,11 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli - **Preconditions**: There is at least one record entry in the patient - **Main Success Scenario (MSS)**: -1. User views a patient’s medical records (UC10). -2. User requests to attach a file to a record of a patient. -3. User selects a file. -4. MedBook saves the file to the medical record.
- Use case ends. + 1. User views a patient’s medical records (UC10). + 2. User requests to attach a file to a record of a patient. + 3. User selects a file. + 4. MedBook saves the file to the medical record.
+ Use case ends. - **Extension**: - 3a. User does not choose a file. diff --git a/docs/UserGuide.md b/docs/UserGuide.md index f80cf69ea14..8656f868fbd 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -46,7 +46,7 @@ With MedBook, experience a new level of convenience and control: - [Adding a patient](#adding-a-patient-addpatient) - [Editing a patient](#editing-a-patient-editpatient) - [Deleting a patient](#deleting-a-patient-delete) - - [Locating patients by keywords](#locating-patients-by-keywords-search) + - [Searching patients by keywords](#searching-patients-by-keywords-search) - [Listing all patients](#listing-all-patients-list) - [Pinning a patient](#pinning-a-patient-pin) - [Unpinning a patient](#unpinning-a-patient-unpin) @@ -55,7 +55,7 @@ With MedBook, experience a new level of convenience and control: - [Viewing patient medical records](#viewing-patient-medical-records-view) - [Editing a medical record](#editing-a-medical-record-editrecord) - [Deleting a medical record](#deleting-a-medical-record-deleterecord) - - [Locating medical records by keywords](#locating-medical-records-by-keywords-searchrecord) + - [Searching medical records by keywords](#searching-medical-records-by-keywords-searchrecord) - [Attaching files to a patient's medical record](#attaching-files-to-a-patient-s-medical-record) - [Appointment Features](#appointment-features) - [Adding an appointment](#adding-an-appointment-addappointment) @@ -453,7 +453,7 @@ Output
-#### Locating patients by keywords: `search` +#### Searching patients by keywords: `search` Searches for patients with details containing the corresponding `KEYWORD`. @@ -694,7 +694,7 @@ Example: --- -#### Locating medical records by keywords: `searchrecord` +#### Searching medical records by keywords: `searchrecord` Searches for medical records of the Patient Being Viewed with details containing the corresponding `KEYWORD`. From bd08a308bd0611c7923e5b7ca094f7dd99329b52 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 14 Nov 2023 12:20:21 +0800 Subject: [PATCH 3/3] Update DG --- docs/DeveloperGuide.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 2790765520b..f06619c0d1e 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -824,7 +824,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli - 2a1. MedBook shows an error message. - 2a2. User enters new PINNEDID. - Steps 2a1-2a2 are repeated until the PINNEDID entered is correct. - - Use Case resumes from step 3. + - Use case resumes from step 3. --- @@ -940,7 +940,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli - 2a1. MedBook shows an error message. - 2a2. User enters new appointment details. - Steps 2a1-2a2 are repeated until the appointment details entered is correct. - - Use Case resumes from step 3. + - Use case resumes from step 3. --- @@ -971,7 +971,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli - 3a1. MedBook shows an error message. - 3a2. User enters new appointment ID. - Steps 3a1-3a2 are repeated until the appointment ID entered is correct. - - Use Case resumes from step 4. + - Use case resumes from step 4. --- @@ -989,9 +989,9 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. - **Extension**: -- 3a. User does not choose a file. - - 3a1. MedBook displays an error message. - - Use case ends. + - 3a. User does not choose a file. + - 3a1. MedBook displays an error message. + - Use case ends. --- @@ -1002,14 +1002,14 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli - **Preconditions**: There is at least one record entry with a file attached in the patient - **Main Success Scenario (MSS)**: -1. User requests to view a file attached to a record. -2. MedBook opens the file on the user’s default launcher.
- Use case ends. + 1. User requests to view a file attached to a record. + 2. MedBook opens the file on the user’s default launcher.
+ Use case ends. - **Extension**: -- 1a. File does not exist in user’s local storage. - - 1a1. MedBook displays an error message. - - Use case ends. + - 1a. File does not exist in user’s local storage. + - 1a1. MedBook displays an error message. + - Use case ends. ---