Patient vs Study Level C-Move Fail (VirtualServer)

  • I am trying to get a virtual server to work when querying a cardiology system. When I query and C-Move at a Patient level everything works ok. When I query and C-Move at a Study level I get a failure (see below for examples). Anybody got any ideas what I am doing wrong?


    Thanks!


    Matt



    Study Level Query
    *****************
    *****************


    2/17/2017 3:18:12 PM [CONQUESTSRV1]
    2/17/2017 3:18:12 PM [CONQUESTSRV1] UPACS THREAD 42: STARTED AT: Fri Feb 17 15:18:12 2017
    2/17/2017 3:18:12 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 4
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1" 1
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.1" 1
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.1" 1
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Presentation Context 3 "1.2.840.10008.5.1.4.31" 1
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Server Command := 0020
    2/17/2017 3:18:12 PM [CONQUESTSRV1] Message ID := 0003
    2/17/2017 3:18:12 PM [CONQUESTSRV1] (PatientRootQuery) search level: STUDY
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Virtualquery: processing response from server: TDCCPACAP001
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Query On Study
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Issue Query on Columns: DICOMStudies.StudyDate, DICOMStudies.PatientNam, DICOMStudies.PatientID
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Values: DICOMStudies.StudyDate = '20170210' and DICOMStudies.PatientID = '12345678'
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Tables: DICOMStudies
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Sorting (DICOMStudies.PatientNam) DoSort := 1
    2/17/2017 3:18:13 PM [CONQUESTSRV1] Records = 1
    2/17/2017 3:18:13 PM [CONQUESTSRV1] C-Find (PatientRoot) located 1 records
    2/17/2017 3:18:13 PM [CONQUESTSRV1] UPACS THREAD 42: ENDED AT: Fri Feb 17 15:18:13 2017
    2/17/2017 3:18:13 PM [CONQUESTSRV1] UPACS THREAD 42: TOTAL RUNNING TIME: 1 SECONDS


    Study Level Retrieve
    ********************
    ********************



    2/17/2017 3:18:52 PM [CONQUESTSRV1]
    2/17/2017 3:18:52 PM [CONQUESTSRV1] UPACS THREAD 43: STARTED AT: Fri Feb 17 15:18:52 2017
    2/17/2017 3:18:52 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 4
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1" 1
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.1" 1
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.1" 1
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Presentation Context 3 "1.2.840.10008.5.1.4.31" 1
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Server Command := 0020
    2/17/2017 3:18:52 PM [CONQUESTSRV1] Message ID := 0003
    2/17/2017 3:18:52 PM [CONQUESTSRV1] (PatientRootQuery) search level: STUDY
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Virtualquery: processing response from server: TDCCPACAP001
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Query On Study
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Issue Query on Columns: DICOMStudies.StudyDate, DICOMStudies.PatientNam, DICOMStudies.PatientID
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Values: DICOMStudies.StudyDate = '20170210' and DICOMStudies.PatientID = '12345678'
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Tables: DICOMStudies
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Sorting (DICOMStudies.PatientNam) DoSort := 1
    2/17/2017 3:18:53 PM [CONQUESTSRV1] Records = 1
    2/17/2017 3:18:53 PM [CONQUESTSRV1] C-Find (PatientRoot) located 1 records
    2/17/2017 3:18:53 PM [CONQUESTSRV1] UPACS THREAD 43: ENDED AT: Fri Feb 17 15:18:53 2017
    2/17/2017 3:18:53 PM [CONQUESTSRV1] UPACS THREAD 43: TOTAL RUNNING TIME: 1 SECONDS
    2/17/2017 3:18:55 PM [CONQUESTSRV1]
    2/17/2017 3:18:55 PM [CONQUESTSRV1] UPACS THREAD 44: STARTED AT: Fri Feb 17 15:18:55 2017
    2/17/2017 3:18:55 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 3
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.2" 1
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.2" 1
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.2" 1
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Server Command := 0021
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Message ID := 0005
    2/17/2017 3:18:55 PM [CONQUESTSRV1] C-Move Destination: "CONQUESTSRV2 "
    2/17/2017 3:18:55 PM [CONQUESTSRV1] (QualifyOn) (mapped) IP:10.25.93.188, PORT:5679
    2/17/2017 3:18:55 PM [CONQUESTSRV1] MyPatientRootRetrieveGeneric :: SearchOn
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Query On Image
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Issue Query on Columns: DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.StudyDate, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceName
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Values: DICOMStudies.StudyDate = '20170210' and DICOMStudies.PatientID = '12345678' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInst
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Tables: DICOMImages, DICOMSeries, DICOMStudies
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Records = 0
    2/17/2017 3:18:55 PM [CONQUESTSRV1] Retrieve: move search failed
    2/17/2017 3:18:55 PM [CONQUESTSRV1] C-Move (PatientRoot)
    2/17/2017 3:18:55 PM [CONQUESTSRV1] UPACS THREAD 44: ENDED AT: Fri Feb 17 15:18:55 2017
    2/17/2017 3:18:55 PM [CONQUESTSRV1] UPACS THREAD 44: TOTAL RUNNING TIME: 0 SECONDS




    Patient Level Query
    *******************
    *******************



    2/17/2017 3:19:34 PM [CONQUESTSRV1]
    2/17/2017 3:19:34 PM [CONQUESTSRV1] UPACS THREAD 45: STARTED AT: Fri Feb 17 15:19:34 2017
    2/17/2017 3:19:34 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 4
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1" 1
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.1" 1
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.1" 1
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Presentation Context 3 "1.2.840.10008.5.1.4.31" 1
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Server Command := 0020
    2/17/2017 3:19:34 PM [CONQUESTSRV1] Message ID := 0003
    2/17/2017 3:19:34 PM [CONQUESTSRV1] (PatientRootQuery) search level: PATIENT
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Virtualquery: processing response from server: TDCCPACAP001
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Query On Patient
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Issue Query on Columns: DICOMPatients.PatientNam, DICOMPatients.PatientID
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Values: DICOMPatients.PatientID = '12345678'
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Tables: DICOMPatients
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Sorting (DICOMPatients.PatientNam) DoSort := 1
    2/17/2017 3:19:35 PM [CONQUESTSRV1] Records = 1
    2/17/2017 3:19:35 PM [CONQUESTSRV1] C-Find (PatientRoot) located 1 records
    2/17/2017 3:19:35 PM [CONQUESTSRV1] UPACS THREAD 45: ENDED AT: Fri Feb 17 15:19:35 2017
    2/17/2017 3:19:35 PM [CONQUESTSRV1] UPACS THREAD 45: TOTAL RUNNING TIME: 1 SECONDS



    Patient Level Retrieve
    **********************
    **********************



    2/17/2017 3:20:10 PM [CONQUESTSRV1]
    2/17/2017 3:20:10 PM [CONQUESTSRV1] UPACS THREAD 46: STARTED AT: Fri Feb 17 15:20:10 2017
    2/17/2017 3:20:10 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 4
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.1" 1
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.1" 1
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.1" 1
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Presentation Context 3 "1.2.840.10008.5.1.4.31" 1
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Server Command := 0020
    2/17/2017 3:20:10 PM [CONQUESTSRV1] Message ID := 0003
    2/17/2017 3:20:10 PM [CONQUESTSRV1] (PatientRootQuery) search level: PATIENT
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Virtualquery: processing response from server: TDCCPACAP001
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Query On Patient
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Issue Query on Columns: DICOMPatients.PatientNam, DICOMPatients.PatientID
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Values: DICOMPatients.PatientID = '12345678'
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Tables: DICOMPatients
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Sorting (DICOMPatients.PatientNam) DoSort := 1
    2/17/2017 3:20:11 PM [CONQUESTSRV1] Records = 1
    2/17/2017 3:20:11 PM [CONQUESTSRV1] C-Find (PatientRoot) located 1 records
    2/17/2017 3:20:11 PM [CONQUESTSRV1] UPACS THREAD 46: ENDED AT: Fri Feb 17 15:20:11 2017
    2/17/2017 3:20:11 PM [CONQUESTSRV1] UPACS THREAD 46: TOTAL RUNNING TIME: 1 SECONDS
    2/17/2017 3:20:13 PM [CONQUESTSRV1]
    2/17/2017 3:20:13 PM [CONQUESTSRV1] UPACS THREAD 47: STARTED AT: Fri Feb 17 15:20:13 2017
    2/17/2017 3:20:13 PM [CONQUESTSRV1] A-ASSOCIATE-RQ Packet Dump
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Calling Application Title : "CONQUESTSRV2 "
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Called Application Title : "CONQUESTSRV1 "
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Number of Proposed Presentation Contexts: 3
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.1.2" 1
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.2" 1
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Presentation Context 2 "1.2.840.10008.5.1.4.1.2.3.2" 1
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Server Command := 0021
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Message ID := 0005
    2/17/2017 3:20:13 PM [CONQUESTSRV1] C-Move Destination: "CONQUESTSRV2 "
    2/17/2017 3:20:13 PM [CONQUESTSRV1] (QualifyOn) (mapped) IP:10.25.93.188, PORT:5679
    2/17/2017 3:20:13 PM [CONQUESTSRV1] MyPatientRootRetrieveGeneric :: SearchOn
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Virtualquery: processing response from server: TDCCPACAP001
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Virtualquery: cleaning response from server: TDCCPACAP001 -9983 48
    2/17/2017 3:20:13 PM [CONQUESTSRV1] FreeStore Left 108621 on D:\
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Virtual query (TDCCPACAP001) added - 12345678\1.2.826.0.1.3680043.8.208.1998.20170210135622138.1.1_0001_000000_14873664130005.dcm
    2/17/2017 3:20:13 PM [CONQUESTSRV1] FreeStore Left 108621 on D:\
    2/17/2017 3:20:13 PM [CONQUESTSRV1] Virtual query (TDCCPACAP001) added - 12345678\1.2.826.0.1.3680043.8.208.1998.201702140656571.1.2_0002_000000_14873664130006.dcm
    2/17/2017 3:20:13 PM [CONQUESTSRV1] FreeStore Left 108621 on D:\





    DICOM.INI
    *************
    *************


    # This file contains configuration information for the DICOM server
    # Do not edit unless you know what you are doing


    [sscscp]
    MicroPACS = sscscp


    # Network configuration: server name and TCP/IP port#
    MyACRNema = CONQUESTSRV1
    TCPPort = 5678


    # Host, database, username and password for database
    SQLHost = localhost
    SQLServer = D:\CardioPACSRouter\Data\dbase\conquest.db3
    Username =
    Password =
    SqLite = 1
    DoubleBackSlashToDB = 0
    UseEscapeStringConstants = 0


    # Configure server
    ImportExportDragAndDrop = 1
    ZipTime = 05:
    UIDPrefix = 1.2.826.0.1.3680043.2.135.736366.58087674
    EnableComputedFields = 1


    FileNameSyntax = 4


    # Configuration of compression for incoming images and archival
    DroppedFileCompression = un
    IncomingCompression = un
    ArchiveCompression = un


    # For debug information
    PACSName = CONQUESTSRV1
    OperatorConsole = 127.0.0.1
    DebugLevel = 0


    # Configuration of disk(s) to store images
    MAGDeviceFullThreshHold = 30
    MAGDevices = 1
    MAGDevice0 = D:\CardioPACSRouter\Data\


    # Configuration of the virtual server
    ForwardAssociationLevel = SERIES
    ForwardAssociationCloseDelay = 60
    ForwardAssociationRefreshDelay = 3600


    VirtualServerFor0 = TDCCPACAP001,CACHESTUDIES,CACHESERIES,NONVIRTUAL
    VirtualServerPerSeries0 = 5
    # OverlapVirtualGet = 10
    # CacheVirtualData = 1

  • Thanks Marcel!


    My limitations are that the querying system will ONLY perform a study level Q/R and the system that the virtual server is querying will ONLY accept a patient level Q/R.


    Is there a way to transform the study level Q/R to a patient level Q/R in the virtual server?


    Study level Q/R >>> Conquest Virtual Server >>>> Patient Level QR to cardiology system...


    Thanks,


    Matt

  • Hm,


    tricky question. The caching flags split a patient query into multiple study ones, so you may be better of turning them off. I guess you can try QueryConverter0 to change the contents of incoming queries.


    Also I find it strange that study queries are not accepted. Often they are accepted if you pass a study UID. Have you tried that?


    Marcel

  • Thanks Marcel.....


    So now I have to show my ignorance..... :)


    How would I pass the SUID? I have no control over the original study level query format so I cannot do it at the source. Can you give me an idea of the syntax I would use with a queryconverter to fix this?


    Thanks,


    Matt

  • Hi Matt,


    in the windows GUI, if you double click the labels next to the data entry boxes (e.g. series number), you can query in UID mode. I.e., list and pass UIDs of study serir or instance.


    Marcel

Participate now!

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