Worklist Query

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
razor
Posts: 4
Joined: Thu, 2009-11-19, 15:36

Worklist Query

#1 Post by razor »

Querying the MWL on a PACS using DCMTK (examples are anonymous) with the following command:

C:\>findscu.exe -v -aec PACS IP 4001 query.dcm


RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0050) SH [334532] # 6, 1 AccessionNumber
(0008,0090) PN [John^Doe^J ] # 14, 1 ReferringPhysiciansName
(0010,0010) PN [Doe^John^E] # 16, 1 PatientsName
(0010,0020) LO [89273] # 6, 1 PatientID
(0010,0030) DA [19210101] # 8, 1 PatientsBirthDate
(0010,0040) CS [F ] # 2, 1 PatientsSex
.....and so on but no StudyDate return

RESPONSE: 2 (Pending)

.....


When attempting to query with a study date return key:
C:\>findscu.exe -v -k 0008,0020="20091210" -aec PACS IP 4001 wlquery.dcm

The MWL query returns the full work list.

When attempting to query for the PatientID the PID matching appointments are only sent over.


The following is the Dicom Data set present in the hard data and clearly the StudyDate is present.

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0020) DA [20091210] # 8, 1 StudyDate
(0008,0030) TM [152000.000] # 10, 1 StudyTime
(0008,0050) SH [334532] # 6, 1 AccessionNumber
(0008,0090) PN [John^Doe^J] # 14, 1 ReferringPhysiciansName
(0008,1030) LO [Follow up] # 20, 1 StudyDescription
(0010,0010) PN [Doe^John^] # 18, 1 PatientsName
(0010,0020) LO [89273] # 6, 1 PatientID
(0010,0030) DA [19210101] # 8, 1 PatientsBirthDate
(0010,0040) CS [F] # 2, 1 PatientsSex
(0020,000d) UI [1.2.840.1230494.2.0102010numbers here] # 42, 1 StudyInstanceUID


Could you point me to a working query file to test this with. For Validation purposes i would like to confirm this is functioning on the PACS.


Using the findscu modified on 10/19/2007

Thanks.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

As you can read in the DICOM standard (Table K.6-1 in PS 3.4), Study Date is neither a required matching key (O) nor a required return key (3). So you should check the conformance statement of the SCP ...

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest