Skip to content
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

Update Patient RESTful Service : reject attempt to add an Issuer of Patient ID to a patient if HL7 track change patient id is enabled #950

Closed
vrindanayak opened this issue Sep 5, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@vrindanayak
Copy link
Member

vrindanayak commented Sep 5, 2017

Reject attempt to add/remove an Issuer of Patient ID to a patient with HL7 error status 409 Conflict, if HL7 track change patient id is enabled.

Otherwise the merge operation will fail with

Caused by: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID CPLX_Pnn
	at org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(PatientServiceEJB.java:149)
	at org.dcm4chee.arc.patient.impl.PatientServiceEJB.mergePatient(PatientServiceEJB.java:182)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  • in UI : causes newly created patient to reflect studies of earlier patient even when merging old to new fails
@vrindanayak vrindanayak added the bug Something isn't working label Sep 5, 2017
@vrindanayak vrindanayak added this to the 5.10.6 milestone Sep 5, 2017
@vrindanayak vrindanayak self-assigned this Sep 5, 2017
@gunterze gunterze changed the title Update Patient RESTful Service : fails when adding an Issuer of Patient ID to a patient Update Patient RESTful Service : reject attempt to add an Issuer of Patient ID to a patient if HL7 track change patient id is enabled Sep 6, 2017
@gunterze gunterze added enhancement New feature or request and removed bug Something isn't working labels Sep 6, 2017
vrindanayak added a commit that referenced this issue Sep 6, 2017
…er of Patient ID to a patient if HL7 track change patient id is enabled
@vrindanayak vrindanayak reopened this Sep 6, 2017
vrindanayak added a commit that referenced this issue Sep 6, 2017
…er of Patient ID to a patient if HL7 track change patient id is enabled
vrindanayak added a commit that referenced this issue Sep 11, 2017
…er of Patient ID to a patient if HL7 track change patient id is enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants