Question
· Jun 26, 2017

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

Discussion (2)0
Log in or sign up to continue

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.