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

[CS2103T-T08-3] MedDict #56

Open
wants to merge 511 commits into
base: master
Choose a base branch
from

Conversation

chengzihao123
Copy link

MedDict Provide a more specialised one-stop-for-all medical related information to physiotherapists' patients, schedules, appointments and to keep track of patients' medical information, progression, medical history etc. Optimized for physiotherapists who may have to keep close track of all their patients' detailed progress, whilst having to juggle with having many patients.

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 65.04559% with 115 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...c/main/java/seedu/address/model/person/Person.java 58.18% 18 Missing and 5 partials ⚠️
...address/logic/commands/MarkAppointmentCommand.java 43.47% 6 Missing and 7 partials ⚠️
.../address/logic/commands/AddAppointmentCommand.java 70.00% 6 Missing and 6 partials ⚠️
...u/address/logic/commands/CreatePatientCommand.java 25.00% 8 Missing and 4 partials ⚠️
...du/address/logic/commands/CreateDoctorCommand.java 31.25% 7 Missing and 4 partials ⚠️
...eedu/address/logic/commands/AddRemarksCommand.java 75.00% 3 Missing and 5 partials ⚠️
...dress/logic/commands/DeleteAppointmentCommand.java 66.66% 2 Missing and 3 partials ⚠️
...va/seedu/address/logic/commands/DeleteCommand.java 84.00% 2 Missing and 2 partials ⚠️
src/main/java/seedu/address/model/person/Id.java 66.66% 3 Missing and 1 partial ⚠️
...java/seedu/address/logic/commands/EditCommand.java 84.21% 1 Missing and 2 partials ⚠️
... and 11 more
Files with missing lines Coverage Δ Complexity Δ
...main/java/seedu/address/commons/core/Messages.java 0.00% <ø> (ø) 0.00 <0.00> (?)
src/main/java/seedu/address/logic/Messages.java 86.66% <100.00%> (-0.84%) 3.00 <0.00> (ø)
...ddress/logic/commands/CheckAppointmentCommand.java 70.83% <100.00%> (ø) 7.00 <1.00> (?)
...ava/seedu/address/logic/commands/ClearCommand.java 100.00% <100.00%> (ø) 2.00 <0.00> (ø)
...java/seedu/address/logic/commands/ExitCommand.java 100.00% <ø> (ø) 2.00 <0.00> (ø)
...ress/logic/parser/AddAppointmentCommandParser.java 93.75% <100.00%> (ø) 4.00 <0.00> (?)
.../address/logic/parser/AddRemarksCommandParser.java 94.11% <100.00%> (ø) 5.00 <1.00> (?)
...ss/logic/parser/CheckAppointmentCommandParser.java 89.47% <ø> (ø) 4.00 <0.00> (?)
...ain/java/seedu/address/logic/parser/CliSyntax.java 88.88% <ø> (+5.55%) 1.00 <0.00> (ø)
...ddress/logic/parser/CreateDoctorCommandParser.java 93.75% <100.00%> (ø) 4.00 <0.00> (?)
... and 33 more

... and 2 files with indirect coverage changes

Judy1x4 pushed a commit to Judy1x4/tp that referenced this pull request Oct 16, 2024
…add-feature

Add Comment prefix in CLI Syntax to use in AddCommand
sandyk0105 and others added 28 commits October 25, 2024 14:07
The current implementation has less information about
our main feature

add createDoctorCommand and createPatientCommand implementation
detail in developer guide
…am for CreatePatientCommand

Commit Body: The Developer Guide and sequence diagram currently use inaccurate terminology,
referring to "MedDict database in address book" instead of "addressbook".

-Updated terminology in Developer Guide to align with MedDict's purpose as a patient management application.
-Adjusted the execute() method call to pass the Model.
-Adding three unit test for the MarkAppointmentCommand to verify its behavior when marking an appointment.
-These test ensures that the appointment status is correctly updated to reflect that it has been marked,
 helping to validate that the command functions as intended.

This change:

Adds three dedicated test to enhance coverage for appointment management.
Aims to prevent future regressions by confirming the correct appointment status updates when marking.
Too many characters in one line

Break the particular line of statement into two lines
MarkAppointmentCommandTest: add unit test for marking appointments
Add three unit test for the RemarkCommand to verify its behavior when adding or updating remarks for an appointment.
This test ensures that remarks are correctly applied to the relevant appointment,
validating the command’s functionality and supporting consistent behavior.

This change introduces a focused test to improve coverage for the remark functionality
and aims to prevent future regressions by ensuring remarks update as expected.
Unused import statement found

Remove unused import statement
Extra separation

Remove extra space
Unused import statement found

Remove unused statement
Changes some words
Adds createPatient feature
RemarkCommandTest: add unit test for remark functionality
The MedDict user guide lacks specific details and examples for some features, which can make it harder for users to fully understand the commands.

- Add detailed descriptions of input formats and constraints
- Include examples to demonstrate expected outputs and error messages
- Refine language for consistent terminology and readability
The current version has no new line for every example

Add new line to ensure consistency
Removw white spaces
Some of the command get modify to be less tedious

Update all the command accordingly
The error message get modify without update the test

Update the test
chengzihao123 and others added 30 commits November 12, 2024 12:23
Change PATIENT_ID to ID for delete command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants