Stream: implementers
Topic: Duplicate key handling VONK
Werner De Mulder (Jan 07 2021 at 14:29):
Hi all,
First of all, I wish you all a happy 2021!
I'm trying to post a bunch of FHIR bundles to my VONK CDR. During processing these messages, I am getting errors as I'm referring in all bundles to the same organization. In the logging, I can see the issue is caused by a duplicate key inserting in the vonk.entry table. I see this behavior for the Organization resource and Practitioner resource, which makes sense as those are recurring FHIR resources.
In the case I process bundle by bundle manually, the bundle is accepted without any problem. So no error message is reported related to the existence of a duplicate key, referencing to an Organization and Practitioner FHIR resources.
I already changed the VONK repository from SQLite to SQL, but the problem remains.
Because I can process FHIR bundles one by one manually, the content of the bundle seems to be fine. Unfortunately, processing multiple bundles in batch (+-70) introduces some errors.
Is it possible in VONK to manage somewhere this behavior?
Kind regards,
Werner
Christiaan Knaap (Feb 04 2021 at 09:22):
Hello Werner,
Edit - I understand your questions have been answered already by the Vonk support desk. If you have further questions, feel free to reach out.
Best, Christiaan Knaap
Last updated: Apr 12 2022 at 19:14 UTC