Worklist Query Problem : Time (0040,0003)

  • Hello,


    I'm using the 1.4.15 version of Conquest.


    I try to use it as worklist server with toshiba modality.


    I have a problem when modality send me a request like that :


    [LOGOSWL] 0008,0060 2 CS Modality "US"
    [LOGOSWL] 0040,0001 6 AE ScheduledStationAETi "aplio "
    [LOGOSWL] 0040,0002 18 DA ScheduledProcedureSt "20101118-20101118 "
    [LOGOSWL] 0040,0003 12 TM ScheduledProcedureSt "0000-235959 "


    Conquest execute query :
    [LOGOSWL] Query On Modality WorkList
    [LOGOSWL] Issue Query on Columns: DICOMWorkList.Modality, DICOMWorkList.ScheduledA, DICOMWorkList.StartDate, DICOMWorkList.StartTime
    [LOGOSWL] Values: DICOMWorkList.Modality = 'US' and DICOMWorkList.ScheduledA = 'aplio' and DICOMWorkList.StartDate >= '20101118' and DICOMWorkList.StartDate <= '20101118' and DICOMWorkList.StartTime >= '0000' and DICOMWorkList.StartTime <= '235959'
    [LOGOSWL] Tables: DICOMWorkList
    [LOGOSWL] Sorting ((null)) DoSort := 0
    [LOGOSWL] Records = 0
    [LOGOSWL] C-Find (Modality Work List) located 0 records


    There is no record and if try with my own soft to try the request without time critere, Conquest find one record :


    [LOGOSWL] 0008,0060 2 CS Modality "US"
    [LOGOSWL] 0040,0001 6 AE ScheduledStationAETi "aplio "
    [LOGOSWL] 0040,0002 18 DA ScheduledProcedureSt "20101118-20101118 "
    [LOGOSWL] 0040,0003 0 TM ScheduledProcedureSt (empty)
    [LOGOSWL] Query On Modality WorkList
    [LOGOSWL] Issue Query on Columns: DICOMWorkList.Modality, DICOMWorkList.ScheduledA, DICOMWorkList.StartDate, DICOMWorkList.StartTime
    [LOGOSWL] Values: DICOMWorkList.Modality = 'US' and DICOMWorkList.ScheduledA = 'aplio' and DICOMWorkList.StartDate >= '20101118' and DICOMWorkList.StartDate <= '20101118'
    [LOGOSWL] Tables: DICOMWorkList
    [LOGOSWL] Sorting ((null)) DoSort := 0
    [LOGOSWL] 0008,0060 2 CS Modality "US"
    [LOGOSWL] 0040,0001 6 AE ScheduledStationAETi "aplio "
    [LOGOSWL] 0040,0002 8 DA ScheduledProcedureSt "20101118"
    [LOGOSWL] 0040,0003 4 TM ScheduledProcedureSt "1014"
    [LOGOSWL] Records = 1
    [LOGOSWL] First record of cleaned response:
    [LOGOSWL] 0008,0005 10 CS SpecificCharacterSet "ISO_IR 100"
    [LOGOSWL] 0008,0060 2 CS Modality "US"
    [LOGOSWL] 0008,1110 0 SQ ReferencedStudySeque Sequence Item
    [LOGOSWL] 0008,1120 0 SQ ReferencedPatientSeq Sequence Item
    [LOGOSWL] 0040,0001 6 AE ScheduledStationAETi "aplio "
    [LOGOSWL] 0040,0002 8 DA ScheduledProcedureSt "20101118"
    [LOGOSWL] 0040,0003 4 TM ScheduledProcedureSt "1014"
    [LOGOSWL] C-Find (Modality Work List) located 1 records


    What's wrong with the time critere : 0040,0003 4 TM ScheduledProcedureStartTime ??
    It's a big problem for me because the modality can't have its worklist.


    Regards


    Steve

  • Hi,


    I assume that there is no start time filled in in the worklist database, and therefore there is no match (any valid time would probably work). So <empty> is not beween '0000' and '235959'.


    You can try to add to dicom.ini (this function exists in 1 4.15):


    WorkListQueryConverter0 = ifequal "%V0040,0001","aplio"; delete 0040,0003


    This will remove the time component of the query, making it identical to your test setup.


    Good luck!


    Marcel

  • Hi, we are also experiencing problems using the Modality Worklist with a Toshiba Ultrasound unit. We are using version 1.4.16. I added the following line at the bottom of the dicom.ini file:


    WorkListQueryConverter0 = ifequal "%V0040,0001","TOSH_US"; delete 0040,0003


    and got the following log entry:


    6/03/2012 11:19:14 AM [CONQUESTSRV1]
    6/03/2012 11:19:14 AM [CONQUESTSRV1] UPACS THREAD 6: STARTED AT: Tue Mar 06 11:19:13 2012
    6/03/2012 11:19:14 AM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Calling Application Title : "TOSH_US "
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 28672
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 1
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.31" 1
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Server Command := 0020
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Message ID := 0007
    6/03/2012 11:19:14 AM [CONQUESTSRV1] WorkListQueryconverter0.0 executes: ifequal "","TOSH_US"
    6/03/2012 11:19:14 AM [CONQUESTSRV1] WorkListQueryconverter0.1 not executed because of previous statement

    6/03/2012 11:19:14 AM [CONQUESTSRV1] (ModalityWorkListQuery) search level:
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Query On Modality WorkList
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0008 0005 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0008 1110 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0008 1120 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0010 1030 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0010 21c0 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0032 1033 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0032 1064 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0038 0010 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0038 0050 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0038 0300 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0038 0400 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0038 0500 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 0004 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 0005 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 0008 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1002 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1004 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1005 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1006 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1007 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1008 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1009 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1010 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 1400 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2001 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2004 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2005 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2006 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2007 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2008 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2009 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2010 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 2400 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Queried item 0040 3001 is not in the database
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Issue Query on Columns: DICOMWorkList.AccessionN, DICOMWorkList.ReferringP, DICOMWorkList.PatientNam, DICOMWorkList.PatientID, DICOMWorkList.PatientBir, DICOMWorkList.PatientSex, DICOMWorkList.MedicalAle, DICOMWorkList.ContrastAl, DICOMWorkList.StudyInsta, DICOMWorkList.ReqPhysici, DICOMWorkList.ReqProcDes, DICOMWorkList.Modality, DICOMWorkList.ReqContras, DICOMWorkList.ScheduledA, DICOMWorkList.StartDate, DICOMWorkList.StartTime, DICOMWorkList.PerfPhysic, DICOMWorkList.SchedPSDes, DICOMWorkList.SchedPSID, DICOMWorkList.SchedStati, DICOMWorkList.SchedPSLoc, DICOMWorkList.PreMedicat, DICOMWorkList.SchedPSCom, DICOMWorkList.ReqProcID, DICOMWorkList.ReqProcPri
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Values: DICOMWorkList.Modality = 'US' and DICOMWorkList.StartDate >= '20120306' and DICOMWorkList.StartDate <= '20120306' and DICOMWorkList.StartTime >= '0000' and DICOMWorkList.StartTime <= '235959'
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Tables: DICOMWorkList
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Sorting (DICOMWorkList.PatientNam) DoSort := 1
    6/03/2012 11:19:14 AM [CONQUESTSRV1] Records = 0
    6/03/2012 11:19:14 AM [CONQUESTSRV1] C-Find (Modality Work List) located 0 records
    6/03/2012 11:19:14 AM [CONQUESTSRV1] UPACS THREAD 6: ENDED AT: Tue Mar 06 11:19:14 2012
    6/03/2012 11:19:14 AM [CONQUESTSRV1] UPACS THREAD 6: TOTAL RUNNING TIME: 1 SECONDS


    The DICOMWorklist table did contain one record which should have been found. Please note the first statement in blue - it appears the line added to the dicom.ini file has not worked as intended. I am not sure if we have the line in the dicom.ini file correct or if there is anything else we can do to find a solution. The Conquest Server is working satisfactorily with other appliances. We would be most appreciative of any assistance you can provide to get the Toshiba equipment working correctly.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!