Posts by christian30

    Hello,


    we have a NM modality in our Nuclear Medicial Departement. Storing of dcm Files into the Conquest works fine, the query from the modality shows available studies, but if we try to recieve images, the dgate.exe causes an error. The log file shows that output:


    > [NUKPACS] Connected by address: 17b2a8c0
    > [NUKPACS] Testing transfer: '1.2.840.10008.1.2' against list #0 =
    > '1.2.840.10008.1.2'
    > [NUKPACS] Testing transfer: '1.2.840.10008.1.2' against list #0 =
    > '1.2.840.10008.1.2'
    > [NUKPACS]
    > [NUKPACS] UPACS THREAD 1693: STARTED AT: Wed Nov 21 08:06:24 2012
    > [NUKPACS] A-ASSOCIATE-RQ Packet Dump
    > [NUKPACS] Calling Application Title : "ECAM "
    > [NUKPACS] Called Application Title : "NUKPACS "
    > [NUKPACS] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    > [NUKPACS] Number of Proposed Presentation Contexts: 2
    > [NUKPACS] Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.1" 1
    > [NUKPACS] Presentation Context 1 "1.2.840.10008.5.1.4.1.2.2.2" 1
    > [NUKPACS] Server Command := 0021
    > [NUKPACS] Message ID := 0004
    > [NUKPACS] C-Move Destination: "ECAM"
    > [NUKPACS] 0000,0002 28 UI AffectedSOPClassUID
    > "1.2.840.10008.5.1.4.1.2.2.2"
    > [NUKPACS] 0000,0100 2 US CommandField 33
    > [NUKPACS] 0000,0110 2 US MessageID 4
    > [NUKPACS] 0000,0600 4 AE MoveDestination "ECAM"
    > [NUKPACS] 0000,0700 2 US Priority 0
    > [NUKPACS] 0000,0800 2 US DataSetType 258
    > [NUKPACS] (QualifyOn) (mapped) IP:192.168.178.23, PORT:104
    > [NUKPACS] MyStudyRootRetrieveGeneric :: SearchOn
    > [NUKPACS] 0008,0052 6 CS QueryRetrieveLevel "SERIES"
    > [NUKPACS] 0020,000d 40 UI StudyInstanceUID
    > "2.16.840.1.113662.5.4168494318.8469748.1"
    > [NUKPACS] 0020,000e 58 UI SeriesInstanceUID
    > "2.16.840.1.113662.5.4168494318.8469748.1.1.425.1353404328"
    > [NUKPACS] Query On Image
    > [NUKPACS] Issue Query on Columns: DICOMImages.SOPClassUI,
    > DICOMImages.SOPInstanc, DICOMSeries.SeriesInst,
    > DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceName
    > [NUKPACS] Values: DICOMSeries.SeriesInst =
    > '2.16.840.1.113662.5.4168494318.8469748.1.1.425.1353404328' and
    > DICOMStudies.StudyInsta = '2.16.840.1.113662.5.4168494318.8469748.1'
    > and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and
    > DICOMImages.SeriesInst = DICOMSeries.SeriesInst
    > [NUKPACS] Tables: DICOMImages, DICOMSeries, DICOMStudies
    > [NUKPACS] Query Distinct Tables: DICOMImages, DICOMSeries, DICOMStudies
    > [NUKPACS] Columns : DICOMImages.SOPClassUI,
    > DICOMImages.SOPInstanc, DICOMSeries.SeriesInst,
    > DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceName
    > [NUKPACS] Where : DICOMSeries.SeriesInst =
    > '2.16.840.1.113662.5.4168494318.8469748.1.1.425.1353404328' and
    > DICOMStudies.StudyInsta = '2.16.840.1.113662.5.4168494318.8469748.1'
    > and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and
    > DICOMImages.SeriesInst = DICOMSeries.SeriesInst
    > [NUKPACS] Order : (null)
    > [NUKPACS] Records = 1
    > [NUKPACS] Number of Images to send: 1
    > [NUKPACS] Host 'ECAM' did not accept the connection
    > [NUKPACS] C-Move (StudyRoot)
    > [NUKPACS] UPACS THREAD 1693: ENDED AT: Wed Nov 21 08:06:26 2012
    > [NUKPACS] UPACS THREAD 1693: TOTAL RUNNING TIME: 2 SECONDS


    Is there any thing displayed why the communication in that direction fails, wrong dicom settings in the modality/conquest, firewall, etc?


    Thanks,
    Christian

    hi,


    thanks for answering. are there any examples for scripting with batch?? or a start procedure to have a point for trying to solve it via batch or vb. i'll try it with vbs but i've no idea how to say "stop moving" or creating a new folder while the dgate process is running.


    kind regards christian

    Hello,


    I use conquest in experimental way, as router, for querys and so on. Now i' ve the intention to burn dvd's with data from the jukebox/cache directory. I use the jukebox.bat(like in old topics explained). conquest write data to the jukebox0-folder, creates a dv0_0001 folder. But i thought if i run the batch again, he would create a new folder, dv0_0002, but he writes the new data in the same folder(dv0_0001), although the limit is reached(700mb or 4300 mb, espeacially)
    what did i wrong???


    thanks,


    Christian

    Hi,


    thank you very much. i made an entry in the ini file and it worked fine. After all i deleted the entry after transferring the pictures, because it seems that the sending is a bit slower than without.


    kind regards,
    christian

    Hi,


    is it possible to change the study uid with conquest? i've a patient, with same names, but different patient id's and different birthdates. but if i would like to send the new study from the modality to the conquest pacs the error log looks like that:


    [NUKPACS] ***Inconsistent PatientBir in DICOMStudies: PatientID = '24566' StudyInsta = '2.16.840.1.113662.5.4168494318.9814799.1', Old='19340815', New='19270207'
    [NUKPACS] ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = '24566' StudyInsta = '2.16.840.1.113662.5.4168494318.9814799.1', Old='96608', Refused='24566'
    [NUKPACS] ***Error saving to SQL: 24566\2.16.840.1.113662.5.4168494318.9814799.1.1.13.1301917965_0001_000001_13020103900002.dcm
    [NUKPACS] ***Inconsistent PatientBir in DICOMStudies: PatientID = '24566' StudyInsta = '2.16.840.1.113662.5.4168494318.9814799.1', Old='19340815', New='19270207'
    [NUKPACS] ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = '24566' StudyInsta = '2.16.840.1.113662.5.4168494318.9814799.1', Old='96608', Refused='24566'
    [NUKPACS] ***Error saving to SQL: 24566\2.16.840.1.113662.5.4168494318.9814799.1.1.44.1301918058_0001_000001_13020103910003.dcm


    24566 and 96608 are different patients. what could i do??


    kind regards,
    christian

    hi,


    ok i get with the command line. another question, how does the "CT"(like sample.hl7) or "US"... modalities know that the files are for themselves and not for "MR" for example?


    regards, Christian

    Hi thats the Error on conquest while sending the images again


    [NUKPACS] UPACS THREAD 1414: STARTED AT: Fri Feb 04 12:48:50 2011
    [NUKPACS] A-ASSOCIATE-RQ Packet Dump
    [NUKPACS] Calling Application Title : "NUKARZT"
    [NUKPACS] Called Application Title : "NUKPACS"
    [NUKPACS] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    [NUKPACS] Number of Proposed Presentation Contexts: 1
    [NUKPACS] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.6.1" 1
    [NUKPACS] Server Command := 0001
    [NUKPACS] Message ID := 0003
    [NUKPACS] 0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.1.6.1"
    [NUKPACS] 0000,0100 2 US CommandField 1
    [NUKPACS] 0000,0110 2 US MessageID 3
    [NUKPACS] 0000,0700 2 US Priority 0
    [NUKPACS] 0000,0800 2 US DataSetType 258
    [NUKPACS] 0000,1000 48 UI AffectedSOPInstanceU "1.3.12.2.1107.5.5.9.307357.20110127120230.61911"
    [NUKPACS] 0002,0010 22 UI TransferSyntaxUID "1.2.840.10008.1.2.4.70"
    [NUKPACS] [recompress]: recompressed with mode = un (strip=0)
    [NUKPACS] Query Tables: DICOMImages
    [NUKPACS] Columns : ObjectFile, DeviceName
    [NUKPACS] Where : SOPInstanc = '1.3.12.2.1107.5.5.9.307357.20110127120230.61911' AND ImagePat = '12731'
    [NUKPACS] Order : (null)
    [NUKPACS] FreeStore Left 836795 on D:\
    [NUKPACS] Add to Table: DICOMImages
    [NUKPACS] Columns: SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName
    [NUKPACS] Values: '1.3.12.2.1107.5.5.9.307357.20110127120230.61911', '1.2.840.10008.5.1.4.1.1.6.1', '1', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000001_12968201310299.dcm', 'MAG0'
    [NUKPACS] ***Failed SQLExecDirect : INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120230.61911', '1.2.840.10008.5.1.4.1.1.6.1', '1', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000001_12968201310299.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Unable to DB.Add()
    [NUKPACS] ***SQL: INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120230.61911', '1.2.840.10008.5.1.4.1.1.6.1', '1', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000001_12968201310299.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Error saving to SQL: 12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000001_12968201310299.dcm
    [NUKPACS] Server Command := 0001
    [NUKPACS] Message ID := 0005
    [NUKPACS] 0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.1.6.1"
    [NUKPACS] 0000,0100 2 US CommandField 1
    [NUKPACS] 0000,0110 2 US MessageID 5
    [NUKPACS] 0000,0700 2 US Priority 0
    [NUKPACS] 0000,0800 2 US DataSetType 258
    [NUKPACS] 0000,1000 48 UI AffectedSOPInstanceU "1.3.12.2.1107.5.5.9.307357.20110127120310.61916"
    [NUKPACS] 0002,0010 22 UI TransferSyntaxUID "1.2.840.10008.1.2.4.70"
    [NUKPACS] [recompress]: recompressed with mode = un (strip=0)
    [NUKPACS] Query Tables: DICOMImages
    [NUKPACS] Columns : ObjectFile, DeviceName
    [NUKPACS] Where : SOPInstanc = '1.3.12.2.1107.5.5.9.307357.20110127120310.61916' AND ImagePat = '12731'
    [NUKPACS] Order : (null)
    [NUKPACS] FreeStore Left 836795 on D:\
    [NUKPACS] Add to Table: DICOMImages
    [NUKPACS] Columns: SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName
    [NUKPACS] Values: '1.3.12.2.1107.5.5.9.307357.20110127120310.61916', '1.2.840.10008.5.1.4.1.1.6.1', '2', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000002_1296820131029a.dcm', 'MAG0'
    [NUKPACS] ***Failed SQLExecDirect : INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120310.61916', '1.2.840.10008.5.1.4.1.1.6.1', '2', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000002_1296820131029a.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Unable to DB.Add()
    [NUKPACS] ***SQL: INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120310.61916', '1.2.840.10008.5.1.4.1.1.6.1', '2', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000002_1296820131029a.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Error saving to SQL: 12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000002_1296820131029a.dcm
    [NUKPACS] Server Command := 0001
    [NUKPACS] Message ID := 0007
    [NUKPACS] 0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.1.6.1"
    [NUKPACS] 0000,0100 2 US CommandField 1
    [NUKPACS] 0000,0110 2 US MessageID 7
    [NUKPACS] 0000,0700 2 US Priority 0
    [NUKPACS] 0000,0800 2 US DataSetType 258
    [NUKPACS] 0000,1000 48 UI AffectedSOPInstanceU "1.3.12.2.1107.5.5.9.307357.20110127120532.61921"
    [NUKPACS] 0002,0010 22 UI TransferSyntaxUID "1.2.840.10008.1.2.4.70"
    [NUKPACS] [recompress]: recompressed with mode = un (strip=0)
    [NUKPACS] Query Tables: DICOMImages
    [NUKPACS] Columns : ObjectFile, DeviceName
    [NUKPACS] Where : SOPInstanc = '1.3.12.2.1107.5.5.9.307357.20110127120532.61921' AND ImagePat = '12731'
    [NUKPACS] Order : (null)
    [NUKPACS] FreeStore Left 836795 on D:\
    [NUKPACS] Add to Table: DICOMImages
    [NUKPACS] Columns: SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName
    [NUKPACS] Values: '1.3.12.2.1107.5.5.9.307357.20110127120532.61921', '1.2.840.10008.5.1.4.1.1.6.1', '3', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000003_1296820131029b.dcm', 'MAG0'
    [NUKPACS] ***Failed SQLExecDirect : INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120532.61921', '1.2.840.10008.5.1.4.1.1.6.1', '3', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000003_1296820131029b.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Unable to DB.Add()
    [NUKPACS] ***SQL: INSERT INTO DICOMImages (SOPInstanc, SOPClassUI, ImageNumbe, SamplesPer, PhotoMetri, Rows, Colums, BitsStored, ImagePat, SeriesInst, AccessTime, ObjectFile, DeviceName) VALUES ('1.3.12.2.1107.5.5.9.307357.20110127120532.61921', '1.2.840.10008.5.1.4.1.1.6.1', '3', '3', 'RGB', '600', '800', '8', '12731', '1.3.12.2.1107.5.5.9.307357.20110127120215.61903', 1296820128, '12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000003_1296820131029b.dcm', 'MAG0')
    [NUKPACS] ***Error: 2627: 23000: [Microsoft][ODBC SQL Server Driver][SQL Server]Verletzung der PRIMARY KEY-Einschr�nkung 'PK__DICOMImages__0F975522'. Ein doppelter Schl�ssel kann in das 'dbo.DICOMImages'-Objekt nicht eingef�gt werden.
    [NUKPACS] ***Error saving to SQL: 12731\1.3.12.2.1107.5.5.9.307357.20110127120215.61903_0001_000003_1296820131029b.dcm
    [NUKPACS] UPACS THREAD 1414: ENDED AT: Fri Feb 04 12:48:51 2011
    [NUKPACS] UPACS THREAD 1414: TOTAL RUNNING TIME: 1 SECONDS

    Hi,


    another question about filling the conquest worklist. I read that its possible with hl7 or xml files. i want to create a vb6 program to collect patient infos from our RIS and send them to conquest. can somebody show a hl7 example file? the conquest worklist is new topic for me, so i need a little help. :?:


    kind regards,
    Christian

    Hi @ all,


    i've a question about deleting studies from conquest.
    A modality sent dicom images with false id's, names, ... . i retrieved these studies with kpacs, changed the demographics and i deleted the study from conquest, but it failed to send the study again from kpacs. i think conquest does not delete the uid, or? how can i delete and resend the same datasets without changing the uid? or is there a tool, within to change it?


    kind regards,
    christian

    Hi,


    i set up a conquest dicom server, it works fine with the modalities. But i receive an error if i try to query pictures with kpacs. With Synedra as Dicom Viewer it works. the ae title, ip, name and port are allright and i have no idea at this time.


    kind regards Christian


    [EDIT]
    I removed the log. Marcel