As some of our clients’ installations are multi-user (for instance, secretary and doctor, or one secretary and two doctors, or two secretaries and five doctors), the need has arisen for us to be able to identify which users of each installation are logged in, when they logged in and for how long and what actions they performed.
For instance, let us take a practice with two doctors and a secretary. All of them are logged in at the same time. How can we:
(a) Identify which user logged in when and for how long?
(b) Identify which action each user performs and when?
Is there some code that needs to be added to the code spaghetti known as left_nav.php?
It’s all in the log table, but figuring out how a given row maps to a particular action is a little trickier. The Apache access logs also track every request.
The data you are looking for is probably all tracked already. The hard part is aggregating it into something meaningful.
Kevin, thank you for the information. But can you tell me what happens in the following scenario?
Let’s say we have a certain practice in a web-based installation of OpenEMR. The practice has three users: A, B, and C. And they’re all logged in at a given moment in time.
One of them clicks a specific button in the left-hand menu (the code spaghetti known as left_nav.php)
How can we tell which of the three users clicked on that button?