Laboratory · HL7 v2
The analysers speak HL7 v2.
One message per sample, one segment per line.
ORU^R01, MSH · PID · OBR · OBX
The problem
One analyser sends no flag.
- Its creatinine at 162 µmol/L goes unnoticed.
- The range was in the message all along.
What is not changed
The analysers stay as they are.
- Their HL7 files, in their folder.
- No interface engine, no code.
What had to be written
fill-down: { columns: [sample], reset-when: MSH }
when: [segment=OBX, "value>{range_high}"]One regex per segment, one condition.
- csv-file: the segments as rows.
- A Process: the range, not the flag.
The result
Two decisions, one without a flag.
- Lactate 3.1, flagged H.
- Creatinine 162, flag empty.
Try it
The scenario replays locally.
Every step is published with its output.