From bb09f3b477b728d2ef0c71ace7d6b191fc126b2a Mon Sep 17 00:00:00 2001 From: YangHeng Tang Date: Tue, 14 Nov 2023 11:40:18 +0800 Subject: [PATCH] Fix NRIC valid inputs --- docs/UserGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 8631274e421..36c6ca5639d 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -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 can either be upper or lowercase | +| 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 |