gerddie / ginkgocadx

Advanced DICOM viewer
131 stars 38 forks source link

Structured Report (SR) modality not supported #19

Closed boskar closed 2 years ago

boskar commented 8 years ago

Hi,

Structured report seems to be one of the most simple modality to implement, although it is currently unsupported by GinkgoCADx.

As we already use DCMTK library the simpliest way would probably be to use http://support.dcmtk.org/docs/mod_dcmsr.html

For me read-only support for SR is enough.

Currently we support two types of viewers (see right click -> open with) : "Medical Image Viewer" and "Waveform Viewer".

I assume we need a third option: "Report Viewer". On one hand it is as easy as invoking: dsr2html $dicom_sr_file >/tmp/tmp.html && sensible-browser /tmp/tmp.html && rm /tmp/tmp.html

On the other - Custom GinkgoCADx template, or even possibility of user-provided template, for example in xslt file (for xml data generated by dsr2xml) would be perfect.

We can show the output in Ginkgo CADx itself (html with libwebkit or libgecko - in a tab) or invoke system browser. Or we can get the data using the library and render the report by ourself with some widgets. Or even generate pdf.

I would like to simply doubleclick and see the content on the screen : )