Skip to main content
Verifies the session patient matches the EMR patient before injection. Blocks on mismatch with a confirmation modal. Safety guard (INTE-1126) that prevents injecting a medical record into the wrong patient’s chart. Before every injection, the panel re-extracts the patient name from the EMR page (fresh read, not cache) and compares it with the session patient. The guard is fail-open: absent names, placeholders, accent/case/word-order differences never block. Only a definite disagreement triggers the modal. The modal offers three options:
  • Switch session — opens the session switcher dropdown
  • Inject anyway — audited escape hatch (logged to Datadog with session ID, both names, URL)
  • Cancel — closes the modal