Web server

  • OHIF does crash if the data is incomplete. You case with patientID 00000000 is incorrect, the CT SEG SR and RTSTRUCT are all in the same series and that highlu upsets OHIF - it is incorrect as the modality is defined at the series level.

  • Hi, Marcel,


    Here is my latest lua script and node api.

    Now working with OHIF RTStruct with your help.

    Tested with latest OHIF code.

    I found a bug in date input range in the OHIF UI and I submited it on Git.

    But this doesn´t impact the API


    Another time, I will do a "cleanup" in the code removing unnecessary comments.


    Here is my OHIF setup. I changed since the last time I posted here.



    dicomRoutes.zip

    queryfunctions.zip

  • I have modified latest ohif to be called on start time with:

    http://localhost:3000/?Patient…19800101&PatientName=john


    Otherwise, the default is get all studies and It will overload Conquest.


    And, I intent make changes in the API to avoid overload conquest if:

    1. PatientID is not passed to API, or

    2. PatientName length is lower than NN chars or

    3. and the range StudyDateTo-StudyDateFrom is lower than DD days.


    What do you think?

  • Hi Luiz,


    I have added private control tags for limit and offset:


    foreach ($params as $key => $value) {

    if ($key=='limit') $params["99990C01"]=$value;

    if ($key=='offset') $params["99990C02"]=$value;

    };


    you can add these it will avoid the overflow. Also add 99990C00 for the sort!

  • Marcel,


    Awesome,


    Thank you

  • Hi,

    I just saw conquest is ordering.

    But, The result is not sorted in OHIF. I suspect it is making other ordering in the front end.


    Some questions:

    1. Does it work to sort metadata?

    2. Is there other param to sort asc or desc?

  • Hi, Marcel


    This function works almost all times, but fail to conquest image "HEAD EXP2"


    Code
    [CONQUESTSRV1] Sending file : F:\Programas\AppProg\dicom150bteste\Data\0009703828\1.3.46.670589.5.2.10.2156913941.892665339.860724_0001_003000_14579035620001.dcm
    [CONQUESTSRV1] Image Loaded from Read Ahead Thread, returning TRUE
    [CONQUESTSRV1] JPEG decompress started.
    [CONQUESTSRV1] Debug[DecompressJPEGL]: H = 320, W = 320, Bits = 12 in 16, Components = 1, Frames = 1
    [CONQUESTSRV1] ***[JPEG Library]: Unsupported marker type 0xf7
    [CONQUESTSRV1] ***[DecompressImage]: JPEG library decompression error
    [CONQUESTSRV1] C-Get (StudyRoot)
    [CONQUESTSRV1] UPACS THREAD 503: ENDED AT: Tue Aug 23 09:09:32 2022
    [CONQUESTSRV1] UPACS THREAD 503: TOTAL RUNNING TIME: 0 SECONDS


Participate now!

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