Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality for changing a Patinet ID and all references to it in other resources, when sending to the client (e.g., for anonymization). #350

Open
chandrashekar-s opened this issue Jan 17, 2025 · 1 comment

Comments

@chandrashekar-s
Copy link
Collaborator

There is a general need from our clients to anonymize certain fields in the FHIR responses before returning them. This can be hooked into postProcess implementation.

However anonymizing identifiers in the resource and its associated resources is a general need and we need a reusable function which can do this. As part of this task create a reusable function which does the same.

@bashir2 bashir2 changed the title Add a reusable function to alter the identifier value for a FHIR resource along with its references Add functionality for changing a Patinet ID and all references to it in other resources, when sending to the client (e.g., for anonymization). Jan 21, 2025
@bashir2
Copy link
Collaborator

bashir2 commented Jan 21, 2025

Thanks @chandrashekar-s for filing this. So just to clarify this a little bit more based on our conversation: The required functionality is to expose FHIR's Patient Compartment such that all references to a Patient ID in any resource can be updated to the anonymized ID. We use Patient Compartment internally, e.g., here to decide which resources belong to each patient. So we just need to expose this map and possibly build a Patient ID updater functionality around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants