What We Built
Prodinit delivered a two-layer solution: an Amazon QuickSight interactive dashboard covering enrollment, demographic, and clinical outcome metrics, layered with an LLM-powered conversational interface that translates natural language questions into live PostgreSQL queries.

Amazon QuickSight Dashboards
Prodinit built three interconnected dashboard views, all fed from a live PostgreSQL database tracking clinical trial activity from February 2023 onwards:
Enrollment Overview — site-wise participant status across Completed, Enrolled, Early Terminated, and Screen Failed categories. A cumulative enrollment chart tracks progress over time across all active trial sites.
Demographic View — age distribution with statistical summaries (mean, median, standard deviation) per site. Gender distribution across sites including non-binary and undisclosed categories — a requirement for the client's mental health research reporting standards.
Clinical Measures (COA Scores) — Clinical Outcome Assessment score distributions over time, with Score 1 and Score 2 breakdowns by site. Notes, secondary reviews, and NMSSdev tracking all visible in a single view.
Drilldowns — cross-filters by site, participant status, and enrollment date range apply across all views simultaneously. Sponsors can isolate a single site's demographic profile without any data team involvement.
LLM Integration for Conversational Queries
The second layer gives every stakeholder — regardless of technical background — the ability to ask questions against live trial data in plain English.
Users type natural language questions; the system translates them into optimised SQL queries against the PostgreSQL database and returns structured answers or summary tables. No dashboard navigation, no SQL knowledge, no data team dependency.
Sample queries the system handles:
| Question | Response |
|---|---|
| Which site enrolled the most participants in June 2023? | Site 02 enrolled 18 participants in June 2023 |
| Show average age of enrolled participants per site | Table with site-wise age averages |
| Gender breakdown of screen failures at Site 03? | 3 female, 1 male, 1 undisclosed |
The LLM layer is connected directly to the same PostgreSQL database powering QuickSight — so conversational answers and dashboard visuals always reflect the same underlying data.
Results
Prodinit delivered the dashboard and LLM integration with stakeholder access live from day one. The client's sponsors, clinical ops, and research team now query trial data directly — without waiting on the data team or learning SQL.
- Real-time summary views — insight generation dropped from 1–2 days to immediate, across all active trial sites
- All stakeholders access data — sponsors, operations, and clinical teams query the same live PostgreSQL source; no longer restricted to the data team
- Fully dynamic demographic drilldowns — age, gender, and site-level filters that were previously impossible are now a single click or a natural language question
- Conversational + visual querying — natural language questions return instant answers; pre-built chart limitations no longer constrain analysis
- 7 active trial sites tracked in real-time — enrollment, screen failure, completion, and early termination status all visible simultaneously
- COA score tracking operational — clinical outcome assessment distributions by site and over time, previously unavailable to non-analyst staff