The statistics displayed on "Samples Collected" list such as: “Total”, ”Pending Tests", and "Pending validations" are not counting the referred out tests. As some tests are referred out, then total count and pending tests are reduced by removing the count of referred out tests.
This is causing a few problems in the workflow:
When all the tests in an accession were referred out, the total count becomes zero and then the accession get dropped from the dashboard.
Further, When results are added for referred out tests, even though they are presented for further validation, the “Pending validation” does not count the referred out tests.
I discussed this with and this is what is being done to fix this.
Show an additional column "Referred out" to show the number of tests that referred out and not added results yet. It will increase as tests are referrred out and decrease as results are added for them. As results are added for referred out tests, the Pending validation count will increase accordingly.
The referred out column will be present only when a configuration is set.
In any case, the total count and pending validation count will be fixed, so that it would always count the referred out tests in the accession.
--Resolution comments by Rupam
Now in Dashboard, for showing statistics for samples collected, referred out tests will be part of the “total” Count, and referred out tests pending for validation will be counted as part of “Pending validation“ count. and there will a new column to show count of referred out tests. The referred out column will be displayed based on a configuration. The Configuration can be changed by setting a property “showReferredTestsCount” true or false in site_information table. By default it is True.