Deterministic rule engine

Prescription Safety Check

Submit a medication decision to the governance layer. The system evaluates drug-interaction rules, allergy conflicts, risk severity, escalation requirements, and writes an immutable audit record before anything proceeds.

Severity legend Low — Auto-approved Moderate — Acknowledge High — Supervisor override

Step 1 of 1 · Clinical input

Patient & medication

All fields below are captured into the immutable input snapshot.

Cancel

What gets checked

Governance layers

  • Drug–drug interaction rules
  • Drug–allergy conflicts
  • Low / moderate / high risk classification
  • Escalation and override requirements
  • Immutable audit trail with responsible actor

Active rule examples

Sample rules in scope

Highest-risk rules first. These run on every submission.

moderate RX-310

Interaction: Ibuprofen ↔ Lisinopril

Pharmacist review recommended before dispensing.

low RX-410

Interaction: Cetirizine ↔ Paracetamol

Allow with informational warning.

high RX-104

Interaction: Warfarin ↔ Aspirin

Supervisor authorization required before continuing prescription.

high RX-205

Allergy: Amoxicillin ↔ Penicillin

Prescription must be blocked or escalated with supervisor approval.