• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CS2103-AY1819S1-W14-1 / main / 708
72%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2018 07:07AM UTC
Jobs 1
Files 168
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
708

push

travis-ci

arsalanc-v2
Implement Add patient (II) (#197)

* Update ClinicIOParser

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Create new class

Nric.java
UniquePatientList
DuplicatePatientException

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* UniquePatientList.java: Edit setPersons -> setPatients

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Fix checkstyle errors.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* ClinicIO.java: Add methods

Add method for addPatient
Add method for hasPatients
Add method for getPatientList

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* ClinicIO.java: Update methods

Add hashcode for patients.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* ClinicIO.java: Update methods

Add methods for model and model manager

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* AddPatientCommand.java: Edit logic

Edit logic to add patient to ClinicIO.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Allow AddPatientCommandParser.java to parse NRIC.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* ParserUtil.java: Update parseAllergy()

Edit comments for parseAllergy

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Update ParserUtil.java

Add methods to parse preferred doctor
Staff.java: Add new constructor to exclude password.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Update Patient.java

Add medication class.

Add accessors for Patient.
Change getPreferredDoctor and getAppointment to use orElseThrow.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Fix checkstyle errors.

- Remove trailing whitespaces
- Add necessary whitespace after comma
- Remove unused imports.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Update AddPatientCommand

Update AddPatientCommandParser command usage.

Signed-off-by: jjlee050 <josephlee050@gmail.com>

* Edit medications message constraints

Signed-off-by: jjlee050 <joseph... (continued)

2145 of 3666 relevant lines covered (58.51%)

0.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 708.1 06 Nov 2018 07:07AM UTC 0
58.51
Travis Job 708.1
Source Files on build 708
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #708
  • 7e1336f1 on github
  • Prev Build on master (#698)
  • Next Build on master (#709)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc