error trying to query FHIR repository
Hi
I get always the following error when I query our FHIR repository with a specific TAG
/csp/healthshare/fhirserver/fhir/Encounter?_tag=
ERROR #5002: Cache error: <INVALID OREF>zSearch+86 ^HS.FHIR.Repository.Operations.1
I've deleted rows from cache database. On the table HS_FHIR_Repository_Resource.Encounter as we had duplicate records...
Any help would be great
Kind Regards,
Joao Palma
Comments
Hi Joao,
Probably what has happened is you've corrupted the resource storage by doing a physical delete against the storage table. If you need to delete a resource in the resource repository, the correct way to do this is via the delete interaction:
http://hl7.org/fhir/DSTU2/http.html#delete
http://hl7.org/fhir/STU3/http.html#delete
STU3 is the current version of FHIR. The version currently supported by HealthShare is DSTU2.
Thank you Jorge.
I really wanted my database clean as it is a new project. But, we can live with that.
If you don't mind answering this as well, is it possible to delete all encounters in a bundle easily?
I couldn't find how to do that easily...
Kind regards