Posts by jweste

    Using the metadata function from above (just edited)


    And does the .data thing affect the app at all?


    Marcel

    The last metadata function is broken to me.


    >> And does the .data thing affect the app at all?

    Yes. I will have to change the app after we solve the ohif problem


    Luiz

    The Ohif problem with studyinstanceuid is because a tag is in lowercase. I used tag in hexa uppercase and it works

    Marcel,

    The first metadata searched is from studies and after, series. It´s not from instances.


    Here is a metadata from

    https://server.dcmjs.org/dcm4c…8695661986996009/metadata


    Is possible get it from conquest?


    Another problem is you are returning tags in lowercase as

    '0020000d' and OHIF doesn't like that. It needs '0020000D'




    Code
    [{"00080005":{"vr":"CS","Value":["ISO_IR 100"]},"00080016":{"vr":"UI","Value":["1.2.840.10008.5.1.4.1.1.7"]},"00080018":{"vr":"UI","Value":["1.3.6.1.4.1.9590.100.1.2.289923739312470966435676008311959891294"]},"00080020":{"vr":"DA"},"00080023":{"vr":"DA","Value":["20160503"]},"00080030":{"vr":"TM"},"00080033":{"vr":"TM","Value":["105946.779000"]},"00080050":{"vr":"SH"},"00080060":{"vr":"CS","Value":["MG"]},"00080064":{"vr":"CS","Value":["WSD"]},"00080090":{"vr":"PN"},"00100010":{"vr":"PN","Value":[{"Alphabetic":"P_00038^P_00038"}]},"00100020":{"vr":"LO","Value":["P_00038_LEFT_CC.dcm"]},"00100030":{"vr":"DA"},"00100040":{"vr":"CS"},"00180015":{"vr":"CS","Value":["Left Breast"]},"00181016":{"vr":"LO","Value":["MathWorks"]},"00181018":{"vr":"LO","Value":["MATLAB"]},"0020000D":{"vr":"UI","Value":["1.3.6.1.4.1.9590.100.1.2.85935434310203356712688695661986996009"]},"0020000E":{"vr":"UI","Value":["1.3.6.1.4.1.9590.100.1.2.374115997511889073021386151921807063992"]},"00200010":{"vr":"SH","Value":["DDSM"]},"00200011":{"vr":"IS","Value":["1"]},"00200013":{"vr":"IS","Value":["1"]},"00200020":{"vr":"CS","Value":["CC"]},"00280002":{"vr":"US","Value":[1]},"00280004":{"vr":"CS","Value":["MONOCHROME2"]},"00280010":{"vr":"US","Value":[4616]},"00280011":{"vr":"US","Value":[3016]},"00280100":{"vr":"US","Value":[16]},"00280101":{"vr":"US","Value":[16]},"00280102":{"vr":"US","Value":[15]},"00280103":{"vr":"US","Value":[0]},"00280106":{"vr":"SS","Value":[0]},"00280107":{"vr":"SS","Value":[-3756]},"7FE00010":{"vr":"UN","BulkDataURI":"http://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.3.6.1.4.1.9590.100.1.2.85935434310203356712688695661986996009/series/1.3.6.1.4.1.9590.100.1.2.374115997511889073021386151921807063992/instances/1.3.6.1.4.1.9590.100.1.2.289923739312470966435676008311959891294"}}]

    Marcel,

    The api is returning json response as res.send({data:json})

    And OHIF needs res.send(json) and I already fixed it


    Other problem is OHIF call studies metadata API, after the study query.

    We don't have it implemented

    What conquest pacs logs are showing?

    Qido response can be in json or xml format.

    Conquest API only supports json format for now.

    Does Weasis support json format?

    You need check on browse dev network console what is sent to api server.

    You can see in api server console, what request it´s receiving.

    Then, you can adjust OHIF.

    I am not familiar with ohif settings, but regarding the API:


    name: 'ConquestDicomWeb',

    wadoUriRoot: 'http://localhost:3002/api/dicom/wadouri',

    qidoRoot: 'http://localhost:3002/api/dicom/rs',

    wadoRoot: 'http://localhost:3002/api/dicom/wadouri', --> not supported in API

    qidoSupportsIncludeField: false, -->if you are using includefield , it should be true

    imageRendering: 'wadouri',

    thumbnailRendering: 'wadouri',

    enableStudyLazyLoad: false, ->not supported in API

    supportsFuzzyMatching: false, ->not supported in API

    This is a correct response using postman:


    Hi,


    Could you remove fuzzymatching and try something as:

    Code
    .... rs/studies?PatientName=maria*&limit=25&offset=0&includefield=all&StudyDate=20220715-20220815

    Great,

    If you want you can deploy the app as a normal static site webpage in Apache.

    I use nginx. A proxy to server the API and the front end app. Nginx redirect the requests to api or web app based on query string.

    Hi, Marcel,

    >>Would be great to add a keyboard interface (see e.g. my wadoseriesviewer in conquest for ideas)

    -- I didn´t find how todo that with cornerstone tools


    >> The DICOM viewer does not fill the available space

    I am afraid this is how cornerstone tools works(but I am not sure)

    To fill all space available, then zoom tool must be used.


    >>Reduce the debounce time or remove the debounce on scroll to make it load faster

    >>Too bad the image blinks when changing slices this is very distracting

    - done


    >>I do not like that slicing wraps around - done,

    -- removed


    >>It would be good if the icon images would scroll with the main image (and they could be smaller)

    - done partially(only smaller part)


    >>The colors of the icon scrollbar are too subtle and it should not auto-hide

    done, I changed the colors


    >> Zoom, pan and level and window settings are not kept when slicing

    I am not a cornerstone specialist. I use only the basic.

    But, I will search how to do it.


    >>Instance number and slice coordinate are not displayed - done partially

    - Instance Number is done. I don´t know what you mean with slice coordinate


    Search page:


    >>Show Series Description in the search page - done


    >>Can be lists be made scrollable? - done, but IMHO I don´t like that so much


    >>Respond on enter key to make it search from the patientID or name edits. - done


    Here is the files updated:

    https://www.dropbox.com/s/g3te…com_vue_clientV2.zip?dl=0


    Hi, Marcel

    I sent you the files updated by email
    1. We have servertask and servertask.exe in the same folder just now.

    2. Fix to InstanceNumber sort

    3. Changed "v.replaceall.." with v = v.replace(/,/g, "\\\\");

    4. Removed wait dialog


    Regards, Luiz

    Hi, Marcel


    >>3) I guess that should be placed in maklinux

    I have created two folders under "dgate" existent folder.

    They are windows and linux

    Into windows folder I put servertask.exe and queryfunctions.lua

    Into linux folder I put servertask and queryfunctions.lua

    The API will ckeck what OS is running and will set the APIFOLDER to match with OS.

    For sample:


    Code
    let opsys = process.platform;
    if (opsys == "darwin") {
    opsys = "MacOS";
    } else if (opsys == "win32" || opsys == "win64") {
    opsys = "Windows";
    } else if (opsys == "linux") {
    opsys = "Linux";
    }
    let APIFOLDER =
    `${global.appRoot}/api/dgate/` + (opsys == "Windows" ? "windows" : "linux");


    Is this OK?


    If yes, should I add all servertask sources/make into linux folder as well?