delete two patients with same PatientID

85 views
Skip to first unread message

adi

unread,
Jun 23, 2020, 3:27:46 PM6/23/20
to dcm4che
I ended up with two patients having same PatientID.
Now I would like to delete/remove them but I am running into this error:

"
2020-06-23 14:07:10,703 INFO  [org.dcm4chee.arc.qido.QidoRS] (default task-60) SearchForStudies: 0 Matches
2020-06-23 14:07:17,905 INFO  [org.dcm4chee.arc.iocm.rs.IocmRS] (default task-60) Process DELETE /.../patients/658761?null from nu...@192.168.91.131
2020-06-23 14:07:17,910 ERROR [org.jboss.as.ejb3.invocation] (default task-60) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(org.dcm4che3.data.IDWithIssuer) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException: javax.ejb.EJBException: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID 658761
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:258)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:374)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:156)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss...@3.1.3.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72)
        at org.jboss.as...@19.1.0.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)

"
Any suggestions on how can I remove these patients? Thanks.

adi

unread,
Jun 24, 2020, 7:32:02 AM6/24/20
to dcm4che
I forgot to add that I am using version 5.22.2.


On Tuesday, June 23, 2020 at 3:27:46 PM UTC-4, adi wrote:
I ended up with two patients having same PatientID.
Now I would like to delete/remove them but I am running into this error:

"
2020-06-23 14:07:10,703 INFO  [org.dcm4chee.arc.qido.QidoRS] (default task-60) SearchForStudies: 0 Matches
2020-06-23 14:07:17,905 INFO  [org.dcm4chee.arc.iocm.rs.IocmRS] (default task-60) Process DELETE /.../patients/658761?null from nu...@192.168.91.131
2020-06-23 14:07:17,910 ERROR [org.jboss.as.ejb3.invocation] (default task-60) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(org.dcm4che3.data.IDWithIssuer) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException: javax.ejb.EJBException: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID 658761
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:258)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:374)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:156)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss...@3.1.3.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72)
        at org.jboss.as.weld.common@19.1.0.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)

adi

unread,
Jun 25, 2020, 11:40:58 PM6/25/20
to dcm4che
I deleted their studies but I still cannot delete these patient entries.

art_data

unread,
Jun 26, 2020, 12:22:29 AM6/26/20
to dcm4che
I'm interested in this question too

пятница, 26 июня 2020 г. в 13:40:58 UTC+10, adi:
I deleted their studies but I still cannot delete these patient entries.


On Wednesday, June 24, 2020 at 7:32:02 AM UTC-4, adi wrote:
I forgot to add that I am using version 5.22.2.

On Tuesday, June 23, 2020 at 3:27:46 PM UTC-4, adi wrote:
I ended up with two patients having same PatientID.
Now I would like to delete/remove them but I am running into this error:

"
2020-06-23 14:07:10,703 INFO  [org.dcm4chee.arc.qido.QidoRS] (default task-60) SearchForStudies: 0 Matches
2020-06-23 14:07:17,905 INFO  [org.dcm4chee.arc.iocm.rs.IocmRS] (default task-60) Process DELETE /.../patients/658761?null from nu...@192.168.91.131
2020-06-23 14:07:17,910 ERROR [org.jboss.as.ejb3.invocation] (default task-60) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(org.dcm4che3.data.IDWithIssuer) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException: javax.ejb.EJBException: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID 658761
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:258)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:374)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:156)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss...@3.1.3.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72)
        at org.jboss.as...@19.1.0.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)

Felipe Salazar

unread,
Jun 26, 2020, 2:30:40 AM6/26/20
to dcm...@googlegroups.com
Not sure if it is the right way yo do it, but, I deleted from patient patient_id and soundex tables from database the merged patient associated with the same patient_id. That was the only way. Maybe with the new patients tab in ui2 on the latests versions it can be improved.

El mié., 24 de junio de 2020 6:32 a. m., adi <adi...@gmail.com> escribió:
I forgot to add that I am using version 5.22.2.

On Tuesday, June 23, 2020 at 3:27:46 PM UTC-4, adi wrote:
I ended up with two patients having same PatientID.
Now I would like to delete/remove them but I am running into this error:

"
2020-06-23 14:07:10,703 INFO  [org.dcm4chee.arc.qido.QidoRS] (default task-60) SearchForStudies: 0 Matches
2020-06-23 14:07:17,905 INFO  [org.dcm4chee.arc.iocm.rs.IocmRS] (default task-60) Process DELETE /.../patients/658761?null from nu...@192.168.91.131
2020-06-23 14:07:17,910 ERROR [org.jboss.as.ejb3.invocation] (default task-60) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(org.dcm4che3.data.IDWithIssuer) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException: javax.ejb.EJBException: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID 658761
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:258)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:374)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:156)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss...@3.1.3.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72)
        at org.jboss.as...@19.1.0.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
        at org.jboss....@1.5.2.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jbos...@19.1.0.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)

"
Any suggestions on how can I remove these patients? Thanks.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/cfa47fd8-3e92-44c6-8fb6-1dcf64bfac87o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages