sh /var/lib/dcm4chee/bin/twiddle.sh -s localhost -u admin -p pass invoke "dcm4chee.archive:service=ContentEditService" moveStudyToTrash $study
$ curl -v -X POST 'http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.2.840.113674.1115.261.200/reject/113039%5EDCM'* Trying 127.0.0.1:8080...* TCP_NODELAY set* Connected to localhost (127.0.0.1) port 8080 (#0)> POST /dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.2.840.113674.1115.261.200/reject/113039%5EDCM HTTP/1.1> Host: localhost:8080> User-Agent: curl/7.65.3> Accept: */*>* Mark bundle as not supporting multiuse< HTTP/1.1 200 OK< Connection: keep-alive< Access-Control-Allow-Origin: *< Access-Control-Allow-Headers: origin, content-type, accept, authorization< Access-Control-Allow-Credentials: true< Content-Type: application/json< Content-Length: 12< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS, HEAD< Date: Mon, 23 Dec 2019 09:04:58 GMT<* Connection #0 to host localhost left intact{"count":10}
Hello ! there is a way to delete studies in dcm4chee-arc-5 from the command line ?like we can do in dcm4chee2 with twiddle:
sh /var/lib/dcm4chee/bin/twiddle.sh -s localhost -u admin -p pass invoke "dcm4chee.archive:service=ContentEditService" moveStudyToTrash ' . $studyThanks !
--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/19ab39d9-821b-4f2a-a60c-4fec636c8f65%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm...@googlegroups.com.
Hi, I’m searching the same kind of tool to delete duplicate patient. I can’t delete them from the UI.
Kind regards.
Antoine
De : <dcm...@googlegroups.com> au nom de Clédio Moreira Paiva <cled...@gmail.com>
Répondre à : "dcm...@googlegroups.com" <dcm...@googlegroups.com>
Date : mardi, 24 décembre 2019 à 20:45
À : dcm4che <dcm...@googlegroups.com>
Objet : Re: [dcm4che-group] Deleting Studies in dcm4chee-arc with command line, like i do with twiddle in dcm4chee2 ?
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/7f32aabe-88bd-42b9-9abc-b86d60082ad7%40googlegroups.com.
--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/9ae3a171-928a-4e23-b9c9-afee2e0302f4%40googlegroups.com.
Thank you for the reply.
Do you mean that it should be impossible to have duplicate even if the resful post is wrong ? The archive should prevent duplicate patient to occur ?
It looks like when I try to update patient informations then it creates duplicates…
Antoine
De : 'Gunter Zeilinger' via dcm4che <dcm...@googlegroups.com>
Répondre à : "dcm...@googlegroups.com" <dcm...@googlegroups.com>
Date : vendredi 27 décembre 2019 à 16:22
À : "dcm...@googlegroups.com" <dcm...@googlegroups.com>
Objet : Re: [dcm4che-group] Re: Deleting Studies in dcm4chee-arc with command line, like i do with twiddle in dcm4chee2 ?
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/C906C744-7BA2-46D4-A556-261AA1FD0A71%40gmail.com.
Thank you I will open an issue.
Now I’m shy to use the put method to update patient tag because it could block my database. It happened 3 times.
I will do it one more time and if it fails send the command to the issue list.
Do you have a well explain webpage to connect to the sql data base with ssh command ?
I would like to learn how to clean the database in case it happens again.
Kind regards.
Antoine
De : 'Gunter Zeilinger' via dcm4che <dcm...@googlegroups.com>
Répondre à : <dcm...@googlegroups.com>
Date : vendredi, 27 décembre 2019 à 19:41
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/96578655-3DAB-4F54-87AF-1FDF235C6189%40gmail.com.
Thank you.
Is there a wiki page for that ?
Antoine
De : 'Gunter Zeilinger' via dcm4che <dcm...@googlegroups.com>
Répondre à : "dcm...@googlegroups.com" <dcm...@googlegroups.com>
Date : vendredi, 27 décembre 2019 à 21:35
pacsdb=# select patient.pk, patient_id_fk, pat_name_fk, dicomattrs_fk from patient join patient_id on patient.patient_id_fk = patient_id.pk where pat_id='583295';pk | patient_id_fk | pat_name_fk | dicomattrs_fk----+---------------+-------------+---------------5 | 5 | 7 | 512 | 2 | 2 | 2(2 rows)pacsdb=# update study set patient_fk=2 where patient_fk=5;UPDATE 1pacsdb=# delete from patient where pk=5;DELETE 1pacsdb=# delete from patient_id where pk=5;DELETE 1pacsdb=# delete from dicomattrs where pk=51;DELETE 1pacsdb=# select pk from soundex_code where person_name_fk=7;pk----1615(2 rows)pacsdb=# delete from soundex_code where pk in (15, 16);DELETE 2pacsdb=# delete from person_name where pk=7;DELETE 1
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/6930211E-B904-4D84-A60F-583C142C1771%40gmail.com.
Thank you very much. I’ll try it.
Antoine
De : 'Gunter Zeilinger' via dcm4che <dcm...@googlegroups.com>
Répondre à : "dcm...@googlegroups.com" <dcm...@googlegroups.com>
Date : vendredi, 27 décembre 2019 à 22:20