The progress of getting instances from the modalities

Hi.
I am interested in the question - is it possible through the Python plugin in any way to calculate the number of instances already received and the number of instances that will still be sent by the modality to Orthanc.

Hi,

No, in general, DICOM does not provide a way to know the number of instances of a series in advance except when one of these tag is available: ImagesInAcquisition, NumberOfTemporalPositions, NumberOfSlices, NumberOfTimeSlices, CarciacNumberOfImages

When possible, Orthanc sets an ExpectedNumberOfInstances metadata at the series level. You can then compare it with the number of child instances of the series.

Hope this helps,

Alain.