About one in twelve op ends was set from the recording rather than charted, and a small set of times fail basic conformance checks; all are encoded as exclusion rules.
Background
- Vital Recorder stops recording 10 minutes after the heart-rate and SpO₂ signals disappear.
- Imputed times measure when monitoring stopped, not when surgery ended, and would bias any accuracy analysis towards agreement with the signals.
Data
- All charted times and dates in
clinical_data.csv. The machine-readable rules are in exclusion_rules.json.
Method
- Checked gaps from op end to recording end, whole-second and whole-minute structure, event order, extreme values and placeholder dates.
- Command (vitaldb-resolution):
python tools/screens.py timestamp-imputed-and-conformance --root $R --out $W/screens, which writes $W/screens/timestamp-imputed-and-conformance.json with every number below.
Results
- 537 op ends (8.4%) fall 598–604 s before the end of the recording; most often 601 s (346 cases) or 602 s (129 cases). They are excluded as
imputed.
- 130 anaesthesia ends are stored with floating-point noise (e.g. 599.999999 s), most an exact multiple of 5 minutes after op end: 600 s (40 cases), 300 s (20), 900 s (20), 1,200 s (14) and 1,500 s (7). Only 14 of them have an imputed op end, so they are not derived from it.
- Two dates default to 1900: case 4476 (anaesthesia end) and case 1563 (admission and discharge), near −3.69 × 10⁹ s.
- Op end comes after anaesthesia end in 52 cases and equals it in 108 (leaving out case 4476's 1900 date).
- Anaesthesia end is +720 min from recording end in case 3980 (12-hour error?) and +1,441 min in case 4959 (date error?).
- No case has op start before anaesthesia start, op end before op start, or anaesthesia end before anaesthesia start, apart from case 4476's 1900 date.
- Op end equals recording end minus 10 minutes (598–604 s) in 537 of 6,388 cases (8.4%). By department:
thoracic 16.6% (184 of 1,111), general 6.9% (341 of 4,930), gynaecology 3.5%, urology 3.4%. By anaesthesia:
sedation 41.7% (30 of 72), spinal 30.0% (82 of 273), general 7.0%. By operation type it ranges from 15.2%
(minor resection) to 2.3% (breast). Emergency 9.8%, elective 8.2%. (Op end was filled in from the recording end in 537 cases)
Discussion
- The noisy anaesthesia ends were most likely charted as an interval after op end, in whole 5-minute steps.
- Recordings end 10 minutes after the SpO₂ and the ECG heart rate stop (Lee 2026),
so an op end 598–604 s before the recording end is the moment monitoring stopped, the patient's disconnection,
put in where no op end was charted. It is a device time, not a charted one, and lies after the true end of the
operation by however long the patient stayed monitored.
- Excluded values return a status rather than a distribution; flagged values are fitted and returned with the flag.
- The 1900 dates are the "missing time stored as zero" bug from §5.5 of the review.
Observations it supports
| Observation |
Status |
Summary |
| Op end was filled in from the recording end in 537 cases |
established |
In 537 cases (8.4%) the op end is exactly 10 minutes before the end of the recording. Recordings end 10 minutes after the SpO₂ and the ECG heart rate stop (Lee 2026), so these op ends are the moment the patient was disconnected, filled in where none was charted. These cases are concentrated in thoracic surgery and under sedation or spinal anaesthesia. |
Limitations
- The noisy anaesthesia ends were missed in an earlier fit, because their noise (about 10⁻⁶ s) slipped under the test threshold.
Open questions
- Why imputed op ends cluster in thoracic and non-general cases (unexplained phenomenon). Imputed op ends are twice as common in thoracic surgery as in general surgery, and four to six times as common under sedation or spinal anaesthesia as under general anaesthesia. Cases without a charted op end are not spread at random; why these groups lack one (a different charting workflow, a different person recording, the operation's end not being marked) is not known, and the VitalDB team could say.
Code
Tags: from the resolution work