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.
E: Store SCU Failed: 0006:0208 DIMSE No valid Presentation Context ID

Here, 1.2.840.10008. 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. and Modality “IOL”).
However, I can send without issues an Encapsulated PDF .dcm (with SOPClassUID 1.2.840.10008. and Modality “OAM”).

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



Your issue is related to storescu, not to Orthanc. Please check out the following page of the Orthanc Book:


Ok, thank you very much.

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

PresentationContext128 = 1.2.840.10008.\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 ?


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: