ehr-sieve
Status: pre-release. This version (0.0.1) contains no functionality yet. The first working release is planned as 1.0.0.
ehr-sieve is a Python library for minimizing protected health information (PHI) in FHIR R4 and other EHR JSON inside the provider's environment, before data is shared with analytics, AI or research partners.
What it will do
- Find PHI by structure, not just field names. It recognizes FHIR datatypes (Identifier, HumanName, ContactPoint, Address, Reference, Attachment, Narrative) wherever they appear, including inside extensions and polymorphic
value[x]fields. - Apply a declarative, versioned policy. Each field is kept, dropped, tokenized, or generalized (birth year, three-digit ZIP with restricted-ZIP handling, ages over 89 capped).
- Deny by default. Fields the policy doesn't list are dropped or reported, so a new EHR field can't slip through unreviewed.
- Tokenize with keyed HMAC. The provider holds the key and the token-to-identity crosswalk. A partner receiving tokens can't reverse them.
- Report shapes, never values. A scanner lists every field path in a dataset with counts, so a policy can be built without anyone outside seeing PHI.
- Ship reference profiles, including a minimized Limited Data Set profile.
Disclaimer
ehr-sieve is a software tool. It is not legal advice, and using it does not by itself make data de-identified under HIPAA, nor is it an expert determination. Each organization remains responsible for its own privacy determinations and data use agreements.
License
Apache-2.0. See LICENSE.
Maintained by Brett VanderPlaats (Hcai).
Metadata
Release files for ehr-sieve 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ehr_sieve-0.0.1.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ehr_sieve-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / ehr_sieve-0.0.1.tar.gz
| Download URL | ehr_sieve-0.0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b1a182351591362b9bb554eb333e528eca48c82c358b544a94eb094f329f3f1
|
|
BLAKE2b-256 checksum How to use checksums |
432b3d1709e99fe0560c1a41e56d33acdbf24e65dcfbcb7d4727d25279ad8bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / ehr_sieve-0.0.1-py3-none-any.whl
| Download URL | ehr_sieve-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76935a61a85d7998fcc80a1093a79ea5dd8e833c05c5ada7474d7f5c0f910f10
|
|
BLAKE2b-256 checksum How to use checksums |
e961779a91b99dd69b881a32cd1055ecef6bebf75a3c09d93300df7f025c99ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for ehr-sieve 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.