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

Improve runtime performance #2

Open
tobiasgirardet opened this issue Oct 11, 2021 · 1 comment
Open

Improve runtime performance #2

tobiasgirardet opened this issue Oct 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tobiasgirardet
Copy link
Member

Right now, DeidentiFHIR works like this:

  1. Iterate over all elements in a given FHIR resource
  2. Check for each element if it should be removed/handeled by looking for handlers in a hash map using the current elements path

If we put the handlers in a tree structure, where each connection represents a step in the FHIR path, we can omit whole sub trees of a resource if no handler is registered at all.

@tobiasgirardet
Copy link
Member Author

However, keep in mind that some checks can only be performed on the leave nodes during runtime.

@tobiasgirardet tobiasgirardet added the enhancement New feature or request label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant