Web server

  • This function rejects RTSTRUCTS



    By the way, I have not seen server crashes. It should definitively not do that.

  • This one can be called from three levels (e.g. do not pass 'se' for studylevel)


  • Hi,


    I have added features to dgate (on github) to provide reasonable metadata. With the updated exe you can so this:



    The magis is in setting 9999,0202: this tells dicomget to discard pixel data, contours and private tags.

  • Hi, Marcel,

    I am using now your latest metadata function.


    I saw two problems:


    1. With this metadata function version the pat id "0009703828" - Head Exp2 doesn´t show in OHIF. The version prior to this works.


    2.The json generated with metadata function is not well formed when tested with dicom RTSTRUCT file.

    And many value tags aren´t trimmed the extra spaces.


    The dicom file is https://www.dropbox.com/s/cfya74vjmebdhet/LUNG1-001.zip?dl=0

    Here is the json file


    json.txt


    If you put the file content into https://jsonformatter.org/ and validate you get:

    Code
    Parse error on line 1:
    ...vr": "AT", "Value":["b\u0000\6\u0000"]},
    -----------------------^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', ']', got 'undefined'


    Here is my latest lua script:

    pasted-from-clipboard.zip

  • Hi Luiz,


    Thanks! I have added extra processing in dgate for DS and IS tags - now the the metadata is well accepted. Just posted to Git.


    The next issue is that RTSTRUCT is not accessed with wadouri but with rs (seems like an error in OHIF to me).

    So the instance route must work as well . I have trouble forming the output with php as it requires multipart output, but almost there!


    Marcel

Participate now!

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