I have dcmqrscp running with -XF option which checks query validity.
While testing the keys allowed on diflerent query levels I ran the query:
findscu -S -aec SIMON_PC -aet SIMON_PC 213.165.94.158 104 -k QueryRetrieveLevel=STUDY -k PatientName -k PatientID=7432 -k StudyID
and got the response from the server (no errors). Is it a valid query (neither PatientName nor PatientId belog to STUDY level)
I: ---------------------------
I: Find Response: 1 (Pending)
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
I: (0008,0054) AE [SIMON_PC] # 8, 1 RetrieveAETitle
I: (0010,0010) PN [DVOINENKO O V ] # 14, 1 PatientName
I: (0010,0020) LO [7432] # 4, 1 PatientID
I: (0020,0010) SH [7432] # 4, 1 StudyID
I:
BUT if I run the query with "-k StudyID" removed, server gives an error:
E: findSCP: Database: startFindRequest Failed (Failed: IdentifierDoesNotMatchSOPClass):
Does it mean that at least one attribute belonging to the specified level (STUDY) must be presented in the query ?
If so are the attribute from the parent level (PARENT) allowed ?
Thanks in advance
Simon
are attributes from Parental Level allowed ?
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: are attributes from Parental Level allowed ?
Hi,
try to include Study Instance UID in your query, it is the unique key for STUDY level queries.
Best,
Michael
try to include Study Instance UID in your query, it is the unique key for STUDY level queries.
Best,
Michael
Re: are attributes from Parental Level allowed ?
Thanks Michael...
So it is legal to specify -k PatientName, patientID when querying on STUDY level, because they belong to parental level of querying (PATIENT) ?
Thanks again
Simon
So it is legal to specify -k PatientName, patientID when querying on STUDY level, because they belong to parental level of querying (PATIENT) ?
Thanks again
Simon
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: are attributes from Parental Level allowed ?
No, it is legal because in Study Root Q/R Information Model they belong to STUDY level.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest