Hi, I'm trying to query a Synapse PACS using FindSCU. Normally I use this to query for all studies of the patient with ID "30002347" between date 2009-08-18 and 2009-08-19 and it works Ok:
P:\dicomtools\findscu.exe --study -k 0008,0052=STUDY -k 0010,0020="30002347" -k 0008,0020="20090818-20090819" -k 0008,0061=* -k 0020,000D -k 0020,0010 -aet QrRisSCU2 -aec SYNAPSEDICOMSCP 192.168.0.123 104
This retrieves the list of studies of this patient, but only if them have AccessionNumber. For example, if the patient with ID 12345 have studies without Acc#, the query results in a null string.
Does anyone knows how to create the query I'm needing?.
Thanks in advance,
Leonardo.
findscu without Accession Number
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi Leonardo,
the query you are using seems to be correct for what you are planning to do -- as far as I can see on first sight. Accession Number requires no special handling (and you are not even using the attribute for query) in the DICOM Query/Retrieve Protocol. Thus, I would think that this is either a bug in the PACS or the relation you assume between your empty query result and the Accession Number does not exist.
By the way, you can also do your query using dictionary names (if you do not already know). For Example, instead of -k 0008,0020="20090818-20090819" you can write -k StudyDate="20090818-20090819".
Regards,
Michael
the query you are using seems to be correct for what you are planning to do -- as far as I can see on first sight. Accession Number requires no special handling (and you are not even using the attribute for query) in the DICOM Query/Retrieve Protocol. Thus, I would think that this is either a bug in the PACS or the relation you assume between your empty query result and the Accession Number does not exist.
By the way, you can also do your query using dictionary names (if you do not already know). For Example, instead of -k 0008,0020="20090818-20090819" you can write -k StudyDate="20090818-20090819".
Regards,
Michael
Who is online
Users browsing this forum: Bing [Bot] and 1 guest