Skip to content

Commit

Permalink
Change find feature
Browse files Browse the repository at this point in the history
  • Loading branch information
swtan346 committed Apr 11, 2024
1 parent 296a3aa commit d6871e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ Allows you to find patients whose names or IC contain any of the given keywords.

Format: `find n\NAME OR find ic\IC_NUMBER`

* Exactly one of the optional fields must be provided
* The search is case-insensitive. e.g. `hans` will match `Hans`
* The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans`
* Only full words will be matched e.g. `Han` will not match `Hans`
Expand All @@ -322,8 +321,8 @@ Format: `find n\NAME OR find ic\IC_NUMBER`

Example command:
* `find n\John` returns `john` and `John Doe`
* `find n\alex david` returns `Alex Yeoh` and `David Li`
* `find ic\a1234567b` returns `A1234567B`<br>
* `find n\alex denver` returns `Alex Denver` and `Denver Li`
* `find ic\a1234567b` returns `A1234567B`

#### Deleting a patient : `delete`

Expand Down

0 comments on commit d6871e3

Please sign in to comment.