Data Privacy
Patient-Data Privacy Layer
One privacy check for the three ways patient records leave the platform.
- What I owned
- I designed the shared filtering layer and the interface each sharing path calls to ask what it may send. Four teams adopted it, and it is now the standard way to release sensitive data.
- Dates
- Jul 2022 – Jul 2024
- Stack
- Java · FHIR
Why it mattered
Regulations require some patient information to be withheld from certain recipients. Instead of every workflow implementing its own filtering, the platform needed one central way to filter sensitive information.
Records leave through clinician access, partner exchange, and export, and each of those paths needs the same filtering.
Representative system view
Input 01
Clinician access
Doctors and nurses viewing a patient's record.
Input 02
Partner exchange
Records sent to outside systems.
Input 03
Export
Bulk record exports.
Stage 01
Shared filter
Every path calls the same filter.
- ways of sharing records, now using one privacy check
- 3 → 1
Stage 02
Policy + sensitivity tags
Sensitivity tags are checked against policy.
Stage 03
Allowed / withheld
Each destination gets its own send-or-withhold result.
- adopted it as the standard way to release sensitive data
- 4 teams
- All three ways of sharing records call the same filter, which checks policy and sensitivity tags before any record is sent or withheld.
Constraint
Apply the same rules on every path, and let each destination keep the handling it needs.
Decision
We routed all three paths through one shared filter. Each record's sensitivity tags are checked against policy once, and each destination then gets its own send-or-withhold decision.
Tradeoff
Every path now depends on one shared component, so it has to be very reliable. In return there is one place to test and monitor every privacy decision.