Posts by drvince76

    Hi Marcel,


    so crap !! i have always an error then the script run corretly.
    i post log error, i don't understand why i have this refused, can you help (again, i'm so sorry).
    i have also flush database, she was empty before this test of two patient with a same accessnumber but patientid different.



    [SRVLHC2] UPACS THREAD 7: STARTED AT: Mon Jul 13 22:42:15 2015
    [SRVLHC2] A-ASSOCIATE-RQ Packet Dump
    [SRVLHC2] Calling Application Title : "DIAM4 "
    [SRVLHC2] Called Application Title : "SRVLHC2 "
    [SRVLHC2] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 32768
    [SRVLHC2] Number of Proposed Presentation Contexts: 4
    [SRVLHC2] Presentation Context 0 "1.2.840.10008.5.1.4.1.1.4" 1
    [SRVLHC2] Presentation Context 1 "1.2.840.10008.5.1.4.1.1.4" 1
    [SRVLHC2] Presentation Context 2 "1.2.840.10008.5.1.4.1.1.4" 1
    [SRVLHC2] Presentation Context 3 "1.2.840.10008.5.1.4.1.1.4" 1
    [SRVLHC2] Server Command := 0001
    [SRVLHC2] Message ID := 0001
    [SRVLHC2] Importconverter0.0: anonymize_script.cq
    [SRVLHC2] Importconverter-1.0: dofile('lua/anonymize_script.lua')
    [SRVLHC2] Importconverter-1.0: mkdir DicomAnonymized_Log\FRA26145\
    [SRVLHC2] NewUID for SOPInstanceUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820135.255.6
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0008,0018 (SOPInstanceUID)
    [SRVLHC2] NewUID for ReferencedSOPInstanceUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820135.271.7
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0008,1155 (ReferencedSOPInstanceUID)
    [SRVLHC2] OldUID = 1.3.12.2.1107.5.2.6.23278.30000008110806581298400000189, NewUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820104.835.3
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0008,1155 (ReferencedSOPInstanceUID)
    [SRVLHC2] NewUID for ReferencedSOPInstanceUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820135.286.8
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0008,1155 (ReferencedSOPInstanceUID)
    [SRVLHC2] OldUID = 1.2.250.1.59.999.354.2008110800031, NewUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820076.755.1
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0020,000d (StudyInstanceUID)
    [SRVLHC2] NewUID for SeriesInstanceUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820135.302.9
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0020,000e (SeriesInstanceUID)
    [SRVLHC2] OldUID = 1.3.12.2.1107.5.2.6.23278.20081108084614031.0.0.0, NewUID = 1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820104.882.5
    [SRVLHC2] [NewUIDsInDICOMObject] changing 0020,0052 (FrameOfReferenceUID)
    [SRVLHC2] Importconverter-1.0 executes: newuids
    [SRVLHC2] OldUID = CRAQUELIN^ANNICK, NewUID = PAT1496129237
    [SRVLHC2] Importconverter-1.0 executes: set PatientName to "PAT1496129237"
    [SRVLHC2] OldUID = FRA26145, NewUID = 1496129237.3527622021
    [SRVLHC2] Importconverter-1.0 executes: set PatientID to "1496129237.3527622021"
    [SRVLHC2] Importconverter-1.0 executes: set PatientBirthDate to ""
    [SRVLHC2] OldUID = 1496129237.3527622021.bd.19460924, NewUID = 1496129237.3527622021.bd.
    [SRVLHC2] Importconverter-1.0 executes: set PatientSex to ""
    [SRVLHC2] OldUID = 1496129237.3527622021.ps.F, NewUID = 1496129237.3527622021.ps.
    [SRVLHC2] Importconverter-1.0 executes: set AccessionNumber to ""
    [SRVLHC2] Importconverter-1.0 executes: set InstitutionName to ""
    [SRVLHC2] Importconverter-1.0 executes: set ReferringPhysicianName to ""
    [SRVLHC2] Importconverter-1.0 executes: set PerformingPhysicianName to ""
    [SRVLHC2] Importconverter-1.0 executes: set StudyID to ""
    [SRVLHC2] Importconverter-1.0 deletes: 0008,0081
    [SRVLHC2] Importconverter-1.0 deletes: 0008,1010
    [SRVLHC2] Importconverter-1.0 deletes: 0008,1030
    [SRVLHC2] Importconverter-1.0 deletes: 0008,1048
    [SRVLHC2] Importconverter-1.0 deletes: 0010,1010
    [SRVLHC2] Importconverter-1.0 deletes: 0010,1030
    [SRVLHC2] Importconverter-1.0 deletes: 0018,1000
    [SRVLHC2] Importconverter-1.0 deletes: 0018,1030
    [SRVLHC2] Importconverter-1.0 deletes: 0040,0275
    [SRVLHC2] FreeStore Left 14975862 on \\10.17.75.110\pacs_srvlhc2
    [SRVLHC2] ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = '1496129237.3527622021' StudyInsta = '1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820076.755.1', Old='3495365418.4208498477', Refused='1496129237.3527622021'
    [SRVLHC2] ***Error saving to SQL: 1496129237_35276\1.2.826.0.1.3680043.2.135.735791.74029245.7.1436820135.302.9_0002_000002_14368201350002.dcm
    [SRVLHC2] UPACS THREAD 7: ENDED AT: Mon Jul 13 22:42:15 2015
    [SRVLHC2] UPACS THREAD 7: TOTAL RUNNING TIME: 0 SECONDS

    Hi Marcel,


    thank you for reply.
    If i understand, i must anonymize with conquest but is it possible that to do it on the fly?


    today i sent patient from (gobal imaging on line) Pacs to conquest dicom server, can i anonymise on the fly with the script lua?
    i use conquest dicom 1.4.17d on windws 7 pro with mysql server 5.0


    thank you so much,


    Vince

    hello everybody,


    i have some problems with a database link, i use mysql. When conquest server receive a patient i have this problem :


    [SRVLHC2] FreeStore Left 14976034 on \\10.17.75.110\pacs_srvlhc2
    [SRVLHC2] ***Inconsistent PatientBir in DICOMStudies: PatientID = 'FRA26145' StudyInsta = '1.2.250.1.59.999.354.2008110800031', Old='19720119', New='19460924'
    [SRVLHC2] ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = 'FRA26145' StudyInsta = '1.2.250.1.59.999.354.2008110800031', Old='VER77985', Refused='FRA26145'
    [SRVLHC2] ***Error saving to SQL: FRA26145\1.3.12.2.1107.5.2.6.23278.30000008110806545659300000002_0001_000002_14367789940000.dcm
    [SRVLHC2] UPACS THREAD 4: ENDED AT: Mon Jul 13 11:16:34 2015
    [SRVLHC2] UPACS THREAD 4: TOTAL RUNNING TIME: 0 SECONDS



    i understand that id patient exist in database but, how insert or add a key in database. I would like use id paitent and (for example) his accessnumber or other?
    thank for reply and your help.
    have a good day;
    Vince