PACS Storage Server Demo Rules Add-in DICOM Event Variables (original) (raw)
The script editor allows the user to add VB.NET code that gets executed during a specific DICOM event. Each event passes event specific variables to the script. These variables can be used within the user defined scripts. Each event has a Client as DicomClient
available. Additional variables are specific to the event type. The additional variables are listed below:
- Receive Associate RequestID
association as DicomAssociate
- Receive Associate Reject
result as DicomAssociateRejectResultType
source as DicomAssociateRejectSourceType
reason as DicomAssociateRejectReasonType
- Receive Associate Accept
Same as Receive Associate Request
- Receive C-ECHO Request
presentationID as Byte
messageID as Integer
affectedClass as String
- Receive C-CANCEL Request
presentationID as Byte
messageID as Integer
- Receive C-FIND Request
presentationID as Byte
messageID as Integer
affectedClass as String
priority as DicomCommandPriorityType
request as DicomDS
- Receive C-GET Request
- Same as Receive C-FIND Request
- Receive C-MOVE Request
presentationID as Byte
messageID as Integer
affectedClass as String
priority as DicomCommandPriorityType
moveAE as String
request as DicomDS
- Receive C-STORE Request
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
priority as DicomCommandPriorityType
moveAE as String
moveMessageID as Integer
request as DicomDS
- Receive C-STORE Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
- Receive N-ACTION Request
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
action as Integer
request as DicomDS
- Receive N-CREATE Request
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
request as DicomDS
- Receive N-DELETE Request
as Byte
messageID as Integer
affectedClass as String
instanceUID as String
- Receive N-GET Request
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
attributes() as Long
- Receive N-SET Request
- Same as Receive N-CREATE Request
- Receive Release Request
association as DicomAssociate
- Receive N-REPORT Request
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
dicomEvent as Integer
request as DicomDS
- Receive N-REPORT Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
dicomEvent as Integer
response as DicomDS
- Send Associate Request
associate as DicomAssociate
- Send Associate Reject
result as DicomAssociateRejectResultType
source as DicomAssociateRejectSourceType
reason as DicomAssociateRejectReasonType
- Send C-CANCEL Request
- Same as Receive C-CANCEL Request
presentationID as Byte
messageID as Integer
affectedClass as String
status as DicomCommandStatusType
- Send C-ECHO Response
presentationID as Byte
messageID as Integer
affectedClass as String
status as DicomCommandStatusType
- Send C-FIND Response
presentationID as Byte
messageID as Integer
affectedClass as String
status as DicomCommandStatusType
response as DicomDS
- Send C-GET Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
remaining as Integer
completed as Integer
failed as Integer
warning as Integer
response as DicomDS
- Send C-MOVE Response
presentationID as Byte
messageID as Integer
affectedClass as String
status as DicomCommandStatusType
remaining as Integer
completed as Integer
failed as Integer
warning as Integer
response as DicomDS
- Send C-STORE Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
- Send N-ACTION Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
action as integer
response as DicomDS
- Send N-CREATE Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
response as DicomDS
- Send N-DELETE Response
- Same as Send C-STORE Response
- Send N-GET Response
- Same as Send N-CREATE Response
- Send N-SET Response
- Same as Send N-CREATE Response
- Send N-REPORT Request
- Same as Receive N-REPORT Request
- Send N-REPORT Response
presentationID as Byte
messageID as Integer
affectedClass as String
instanceUID as String
status as DicomCommandStatusType
dicomEvent as Integer
response as DicomDS
- Send Release Response
- No additional Parameters