The "CloseStaleVisitTask" scheduler does not allow us to choose which visit types should be closed. It works on ALL visit types (except maybe IPD since that one follows the Admin/Discharge logic). OpenMRS scheduler "Auto Close Visit Task" does support this feature (via the visits.autoCloseVisitType property, but then it isn't as "smart" as CloseStaleVisitTasks).
|