MPPS trigger no IAN - dcm4che/dcm4chee-arc-light GitHub Wiki
- Using Archive UI - Can be configured either on :
-
Archive Device level (Send IAN for instances received by any Application Entity of the Archive) :
Go upto archive device extension level
Configuration page -> Devices tab -> dcm4chee-arc -> Device Extension -> Archive Device Extension
. ConfigureIAN Timeout
and setIAN On Timeout
toFalse
andSave
. -
Archive Application Extension level (Send IAN for instances received by this Application Entity of the Archive) :
Go upto archive AE extension level
Configuration page -> Devices tab -> dcm4chee-arc -> Child Objects Network AEs -> Network AE Extension -> Archive Network AE Extension
. ConfigureIAN Timeout
and setIAN On Timeout
toFalse
andSave
.
-
OR
-
Using LDAP - One may either create a LDIF file to add attributes either on :
-
Archive Device level (e.g.):
version: 1 dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmIanTimeout dcmIanTimeout: PT5M dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmIanOnTimeout dcmIanOnTimeout: FALSE
OR
-
Archive AE level (e.g.):
version: 1 dn: dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmIanTimeout dcmIanTimeout: PT5M dn: dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org changetype: modify add: dcmIanOnTimeout dcmIanOnTimeout: FALSE
and import it to the LDAP Server by using the ldapmodify command line utility.
OR use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Device Level (e.g.:
dicomDeviceName=dcm4chee-arc
) or on Application Entity Level (e.g:dicomAETitle=DCM4CHEE
) of the Archive Configuration. -
One may refer to Archive Device or Archive Network AE to understand the description of attributes.
Refer ISO-8601 Duration format for more know-how on Durations.
Go to the Control tab on Configuration page in archive UI and reload the configuration.
- storescu simulating the external object source (e.g. modality) STORESCU, from which objects are being received.
- mppsscu simulating Service Class User (SCU) for the Modality Performed Procedure Step (MPPS) SOP Class and for the Verification SOP Class.
-
Start IANSCP
ianscp -b IANSCP:11117
-
Send MPPS request for a study
mppsscu -c DCM4CHEE@localhost:11112 /pathToStudy
-
Wait for IAN Timeout to expire
12:16:05,605 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-6) start
IANScheduler.execute()
12:16:05,620 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-6) Check
availability of MPPS[pk=43, uid=2.25.146054553936111902780201436649105519904, studyInstanceUID=1.2.840.113674.1335.106.200,
status=COMPLETED]
12:16:05,630 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-6) finished
IANScheduler.execute()
..........
..........
12:17:05,631 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-12) start
IANScheduler.execute()
12:17:05,742 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-12) Check
availability of MPPS[pk=43, uid=2.25.146054553936111902780201436649105519904, studyInstanceUID=1.2.840.113674.1335.106.200,
status=COMPLETED]
12:17:05,750 WARN [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-12) Timeout
for IanTask[pk=13, deviceName=dcm4chee-arc, mppsInstanceUID=2.25.146054553936111902780201436649105519904,
scheduledTime=2020-03-10 12:16:55.765] exceeded - no IAN
12:17:05,788 INFO [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-12) finished
IANScheduler.execute()
-
Store all objects of that study on archive
storescu -c DCM4CHEE@localhost:11112 /pathToStudy