Delete fhiroperation in transaction bundle is not working correctly

Thadani, Sanjay (Cognizant) 20 Reputation points
2023-12-01T12:18:44.2033333+00:00

When we try multiple transaction of delete through below scenario as follow:

1)Delete through ID:

DELETE Patient/1234

Output : Success

2)Delete through identifier:

DELETE Patient?identifier=system|value

Output: Below error message is shown on the response page

 "issue": [
        {
            "severity": "error",
            "code": "invalid",
            "diagnostics": "Requested operation 'Patient?identifier=437486' is not supported using DELETE."
        }
Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
166 questions
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 27,751 Reputation points
    2023-12-08T16:06:35.0766667+00:00

    @Thadani, Sanjay (Cognizant) Thanks for reaching out. The FHIR service currently doesn't support conditional delete as part of transaction bundles. I do see this is not mentioned in our documentation, which is a gap on our end. I will pass on the feedback to our docs team about adding this note in our documentation.

    We apologize for the inconvenience caused. you can use batch bundles instead of transaction bundles that supports conditional delete.

    I hope this answers your question and feel free to add a comment if you have any other questions. We would be happy to assist you. Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.