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

Fix NRIC valid inputs #342

Merged
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
6 changes: 3 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ The following table gives an overview of what each parameter used in the Feature
| Parameter | Description | Valid Parameter Input |
|-------------------|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| NAME | The full name of the doctor/patient | Only accepts alphanumeric characters and spaces |
| NRIC | The National Registration Identity Card number or Foreign Identification Number of the doctor/patient | Starts with S/T/F/G/M and followed by 7 digits and ends with an alphabet |
| PHONE_NUMBER | The phone number of the doctor/patient | Only contain numbers, and it should be at least 3 digits long. |
| NRIC | The National Registration Identity Card number or Foreign Identification Number of the doctor/patient | Starts with S/T/F/G/M and followed by 7 digits and ends with an alphabet. The first and last letter is case insensitive |
| PHONE_NUMBER | The phone number of the doctor/patient | Only contain numbers, and it should be at least 3 digits long |
| INDEX | The position of the appointment/doctor/patient in the filtered list | Must be a positive integer (1, 2, 3, ...) and should not be larger than the length of the list and have a maximum possible value of MAX_INT |
| MEDICAL_CONDITION | The medical condition of the patient | Only accepts alphanumeric characters without any spaces |
| SPECIALISATION | The specialisation of the doctor | Only accepts alphanumeric characters without any spaces |
Expand All @@ -183,7 +183,7 @@ The following table gives an overview of what each parameter used in the Feature
| KEYWORD | The keyword of doctor/patient | Accepts all input |

<div markdown="span" class="alert alert-info">:bulb: <b>Tip:</b>
For medical conditions with more than 1 word, users can concatenate the words of the condition!
For medical conditions with more than 1 word, you can concatenate the words of the condition!
</div>

<div markdown="span" class="alert alert-primary">:information_source: <b>Note:</b>
Expand Down
Loading