Quick Start¶
This guide walks you through creating your first study in Metricis.
Prerequisites¶
- Metricis installed and running locally (see Installation)
- Server running on port 8000
- Portal running on port 3000
Step 1: Create Admin Account¶
- Visit http://localhost:3000
- Click "Sign Up" (or use the
/api/auth/registerendpoint) - Create an account with:
- Email: admin@example.com
- Password: (your secure password)
- Name: Admin User
Step 2: Create a Study¶
- Log in to the portal
- Click "Create Study" on the dashboard
- Fill in study details:
- Study Name: "My First Study"
- Study Code: "STUDY-001"
- Description: "A test study for getting started"
- Study Type: Select appropriate type
- Click "Create Study"
Step 3: Configure Forms¶
Option A: Use Templates¶
- Navigate to the study overview
- Click "Apply Template"
- Choose a pre-configured template (e.g., "Basic Neurology Study")
- Review and confirm the template application
Option B: Create Custom Forms¶
- Go to Configure → Batteries
- Click "Create Battery"
- Add cognitive tasks or questionnaires
- Save the battery
Step 4: Set Up Visit Schedule¶
- Go to Configure → Schedule
- Click "Add Visit Window"
- Define visits (e.g., "Baseline", "Week 4", "Month 3")
- Assign forms to each visit
- Set visit windows (e.g., ±7 days)
Step 5: Enroll Participants¶
Manual Enrollment¶
- Go to Operate → Participants
- Click "Add Participant"
- Enter participant details:
- Participant ID
- Date of enrollment
- Contact information (optional)
- Click "Enroll"
Bulk Import¶
- Go to Operate → Participants
- Click "Import Participants"
- Download the template CSV
- Fill in participant data
- Upload the CSV file
Step 6: Assign Forms¶
Forms are automatically assigned based on visit windows, but you can manually assign:
- Go to Operate → Visits
- Select a participant
- Click on a visit
- Review assigned forms
- Manually assign additional forms if needed
Step 7: Complete Assessments¶
As a Participant (Patient Portal)¶
- Participant receives magic link via email/SMS
- Opens link in mobile browser or native app
- Completes consent (if configured)
- Views assigned assessments
- Completes assessments (works offline)
- Submits data (syncs when online)
Test Mode (Portal)¶
- Go to Operate → Sessions
- Click "Start Test Session"
- Select a participant and battery
- Complete the assessment
- View results in Data Entry
Step 8: Review Data¶
- Go to Operate → Data Entry
- View the data entry grid
- Review form statuses:
- Not Started
- In Progress
- Complete
- Signed
- Locked
- Check quality badges:
- Errors (red)
- Warnings (yellow)
- Queries (blue)
- Review (purple)
- SDV (orange)
Step 9: Validation & Queries¶
View Validation Results¶
- Click on a completed form
- View validation findings
- Resolve errors and warnings
- Mark as reviewed if needed
Manage Queries¶
- Open a form with queries
- View query details
- Respond to queries
- Close resolved queries
Step 10: Export Data¶
- Go to Analyze → Export
- Select export format:
- CSV
- Excel
- ODM XML
- Choose data to export:
- All participants
- Selected participants
- Date range
- Download export file
Next Steps¶
- Architecture Overview - Understand the system design
- Validation & Queries - Learn about data quality management
- REDCap Integration - Set up REDCap sync
- Development Guide - Extend Metricis with custom features
Common Tasks¶
Add Validation Rules¶
- Go to form definition
- Navigate to "Validation Rules"
- Create custom rules:
- Required fields
- Range checks
- Pattern validation
- Cross-field validation
Configure REDCap Sync¶
- Go to Configure → REDCap
- Enter REDCap API URL and token
- Map study events to batteries
- Enable bidirectional sync
- Test connection
Set Up Notifications¶
- Configure Twilio for SMS (optional)
- Configure Firebase for push notifications (optional)
- Set up visit reminders
- Configure notification cadence
Troubleshooting¶
Assessments Not Loading¶
- Check browser console for errors
- Verify server is running on port 8000
- Check CORS configuration in server/.env
Data Not Syncing¶
- Check network connection
- Verify API credentials
- Check background task status (Celery)
Validation Errors¶
- Review validation rules configuration
- Check SurveyJS schema
- Verify field names match schema
Getting Help¶
- Read the full documentation
- Check GitHub Issues
- Review CLAUDE.md for development guidelines