Skip to content

Commit

Permalink
23.11 fb notifications quick fix (#621)
Browse files Browse the repository at this point in the history
* Added updates requested by the blood draw team.
- Blood Draws Today (All): Now sorts draws by incomplete first.  Also changed unassigned/incomplete column headers for clarity.
- Blood Draw Review Notification (Trigger): Updated this so it only sends when a blood draw is requested for the current day with an issue.
- Blood Draw Review Notification (Daily): Now shows any blood draws (today & future) that will be overdrawn.

* Removed test dates and updated to correct dates.

* Fixed test date updates.

* Removed placeholder text.
  • Loading branch information
aschmidt34 authored Jul 22, 2024
1 parent 1db1854 commit d145ad5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ public static class BloodDrawsTodayObject {
// Creates filter.
Date todayDate = dateToolkit.getDateToday();
SimpleFilter myFilter = new SimpleFilter("Id/DataSet/Demographics/calculated_status", "Alive", CompareType.EQUAL);
// myFilter.addCondition("date", todayDate, CompareType.DATE_EQUAL); //TODO: Uncomment this after testing.
myFilter.addCondition("date", dateToolkit.getDateXDaysFromNow(-800), CompareType.DATE_GTE); //TODO: Delete this after testing.
myFilter.addCondition("date", todayDate, CompareType.DATE_EQUAL);

// Creates sort.
Sort mySort = new Sort("date");
Expand Down

0 comments on commit d145ad5

Please sign in to comment.