Stream: hapi
Topic: really delete resources
Jose Costa Teixeira (Apr 29 2020 at 16:35):
For testing purposes, is there a way to really delete a resource from HAPI?
Test case:
PUT Patient/p1
DELETE Patient/p1 (and /or do something else)
PUT Patient/p1
expectation: Patient/p1 should have a version=1, not =3
Patrick Werner (Apr 29 2020 at 16:45):
yes, the expunge operation:
https://smilecdr.com/docs/fhir_repository/deleting_data.html#expunge
Jose Costa Teixeira (Apr 29 2020 at 16:48):
seems perfect, thank you!
Last updated: Apr 12 2022 at 19:14 UTC