Hi everyone!
I have a relatively small question, similar to OnStableStudy and OnStableSeries Lua functions, do we have something like the OnStudyDelete and OnSeriesDelete functions that get called when a study/series is deleted from the UI or through an API call?
Regards,
Yash
Maybe these:
Some other resource-related events are available:
-
function OnDeletedPatient(patientId)
: Invoked when a patient has been removed from the Orthanc database (new in Orthanc 1.6.0).
-
function OnDeletedStudy(studyId)
: Invoked when a study has been removed from the Orthanc database (new in Orthanc 1.6.0).
-
function OnDeletedSeries(seriesId)
: Invoked when a series has been removed from the Orthanc database (new in Orthanc 1.6.0).
-
function OnDeletedInstance(instanceId)
: Invoked when a instance has been removed from the Orthanc database (new in Orthanc 1.6.0).
-
function OnUpdatedPatient(patientId)
: Invoked when some metadata or some attachment associated with the given patient has been updated (new in Orthanc 1.6.0).
-
function OnUpdatedStudy(studyId)
: Invoked when some metadata or some attachment associated with the given study has been updated (new in Orthanc 1.6.0).
-
function OnUpdatedSeries(seriesId)
: Invoked when some metadata or some attachment associated with the given series has been updated (new in Orthanc 1.6.0).
-
function OnUpdatedInstance(instanceId)
: Invoked when some metadata or some attachment associated with the given instance has been updated (new in Orthanc 1.6.0).
on this page in the book:
https://book.orthanc-server.com/users/lua.html
2 Likes