Turnaround and Due Date Functionality Documentation
Overview
This document outlines the process of determining Due Dates and Estimated Complete Dates using various Turnaround metrics within our application. The system follows a hierarchical approach to select the most appropriate turnaround time for calculations.
"Start Date" Selection Process
The application uses the following hierarchy to determine the "Start Date" to use when adding the Turnaround days:
- Test's Estimated Start Date field
- Test's Start Date field
- Order's Date Received field
Turnaround Selection Process
The application uses the following hierarchy to determine the applicable turnaround time:
- Panel-Assay Rush Turnaround
- Assay Rush Turnaround
- General Rush Turnaround duration
- Assay Duration
Detailed Process
1. Panel-Assay Rush Turnaround
- The system first checks for the existence of a Panel-Assay Turnaround.
- If present, this value is used for calculating Due Dates and Estimated Complete Dates.
- This is the most specific turnaround metric.
2. Assay Rush Turnaround
- If Panel-Assay Turnaround is not available, the system checks for Assay Turnaround.
- When found, this value is used for the calculations.
- Assay Turnaround is less specific than Panel-Assay Turnaround but more specific than general turnaround times.
3. General Rush Turnaround Duration
- If neither Panel-Assay nor Assay Turnaround exists, the system looks for the Global Turnaround duration.
- This is a more general metric and is used when more specific turnarounds are not defined.
4. Assay Duration
- As a last resort, if none of the above turnaround times are available, the system uses the Assay Duration.
- This is the most general metric and is used only when no other turnaround times are defined.
- **IMPORTANT NOTE**: If the Assay Duration is longer than the selected Rush Turnaround of a Test, it will use the Assay Duration. This is for a Microbio labs use case. For example: they have some assays where something needs to grow and it cannot be faster than the assay duration
Conclusion
This hierarchical approach ensures that the most appropriate and specific turnaround time is always used for calculating Due Dates and Estimated Complete Dates. It provides flexibility in managing different levels of specificity for various assays and panels while maintaining a consistent fallback mechanism.
Comments
0 comments
Please sign in to leave a comment.