Just wondering if there is a way to get the Incoming AET in the callback, similar to what is done for origin:
e.g. if origin == orthanc.InstanceOrigin.REST_API:
* origin is apparetnlty 1-6.
UNKNOWN = 1
DICOM_PROTOCOL = 2
REST_API = 3
PLUGIN = 4
LUA = 5
WEB_DAV = 6
I would like to be able to detect the AET or some other parameter specific to the device so that I can pre-process the instance a little before it is actually stored.
This tag: 0008,1010 (StationName): G-scan Brio MRI, 0008,1010, which is available from the data.StationName ? might actually work as well, so I could try that if the AET is no readily available.
Very useful feature though.