Skip to content

Commit

Permalink
update DEEP_FUTURE date to deep future date (#77)
Browse files Browse the repository at this point in the history
* update DEEP_FUTURE date to deep future date

* correct typo in comment

---------

Co-authored-by: Amy Chen <amysbubble@MacBook-Pro-137.local>
Co-authored-by: Paul Bugni <pbugni@u.washington.edu>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent 0be1c41 commit 9e7630f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion isacc_messaging/models/isacc_fhirdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def __repr__(self):


DEEP_PAST = IsaccFHIRDate("1975-01-01T00:00:00Z")
DEEP_FUTURE = IsaccFHIRDate("2025-01-01T00:00:00Z")
DEEP_FUTURE = IsaccFHIRDate("2050-01-01T00:00:00Z")
2 changes: 1 addition & 1 deletion isacc_messaging/models/isacc_patient.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def mark_followup_extension(self, persist_on_change=True):

save_value = oldest_reply
if not oldest_reply:
# without any pending outgoing messages, add a bogus value deep in the past to keep the patient
# without any pending outgoing messages, add a bogus value deep in the future to keep the patient
# in the search (searching by extension will eliminate patients without said extension)
save_value = DEEP_FUTURE

Expand Down

0 comments on commit 9e7630f

Please sign in to comment.