Skip to content

Patient data download for data retention#8981

Merged
DavidMcClatchey merged 108 commits into
mainfrom
david/patient-data-download
Jul 29, 2025
Merged

Patient data download for data retention#8981
DavidMcClatchey merged 108 commits into
mainfrom
david/patient-data-download

Conversation

@DavidMcClatchey
Copy link
Copy Markdown
Collaborator

@DavidMcClatchey DavidMcClatchey commented Jul 7, 2025

BACKEND PULL REQUEST

Related Issue

Changes Proposed

  • Creates a dropdown on the manage patients page where users can download either facility patient data or organization patient data depending on their permissions
  • A modal pops up to confirm when a user clicks on one of the download options
  • Removes the test result download button from the "Manage Organization" tab

Testing

  • Test on Patients tab in dev2 in "Mount Olympus Healthcare" org, using "CSV uploadss" facility. This facility has 185k patients and the org has 187k patients, which is just above the maximum size of the biggest org in prod.

Comment thread backend/src/main/java/gov/cdc/usds/simplereport/service/CsvExportService.java Outdated
@arinkulshi-skylight arinkulshi-skylight self-requested a review July 24, 2025 19:24
Copy link
Copy Markdown
Contributor

@arinkulshi-skylight arinkulshi-skylight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the download in dev2.I love the download button on the manage patients page it looks much cleaner this way. Amazing work!

Comment thread frontend/src/app/utils/testResultCSV.ts Outdated
Comment thread frontend/src/app/patients/ManagePatients.tsx Outdated
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
64.9% Coverage on New Code (required ≥ 80%)
5.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@DavidMcClatchey DavidMcClatchey added this pull request to the merge queue Jul 29, 2025
Merged via the queue into main with commit 5152847 Jul 29, 2025
44 of 45 checks passed
@DavidMcClatchey DavidMcClatchey deleted the david/patient-data-download branch July 29, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants