Occupational Health Skill
Interactive occupational health assessment, recording work-related health issues, and evaluating ergonomics.
Core Process
用户输入 → 解析工作类型和健康问题 → 评估风险 → 生成报告 → 保存数据
Step 1: Parse User Input
Job Type Identification
| Input Keywords |
Work Type |
| office, computer, desk sitting |
office_work |
| manual labor, lifting, standing |
manual_labor |
| shift work, night shift, rotating |
shift_work |
| noise, loud |
noisy_environment |
| dust, chemical |
dust_chemical_environment |
Health Issue Type
| Input Keywords |
Problem Type |
| neck pain |
neck_pain |
| shoulder pain |
shoulder_pain |
| back pain, lower back pain |
back_pain |
| wrist pain |
wrist_pain, carpal_tunnel |
| eye strain, dry eyes |
eye_strain |
| headache |
headache |
| fatigue |
fatigue |
| stress |
stress |
| sleep problem |
sleep_disturbance |
Severity Level
| Input |
Severity |
| mild, slight |
mild |
| moderate |
moderate |
| severe |
severe |
Step 2: Check Information Completeness
Must Have (ask if missing):
Recommended (ask if missing):
hoursPerDay - Working hours per day
healthIssues - List of health issues
symptoms - Symptom description
Step 3: Interactive Inquiry
用户: 我工作很累
AI: 请问您是什么类型的工作?
A. 办公室工作(主要用电脑)
B. 体力劳动(搬运重物)
C. 倒班工作(夜班)
D. 其他
用户: A
AI: 大概每天工作几小时?有没有什么特别的不适?
Step 4: Risk Assessment
Sedentary Risk Score
| Condition |
Risk Level |
| Sedentary <4 hours per day, rest every hour |
Low |
| Sedentary 4-8 hours per day, rest every 2 hours |
Medium |
| Sedentary >8 hours per day, rest interval >3 hours |
High |
Visual Display Terminal Risk Score
| Condition |
Risk Level |
| Screen time <4 hours per day, follow the 20-20-20 rule |
Low |
| Screen time 4-8 hours per day |
Medium |
| Screen time >8 hours per day |
High |
Comprehensive Risk Level
- Low Risk: All risk factors are within controllable range
- Medium Risk: Multiple risk factors present, attention needed
- High Risk: Severe risk factors present, immediate action needed
Step 5: Generate JSON
{
"timestamp": "2026-02-03T10:30:00Z",
"workType": "office_work",
"hoursPerDay": 8,
"healthIssues": [
{
"type": "neck_pain",
"severity": "moderate",
"frequency": "often"
}
],
"riskAssessment": {
"sedentaryRisk": "high",
"screenRisk": "high",
"overallRisk": "high"
},
"notes": "长时间使用电脑,需要改善人机工程设置"
}
Step 6: Save Data
Save to data/occupational-health-records.json
Execute Instruction
1. 解析用户输入,识别工作类型和健康问题
2. 检查必填字段(workType)
3. 如有缺失,使用 AskUserQuestion 询问用户
4. 进行风险评估(久坐、视屏终端、倒班等)
5. 生成符合 schema.json 的 JSON
6. 保存到 data/occupational-health-records.json
7. 向用户展示风险评估结果和改进建议
Example Interaction
用户: 办公室工作,每天8小时,颈痛
AI: 我了解了您的职业健康情况。
工作类型:办公室工作
每天工作时长:8小时
健康问题:颈痛
风险评估结果:
━━━━━━━━━━━━━━━━━━━━━━━━━━━
• 久坐风险:高(每天>8小时)
• 视屏终端风险:高
• 综合风险等级:高风险
改进建议:
━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. 每小时起身活动5-10分钟
2. 遵循20-20-20法则保护眼睛
3. 调整显示器高度与眼水平
4. 检查椅子是否提供足够腰部支撑
5. 考虑使用可调节升降桌
记录已保存。
用户: 谢谢
AI: 不客气!建议您每3个月重新评估一次职业健康状况。
如有持续或加重的症状,请及时就医。
20-20-20 Rule
Protect your eyes when using a visual display terminal:
- Every20 minutes
- look at20 feet(about 6 meters) away
- for20 seconds
Emergency Guide
Seek medical attention immediately if the following occur:
- Sudden severe difficulty breathing
- Chest pain or palpitations
- Sudden vision loss or severe eye pain
- Severe musculoskeletal injury