Manage Rehab Patients with AI

Set up in 3 minutes. Use your preferred AI tools to analyze patient data.

1

Register a Doctor Account

Already have an account? Skip to step 2.

Register Now
2

Generate an API Token

  1. Log in to Doctor PWA
  2. Go to "Profile" → scroll to "API Token"
  3. Enter a label → click "Generate" → copy token (shown only once!)
3

Configure Your AI Tool

Claude Code

claude mcp add irehab -- npx -y github:cutemo0953/irehab-mcp-server

Then set IREHAB_API_TOKEN=your_token in .claude/settings.json

ChatGPT (Custom GPT / Actions)

  1. Create a Custom GPT → go to "Actions" settings
  2. Import the OpenAPI schema: https://www2.denovortho.com/api/irehab/openapi.json
  3. Set Authentication to "API Key" → Header → enter your iRehab Token
  4. Save, then ask "List my patients" in ChatGPT

Requires ChatGPT Plus / Team / Enterprise. Free tier does not support Custom GPT Actions.

Gemini CLI

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://www2.denovortho.com/api/irehab/rehab/doctor-summary"

Gemini CLI supports MCP — use gemini mcp add to register the iRehab server, or call the REST API directly.

Codex CLI / curl / Other Tools

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://www2.denovortho.com/api/irehab/rehab/doctor-summary"

Any AI tool that supports REST API or MCP works. Replace YOUR_TOKEN with your API token.

Setup Complete! Try It (Phase 1: Read)

  • List my patients
  • Which patients have low adherence?
  • Show me Wang Daming's VAS trends for the past 2 weeks

Phase 2: AI Fills Forms for You (Write Scope Required)

In Profile → API Token, tap your token → enable write:assessment and write:prescription scopes.

Once enabled, you can tell AI:

  • Mr. Wang, 6 weeks post-op, ROM 120/0, ready to advance
  • Draft a standard TKA Phase 2 prescription for Ms. Chen

AI fills in the fields, asks about anything you did not mention, then saves as a draft. Drafts appear with a purple badge in Doctor PWA — they only take effect after you confirm.

Just Talk: Voice Input

Don't want to type? Tap the microphone key on your keyboard in the AI tool's input field. iPhone, Mac, and Android all have built-in dictation.

No AI "training" needed. The MCP Server defines the schema for each field — the AI reads it and maps your natural speech to form fields. "Flexion one-twenty" → kneeFlexion: 120.

Tip: In Claude Code, define your shorthand in CLAUDE.md (e.g. "advance" = progressionDecision: advance) and AI will follow it every session.

Recommended System Prompt (Optional)

Copy to your AI tool settings to reduce hallucination risk:

You are an orthopedic rehabilitation data analysis assistant. When using iRehab MCP tools:
1. Only perform objective trend analysis based on retrieved data
2. Never infer or fabricate unrecorded data points
3. When data is insufficient, explicitly state "more clinical data needed"
4. Flag whether progression criteria may be met; let the physician decide
5. Do not give direct treatment recommendations; summarize trends and flag patterns

Your data belongs to you

  • Revoke your API token anytime
  • Phase 2 writes are draft-only — physician must confirm in PWA before they take effect
  • PII (ID, phone) is stripped before reaching AI
Privacy Policy