Dr. Avinash kumar gupta

Vibe Rounds — PaJR Analytics

Prompt & Design Spec for generating a PaJR Clinical Dashboard from raw case data

Part of the Vibe Rounds learning stack (avi33tbtt.github.io) — a Socratic AI paradigm for clinical reasoning. This module turns a PaJR (Patient Journey Record) case — a WhatsApp group export, a pasted chat log, or a linked case write-up — into a single, self-contained, insight-dense HTML dashboard.


1. What this is

Give an LLM (Claude, ChatGPT, etc.) this file plus a case, and ask it to build the dashboard. The case can arrive in any of three forms:

  1. Link — a URL to a blog post, case report, or hosted chat export.
  2. Copy-paste — raw text pasted directly into the chat (WhatsApp export text, notes, a transcript).
  3. Text file — an uploaded .txt/.csv WhatsApp export or similar log.

The output is always the same artifact type: one self-contained .html file — no external build step, no server, opens directly in a browser — styled to the Vibe Rounds visual identity (see §4).

This is a learning / analytics tool, not a diagnostic or clinical-decision instrument. Every generated dashboard must carry that disclaimer (see §5.7).


2. How to invoke it

Paste a prompt like:

Using the Vibe Rounds – PaJR Analytics spec, build a dashboard for this case:
[link, OR pasted WhatsApp export, OR attached .txt file]

Optional flags the requester can add:


3. Processing pipeline (what the model should actually do)

Step 1 — Ingest

Step 2 — Extract structured signal from unstructured chat

Look for and pull out:

Step 3 — Synthesize, don’t transcribe

Step 4 — Build the HTML

Follow the design system in §4–5 exactly. One file, inline <style> and inline <script>, no external dependencies except Google Fonts via @import. Charts are hand-drawn inline SVG (no chart libraries) so the file stays dependency-free and portable.


4. Visual identity — must match the Vibe Rounds site (avi33tbtt.github.io)

The dashboard is a Vibe Rounds artifact and must read as part of that family, not as a generic medical report. Pull the theme from the live site rather than assuming:

Token Value Source / notes
Primary brand color #0891B2 (cyan-700) meta-theme-color on avi33tbtt.github.io
Primary dark (header/ink) #0E7490 → deepen further to #0B4A57 for header backgrounds derived, for contrast
Accent / warm flag #C2410C (burnt orange) or #B91C1C (clinical red) for risk flags keep to one warm accent, don’t mix multiple reds
Accent / positive #0D9488 (teal-green) for “strength” / good-outcome signals distinct from primary cyan so KPIs don’t blur together
Watch / amber #B45309 for “needs attention, not yet a flag”
Paper background #F0F7F8 (very pale cyan-grey) not pure white — keeps the clinical-but-warm feel
Panel/card background #FFFFFF  
Border/line #D6E4E7  
Muted text #4B6168  
Ink / body text #0B2226  

5. Page structure (component-by-component)

Build the dashboard as numbered sections, each with a section-head containing a two-digit index, a title, and a short right-aligned descriptor — this numbered-section rhythm is a core Vibe Rounds structural signature, reuse it exactly.

5.1 Header

5.2 Section 01 — Case snapshot (KPI row)

5.3 Section 02 — Primary telemetry (chart panel)

5.4 Section 03 — Care journey timeline

5.5 Section 04 — Synthesized insights

5.6 Section 05 — Stakeholder engagement

5.7 Section 06 — SOAP note

5.8 Section 07 — Insight for the patient

5.9 Section 08 — Insight for the local doctor

5.10 Section 09 — Insight for the care manager team

5.11 Section 10 — Insight for case-based learners

Every dashboard must end with a footer containing, verbatim in spirit:

Vibe Rounds · PaJR Analytics — generated from <source description> · identifiers redacted to role labels · for learning and care-team review, not a diagnostic instrument. Vibe Rounds is a Socratic, AI-augmented clinical-reasoning learning tool — outputs require independent clinical verification and are not a substitute for clinical judgment. Part of the Vibe Rounds project.

The “Vibe Rounds project” text must be a live <a href="https://avi33tbtt.github.io/"> hyperlink (not just plain text) — this is the canonical link back to the parent site and must not be omitted or paraphrased away.

Immediately below the disclaimer line, on its own line, include a second, more explicit warning paragraph, e.g.:

⚠️ This entire dashboard was generated by a large language model, which read and synthesized de-identified chat text from the source [WhatsApp export / link / file]. It was not produced or verified by a clinician. The LLM may have misread, mis-dated, mistranslated, or misinterpreted entries, and its pattern claims (correlations, trends, “insights”) reflect statistical association in a small, self-reported dataset — not confirmed causation. All values, dates, and interpretations should be independently checked against the original log before any clinical, educational, or personal decision is based on them.

As the last <section> inside <main>, before the footer, include a “Make your own” section so any reader can generate a dashboard for a different case:


6. Technical constraints


7. Quality bar — what makes it “highly insightful” rather than a transcript dump

A good output does all of these:

  1. Surfaces a pattern the reader wouldn’t get from skimming the raw chat — a correlation, a trend, a contradiction, a gap.
  2. Quantifies where possible — ranges, counts, percentages — rather than vague adjectives.
  3. Is honest about uncertainty and missing data, not falsely confident.
  4. Cites its own reasoning — every insight card points back to where in the source it came from.
  5. Reads as a finished analytical artifact, not a styled copy of the chat log — if you could regenerate the dashboard’s prose from the raw export by find-and-replace, it hasn’t been synthesized enough.

Vibe Rounds · PaJR Analytics — spec v1.0. Companion to the sample case “65M — Metabolic Syndrome & Dyspnea, West Bengal” and its reference dashboard output. Pair with a case (link / paste / file) and hand both to an LLM to generate a new dashboard.