I am starting to investigate implementing structured reports and I have a few questions.
I’ve already been using some of the templates for reports that are available from RSNA here:
https://radreport.org/about
I did not realize that they have an API interface to that library of reports. Some of the template are quite nice, some are in languages other than English, and some are just so-so. The templates are mostly in HTML format, but I think that maybe there is a way to use them to create SR’s.
I’ve been using some stripped down HTML from those templates, or modified versions of them to generate encapsualted PDF’s from (HTML + a CSS stylesheet) using the wkhtmltopdf binary:
https://wkhtmltopdf.org/
packaged into my Orthanc instances and a Python script. There is a PIP module for wkhtmltopdf.
That works pretty well really, but I’d like to learn how to create an actual SR document and then render that in the viewer. Apparently, there is sketchy support for SR’s in the various viewers and PACS, but they are quite nice for AI applications.
- Just looking for other resources to get me started.
- Does the Stone Viewer render SR’s ? What about OHIF.
I’ve seen a couple of recent posts about that:
https://groups.google.com/g/orthanc-users/c/3qqUlz26aOE/m/wwVUtn-zAgAJ
https://groups.google.com/g/orthanc-users/c/3DQep_F87vk/m/QTDinBFTAAAJ
Stephen S.
Ben,
Thank you for the information. Are there any SR templates available on the internet to sort of play with ? I think that maybe some of these on radreport.org can be adapted, but I am just looking for something simple to get started with as an example, i.e. like a CXR or generic report. Dave Clunie has some information about SR’s on his website, a little old but still useful: https://www.dclunie.com/pixelmed/DICOMSR.book.pdf
/sds
Hello,
I have just added a FAQ that clarifies the state of DICOM-SR in the Stone Web viewer:
https://book.orthanc-server.com/plugins/stone-webviewer.html#faq
Regards,
Sébastien-
Thank you. Looking into this a bit more. Just passing along some information and questions.
There has apparently been some work done to incorporate SR’s into the pydicom library, see: https://github.com/pydicom/pydicom/pull/824 and in another project here: https://github.com/herrmannlab/highdicom
I download the ‘sr_document.dcm’ from here https://github.com/herrmannlab/highdicom/tree/master/data/test_files
and then loaded that into orthanc and also ran the:
dsr2html sr_document.dcm text.html method on the sample document.
The DCMTK method actually does do a pretty nice job of converting to HTML (see attached sample.jpg), but when I try to view it in Stone I get a couple of errors:
-
The route ending in rendered?viewport=128,128 returns a Bad Request. This is similar to what happens with my encapsulated PDF’s also because I think Stone is expecting a thumbnail of some type, like a .jpg and there isn’t one on the back-end for PDF’s and SR’s?
-
The other error is ‘https://github.com/herrmannlab/highdicom’
I have attached screen shots of the generated HTML document when viewed in a browser and of the attempt to load the SR into the Stone Viewer, along with the sr_document.dcm test document.
/sds
sr_document.dcm (4.89 KB)