I am currently using PacsONE version 3.1.6 and noticed today that there is a bug (or a typo) in the PacsONE program, I dont know if this has changed in more recent releases.
The webinterface says it displays the studies received today, but that is not really true. It displays only new studies that are received at that day. We can easily solve this by changing the text in the web interface but we can also implement an other (in my opinion better) route I think.
If we send (older) studies that are already in the database they are accepted and received again. I guess database records are touched (updated) when that happens. Maybe we can add a timestamp column to all tables concerning series, studies and images and based on that timestamp decide if the instance is received today. This also can help you track received data I guess.
If we define the column like this:
Code:
`timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
it will always reflect the time it was last changed (hence received). If we than change the query to look for this timestamp we can display all studies that are received today (including the ones that were send today but already in the database).
PacsONE 3.1.6: Not displaying al received studies for today
This seems to be a question about the requirements for what should be determined as the date a study is received.
For example:
If you sent some images of a study yesterday, the received date of the study is set to be yesterday. But if you send more images of the same study today, what should be set to the date the study is received, yesterday or today? There seems to be a problem for either:
1. If the study received date is updated with today's date, then you lost the information about when the study was first received (yesterday).
2. If the study received date is left as is, then you lost the information that this study is updated with more images today.
Maybe we should add another updated column to the Study table to record the last date a study is updated. This way, we can keep both information: the date a study is first received, and the date the study is updated. But the question is: is this additional information useful? How many users are interested in when the studies are updated?
For example:
If you sent some images of a study yesterday, the received date of the study is set to be yesterday. But if you send more images of the same study today, what should be set to the date the study is received, yesterday or today? There seems to be a problem for either:
1. If the study received date is updated with today's date, then you lost the information about when the study was first received (yesterday).
2. If the study received date is left as is, then you lost the information that this study is updated with more images today.
Maybe we should add another updated column to the Study table to record the last date a study is updated. This way, we can keep both information: the date a study is first received, and the date the study is updated. But the question is: is this additional information useful? How many users are interested in when the studies are updated?