changeset 836:a9c35bf108fa

stable age ref
author Alain Mazy <am@osimis.io>
date Tue, 03 May 2022 14:13:57 +0200
parents 1f9f6269543f
children 66ff2f30afcc
files Sphinx/source/users/lua.rst
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/lua.rst	Tue Apr 26 15:04:02 2022 +0200
+++ b/Sphinx/source/users/lua.rst	Tue May 03 14:13:57 2022 +0200
@@ -98,16 +98,21 @@
   parameter is :ref:`documented separately <lua-origin>`.
 * ``function OnStablePatient(patientId, tags, metadata)``: Invoked
   whenever a patient has not received any new instance for a certain
-  amount of time (cf. the option ``StableAge`` in the
+  amount of time (cf. :ref:`stable resources <stable-resources>` 
+  and the option ``StableAge`` in the
   :ref:`configuration file <configuration>`). The :ref:`identifier
   <orthanc-ids>` of the patient is provided, together with her DICOM
   tags and her :ref:`metadata <metadata>`.
 * ``function OnStableSeries(seriesId, tags, metadata)``: Invoked
   whenever a series has not received any new instance for a certain
-  amount of time.
+  amount of time (cf. :ref:`stable resources <stable-resources>` 
+  and the option ``StableAge`` in the
+  :ref:`configuration file <configuration>`).
 * ``function OnStableStudy(studyId, tags, metadata)``: Invoked
   whenever a study has not received any new instance for a certain
-  amount of time.
+  amount of time (cf. :ref:`stable resources <stable-resources>` 
+  and the option ``StableAge`` in the
+  :ref:`configuration file <configuration>`).
 * ``function IncomingFindRequestFilter(source, origin)``: Invoked
   whenever Orthanc receives an incoming C-Find query through the DICOM
   protocol. This allows to inspect the content of the C-Find query,