UC14
This PR implements the third subflow of UC14, which allows a registered HCP to view diagnosis trends for 8 weeks up to a provided date.
To do this, additional functionality was added to the DiagnosesDAO
and to the GetDiagnosisStatisticsAction
to pull the required data from the database. In addition, the frontend was modified to display the chart.
To run the tests, enter the following commands:
mvn install -DskipTests
mvn test -Dtest=ViewDiagnosisStatisticsActionTest
mvn test -Dtest=DiagnosisTrendDataTest
mvn test -Dtest=ViewDiagnosisStatisticsTest
Edited by adityab3
Merge request reports
Activity
added 1 commit
- 5aa74fb4 - [tests] Removed start dates from trend tests and added test for checking if bar graph displays
added 1 commit
- ff2f2c9e - [tests] Added test cases for getDiagnosisStatistics method that accepts only one date
added 1 commit
- e043cd72 - [backend] Added new getDiagnosisStatistics method that captures end date and...
added 1 commit
- 09ed538f - [frontend] Removed start date field since it is being calculated in backend
added 1 commit
- a2f2e7f6 - [tests] Fixed testViewDiagnosisTrends_ChartDisplayed() to include icdCode and...
added 1 commit
- 4be1a22a - [frontend] Fixed if statement that was causing null pointer exception when...
added 8 commits
- 17ef479b - [backend] Updated chart driver to take multiple weeks of data
- f36a7763 - [frontend] Modified chart frontend to produce bar chart of multiple
- c85ed622 - [tests] Updateded existing trends tests added test for the graph
- 75b800c7 - [tests] Added test cases for getDiagnosisStatistics method that accpets
- 07e4adf8 - [backend] Overloaded getDiagnosisStatistics to get statistics for 8 weeks prior to given date
- 693fd5a4 - [frontend] Removed unused start date field from trends page
- d0d2d479 - [tests] Fixed broken test in ViewDiagnosisStatisticsTest
- 8c575f7c - [frontend] Fixed null pointer exception in diagnosis trends page
Toggle commit listassigned to @ahmada4
added 1 commit
- 8a51e260 - [formatting] fixed indentation errors in various files
mentioned in commit 34aea561
Please register or sign in to reply