Welcome to the MediTrack User Guide, your comprehensive companion in navigating the MediTrack application. This guide is designed to empower users-healthcare professionals and receptionists-by providing in-depth knowledge and practical tips on utilizing MediTrack effectively for patient data management. The user guide is written in a way that is easy to comprehend to even those with no prior technical knowledge or experience with a similar task management application.
MediTrack stands at the forefront of healthcare technology, offering an intuitive platform for recording and managing patient data. Our application is built with the dual purpose of enhancing patient care and streamlining administrative tasks, thereby facilitating a more efficient and productive healthcare environment. Using a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI), MediTrack will allow for greater efficiency in typing commands to carry out all necessary functions in managing patient particulars.
The purpose of this User Guide is multifaceted. Primarily, it serves as an educational tool, introducing you to the myriad features and functionalities of MediTrack. Whether you are a first-time user or looking to deepen your understanding of more advanced features, this guide is tailored to meet your needs. It provides step-by-step instructions, best practices, and troubleshooting advice to ensure that you can navigate the application with ease and confidence.
Ensure you have Java 11 or above installed in your Computer.
Download the latest MediTrack.jar from here.
Copy the file to the folder you want to use as the home folder for MediTrack.
Open a command terminal, cd into the folder you put the jar file in, and use the java -jar MediTrack.jar command to run the application.
A GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.

Type the command in the command box and press Enter to execute it. e.g. typing help and pressing Enter will open the help window.
Some example commands you can try:
list : Lists all patients.
add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 b/25/2/2024 s/Male : Adds a patient named John Doe to the patient list.
delete 3 : Deletes the 3rd patient shown in the current list.
exit : Exits the app.
Refer to the Features below for details of each command.
Notes about the command format:
Words in UPPER_CASE are the parameters to be supplied by the user.
e.g. in add n/NAME, NAME is a parameter which can be used as add n/John Doe.
Items in square brackets are optional.
e.g. n/NAME [o/APPOINTMENT] can be used as n/John Doe o/2024-4-1 or as n/John Doe.
Parameters can be in any order.
e.g. if the command specifies n/NAME p/PHONE_NUMBER, p/PHONE_NUMBER n/NAME is also acceptable.
Extraneous parameters for commands that do not take in parameters (such as help, list and exit) will be ignored.
e.g. if the command specifies help 123, it will be interpreted as help.
For any parameters using date format, strictly need to follow "yyyy-MM-dd" and "dd/MM/yyyy". If the date exceeds the maximum date of that month, then will take the maximum date of that month.
Duplicate patients are not allowed (Patients are considered the same patients if they have the same name and phone number).
Name should only consist of letters, or a single special character surrounded by letters, the special characters allowed being spaces, \, / and -. For example, s/o is allowed, but s / o is not since / is between 2 spaces.
Phone can have from 3 to 8 digits.
There is no restriction in Date of Birth and Appointment. Appointment can be before Date of Birth.
Sex field only accepts specific "Male" and "Female" as an input (eg. "MALE" or "FEMALE" is not accepted).
“Appointment” refers to a scheduled future date when a patient plans to visit the clinic. Conversely, “Visit” refers to a recorded instance of a patient’s past attendance at the clinic.
Severity field only accepts specific label as "Low" or "High" as an input (eg. "LOW" or "HIGH" is not accepted).
If you are using a PDF version of this document, be careful when copying and pasting commands that span multiple lines as space characters surrounding line-breaks may be omitted when copied over to the application.
| Action | Format, Example |
|---|---|
| Add Patient | add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS b/DATE_OF_BIRTH s/SEX e.g., add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 b/25/2/2024 s/Male |
| Add Visit | addv INDEX d/DATE_OF_VISIT c/CONDITION v/SEVERITY or addv n/NAME p/PHONE_NUMBER d/DATE_OF_VISIT c/CONDITION v/SEVERITY e.g., addv 1 d/25/2/2024 c/Mild Fever v/Low |
| Delete by index | delete INDEXe.g., delete 3 |
| Delete by name and phone | delete-p n/NAME p/PHONE_NUMBERe.g. delete-p n/Jaeho p/22224444 |
| Delete all | delete-all |
| Force delete all | delete-all-f |
| Delete Visit | deletev INDEX or deletev n/NAME p/PHONE_NUMBERe.g., deletev 3 |
| Edit Patient | edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [b/DATE_OF_BIRTH] [s/SEX] [o/APPOINTMENT] or edit n/NAME p/PHONE_NUMBER [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [b/DATEOFBIRTH] [s/SEX] [o/APPOINTMENT]e.g., edit 2 n/James Lee e/jameslee@example.com |
| Edit Visit | editv INDEX [d/DATE_OF_VISIT] [c/CONDITION] [v/SEVERITY] or editv n/NAME p/PHONE_NUMBER [d/DATE_OF_VISIT] [c/CONDITION] [v/SEVERITY]e.g., editv n/Alex Yeoh p/87438807 c/Sore throat v/Low |
| Find | find [n/KEYWORDS] [p/PHONE_NUMBER]e.g., find n/John p/98765432 |
| List | list |
| List in alphabetical order | list-a |
| List in order of appointment date | list-by-date |
| List all appointments on/before a certain date | list-until-date o/dd/mm/yyyy e.g. , list-until-date o/12/01/2024 |
| Help | help |
| Exit | exit |
| Force exit | exit-f |
helpShows a message that provides the link to the user guide.
Format: help
addAdds a patient to the patient list.
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS b/DATE_OF_BIRTH s/Sex
Note: Appointment field can only be edited after adding the patient into the patient list
Example:
add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01 b/2001-1-1 s/MaleaddvAdds a visit to a patient.
Format: addv INDEX d/DATE_OF_VISIT c/CONDITION v/SEVERITY or addv n/NAME p/PHONE_NUMBER d/DATE_OF_VISIT c/CONDITION v/SEVERITY
INDEX. The index refers to the index number shown in the displayed patient list. The index must be a positive integer 1, 2, 3, …Example:
addv 1 d/25/2/2024 c/Mild Fever v/Lowaddv n/Alex Yeoh p/87438807 d/25/2/2024 c/High Fever v/HighlistShows a list of all patients in the patient list.
Format: list
list-aShows a list of all patients in the patient list in alphabetical order.
Format: list-a
Note: Currently, list-a can only support names where the first letters are in uppercase. Names that are in lowercase will not be listed in the correct order.
list-by-dateShows a list of all patients in the patient list in order of appointment.
Format: list-by-date
list-until-dateShows a list of all patients in the patient list whose appointments fall on or before the given date.
Format: list-until-date o/dd/mm/yyyy
Example:
list-until-date o/13/01/2024 Displays all patients with appointments on or before 13 January 2024.editEdits an existing patient in the patient list.
Format: edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [b/DATEOFBIRTH] [s/SEX] [o/APPOINTMENT] or edit n/NAME p/PHONE_NUMBER [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [b/DATEOFBIRTH] [s/SEX] [o/APPOINTMENT]
INDEX. The index refers to the index number shown in the displayed patient list. The index must be a positive integer 1, 2, 3, …Example:
edit 1 p/91234567 e/johndoe@example.com Edits the phone number and email address of the 1st patient to be 91234567 and johndoe@example.com respectively.edit 2 n/Betsy Crower Edits the name of the 2nd patient to be Betsy Crower.edit n/Alex Yeoh p/88472848 n/Eugene Edits the name of patient from Alex Yeoh to Eugene.editvEdits the displayed visit of a patient.
Format: editv INDEX [d/DATE_OF_VISIT] [c/CONDITION] [v/SEVERITY] or editv n/NAME p/PHONE_NUMBER [d/DATE_OF_VISIT] [c/CONDITION] [v/SEVERITY]
INDEX. The index refers to the index number shown in the displayed patient list. The index must be a positive integer 1, 2, 3, …Example:
editv 1 d/25/2/2024 Edits the visit date of the 1st patient to 25/2/2024editv n/Alex Yeoh p/87438807 c/Sore throat v/Low Edits the condition and severity of Alex Yeoh with 87438807 to Sore throat and Low.findFinds patients whose name contains the given keyword and/or whose phone number matches the given one.
Format: find [n/KEYWORDS] [p/PHONE_NUMBER]
hans will match Hans.Hans Bo will match Bo Hans.Han will not match Hans.OR search).
e.g. Hans Bo will return Hans Gruber, Bo Yang.p/98765432 97538642 is invalid.Example:
find n/John Displays all patients with name containing John.find n/John p/98765432 Displays all patients with name containing john and phone number 98765432.find n/alex roy returns Alex Yeoh, Roy Balakrishnan. The output is shown below. 
deleteDeletes the patient at the specified index within the patient list.
Format: delete INDEX
INDEX. The index refers to the index number shown in the displayed patient list. The index must be a positive integer 1, 2, 3, …Example:
delete 1 Deletes the first patient in the displayed list.delete-pDeletes the patient with the specified name and phone number within the patient list.
Format: delete-p n/NAME p/PHONE_NUMBER
Example:
delete n/Eugene Hirose p/90807561 Deletes the patient with name exactly the same as "Eugene Hirose" and phone number exactly the same as "90807561".delete-allDeletes all patients' information in the patientlist.json.
Format: delete-all
Example:
delete-all-fForcefully deletes all entries from the patient list.
Format: delete-all-f
Example:
delete-all-f Deletes all patients' information in the patientlist.json and displays an empty list.deletevDeletes the displayed visit of a patient.
Format: deletev INDEX or deletev n/NAME p/PHONE_NUMBER
INDEX. The index refers to the index number shown in the displayed patient list. The index must be a positive integer 1, 2, 3, …Example:
deletev 1deletev n/Alex Yeoh p/87438807exitLets the system know the user wants to exit the program.
Format: exit
Example:
exit-fForcefully exits the program.
Format: exit-f
Example:
MediTrack data are saved automatically as a JSON file [JAR file location]/data/patientlist.json. Advanced users are welcome to update data directly by editing that data file.
Caution:
If your changes to the data file makes its format invalid, MediTrack will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.
Furthermore, certain edits can cause the MediTrack to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous MediTrack home folder.
Q: How can I check where my data file is located?
A: Check your [JAR file location]/preferences.json. The location of your data file is listed under patientListFilePath. You can also change this if needed.
Q: How do I change the default size of the window?
A: In your [JAR file location]/preferences.json, you can adjust the initial window dimensions and location.
Q: I've used the find command to look for a specific patient. How do I go back to the full list?
A: You may use the list command or one of its variations.
preferences.json file created by the application before running the application again.