I can't delete study in 2.17.3

6,466 views
Skip to first unread message

bjpl

unread,
Feb 8, 2013, 6:36:06 AM2/8/13
to dcm...@googlegroups.com
When I try to delete study from web3 interface i receve information:

"Deletion of selected entities could not be done because one or more of them already exist in the trash with different patient IDs. Please permanently delete these manually from the trash and then redo the deletion in the folder."

Trash is empty. I have 3 patients in archive. I'm using mysql...

topher

unread,
Feb 9, 2013, 5:15:20 PM2/9/13
to dcm...@googlegroups.com
I'm getting the same error.  I have a fresh install of 2.17.3-mysql on windows x64. I cant delete images or patients from the database. I get the same error message:


"Deletion of selected entities could not be done because one or more of them already exist in the trash with different patient IDs. Please permanently delete these manually from the trash and then redo the deletion in the folder. "

My trash is empty. I also get the following error in the logs: "Caused by: javax.ejb.EJBException: Series already exists in trash with different issuer of patient ID: SeriesInstanceUID: 1.2.840.113619.2.55.3.2831158784.625.1360016984.102" even though my trash is empty.


Any ideas?


zaka

unread,
Feb 10, 2013, 12:54:10 AM2/10/13
to dcm...@googlegroups.com
There is an issue report WEB-948 with the proposal to adapt warning for move entity to trash in case w/o pat_id_issuer.
The correct warning should be "Deletion of selected entities could not be done, because action is not allowed for patients w/o Issuer of Patient ID. Please check archive configuration."
So you have to manually append the "Issuer of patient ID" attribute with [0010, 0021] tag to successfully delete selected entities.

Concerning this problem, I also have a question - is it possible to configure archive to automatically update the "Issuer of patient ID" attribute with some information?

Sorry for my English. ;)

пятница, 8 февраля 2013 г., 17:36:06 UTC+6 пользователь bjpl написал:

topher

unread,
Feb 10, 2013, 3:29:13 PM2/10/13
to dcm...@googlegroups.com
Thanks for the tip, I can delete studies now. For others who have the same problem you can allow deletion of studies without an issuerofpatid by going to the webconfig service and setting trustPatientIdWithoutIssuer=true.

Zaka - you can automatically update attributes as images are received. See this thread: http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=667

Chuck Smith

unread,
May 27, 2013, 2:01:40 AM5/27/13
to dcm...@googlegroups.com
Thanks for this tip. Saved my night! :)

sabot54x

unread,
Jul 30, 2013, 2:41:04 PM7/30/13
to dcm...@googlegroups.com
I've been going nuts with this issue as well and want to avoid redoing all my setups with 3.0.4.
Quick question, where is trustPatientIdWithoutIssuer located in the webconfig? Is it under dcm4chee.archive or dcm4chee.web? What service?

Thanks!

fleetwoodfc

unread,
Jul 31, 2013, 6:37:45 AM7/31/13
to dcm...@googlegroups.com
jmx-console->dcm4chee-web->service=WebConfig

sabot54x

unread,
Jul 31, 2013, 3:19:52 PM7/31/13
to dcm...@googlegroups.com
Found it, I owe you all beers!

Thanks!

zacri...@gmail.com

unread,
Dec 21, 2020, 11:00:02 PM12/21/20
to dcm4che

Hi I have the same problem but this is more complicated because I couldn't delete it even I changed  "trustPatientIdWithoutIssuer=true". I tried to put in an patient issuer id  but it rejected.
RIght now I don't know what to do.
Is it ok to delete it from DB? 

Madushan

unread,
Dec 4, 2021, 12:44:27 PM12/4/21
to dcm4che
HI,

I have the same problem, But when I tried to set up the jmx-config, its moves to this error page. Please help me with how to get rid of this?

First screen: 

Screenshot_1.jpg

2. Screenshot_3.jpg



Screenshot_2.jpg

Madushan

unread,
Dec 12, 2021, 7:49:15 AM12/12/21
to dcm4che
Dear All 

Finally, I fixed the issue.


--------------------------------ACCESS JMX-CONSOLE--------------------------
                                ----Edit jmx-console.war----
1. Visit /opt/dcm4chee/server/default/deploy
2. unzip jmx-console into folder named 'jmx-console'
    unzip ./jmx-console.war ./jmx-console.war
3. Go into the newly extracted folder
        cd ./jmx-console.war/
4.backup existing 'inspectMBean.jsp'
        cp -v inspectMBean.jsp ./inspectMBean-ORIGINAL.jsp

5. Edit the file and change "replace" >>> "replaceAll" (You wil find one occurance)
6. Save the file
7. Create WAR file
        jar -cvf jmx-console.war *
8. Mv new file to the 'deploy' folder and remove earlier file.
9. Restart the DCM4CHEE
10. Enjoy
Reply all
Reply to author
Forward
0 new messages