Every AnalyticalResult is a child of a SamplingEvent via the samplingEventId. This relationship means the result inherits the sampleDate, wellId, and siteId of the event, which places it correctly on trend charts and in site history reports. When reviewing results for a particular well, Piper groups them by their parent SamplingEvent so compliance staff can see all analytes measured during the same visit together — essential context for understanding whether multiple contaminants were elevated simultaneously.
piper
Analytical Result Sampling Event
The `samplingEventId` on an AnalyticalResult links the measurement back to the specific field sampling visit where the sample was collected.
