main.background_tasksΒΆ

Non-view functions used to carry out background processes.

Functions

reset_sessions()

Empty out sessions older than 1 minute.

run_encounter_close()

When triggered, this function will search for expired PatientEncounter objects and set them as inactive.