can't send OphthalmicAxialLength Measurements to ORTHANC

Dear all,

I’ve created a .dcm file containing OphthalmicAxialLength Measurements and I’m trying to send this file to ORTHANC:
\dcmtk\bin\bin\Release>storescu.exe -aec ORTHANC localhost 4242 C:\work\Alcon\output\637279715686017213\OD\Measurements_OAM_2.25.138474077508567470965486301234011377600

I’m getting this error:

E: No presentation context for: (OPx) 1.2.840.10008.5.1.4.1.1.78.7
E: Store SCU Failed: 0006:0208 DIMSE No valid Presentation Context ID

Here, 1.2.840.10008.5.1.4.1.1.78.7 is the SOPClassUID and the Modality is “OAM”.

I have a similar issue with another .dcm file, containing IntraocularLensCalculations (with SOPClassUID 1.2.840.10008.5.1.4.1.1.78.8 and Modality “IOL”).
However, I can send without issues an Encapsulated PDF .dcm (with SOPClassUID 1.2.840.10008.5.1.4.1.1.104.1 and Modality “OAM”).

So is there any way to send these .dcm files to ORTHANC ?

Thanks,
Greetings,
Sorin

Hello,

Your issue is related to storescu, not to Orthanc. Please check out the following page of the Orthanc Book:
https://book.orthanc-server.com/faq/dcmtk-tricks.html?highlight=storescu#sending-uncommon-or-recent-sop-class-uids

Regards,
Sébastien-

Ok, thank you very much.

Indeed, updating storescu.cfg with this line fixed the issue:

PresentationContext128 = 1.2.840.10008.5.1.4.1.1.78.7\MPEG2

This works in the sense that I can see the .dcm on ORTHANC.

But if I try to use the actual transfer syntax (1.2.840.10008.1.2.1) instead of MPEG2, storescu still complains:

E: reading config file: transfer syntax key undefined: 1.2.840.10008.1.2.1

This is a bit strange, isn’t it ?

Thanks,
Greetings,
Sorin

We can’t provide further indication without a concrete sample command-line with a real-world DICOM image. Please provide a full minimal working example:
https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example