TRXID determination
The "TRXID Determination Format DICOM" is composed of Abstract Syntax and Command Code.
For example 1.2.840.10008.5.1.4.1.2.1.2_0020,Patient Root Query/Retrieve Information
Model_MOVE_C_MOVE_RQ
.
If the TRXID Determination is DICOM, then with a wildcard you can only use
AbstractSyntax
as trxid
in the data route
definition.
Example: TRXID Determination Format UPOC, TrxID used from PDU (AE Caller, AE Called,
Presentation Context ID, Abstract Syntax ID), or from SOP (AE Caller, AE Called, Service
Class UID, Command Code UID)
.
Example code:
proc trxid_CalledAET { mh {args {}} } {
global HciConnName
set module "trxid_CalledAET/$HciConnName"
set msgSrcThd [msgmetaget $mh SOURCECONN]
set debug 0
set driverctl [msgmetaget $mh DRIVERCTL]
set trxId ""
keylget driverctl CalledAET trxId
set trxId [string range $trxId 3 end]
return $trxId
}