From 9e7630f7410ea5162275a4dfef0ed895d3609db5 Mon Sep 17 00:00:00 2001 From: Amy Chen Date: Tue, 7 Jan 2025 14:13:52 -0800 Subject: [PATCH] update DEEP_FUTURE date to deep future date (#77) * update DEEP_FUTURE date to deep future date * correct typo in comment --------- Co-authored-by: Amy Chen Co-authored-by: Paul Bugni --- isacc_messaging/models/isacc_fhirdate.py | 2 +- isacc_messaging/models/isacc_patient.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/isacc_messaging/models/isacc_fhirdate.py b/isacc_messaging/models/isacc_fhirdate.py index c5a4371..4bd0a24 100644 --- a/isacc_messaging/models/isacc_fhirdate.py +++ b/isacc_messaging/models/isacc_fhirdate.py @@ -36,4 +36,4 @@ def __repr__(self): DEEP_PAST = IsaccFHIRDate("1975-01-01T00:00:00Z") -DEEP_FUTURE = IsaccFHIRDate("2025-01-01T00:00:00Z") \ No newline at end of file +DEEP_FUTURE = IsaccFHIRDate("2050-01-01T00:00:00Z") \ No newline at end of file diff --git a/isacc_messaging/models/isacc_patient.py b/isacc_messaging/models/isacc_patient.py index 02f0679..85705ca 100644 --- a/isacc_messaging/models/isacc_patient.py +++ b/isacc_messaging/models/isacc_patient.py @@ -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