Any way to delete everything?

137 views
Skip to first unread message

Sean McIlvenna

unread,
Oct 14, 2021, 10:41:06 AM10/14/21
to HAPI FHIR
We're doing some regular testing against $evaluate-measure...
It's important to know exactly what data is in the FHIR server when running $evaluate-measure.
I'd like to accomplish this by blowing away the data in the FHIR server and re-loading it with exactly what we want to test $evaluate-measure against.
Is there any functionality or operation to blow away all the data in a FHIR server?

James Agnew

unread,
Oct 14, 2021, 11:14:49 AM10/14/21
to Sean McIlvenna, HAPI FHIR
You probably want an expunge everything. See "drop all data" here: https://smilecdr.com/docs/fhir_repository/deleting_data.html#expunge

(This link is to the Smile CDR docs, but this operation is in HAPI FHIR open source too)

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/58ce143e-c7aa-4112-aac5-58a14f34d9ecn%40googlegroups.com.

Sean McIlvenna

unread,
Oct 14, 2021, 11:45:52 AM10/14/21
to HAPI FHIR
This is exactly what I was looking for. I don't think expungeEverything was an option when I last looked at this, so I didn't think to look again. Thanks!
Reply all
Reply to author
Forward
0 new messages