CORS when get PDF from IHERetrieveDocument DCM4chee, ohif harus satu server dengan dcm4chee untuk pdf #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dicom yang memiliki PDF akan dimuat melalui
extensions/dicom-pdf/src/viewports/OHIFCornerstonePdfViewport.tsx.Karena DICOM ECG yang ada belum sepenuhnya compatible dengan DCM4CHEE dan dicomweb-proxy, maka cara yang diambil adalah mengambil PDF nya.
PDF bisa diambil melalui:
http://152.42.173.210:8080/rid/IHERetrieveDocument?requestType=DOCUMENT&documentUID={{sopInstanceUID}}&preferredContentType=application%2FpdfNamun, ketika menjalankan OHIF di Local sedangkan dataSource dicomweb-proxy ada di cloud, maka tahap ini akan menimbulkan CORS.
Solusinya adalah menjalankan OHIF di server yang sama dengan DCM4CHEE
dengan kata lain:
OHIF harus dijalankan 1 server dengan datasource PDF