Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1320 +/- ##
============================================
- Coverage 99.27% 99.16% -0.12%
- Complexity 493 550 +57
============================================
Files 124 126 +2
Lines 1803 2030 +227
Branches 47 70 +23
============================================
+ Hits 1790 2013 +223
- Misses 2 3 +1
- Partials 11 14 +3
🚀 New features to boost your workflow:
|
994e4e6 to
681de99
Compare
31fc982 to
89d0846
Compare
3c69a63 to
5611c2a
Compare
Resource IDs outside the patient compartment are now pseudonymized directly via gPAS instead of using patient-derived salt. - Add PatientCompartment to check FHIR compartment membership - Add batch fetchOrCreatePseudonyms to GpasClient - Split ID handling in FhirMappingProvider by compartment type Closes #942
Reduce FhirMappingProvider from 321 to 189 lines by extracting compartment-related logic into a dedicated class.
CDA now determines actual compartment membership by checking if resource param fields reference the patient. TCA uses prefix-based checking only.
- Switch gpas-db from MySQL 9.5 to MariaDB 11.4 - Add custom gPAS Dockerfile with MariaDB JDBC driver - Update environment variables and healthcheck for MariaDB
Expand compartment membership checking to handle nested FHIR paths (e.g., Appointment.participant.actor, CareTeam.participant.member) and simple field name mappings (e.g., policy-holder -> policyHolder).
9a5e72a to
bc8761f
Compare
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.
Summary
IDs of resources NOT in the patient compartment are now pseudonymized directly via gPAS, instead of being derived from patient ID/salt. This addresses issue #942.
Changes
paramkey (indicating it's patient-related)fetchOrCreatePseudonyms()method for efficient pseudonymization of multiple IDsTechnical Details
{patientId}.{ResourceType}:{id}{patientId}.identifier.{system}:{value}(always treated as patient-related)compartmentdefinition-patient.jsonfrom FHIR R4B specTest Plan
Closes #942