From 094a8656fb0d5d4cfffdd1129eb75d2d4abb2a2e Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 14 Nov 2023 12:13:28 +0800 Subject: [PATCH] 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`.