Skip to content

Commit

Permalink
Merge pull request #145 from ongweijie7/EditUG1
Browse files Browse the repository at this point in the history
Edit ug1
  • Loading branch information
Creationsv2 authored Mar 30, 2023
2 parents 4d5b3cb + e5fb3c5 commit 4b4a769
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,23 @@ Format: `list`

Find patients according to a particular attribute stated followed by the change.

Eg. name(`n/`), address(`a/`), nric(`i/`), tag(`t/`), doctor(`ad/`)

<div markdown="span" class="alert alert-info">:information_source: **Note:** Find searches by full strings and not
substrings. You may only search for a few attributes.
Command Prefixes that can be searched:
* name(`n/`)
* nric(`i/`)
* tag(`t/`)
* doctor(`ad/`)
* medicine(`m/`)

<div markdown="span" class="alert alert-info">:information_source:
**Note:**
- `find` searches by full strings and not substrings.
- You may only search for a few attributes.
- Only one attribute can be searched at one time.
</div>

Format: `find (n/NAME | i/NRIC | m/MEDICINE | t/TAG) [MORE_KEYWORDS]`
Format: `find (n/NAME | i/NRIC | t/TAG | ad/DOCTOR | m/MEDICINE ) [MORE_KEYWORDS]`

* The search will only be carried out for the given attribute.
* Only one attribute can be searched at one time.
* The search is case-insensitive. e.g panadol will match pANAdol.
* The order of the keywords does matter. e.g. "panadol" will match "medicine panadol".
* Multiple keywords for a given attribute can be inputted. All matching persons will be returned.
Expand Down

0 comments on commit 4b4a769

Please sign in to comment.