Pay-first lab workflow with LAB tickets, order expiry, structured result values flagged high or low, release to the patient, AI explanation and doctor review.
Lab Results
::/steps
High and low flags
When a test row has a range, the system compares the value:
- Below Low → flagged low
- Above High → flagged high
You can also type a flag such as H, L, ↑ or ↓. The doctor and the patient see the flag next to the value. There is no separate critical flag for lab results.
AI text for lab results
- Lab AI draft (optional). In the result form, Generate from report via AI drafts the plain-language summary from the test name, your notes and the file name. It does not read the PDF. Always check and edit it before saving.
- AI summary. If the lab fills AI summary (optional), it is published with the result and labelled as reviewed by laboratory staff.
- Patient explanation. On a released result, the patient can click Explain Using AI (or the Arabic button) for a plain-language explanation. It is made on request, is not stored, and includes a not medical advice note. If the AI service is off, a simple text says which values are out of range; text-only results say they cannot be checked automatically.
- Draft AI summaries are never shown to patients.
Doctor review
The EMR Lab Results card shows the report, the AI summary and the values. Click Mark Reviewed, optionally write Your analysis (optional), and click Confirm reviewed. The analysis appears to the patient as Doctor analysis.
The patient can click Request remote review; the result then shows in the doctor's lab inbox.
Order expiry
- Each order shows Valid until. The pilot default is 30 days.
- A nightly job (03:10) marks unfinished orders Expired. Expired orders cannot get a ticket.
- The doctor can reauthorise an expired order.
::/workflow
Doctor requests lab
Order expiry visible
Patient reviews result
Important notes
- Payment comes first (pay → ticket → sample → result), the same as radiology.
- There is no separate Release to patient step: saving the result releases it.
- Lab and imaging are switched on by the hospital (server setting).