Repository navigation
Add a HIPAA Safe Harbor attestation report generator - #1639
Merged
maziyarpanahi merged 2 commits intoJul 22, 2026
Merged
Conversation
maziyarpanahi
force-pushed
the
feature/om-514-hipaa-safe-harbor-attestation-report
branch
from
July 22, 2026 04:47
77776a7 to
6640214
Compare
Owner
Author
|
Ready to merge after maintainer validation. I rebased this onto the current master and tightened the compliance path so forged audit hashes are rejected, malformed audit fields cannot leak through errors, and the command follows the uniform JSON/error contract. The full local suite passed (6,111 passed, 48 skipped), focused coverage passed (41 tests), strict docs/package/lint/type/pre-commit gates passed, and the fresh hosted matrix is fully green including both container architectures. Squash-merging now. |
maziyarpanahi
deleted the
feature/om-514-hipaa-safe-harbor-attestation-report
branch
July 22, 2026 05:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a local HIPAA Safe Harbor attestation generator over PHI-safe de-identification audit reports. The artifact enumerates all 18 identifier categories, maps canonical labels and policy actions, aggregates detections and applied actions, flags uncovered or kept categories for expert review, and binds the result to verified source and attestation hashes without exposing span content.
Type of Change
Changes Made
openmed compliance safe-harborfor offline JSON generation, including the uniform--jsoncommand envelope.Testing
.venv/bin/python -m pytest tests/ -q— 6111 passed, 48 skippedmake formatmake lintmake format-checkmake type-checkmake docs-buildpython3 -m buildDocumentation
Dependencies
Related Issues
Closes #872
Screenshots/Examples
The documentation includes offline CLI examples and the emitted JSON contract.