FHIR Chat · expungeEverything not working · hapi

Stream: hapi

Topic: expungeEverything not working


view this post on Zulip Patrick Werner (Sep 30 2020 at 08:31):

(expunge is enabled in properties)
When trying:

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "expungeEverything",
      "valueBoolean": true
    }
  ]
}

with the URL: ResearchStudy/$expungehapi doesnt expunge all ResearchStudies. In the log i can see:
2020-09-30 10:27:08.145 [http-nio-8080-exec-1147] INFO c.u.f.jpa.dao.expunge.ExpungeService [ExpungeService.java:50] Expunge: ResourceName[ResearchStudy] Id[null] Version[null] Options[ExpungeOptions[limit=1000,oldVersions=false,deletedResources=false,everything=false]]

view this post on Zulip Patrick Werner (Sep 30 2020 at 08:33):

everything always is set to false, the others parameter change if set in the expunge call. Is this a bug, or is there another flag which needs to be enabled for expungeEverything to work?


Last updated: Apr 12 2022 at 19:14 UTC