The detectedAt timestamp on an Exceedance records when the system automatically identified the violation — typically when the ImportBatch containing the result was committed. This is distinct from sampleDate (when the sample was collected) and helps compliance staff track how quickly violations are being detected after lab data arrives. For programs with regulatory notification deadlines triggered by when a violation is "discovered," detectedAt provides the system-generated discovery timestamp. It also supports internal response time metrics — how long does it take from lab receipt to exceedance identification?
piper
Exceedance Detected At
The `detectedAt` on an Exceedance records the timestamp when Piper generated the exceedance record after evaluating an AnalyticalResult against a ThresholdValue.
