Stream: FHIR HL7 test servers
Topic: batch interaction
Chidamber Kumar (Oct 08 2021 at 15:43):
Hello
A quick question on batch interaction on test server.
I'm trying to publish this simple bundle of batch type. As per FHIR spec, it should return a batch-response type bundle, having first entry as operational outcome and 2nd entry as 201 created. To surprise, it is returning operational outcome as a single response. Request and response attached. Any insights would be appreciated.
HAPI server also shares the same behavior. I wonder if my understanding is somewhere incorrect.
I'm sending an invalid Patient.gender. As per spec, it should fail at Patient resource validation level rather than Bundle level.
Request and response attached.
request.json response.json
Thanks
Murugan (Feb 23 2022 at 11:51):
Hi Team, Need you suggestion on below my query.
I have bundle request, It has Patient and Observation resource data. I have applied FullURL: UUID concept in my request.
Patient FullURL value and Observation Subject/Patient reference value are same in the request.
When executing bundle request on POST, my data got inserted in the FHIR Server.
Now, I want to update same record again, I used same bundle request but different UUID during my update operation.
This time I got error ""Found result with Id '6d614178-d092-481d-8fdc-b0cdd44482b1', which did not match the provided Id '8a502164-4222-422b-853f-3f267907d87c'"
during data insert I used ID : 8a502164-4222-422b-853f-3f267907d87c
during update I used ID: 6d614178-d092-481d-8fdc-b0cdd44482b1
My Actual clarification is do we need to send same UUID for update existing record or we have any other solution for this.
Murugan (Feb 24 2022 at 05:45):
Hi Team
Murugan (Feb 28 2022 at 07:17):
Thanks @René Spronk
René Spronk (Feb 28 2022 at 07:40):
http://build.fhir.org/http.html#cond-update may be an option, an update based on the patient's identifier (and not the id of the resource). FullUrls in a bundle are not preserved by a receiving server, so they're useless in subsequent bundles.
Last updated: Apr 12 2022 at 19:14 UTC