Writing schemas with AI
warning
RehabAlpha is still under active development. It is not yet HIPAA compliant and should only be used with dummy data.
AI tools such as ChatGPT, Gemini, and Claude can be very effective for drafting RehabAlpha schemas.
In many cases, using AI is the fastest way to go from a vague idea like:
- “I need a PT evaluation template”
- “I want a falls section”
- “I need a Medicare-focused SNF template”
to a usable first draft.
Example prompt
Here is a simple starting prompt:
Review the documentation for RehabAlpha schemas at the following URLs:
1. https://docs.rehabalpha.com/guides/schemas/
2. https://docs.rehabalpha.com/guides/schemas/writing-your-own-schema
TASK:
Create a RehabAlpha evaluation schema for outpatient physical therapy. The clinician needs to document chief complaint, history, pain, knee range of motion, gait, assessment, and plan. Keep it clean and beginner-friendly.
REQUIREMENTS:
- Prevent broken references
- Prevent duplicate or inconsistent naming
- Prevent overcomplicated conditional logic
- Prefer reusable options nodes
- Prefer structured option values
- Keep the schema beginner-friendly
- Avoid deeply nested conditionals
- Keep the template focused and not overly long
- Do not use inline child objects unless necessary
- Optimize for readability over cleverness
- Use clear IDs with consistent naming
- Knee ROM should include right and left flexion and extension as number inputs
- Include a yes/no pain question
- If pain is present, show pain location and pain level
- Use only supported RehabAlpha node types and properties
OUTPUT:
Return only the schema as a block of code in JSON5 format with no explanation.
Tip
Use the most powerful, longest thinking AI model you can get your hands on.
Try it
Copy the example prompts above into your preferred AI tool and see what it produces.