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

test delete/expunge functionality #7

Open
mattStorer opened this issue Feb 22, 2024 · 0 comments
Open

test delete/expunge functionality #7

mattStorer opened this issue Feb 22, 2024 · 0 comments
Assignees

Comments

@mattStorer
Copy link
Collaborator

HAPI FHIR provides a mechanism to delete resources and expunge them. test this out in the SDS to make sure that it's a viable strategy.

From Google Groups thread https://groups.google.com/g/hapi-fhir/c/0TQmQIEuewk:

The $expunge Operation is in the HAPI-FHIR code here:
https://github.com/hapifhir/hapi-fhir/blob/master/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProvider.java#L225

In order to be able to use it, you must uncomment one of the following lines in your application.yaml file:
https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml#L112
https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml#L127

Kevin

see https://smilecdr.com/docs/fhir_repository/deleting_data.html#expunge

@mattStorer mattStorer self-assigned this Feb 22, 2024
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