RheumAI
RheumAI is a clinical decision-support system for rheumatology. It combines clinical conversation, literature retrieval, medical tools and a review of each response after generation. It helps the clinician to organize information, find gaps and examine hypotheses.
This page explains what RheumAI does. It does not claim prospective validation, regulatory approval or medical-device status. RheumAI does not replace clinical judgment. It does not approve registry data without a clinician.
| Term | Meaning |
|---|---|
| Clinician | The physician who uses RheumAI and approves the clinical data. |
| Surface | One entry point to RheumAI: the web application, an API route or a pipeline mode. |
| Planner | The PLANNING step. It selects the tools and the sources for a request. |
| ORVS | The review of the generated response. Refer to ORVS in RheumAI. |
| Study route | The stateless route POST /v1/study/rheumaai-reply. It processes one de-identified note. |
| Turn | One request and its response. |
| Clinician allowlist | The clinicians with access: a claimed invitation or an approved access request, with the medic role. The monorepo API controls it (/api/users/me). |
In one sentence
Section titled “In one sentence”RheumAI changes a clinical question or a note into a structured response. Several software layers review the response. Figure 1 shows the layers in order.
Current surfaces
Section titled “Current surfaces”| Surface | Use | Observed state |
|---|---|---|
| Web application | Conversation, files and sessions | Active at app.rheumai.xyz. |
POST /api/chat |
Persistent conversation flow | Active. It uses the database and it can read files. |
POST /v1/study/rheumaai-reply |
Controlled evaluation of one de-identified note | Active. It is stateless and authenticated. By design, it does not write RheumAI rows. |
vanilla, rag, dag, quick-orvs, full-orvs |
Comparison of pipeline variants | Experimental. A client must select them explicitly. |
| Deep research | Longer search and synthesis of evidence | Active as a separate flow. |
What happens during a clinical request
Section titled “What happens during a clinical request”RheumAI does these steps for each clinical request. The numbers in Figure 2 are the numbers in this list.
- Access. The chat route requires a Privy session. Then it confirms that the clinician is on the clinician allowlist and accepted the current legal documents. Last, it applies the usage limits.
- Conversation. RheumAI makes or gets the conversation. It prepares the request state.
- Files. RheumAI parses the uploaded files before the planner starts.
- Plan. The planner selects the tools and the sources. Examples are PubMed, Semantic Scholar, local knowledge, the knowledge graph and lab interpretation.
- Rerank. RheumAI reranks the retrieved sources for the question.
- Generate. The response generator uses the clinical persona of RheumAI.
- ORVS. ORVS reviews the response when applicable. If the score fails, RheumAI can generate the response again.
- PMID gate. A separate gate checks the retrieved PubMed IDs. It removes the identifiers that it cannot verify.
- Ethical review. The ethical review can block a rejected output. If the review fails technically, the current code sends the response and records the failure.
- Result. RheumAI sends the result to the clinician, with the evidence that is available in that turn.
What RheumAI does not do yet
Section titled “What RheumAI does not do yet”- RheumAI alone does not make a complete BIOBADAMEX record that is ready for submission.
- It does not score the input note against all the required registry fields.
- It does not return a structured difference between missing, not applicable and unknown data.
- It does not replace the review and the approval of the clinician.
The proposed BiobadamexAI integration uses RheumAI for reasoning and explanation. The controlled institutional workflow keeps the registry schema, the field-level provenance, the completeness rules and the clinician approval. Refer to Clinical notes and completeness and the current BiobadamexAI workflow.
Code and deployment
Section titled “Code and deployment”The RheumAI code is in the monorepo poktalabs/pokta-care-monorepo, in apps/bioagent (package @poktahealth/bioagent). Railway deploys the application at app.rheumai.xyz. The domain rheumai.xyz shows the marketing page. That page is in a different repository (rheumai-landing) and Cloudflare Workers serves it.
Interpretation limits
Section titled “Interpretation limits”These pages describe the code of apps/bioagent in the monorepo poktalabs/pokta-care-monorepo, at commit 264b2bdf77e5a1766a4d70a84cfedeb1efb675ba. A registered tool does not prove that every environment configures it. It also does not prove clinical validation. This section labels the experimental paths and the fallbacks.