Critical lab results should trigger an alert in seconds — not sit in an inbox. A persistent service parses every HL7/FHIR file the moment it arrives and routes out-of-range values to the alert queue instantly.
Healthcare labs deliver results in a mix of formats — HL7 v2 messages, FHIR R4 JSON bundles, plain CSVs — and somebody has to triage them for abnormal values. In a high-volume practice, a clinician manually reviews dozens of result files before flagging a critical HbA1c or out-of-range eGFR. The process is slow, inconsistent under workload pressure, and a genuine patient safety risk when a critical result sits unread in an inbox.
Under workload pressure, critical values get missed. A result sitting unread in an inbox for hours is a patient safety issue — not an inconvenience.
Results arrive as HL7 v2, FHIR R4, and plain CSVs — each requiring different parsing logic. Manual handling is error-prone and slow across format variations.
The Smart Automation Framework watches your HL7/FHIR inbox directory and, the moment a new result file arrives, parses it, checks every LOINC-coded observation against your reference ranges, and routes out-of-range values directly to your alert queue and FHIR server — in real time, with zero manual triage. Generated once from a plain-English description; runs as a persistent service with zero AI tokens per evaluation.
Write a prompt specifying your HL7/FHIR inbox directory, LOINC reference ranges file, FHIR endpoint URL, and alert queue path. Include log file location for parsing errors.
Gemini CLI generates a Python service using hl7apy and fhirclient with LOINC code mapping, threshold evaluation, and structured alert POSTs to your FHIR endpoint. A systemd service unit is produced and installed.
The service runs continuously, processing every file that arrives — routing abnormal results to the alert queue and FHIR server within seconds. No queue builds up, no result goes unseen. Zero AI tokens per evaluation.
"Watch$HL7_INBOXfor new.hl7and.jsonfiles. Parse LOINC-coded observations. For each result, check value against$REFERENCE_RANGES_JSON. If out-of-range, write an alert object to$ALERT_QUEUEand POST to$FHIR_ENDPOINT. Log all parsing errors tolab_parser.log."
| Variable | Example Value |
|---|---|
HL7_INBOX | /var/hl7/inbox |
REFERENCE_RANGES_JSON | /etc/lab_parser/ranges.json |
FHIR_ENDPOINT | https://fhir.clinic.local/Observation |
ALERT_QUEUE | /var/alerts/queue.json |
~15,000 tokens for complex clinical parsing logic. The most you'll ever pay for this pipeline.
Zero tokens — deterministic rule-based LOINC evaluation against reference ranges.
Zero tokens — pure local Python execution as a systemd/launchd service.
Abnormal lab results should trigger an alert in seconds, not sit in an inbox waiting for a human to notice them. The awaBerry Smart Automation Framework makes real-time, FHIR-compliant result triage a background service — always on, always consistent, written from a plain-English description of your clinical workflow.
Price monitoring is only useful if it happens every day without fail. The Smart Automation Framework turns it into a zero-maintenance daily habit — the scraper runs on schedule, the delta report appears in your inbox.
Legacy software does not have to be a data silo. Bridge any desktop application to any modern database through UI automation — no API, no middleware, no source-code access required.
awaBerry Anywhere is a zero-trust remote access platform that gets any device — cloud server, laptop, or SoC hardware — securely accessible from anywhere in minutes. No VPNs, no open inbound ports, no complex configuration or additional remote connection software. Works on any MAC - yes even an old Apple macbook from 2012. Works on any Ubuntu / Debian / Redhad based LINUX. Works on any Windows which supports the Windows Subsystem for Linux (WSL).
Flexible onboarding for any hardware — in any environment.
Full control and activation via the awaBerry web dashboard.
awaBerry Automation is the combination of two tightly integrated products that together form a complete, AI-native automation platform.
Uses the Google Gemini CLI to translate plain-English instructions into executable scripts — run on your local devices on a schedule. AI tokens are spent exactly once to generate the logic; every subsequent execution costs nothing.
Read more →Secure, zero-trust device access as-a-service. Exposes your registered devices to programmatic access via encrypted tunnels — grant AI agents, scripts, or collaborators precisely scoped access.
Read more →Fundamentally different: a complete, AI-native automation platform — across every device you own, anywhere in the world.
Read more →Automate operations, manage fleets, and enable secure remote work for your entire team.
Access your home devices, automate personal tasks, and share access with family — for free.
Access lab hardware, automate data collection, and collaborate across institutions.
Start from a plain-English description of your clinical workflow. The framework handles everything else.