Skip to content

v0.1.0

Compare
Choose a tag to compare
@Nigeltzy Nigeltzy released this 19 Oct 15:39
· 335 commits to master since this release
8c0f984

*Release Notes - Version 0.1.0

New Features

  1. Separation of Contacts into Entities

    • Contacts are now represented as distinct entities: Patient and Doctor instead of the generic Person class.
    • This allows for better categorization, functionality, and management of different types of contacts.
  2. New Commands to Add Contacts

    • CreatePatientCommand:
      Add a new patient to the contact list with relevant details such as:

      • ID: Automatically generated and assigned.
      • Remarks: Optional field to store additional notes about the patient.
      • Example usage:
        createPatient n/John Doe p/98765432 e/[email protected] a/311, Clementi Ave 2, #02-25 r/Has diabetes
        
    • CreateDoctorCommand:
      Add a new doctor with attributes:

      • ID: Automatically generated and unique.
      • Remarks: Optional field for additional information.
      • Example usage:
        createDoctor n/Dr. Alice Tan p/81234567 e/[email protected] a/123, Bukit Timah r/Cardiologist
        
  3. ID and Remarks Management

    • Both Patient and Doctor contacts now include an automatically generated ID.
    • Remarks field is available for both entities to store notes or additional comments.

Class Diagram

photo_6084635067247870229_y

Bug Fixes

  • Fixed an issue where id values may be mixed between patients and doctors

Known Issues

  • There may be numerous commands that are available to use and will prompt with correct output when typed in, however, are not yet ready for proper usage.

How to Upgrade

  1. Download the latest release package.
  2. Replace the existing application files with the new version.
  3. Ensure any previous data files (e.g., addressbook.json) are backed up to avoid conflicts with new storage formats.

Example Usage:

Adding a new contact to the address book beyond a person, and instead adding using the createPatient command.
image

Usage of new getId command, used to keep track of the unique identities of the patients and doctors as well as indicate the time at which they were added to the address book.
image

What's Changed

New Contributors

Full Changelog: https://github.com/AY2425S1-CS2103T-T08-3/tp/commits/alpha