Issue with creation of Structured Reports

Hello, everyone!

My name is Victor and I am a student, and very much a newbie in regards to OrthanC configuration and creation of .dcm files. I was tasked by a teacher to develop a Python script that creates Structured Reports out of .dcm files I have in a folder and also add in some analysis results out of another function I have within the script, automatically uploading them to a local OrthanC server we configure. While the creation seemingly works, and the files are uploaded to that server and are recognised as SR, I believe they are faulty SRs due to the preview function not working at all (it keeps showing “Unsupported”)

By trying to analyze them with the dicom-validator tool, I also get a descriptor that says they are not valid SR files too. I also analyzed them with a dcmdump toolkit and this is the results I have found:

dcmdumplogs.txt (18.5 KB)

I will index some of the SR files I have created and the Python function I use to create them. Some code commentary is in my mother language though!

image-23691574-78007127-67077450-08256882-87395367_sr.dcm (2.6 KB)
image-15908848-77237609-03232560-96641664-72033662_sr.dcm (2.6 KB)
image-15261899-16336799-16570287-29657437-32481398_sr.dcm (2.6 KB)
function.txt (5.8 KB)

If there was a way to have a sample SR file, I could maybe use to analyze the parameters needed in those and try to replicate with mine, too!

Hello,

I guess you are talking about the Stone Web viewer. As of version 2.6 of Stone Web viewer, the rendering of DICOM-SR are not supported yet, but this is work in progress.

As far as the Orthanc DICOM server itself is concerned, it has been supporting the reception, storage, and transmission of DICOM-SR since the beginning of the project.

Regards,
Sébastien-