Skip to content

Create Anonymized Data #81

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

Open
wants to merge 2 commits into
base: fhir-resources-helper
Choose a base branch
from

Conversation

AdityaKBhadragond14
Copy link
Collaborator

Creating anonymized entries in the async_task_status table while running the caching scheduler.

@@ -1294,7 +1327,7 @@ public ThreadPoolTaskExecutor getAsyncExecutor() {
public ResponseEntity<?> getAsyncData(Map<String, String> categoryWithHashCodes, Boolean isAnonymizationEnabled) throws SQLException, IOException {
List<DataResultJava> dataResult = new ArrayList<>();
for (Map.Entry<String, String> item : categoryWithHashCodes.entrySet()) {
String dateRangeValue = getFormattedUUID(item.getValue());
String dateRangeValue = getFormattedUuid(item.getValue());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this regular expression is for getting the start and end date , you can directly get it from client in the request payload

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This regular expression is to get the date range with category id and we are getting it from the categoryWithHashCodes which is created using the request payload.

Copy link
Collaborator

@suriyan3 suriyan3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants