ChartSearchAI · OpenMRS Point-of-Care EHR

Ask questions about a patient’s chart.

Ask questions about a patient’s history, explore trends and inspect the source records behind an answer. ChartSearchAI brings this workflow into OpenMRS across both the bundled provider and Med Agent Hub.

OpenMRS integration · Recorded examples

ChartSearchAI in the patient chart.

ChartSearchAI is an application for patient-chart questions in OpenMRS. Fresh installations retain the bundled provider; deployments may configure the same lifecycle through Med Agent Hub. The recording uses that configured Hub provider and stores each stage in one chat message. The initial Answer is displayed before validation and In-Depth finish. Optional checks, In-Depth and live text updates depend on the selected provider and model; unsupported stages do not prevent the answer from being shown. Streaming can also be turned off.

Gemma 4 E4B response example Initial Answer, validation state, source records, and In-Depth.
1:45 · silent recording at 2× speed
Transcript (silent recording)
  1. A clinician opens the AI Chart Search panel from a patient's chart and asks a question.
  2. The initial Answer appears, generated by the Gemma 4 E4B model with answer checking enabled.
  3. The same message updates in place to show the validation result: checked, edited, needs review, or unavailable.
  4. Source records appear as reference tiles, showing which chart entries the answer used.
  5. The In-Depth section generates additional detail once the checked answer is available.
01 Initial Answer

Displayed when the answer stage finishes.

02 Validation result

The same message records checked, edited, needs review, or unavailable.

03 Source records

References show the chart entries used by the final answer.

More recorded examples

Additional OpenMRS sessions.

These recordings use the local OpenMRS stack with the configured Med Agent Hub provider. Captions identify the stage shown; the bundled provider remains a supported separate path.

12B profile 7:09

Gemma 4 12B multi-turn session

Shows the Answer, validation update, evidence, In-Depth, and a new question that interrupts unfinished In-Depth.

Transcript (silent recording)
  1. A clinician asks a question using Gemma 4 12B, a 12-billion-parameter model, with checking enabled; the initial Answer appears.
  2. The message updates with the validation result and resolved evidence tiles.
  3. The In-Depth section begins generating additional detail.
  4. Before In-Depth finishes, the clinician asks a new question, which interrupts the unfinished In-Depth and starts a new answer cycle.
  5. The conversation continues, with each new question following the same checked-answer lifecycle.
OpenMRS chart with the AI Chart Search panel showing verified evidence records for a weight trend answer

Evidence tiles OpenMRS

Resolved chart records

Each tile shows the record type, date, value used, source identifier, and grounding result.

Med Agent Hub

How each answer is produced.

ChartSearchAI owns the OpenMRS workflow and can execute it through either its bundled provider or a configured Med Agent Hub provider. The five stages below describe the Hub configuration in this recording. Other configurations may support fewer stages; the interface reports the checks that actually ran.

1 Context

Load patient records and source provenance.

2 Answer

Generate the initial answer with the selected profile.

3 Check

Apply deterministic temporal and output rules.

4 Evidence

Resolve citations and record grounding results.

5 In-Depth

Generate additional detail from the checked answer.

Evidence and development resources

Read the recorded findings, learn about related tools or follow development.

Model output may be wrong or incomplete. Review the underlying chart and distinguish the initial answer from later checks and additional detail.