Skip to content

MDM - $mdm-clear doesn't expunge Golden Record resources #4766

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
dzijianc opened this issue Apr 24, 2023 · 0 comments
Open

MDM - $mdm-clear doesn't expunge Golden Record resources #4766

dzijianc opened this issue Apr 24, 2023 · 0 comments

Comments

@dzijianc
Copy link
Contributor

Problem statement

In HAPI-FHIR documentation, it is mentioned for $mdm-clear operation:

After the operation is complete, all targeted MDM links are removed from the system, and their related Golden Resources are deleted and expunged from the server.

Actually, the Golden Record resources are not expunged with $mdm-clear. They are updated and marked as deleted (soft deleted).

Steps to Reproduce

  1. configure MDM
  2. add some resources with types managed by MDM
  3. verify Golden Record resources are present with $mdm-query-links or mdm/mdm/query-links
  4. call $mdm-clear
  5. wait for batch job to be done

Observed Results

All Golden Record resources were updated and marked as deleted (soft deleted).

Expected Results

All Golden Record resources should have been expunged (hard deleted).

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

1 participant