From 15851db9bf910f879bb6f30d06238b75e8c39a28 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 01:02:25 +0000 Subject: [PATCH 1/2] Title the HIPAA audit report files like the admin page The admin console now calls this report "HIPAA Organization Audit Report" (Compliance > HIPAA Audit Report), but the downloads still said "HIPAA Readiness Report" (PDF title and cover) and "HIPAA Basic Compliance Report" (CSV first row). Both now use the page's name, with tests pinning it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_014t7uDmnjGZAyMrCYpN2RZy --- backend/src/control_center/compliance/csv_export.py | 2 +- .../compliance/templates/hipaa_report.html | 4 ++-- backend/tests/test_compliance_csv_export.py | 8 ++++++++ backend/tests/test_compliance_pdf.py | 9 +++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/backend/src/control_center/compliance/csv_export.py b/backend/src/control_center/compliance/csv_export.py index 65b8ac8a..018c6014 100644 --- a/backend/src/control_center/compliance/csv_export.py +++ b/backend/src/control_center/compliance/csv_export.py @@ -63,7 +63,7 @@ def render_report_csv(context: dict[str, Any]) -> str: buffer = io.StringIO() writer = csv.writer(buffer) - _writerow(writer, ["HIPAA Basic Compliance Report"]) + _writerow(writer, ["HIPAA Organization Audit Report"]) _writerow(writer, ["Organization", f"{context['organization_name']} (org #{context['organization_id']})"]) _writerow(writer, ["Period", f"{context['from_date']} to {context['to_date']}"]) _writerow(writer, ["Generated", f"{context['generated_at']} by {context['generated_by']}"]) diff --git a/backend/src/control_center/compliance/templates/hipaa_report.html b/backend/src/control_center/compliance/templates/hipaa_report.html index 411bde09..df105388 100644 --- a/backend/src/control_center/compliance/templates/hipaa_report.html +++ b/backend/src/control_center/compliance/templates/hipaa_report.html @@ -2,7 +2,7 @@ -HIPAA Readiness Report +HIPAA Organization Audit Report