OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.34k stars 3.36k forks source link

Embeded viewer: 404 on loading series #1731

Closed laksmig6 closed 1 year ago

laksmig6 commented 4 years ago

:hand: REQUIREMENT: We have a web application on which we are trying to embed a OHIF viewer.(viewer@3.11.7) A separate link. On click of the link, a study page should open on the new tab using the OHIF > viewer. At this point I have the studyInstanceUid available.

Description

I have Orthanc server running locally and another instance running on docker ( jodogne/orthanc-plugins version-1.5.6 )

Locally when I try to hit the viewer url, dicom image is rendered fine but the same image if I try to hit on the deployed environment ( docker instance ), series call is throwing 404.

Attached both the local and deployed url screenshots for reference:

Screenshot 2020-05-14 at 11 06 43 PM Screenshot 2020-05-14 at 10 54 30 PM Screenshot 2020-05-14 at 10 58 08 PM Screenshot 2020-05-14 at 10 59 27 PM Screenshot 2020-05-14 at 10 59 08 PM Screenshot 2020-05-14 at 10 58 59 PM

depoyed orthan explorer url: https://ncg-dev.projecteka.in/dicom-web/app/explorer.html ( I have the same images uploaded here ) deployed app url: https://ncg-dev.projecteka.in/viewer/1.2.826.0.1.3680043.8.1055.1.20111102150758591.92402465.76095170?dicomCtx=L2RpY29tLXdlYg==

refer https://github.com/OHIF/Viewers/issues/1592 for few details in case it is required.

laksmig6 commented 4 years ago

If i try to hit the url https://ncg-dev.projecteka.in/dicom-web/studies/3abaec0a-ebfaaa87-f830d52b-d62df074-6a692c12/series which is with the UID (studies/UID/series) not the studyInstanceID, it gives me the response. But again this response is not matching with what I get locally when I hit 'studies/studyInstanceId/series'

I need support on understanding what is wrong here and also whether to use UID or studyInstanceID

laksmig6 commented 4 years ago

@dannyrb, Could you please help me out here ?

sedghi commented 1 year ago

In OHIf v3, you can make use of iframe

https://docs.ohif.org/deployment/cors/#embedding-ohif-in-an-iframe

Feel free to reopen if the issue persists