knopkem / dicomweb-proxy

A proxy to translate between dicomweb and traditional dicom dimse services (PACS communication)
Other
71 stars 20 forks source link

Integrate ohif's development version into Dicom proxy #8

Closed dinhnam2901 closed 4 years ago

dinhnam2901 commented 4 years ago

Hi @knopkem! When I build a product version of ohif into dicom proxy, it work. But, I want to develop the ohif for my project. I need to update code regularly. It means, I take so much time to re-build it and import into dicom proxy. I think that, I should run ohif seperated and update the default.js config file in 'ohif/platform/viewer/public/config' to point to the proxy. I running the dicomproxy at localhost:5000, and ohif at localhost:3000 Can you point out for me the detail for config file in 'ohif/platform/viewer/public/config' to point to the dicom proxy ?

Thank you so much!

dinhnam2901 commented 4 years ago

I have been integrate successful. I config file ohif/platform/viewer/public/config as:

servers: {
    dicomWeb: [
      {
        name: 'DCM4CHEE',
        wadoUriRoot: 'my_server_wado',
        qidoRoot: 'http://localhost:5000/viewer/rs',
        wadoRoot: 'http://localhost:5000/viewer/rs',
        qidoSupportsIncludeField: true,
        imageRendering: 'wadouri',
        thumbnailRendering: 'wadouri',
        enableStudyLazyLoad: true,
        supportsFuzzyMatching: true,
      },
    ],
  },

And in file app.js of dicom web, i replace all "viewer/viewer" with "viewer". Thank you!