Import from incoming.

  • hello everyone, when importing from one of the archives, an error occurred, can someone tell me what needs to be done so that the import process does not stop? Something new this time.

    However, this tomograph was not in the most favorable conditions.



    Wed Aug 31 02:57:07 2022 ***[AddImageFile] Error entering object into server: /nfs-storage/CT_IRPIN/priority/9298/1.3.46.670589.50.2.37787361193690683209.24554331721529143292_0301_000006_16419025679693.dcm

    Wed Aug 31 02:57:12 2022 ***Failed MYSQLExec : INSERT INTO DICOMSeries (SeriesInst, SeriesNumb, SeriesDate, SeriesTime, SeriesDesc, Modality, PatientPos, Manufactur, ModelName, StationNam, Institutio, SeriesPat, StudyInsta, AccessTime) VALUES ('1.3.46.670589.50.2.37787361193690683209.24554331721529143292', '301', '20220111', '135945.828029', '-LЧ, 'CT', 'HFP', 'Philips', 'IntelliSpace Portal', 'ISP9', 'SDS', '9298', '1.2.840.113704.1.111.3724.1641901363.9', 1661903808)

    Wed Aug 31 02:57:12 2022 ***Error: Incorrect string value: '\xD0' for column `bserver21`.`DICOMSeries`.`SeriesDesc` at row 1

    Wed Aug 31 02:57:12 2022 ***Unable to DB.Add()

    Wed Aug 31 02:57:12 2022 ***SQL: INSERT INTO DICOMSeries (SeriesInst, SeriesNumb, SeriesDate, SeriesTime, SeriesDesc, Modality, PatientPos, Manufactur, ModelName, StationNam, Institutio, SeriesPat, StudyInsta, AccessTime) VALUES ('1.3.46.670589.50.2.37787361193690683209.24554331721529143292', '301', '20220111', '135945.828029', '-LЧ, 'CT', 'HFP', 'Philips', 'IntelliSpace Portal', 'ISP9', 'SDS', '9298', '1.2.840.113704.1.111.3724.1641901363.9', 1661903808)

    Wed Aug 31 02:57:12 2022 ***Error: Incorrect string value: '\xD0' for column `bserver21`.`DICOMSeries`.`SeriesDesc` at row 1

    Wed Aug 31 02:57:12 2022 ***Error saving to SQL: 2022/01/11/VASYLENKO^T_M_9298/CT_78559/301/1.3.46.670589.50.2.1323728462927451971.31533736722071700857.dcm

    Wed Aug 31 02:57:12 2022 ***[AddImageFile] Error entering object into server: /nfs-storage/CT_IRPIN/priority/9298/1.3.46.670589.50.2.37787361193690683209.24554331721529143292_0301_000006_16419025679693.dcm

  • A small addition, earlier these studies were stored on the conquest server, but I am pulling the studies to another archive

    and updating the server version.


    I have many such servers, but only the images from this tomograph require manual intervention.


    I often encounter the problem that the conquest cannot continue to work if it comes across a broken study when importing.

  • Hi,


    I think you can add temporarily add e.g.


    regenconverter0 = lua:Data.SeriesDescription = ''


    or


    importconverter0 = lua:Data.SeriesDescription = ''


    to overcome this issue. Take care not to leave it in for other images.


    Marcel

  • Cool, a small addition found a way to open all tags dike.

    I am attaching it, is there a way to fix this?

    (0008,103E) LO -LÐ # 1, 4 Series Description
    (0020,4000) LT -LÐ # 1, 4 Image Comments
    (00E1,1040) SH -LÐ # 1, 4

  • Hi,


    I think the first character of the garbled text is always the same. Are you on windows?


    Then in the image browser in modify-image-advanced you can say:


    print(Data.SeriesDescription:byte(1))


    and then Test syntax - this gives you a value of the first character, lets say it is 254


    Then write a lua file fix.lua and put it in the lua folder:


    Code
    if (Data.SeriesDescription or 'x'):byte(1)==254 then Data.SeriesDescription='' end
    if (Data.ImageComments or 'x'):byte(1)==254 then Data.ImageComments='' end
    if (Data[00e1,1040] or 'x'):byte(1)==254 then Data[00e1,1040]='' end
    -- and so on for any item that can be broken


    The or 'x' is to avoid it faulting when the tag is missing.


    And then add e.g.


    ImportConverter0 = lua/fix.lua


    to dicom.ini; this will fix the incoming images


    Marcel

  • for web browsing, it is very convenient to use oviyam, for a more professional approach I recommend MEDDREAM.

    And my favorite is NextCloud with DICOM Viewer. Small cloud with "Samba" connected directory. (Read only access)

    This allows you to open research, share it, and manage it flexibly

  • Well if you can share more information on how you use these with Conquest that would be great.


    And try ohif in the new release (try a standalone server first), migrate a bit later when more users have experience.


    Marcel

Participate now!

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