New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a patient via transaction while deleting all of their resources sometimes fails #253

Closed
wdebeau1 opened this Issue Nov 7, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@wdebeau1
Collaborator

wdebeau1 commented Nov 7, 2015

I'm not sure whether order is important, but if you pull all of a patient's resources, then create a bundle deleting all of them, including the patient, it can fail because one of the resources being deleted references the patient.

https://www.hl7.org/fhir/http.html#transaction states that "The outcome of the processing the transaction SHALL NOT depend on the order of the resources in the transaction."

Removing the patient from the initial transaction then deleting the patient after the transaction works, so there's definitely not some lingering "other" resource holding onto the Patient.

@wdebeau1 wdebeau1 added the bug label Nov 7, 2015

@jamesagnew jamesagnew closed this in 35a6b4d Nov 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment