Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Help correctly make a FIND-RS request.

108 views
Skip to first unread message

Alieksandr Kuznietsov

unread,
May 9, 2024, 6:15:43 AM5/9/24
to dcm4che
I do not understand how to create a filter request correctly.
When I create a request without a filter, the result with all patients is returning to me.
http://dcm4chee-arc:8080/dcm4chee-arc/aets/XRAYTESTPACS/dimse/XRAYARCHIVE/patients?fuzzymatching=false&offset=0&includedefaults=true

But if I want to find, for example, a patient with ID 00100020=2813691624, I always get the answer that the request parameters are incorrect.
http://dcm4chee-arc:8080/dcm4chee-arc/aets/XRAYTESTPACS/dimse/XRAYARCHIVE/patients?filter=00100020%3D2813691624%3B&includefield=all&offset=0&includedefaults=true
Tell me which format of the filter line is correct.
This applies not only to these requests. I could not find in the documentation how to correctly form a filter line.
Sincerely, 
Alexander

kirill zemskoff

unread,
May 9, 2024, 7:13:44 AM5/9/24
to dcm4che
Do you want to search for studies or patients?

четверг, 9 мая 2024 г. в 13:15:43 UTC+3, alexandr.v...@gmail.com:

Alieksandr Kuznietsov

unread,
May 9, 2024, 9:56:30 AM5/9/24
to dcm4che
First patients, then studies and series.
I think the principle of constructing a filter string is the same.
Finding all patients or all studies is easy. There is no filter line. How to write the line itself?
Any of these options returns an error: 00100020=12345
"00100020=12345" "00100020"="12345" {00100020=12345}
How to write a request correctly?

четверг, 9 мая 2024 г. в 14:13:44 UTC+3, kirill....@gmail.com:

kirill zemskoff

unread,
May 9, 2024, 12:31:14 PM5/9/24
to dcm4che
for example, for patientID=12345, the string looks like filter=patientID%3D12345

четверг, 9 мая 2024 г. в 16:56:30 UTC+3, alexandr.v...@gmail.com:

Alieksandr Kuznietsov

unread,
May 9, 2024, 1:29:37 PM5/9/24
to dcm...@googlegroups.com

чт, 9 мая 2024 г. в 19:31, kirill zemskoff <kirill....@gmail.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/d5de9bd9-03ab-45d8-9dec-de0cf96e171bn%40googlegroups.com.
Снимок экрана_2024-05-09_20-20-09.png
Снимок экрана_2024-05-09_20-23-19.png
Снимок экрана_2024-05-09_20-22-28.png
Снимок экрана_2024-05-09_20-22-08.png

kirill zemskoff

unread,
May 9, 2024, 3:43:57 PM5/9/24
to dcm4che
Ok, don't use the word "filter", just add &PatientID=12345 to the query string
четверг, 9 мая 2024 г. в 20:29:37 UTC+3, alexandr.v...@gmail.com:

Alieksandr Kuznietsov

unread,
May 10, 2024, 3:30:29 AM5/10/24
to dcm...@googlegroups.com
I didn't invent the "filter" parameter :) .
If it is not used as you recommend, then all patients are eliminated, not just one.
The "filter" parameter is used not only in this service, but also in others, but it is not indicated anywhere how to write it correctly, or I was looking poorly :)

чт, 9 мая 2024 г. в 22:44, kirill zemskoff <kirill....@gmail.com>:
Снимок экрана_2024-05-10_10-27-29.png

kirill zemskoff

unread,
May 10, 2024, 5:01:23 AM5/10/24
to dcm4che
I use the REST API without the "filter" parameter and it works for me.

Returns everything without limits.

http://dcm4chee:8080/dcm4chee-arc/aets/MSKTEMP/dimse/DDE3090-HCYZKK3/patients?includedefaults=true&PatientID=AN00702895
Returns only the specified patient.

пятница, 10 мая 2024 г. в 10:30:29 UTC+3, alexandr.v...@gmail.com:

Alieksandr Kuznietsov

unread,
May 10, 2024, 6:18:50 AM5/10/24
to dcm...@googlegroups.com
Thank you.
is not working correctly. He stubbornly puts a “filter” on the output. And this also applies to the QIDO-RS service.

The standard DICOM describes what the query string should be, but I didn’t get around to it right away: https://dicom.nema.org/dicom/2013/output/chtml/part18/sect_6.7.html



пт, 10 мая 2024 г. в 12:01, kirill zemskoff <kirill....@gmail.com>:
Снимок экрана_2024-05-10_13-11-02.png
Снимок экрана_2024-05-10_13-11-54.png

Leonid Toporkov

unread,
May 24, 2024, 2:06:08 AM5/24/24
to dcm4che
pretty fun that you both discuss that in english ))


anyway the right link is:

http://<address>:<port>/dcm4chee-arc/aets/<AET>/dimse/<AET>/patients?PatientName=<patient name you look for>* or what is the same

?00100010=<patient name you look for>*

pls note that you may use wildcards if you need to.

same way you use other dicom tags/attrs to build filter

--
всем хорошего дня )

Alieksandr Kuznietsov

unread,
May 24, 2024, 2:54:00 AM5/24/24
to dcm...@googlegroups.com
Спасибо.
На английском чаще отвечают :)


пт, 24 мая 2024 г. в 09:06, Leonid Toporkov <leonid....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages