Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up UG, add glossary and add you language #183

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 37 additions & 23 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: User Guide
nav_order : 2
---
# Nursing Address Book (NAB)
Nursing Address Book (NAB) is a desktop application tailored for ward nurses, optimizing patient contact management via a Command Line Interface (CLI) while incorporating a Graphical User Interface (GUI) for ease of use.
Nursing Address Book (NAB) is a desktop application tailored for ward nurses in Singapore, optimizing patient contact management via a Command Line Interface (CLI) while incorporating a Graphical User Interface (GUI) for ease of use.
Designed for efficiency, NAB enables quick access to patient records, streamlined contact management, and simplified logging of care details, proving to be a valuable tool for fast typists and those who prefer the precision of CLI operations.

## Table of Contents
Expand Down Expand Up @@ -78,7 +78,7 @@ Designed for efficiency, NAB enables quick access to patient records, streamline

### Adding a patient: `add`

Adds a new patient's information to the address book.
Allows you to add a new patient's information to the address book.

Format: `add n\NAME ic\IC_NUMBER dob\DATE_OF_BIRTH ad\ADMISSION_DATE w\WARD [r\REMARK] [t\TAG]…​`

Expand Down Expand Up @@ -115,15 +115,14 @@ You now have 1 patient(s) in your address book.

### Listing patients : `list`

Displays a list of patients in NAB.
Allows you to view a list of patients in NAB. With no optional parameters, you will be able to list all patients.

By using list with optional parameters, you will be able to list all patients.

Optionally, you can filter by ward or tags to list only patients in a specific ward or with specific tags.
You may also filter by ward and/or tags to list only patients in a specific ward and/or with specific tags.

Format: `list [w\WARD] [t\TAG]...`

* WARD: Must only list at most 1 ward.
* If multiple tags are provided, only patients with tags that encompass all the provided tags will be listed.

(For the below commands for list, we assume the list contains 2 people, John Doe and Jane Doe)

Expand All @@ -142,10 +141,10 @@ Tags: FallRisk, Diabetes
2. Jane Doe
IC: T1234765P
DOB: 22 Apr 2000
Ward: A2
Ward: B4
Admission Date: 3 Feb 2022
Remarks: Likes to read
Tags: FallRisk, Diabetes
Tags: FallRisk, SevereAllergies
```


Expand All @@ -159,20 +158,20 @@ Ward: B4
1. Jane Doe
IC: T1234765P
DOB: 22 Apr 2000
Ward: A2
Ward: B4
Admission Date: 3 Feb 2022
Remarks: Likes to read
Tags: FallRisk, Diabetes
Tags: FallRisk, SevereAllergies
```

### Editing a patient's details : `edit`

Edits an existing patient's details in the address book.
Allows you to edit an existing patient's details in the address book.

Format: `edit INDEX [n\NAME] [ic\IC_NUMBER] [dob\DATE_OF_BIRTH] [ad\ADMISSION_DATE] [w\WARD] [r\REMARK] [t\TAG]…​`

* Edits the patient details at the specified `INDEX`. The index refers to the index number shown in the displayed list. The index **must be a positive integer** 1, 2, 3, …​
* At least one of the optional fields must be provided.
* You must provide at least one of the optional fields.
* Existing values will be updated to the input values.
* When editing tags, the existing tags of the patient will be removed i.e adding of tags is not cumulative.
* You can remove all the patient’s tags by typing `t\ ` without
Expand Down Expand Up @@ -209,7 +208,7 @@ Tags:

### Locating patients either by name or by IC: `find`

You can find patients whose names or IC contain any of the given keywords.
Allows you to find patients whose names or IC contain any of the given keywords.

Format: `find [n\NAME] [ic\IC_NUMBER]`

Expand All @@ -228,7 +227,7 @@ Examples:

### Deleting a patient : `delete`

Deletes the specified patient from the address book.
Allows you to delete the specified patient from the address book.

Format: `delete INDEX`

Expand All @@ -250,7 +249,7 @@ Tags: SevereAllergies
```
### Viewing help : `help`

Shows a message explaining the available commands and their usage.
Allows you to view a message explaining the available commands and their usage.

Format: `help`

Expand All @@ -274,8 +273,8 @@ Edit: edit INDEX [n\NAME] [ic\IC_NUMBER] [dob\DATE_OF_BIRTH] [ad\ADMISSION_DATE]
Find: find KEYWORD [MORE_KEYWORDS]
Example: find John

List: list
Lists all patients.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can leave this part out if possible, as I am editing the Help section

List: list [w\WARD] [t\TAG]...
Example: list w\A1 t\Diabetes

Exit: exit
Exits the application.
Expand All @@ -286,13 +285,16 @@ For more detailed information on each command, please refer to the User Guide.

### Clearing all entries : `clear`

Clears all entries from the address book.
Allows you to clear all entries from the address book.

:exclamation: **Caution:** This action is irreversible.


Format: `clear`

### Exiting the program : `exit`

Exits the program.
Allows you to exit the program.

Format: `exit`

Expand All @@ -309,10 +311,6 @@ If your changes to the data file makes its format invalid, Nursing Address Book
Furthermore, certain edits can cause the Nursing Address Book to behave in unexpected ways (e.g., if a value entered is outside of the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.
</div>

### Viewing help : `help`

Shows a message explaining commands available.

--------------------------------------------------------------------------------------------------------------------

## FAQ
Expand All @@ -338,6 +336,22 @@ Action | Format, Examples
**List** | `list`
**Help** | `help`

## Glossary

Term | Further Explanation, Representation and Examples
--------|------------------
**Alphanumeric** | A string that must contain any of alphabetical and numerical characters only. Excludes other special characters, whitespace etc. e.g., `A1`, `T1234567P`.
**CLI** | Command Line Interface
**GUI** | Graphical User Interface
**INDEX** | A positive integer that represents the position of a patient in the displayed list. e.g., `1`, `2`, `3`.
**NAME** | The name of a patient. e.g., `John Doe`.
**IC_NUMBER** | A unique identification number in the format of a capital letter, followed by a 7-digit number, and ending with a capital letter. e.g., `T1234567Z`. Note that while the platform performs some level of IC validation, it is up to the user to ensure that the IC is accurate.
**DATE_OF_BIRTH** | The date of birth of a patient in the format of dd/MM/yyyy. e.g., `21/03/2000`. Note that while the platform performs some level of date validation, it is up to the user to ensure that the date is accurate (not in the future etc).
**ADMISSION_DATE** | The date a patient was admitted to the ward in the format of dd/MM/yyyy. e.g., `21/03/2022`. Note that while the platform performs some level of date validation, it is up to the user to ensure that the date is accurate (not in the future etc).
**WARD** | The ward where a patient is located. e.g., `A1`.
**REMARK** | Optional remarks about a patient. e.g., `Patient is an amputee`.
**TAG** | Optional tags to categorize a patient by health condition or other descriptors. e.g., `FallRisk`, `Diabetes`.

--------------------------------------------------------------------------------------------------------------------

## Troubleshooting
Expand Down
Loading