CLInicDesk is a desktop application designed for receptionists at small-scale medical clinics to manage patients, doctors, and appointments efficiently.
CLInicDesk is optimized for use through a Command Line Interface (CLI) while still providing the convenience of a Graphical User Interface (GUI). CLInicDesk enables receptionists who can type quickly to perform clinic management tasks such as adding patients, viewing doctor availabilties, and booking appointments faster than traditional systems.
Ensure you have Java 17 or above installed in your Computer.
Mac users: Ensure you have the precise JDK version prescribed here.
Download the latest .jar file from here.
Copy the file to the folder you want to use as the home folder for your CLInicDesk.
Open a command terminal, cd into the folder you put the jar file in, and use the java -jar clinicdesk.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 and doctors.
adddoc n/John Doe p/98765432 e/johnd@doctor.com a/John street, block 123, #01-01 : Adds a doctor named John Doe to the application.
deldoc 3 : Deletes the 3rd doctor shown in the current list.
clear : Deletes all contacts.
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 adddoc n/NAME, NAME is a parameter which can be used as adddoc n/John Doe.
Items in square brackets are optional.
e.g n/NAME [t/TAG] can be used as n/John Doe t/friend or as n/John Doe.
Items with … after them can be used multiple times including zero times.
e.g. [t/TAG]… can be used as (i.e. 0 times), t/friend, t/friend t/family etc.
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, exit and clear) will be ignored.
e.g. if the command specifies help 123, it will be interpreted as help.
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.
helpShows a message explaining how to access the help page.
Format: help
addapptAdds an appointment on a specific date, at a specific time from a doctor's schedule.
Format: addappt d/DOCTORNAME n/PATIENTNAME date/YYYY-MM-DD time/HH:MM
Examples:
addappt d/John Tan n/Jane date/2026-03-21 time/09:00 books an appointment for Jane in Dr John's schedule on 2026-03-21 at 9am, followed by
viewsched d/John Tan date/2026-03-21 command will show the 9am slot as Booked.Expected output:
New appointment added!
adddocAdds a doctor to the app.
Format: adddoc n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS…
Notes:
NAME is the name of the patient. It should not be blank. Only alphabets and spaces are allowed.PHONE_NUMBER should only contain numbers.EMAIL must match standard email formatExamples:
adddoc n/John Doe p/98765432 e/johnd@doctor.com a/John street, block 123, #01-01adddoc n/Betsy Crowe e/betsycrowe@doctor.com a/Newgate Hospital p/1234567Expected output:
New doctor added: John Doe; Phone: 98765432; Email: johnd@doctor.com; Address: John street, block 123, #01-01; Tags:
addpatAdds a patient to the app.
Format: addpat n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS…
Notes:
NAME is the name of the patient. It should not be blank. Only alphabets and spaces are allowed.PHONE_NUMBER should only contain numbers.EMAIL must match standard email formatExamples:
addpat n/John Doe p/98765432 e/johnd@doctor.com a/John street, block 123, #01-01
addpat n/Betsy Crowe e/betsycrowe@doctor.com a/Newgate Hospital p/1234567
Expected output:
New patient added: John Doe; Phone: 98765432; Email: johnd@example.com; Address: John street, block 123, #01-01; Tags:
editdocEdits an existing doctor in the app.
Format: editdoc INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS]
Notes:
Examples:
editdoc 1 p/91234567 e/johnd@doctor.comeditdoc 2 n/Betsy CrowerExpected output:
Edited Doctor: John Doe; Phone: 91234567; Email: johnd@doctor.com; Address: 21 Bencoolen; Tags:
listShows a list of all persons (doctors and patients) in the app.
Format: list
findFinds persons whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans will match HansHans Bo will match Bo HansHan will not match HansOR search).
e.g. Hans Bo will return Hans Gruber, Bo YangExamples:
delapptDeletes an appointment on a specific date, at a specific time to a doctor's schedule.
Format: delappt d/DOCTORNAME n/PATIENTNAME date/YYYY-MM-DD time/HH:MM
Examples:
delappt d/John Tan n/Jane date/2026-03-21 time/09:00
followed by viewsched d/John Tan date/2026-03-21 command will show the 9am slot as Available.Expected output:
Appointment deleted!
deldocDeletes the specified doctor from the app.
Format: deldoc INDEX
Notes:
INDEX.Examples:
To delete the doctor, type deldoc 2
Expected output:
Deleted Doctor: John Doe; Phone: 98765432; Email: johnd@doctor.com; Address: John street, block 123, #01-01; Tags:
delpatDeletes the specified patient from the address book.
Format: delpat INDEX
Notes:
INDEX.Examples:
delpat 2 deletes the 2nd person (if the 2nd person is a patient) in CLInicDesk.Expected output:
Deleted Patient: John Doe; Phone: 98765432; Email: johnd@example.com; Address: John street, block 123, #01-01; Tags:
viewschedDisplays all appointment slots for a specific doctor for a week or on a given date, showing whether each slot is available or booked.
Format: viewsched d/DOCTOR_NAME [date/DATE]
Notes:
DOCTOR_NAME must match an existing doctor's name. The match is case-insensitive. e.g. john tan will match John Tan.DATE must be in the strict YYYY-MM-DD format. Other formats such as 22-02-2026 or Feb 22 2026 are not accepted.Tip: Use viewsched before booking an appointment with addappt to confirm which slots are free, so you can advise the patient on available timings.
Examples:
viewsched d/John Tan date/2026-02-22 displays John Tan's schedule on 22 Feb 2026.viewsched d/Alice Lim displays Alice Lim's schedule for next 7 days.Expected output:
Schedule for John Tan on 2026-03-31
editpatEdits the details of an existing patient in the app.
Format: editpat INDEX n/NAME p/PHONE e/EMAIL a/ADDRESS
Notes:
INDEX.editpat 2 n/John Doe is acceptable, but editpat 2 is not.Examples:
editpat 2 n/John Doe changes the name of a patient in the index to John Doe.Expected output:
Edited Patient: John Doe; Phone: 91234567; Email: johndoe@example.com; Address: 123456; Tags:
editapptEdits the details of an existing appointment
Format : editappt d/OLD_DOCTOR date/OLD_DATE time/OLD_TIME (n/NEW_NAME) (d/NEW_DOC) (date/NEW_DATE) (time/NEW_TIME)
Notes
editappt d/Louis date/2026-03-28 time/09:00 time/10:00 is acceptable and will rebook the slot to 10am
for the same patient,but editappt d/Louis date/2026-03-28 time/09:00 is invalid on its own.Examples:
editappt d/Louis date/2026-03-28 time/09:00 d/Harvey time/10:00 edits the appointment to be with Dr Harvey instead of Dr Louis at 10am on the same dateclearClears all entries from the app UI temporarily. This does not delete data.
Format: clear
exitExits the program.
Format: exit
CLInicDesk data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
The doctors' data is saved automatically to the JSON file [JAR file location]/data/doctors.json. Advanced users are welcome to update data directly by editing that data file.
The patients' data is saved automatically to the JSON file [JAR file location]/data/patients.json. Advanced users are welcome to update data directly by editing that data file.
Appointment data is saved automatically to the JSON file [JAR file location]/data/schedule.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, CLInicDesk 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 CLInicDesk 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.
[coming in v2.0]Details coming soon ...
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 CLInicDesk home folder.
preferences.json file created by the application before running the application again.help command (or use the Help menu, or the keyboard shortcut F1) again, the original Help Window will remain minimized, and no new Help Window will appear. The remedy is to manually restore the minimized Help Window.| Action | Format, Examples |
|---|---|
| Add Appointment | addappt d/DOCTOR_NAME n/PATIENT_NAME date/YYYY-MM-DD time/HH:MM e.g., addappt d/James Ho n/Jane Tan date/2026-03-21 time/09:00 |
| Add Doctor | adddoc n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS… e.g., adddoc n/James Ho p/22224444 e/jamesho@example.com a/123, Clementi Rd, 1234665 |
| Add Patient | addpat n/NAME p/PHONE e/EMAIL a/ADDRESS e.g., addpat n/James Ho p/22224444 e/jamesho@example.com a/123, Clementi Rd, 1234665 |
| Clear | clear |
| Delete Appointment | delappt d/DOCTOR_NAME n/PATIENT_NAME date/YYYY-MM-DD time/HH:MM e.g., delappt d/James Ho n/Jane Tan date/2026-03-21 time/09:00 |
| Delete Doctor | deldoc INDEXe.g., deldoc 3 |
| Delete Patient | delpat INDEX e.g., delpat 2 |
| Edit Patient | editpat INDEX n/NAME p/PHONE e/EMAIL a/ADDRESS e.g., `editpat 2 n/James Ho p/22224444 |
| Edit Appointment | editappt d/OLD_DOCTOR date/OLD_DATE time/OLD_TIME (n/NEW_NAME) (d/NEW_DOC) (date/NEW_DATE) (time/NEW_TIME) e.g., editappt d/Louis date/2026-03-28 time/09:00 d/Harvey time/10:00p/22224444 |
| Exit | exit |
| Edit Doctor | editdoc INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS]e.g., editdoc 1 p/91234567 e/johnd@doctor.com |
| Find | find KEYWORD [MORE_KEYWORDS]e.g., find James Jake |
| List | list |
| View Schedule | viewsched d/DOCTOR_NAME [date/YYYY-MM-DD]e.g., viewsched d/John Tan date/2026-03-20 |
| Help | help |