Rehabilitation Training Management Skills
A comprehensive rehabilitation training management system to help record rehabilitation progress, assess functional improvement, and achieve rehabilitation goals.
Core Process
用户输入 -> 识别操作类型 -> 提取参数信息 -> 检查完整性 -> [需补充] 询问用户
|
[信息完整]
|
生成JSON -> 保存数据 -> 输出确认
Step 1: Parse User Input
Operation Type Identification
| Input Keywords |
Operation Type |
Description |
| start |
start_rehab |
Start rehabilitation tracking |
| exercise |
exercise_log |
Record rehabilitation training |
| assess |
functional_assessment |
Functional assessment |
| progress |
progress_report |
View rehabilitation progress |
| goals |
goal_management |
Rehabilitation goal management |
| plan |
phase_management |
Rehabilitation phase management |
Rehabilitation Type Keywords
Orthopedic rehabilitation
| Input Keywords |
Type Value |
| acl, acl-surgery, acl_reconstruction |
acl_reconstruction |
| meniscus |
meniscus_surgery |
| fracture |
fracture |
| replacement, joint |
joint_replacement |
| spine |
spine_surgery |
Sports injury
| Input Keywords |
Type Value |
| ankle, sprain |
ankle_sprain |
| knee |
knee_injury |
| shoulder |
shoulder_injury |
| elbow, tennis elbow |
tennis_elbow |
| strain, muscle |
muscle_strain |
Neurological rehabilitation
| Input Keywords |
Type Value |
| stroke |
stroke |
| spinal, spinal cord |
spinal_cord_injury |
| parkinsons |
parkinsons |
| ms, multiple_sclerosis |
multiple_sclerosis |
Cardiopulmonary rehabilitation
| Input Keywords |
Type Value |
| cardiac |
cardiac_surgery |
| copd |
copd |
| pneumonia |
pneumonia |
| covid |
covid_rehab |
Training Type Keywords
| Input Keywords |
Exercise Type |
| rom |
rom_exercises |
| slr, straight leg raise |
straight_leg_raise |
| quad, quadriceps |
quadriceps_sets |
| hamstring |
hamstring_curls |
| calf |
calf_raises |
| balance |
balance_training |
| single leg |
single_leg_stance |
| gait |
gait_training |
| stairs |
stairs_training |
| sit to stand |
sit_to_stand |
Assessment Type Keywords
| Input Keywords |
Assessment Type |
| rom |
rom_assessment |
| strength |
strength_assessment |
| balance |
balance_assessment |
| pain |
pain_assessment |
| gait |
gait_assessment |
| functional |
functional_assessment |
Joint Keywords
| Input Keywords |
Joint |
| knee |
knee |
| hip |
hip |
| ankle |
ankle |
| shoulder |
shoulder |
| elbow |
elbow |
| wrist |
wrist |
Activity Type Keywords
| Input Keywords |
Activity |
| flexion, flexion |
flexion |
| extension, extension |
extension |
| abduction, abduction |
abduction |
| rotation, rotation |
rotation |
Pain Score
- 0-10 number or pain0-pain10
Goal Status Keywords
| Input Keywords |
Status |
| add, add |
add_goal |
| list, list |
list_goals |
| active, in progress |
active_goals |
| completed, completed |
completed_goals |
| update, update |
update_goal |
| complete, achieve |
complete_goal |
| delete, delete |
delete_goal |
Step 2: Check Information Completeness
Required to start rehabilitation:
Required to record training:
- Training name
- Sets and reps or duration
Required for functional assessment:
- Assessment type
- Assessment result
Step 3: Interactive Inquiry (if needed)
Scenario A: Missing rehabilitation type
请选择康复类型:
骨科康复:
- ACL重建术后 (acl)
- 半月板手术 (meniscus)
- 骨折康复 (fracture)
- 关节置换 (replacement)
- 脊柱手术 (spine)
运动损伤:
- 踝关节扭伤 (ankle)
- 膝关节损伤 (knee)
- 肩关节损伤 (shoulder)
- 网球肘 (tennis_elbow)
神经康复:
- 脑卒中 (stroke)
- 脊髓损伤 (spinal)
- 帕金森 (parkinsons)
心肺康复:
- 心脏手术 (cardiac)
- COPD (copd)
Scenario B: Incomplete training information
请提供完整的训练信息:
- 训练名称
- 组数x次数 (如: 3x15)
- 疼痛评分 (0-10)
- 其他备注(可选)
Scenario C: Missing assessment parameters
请提供评估详情:
- 关节/肌肉
- 活动类型
- 测量值
例如: rom knee_flexion 120
例如: strength quadriceps 4/5
Step 4: Generate JSON
Rehabilitation Profile
{
"rehabilitation_management": {
"user_profile": {
"condition": "acl_reconstruction",
"injury_date": "2025-05-01",
"surgery_date": "2025-05-15",
"current_phase": "3",
"phase_start_date": "2025-06-01"
},
"rehabilitation_goals": [
{
"goal_id": "goal_001",
"category": "rom",
"description": "full_knee_extension",
"baseline": -10,
"current": 0,
"target": 0,
"unit": "degrees",
"status": "achieved"
}
],
"exercise_log": [],
"functional_assessments": []
}
}
Training Record
{
"id": "ex_20250620080000001",
"date": "2025-06-20",
"time": "08:00",
"exercise_name": "straight_leg_raise",
"sets": 3,
"reps": 15,
"duration_minutes": 10,
"resistance": "bodyweight",
"pain_level": 2,
"rpe": 10,
"notes": "完成良好,无明显疼痛"
}
Functional Assessment
{
"assessment_date": "2025-06-20",
"rom": {
"knee_flexion": 120,
"knee_extension": 0,
"target_range": "0-135"
},
"muscle_strength": {
"quadriceps": "4/5",
"hamstrings": "4+/5"
},
"pain_assessment": {
"vas_at_rest": 0,
"vas_with_activity": 2,
"location": "anterior_knee"
},
"balance": {
"test_type": "single_leg_stance",
"duration_seconds": 30,
"notes": "stable"
}
}
See the complete Schema definition at schema.json。
Step 5: Save Data
- Read
data/rehabilitation-tracker.json
- Update the corresponding section according to the operation type
- Update statistical data
- Write back to the file
Execute Instructions
1. 识别操作类型 (start/exercise/assess/progress/goals/plan)
2. 提取参数信息
3. 检查必填字段完整性
4. 如有缺失,询问用户补充
5. 生成符合 schema.json 的 JSON
6. 保存到 data/rehabilitation-tracker.json
7. 输出确认信息和康复建议
Example Interactions
Example 1: Start Rehabilitation Tracking
用户: start acl-surgery 2025-05-01
AI: 已开始康复追踪
━━━━━━━━━━━━━━━━━━━━━━━━
损伤类型: ACL重建术后
损伤日期: 2025-05-01
当前阶段: Phase 1 (保护期)
康复目标:
- 控制肿胀、疼痛
- 恢复伸膝
- 股四头肌激活
注意事项:
- 遵循康复师指导
- 循序渐进,避免过度训练
- 训练时疼痛控制在4/10以下
Example 2: Record Training
用户: exercise slr 3x15 pain2
AI: 已记录训练
━━━━━━━━━━━━━━━━━━━━━━━━
训练: 直腿抬高
日期: 2025-06-20
组数x次数: 3x15
疼痛评分: 2/10
训练完成良好!疼痛在可接受范围内
今日训练: 1项
本周训练: 5项
Example 3: Functional Assessment
用户: assess rom knee_flexion 120
AI: 已记录功能评估
━━━━━━━━━━━━━━━━━━━━━━━━
评估类型: 关节活动度
关节: 膝关节
活动: 屈曲
当前角度: 120度
目标范围: 0-135度
进展: 达到目标的 89%
状态: 进展良好
继续努力!目标还差15度
Example 4: View Progress
用户: progress
AI: 康复进展报告
━━━━━━━━━━━━━━━━━━━━━━━━
康复时长: 50天
当前阶段: Phase 3 (强化期)
功能改善:
- 膝关节屈曲: -10度 -> 120度 (+130度)
- 膝关节伸展: -10度 -> 0度 (已达目标)
- 股四头肌肌力: 3/5 -> 4/5
疼痛控制:
- 静息痛: 0/10
- 活动痛: 2/10
训练依从性: 85% (34/40次计划训练)
目标达成: 2/3 (67%)
评价: 康复进展良好,继续保持!
See more examples at examples.md。
Medical Safety Boundaries
What cannot be done:
- Replace the professional guidance and treatment plans of a rehabilitation therapist
- Give specific rehabilitation training prescriptions
- Diagnose the degree of injury or complications
- Judge rehabilitation prognosis or recovery time
What can be done:
- Provide rehabilitation training records and progress tracking
- Provide functional assessment records and trend analysis
- Provide rehabilitation goal management and achievement tracking
- Provide training adherence statistics and pain monitoring
- Provide general rehabilitation advice and reminders to seek professional medical care
Safety principles:
- Progress gradually; do not exceed the current rehabilitation stage
- Avoid overtraining and re-injury
- Keep pain during training within an acceptable range (<4/10)
- Pain after training should return to baseline within 24 hours
Indications for emergency medical care:
- Severe pain (>7/10)
- Obvious joint swelling or deformity
- Complete inability to bear weight or move
- Presence of neurological symptoms such as numbness or weakness
- Redness, swelling, exudation, or fever at the wound