Skip to content

Commit

Permalink
refactor: Rephrase denied mental health treatment. [DCH-427] (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
reindervdw-cmi authored Jan 6, 2025
1 parent b90b034 commit d2a0f4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ctk_functions/microservices/redcap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ def testing_accommodations(self) -> list[str]:


def get_intake_data(mrn: str) -> RedCapData:
"""Gets the intake data from REDcap.
"""Gets the intake data from REDCap.
REDCap does not allow filtering by redcap_survey_identifier, so we have to
download all records, find the associated record_id, and then filter by that.
Expand Down
4 changes: 2 additions & 2 deletions src/ctk_functions/routers/intake/intake_processing/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,8 +944,8 @@ def write_past_therapeutic_interventions(self) -> None:

if not interventions:
text = f"""
{patient.guardian.title_name} denied any history of therapeutic
interventions.
{patient.first_name} does not have any history of mental
health treatment.
"""
text = string_utils.remove_excess_whitespace(text)
else:
Expand Down

0 comments on commit d2a0f4c

Please sign in to comment.