SuperAPI AI Directory

occupational-health-analyzer

Data & analytics

View repository

Updated 10-15 22:15

About this skill

Occupational Health Analysis Skill

Core Functions

The Occupational Health Analysis Skill provides comprehensive occupational health data analysis functions, helping users track work-related health issues, identify occupational health risks, assess the ergonomic level of the work environment, and optimize occupational health.

Main Function Modules:

  1. Occupational Health Risk Assessment - Multidimensional risk assessment for prolonged sitting, visual display terminals, shift work, repetitive strain injuries, work stress, etc.
  2. Work-Related Problem Tracking - Monitoring of symptoms such as neck, shoulder, waist, and leg pain, eye fatigue, and carpal tunnel syndrome
  3. Ergonomic Assessment - Comprehensive assessment of workstations, chairs, monitors, keyboards, environment, etc.
  4. Occupational Disease Screening - Occupational disease risk assessment and screening recommendations based on work type
  5. Trend Analysis - Trends in symptom development, improvement effects, and risk changes
  6. Correlation Analysis - Correlation analysis with sleep, exercise, mental health, and chronic disease modules
  7. Personalized Recommendations - Work posture, rest reminders, equipment recommendations, environment optimization
  8. Warning System - Early warnings for high-risk patterns, symptom worsening, and occupational disease risk

Trigger Conditions

The skill is automatically triggered under the following circumstances:

  1. The user uses /work trend to view occupational health trends
  2. The user uses /work status to view comprehensive health status
  3. The user uses /work recommend to obtain improvement recommendations
  4. The user uses /work assess to perform a comprehensive assessment
  5. The user uses /work issue for analysis after recording a problem
  6. The user uses /work ergonomic for analysis after performing an ergonomic assessment

Medical Safety Boundaries

What this skill cannot do:

  • ❌ Does not perform occupational disease diagnosis
  • ❌ Does not issue occupational disease diagnosis certificates
  • ❌ Does not replace workplace health surveillance
  • ❌ Does not predict disease progression
  • ❌ Does not handle acute health crises

What this skill can do:

  • ✅ Occupational health risk assessment and screening
  • ✅ Identification and tracking of work-related symptoms
  • ✅ Ergonomic assessment and improvement recommendations
  • ✅ Occupational disease risk warnings
  • ✅ Work environment improvement recommendations
  • ✅ Health record preservation (for reference when seeking medical care)
  • ✅ Correlation analysis with other health data

Execution Steps

Step 1: Data Reading

Read the occupational health data file:

  • data-example/occupational-health-tracker.json - Main occupational health record

Data validation:

  • Check whether the file exists
  • Verify the integrity of the data structure
  • Confirm that there are enough data points for analysis

Step 2: Occupational Health Risk Assessment

Sedentary Risk Score

Scoring dimensions (each dimension 0-10 points):

  1. Daily sedentary time (sedentary_time_daily)

    • 8 hours: 10 points

    • 6-8 hours: 7 points
    • 4-6 hours: 4 points
    • <4 hours: 1 point
  2. Break frequency (break_frequency)

    • No breaks: 10 points
    • Every 3 hours+: 8 points
    • Every 2 hours: 5 points
    • Every hour: 2 points
  3. Weekly exercise time (weekly_exercise_minutes)

    • 0 minutes: 10 points
    • <60 minutes: 7 points
    • 60-150 minutes: 4 points
    • 150 minutes: 1 point

  4. Current symptoms (existing_symptoms_severity)

    • Severe symptoms: 10 points
    • Moderate symptoms: 7 points
    • Mild symptoms: 4 points
    • No symptoms: 1 point

Total score calculation:

总分 = 久坐时间 + 休息频率 + 运动时间 + 现有症状
范围:4-40分

Risk level determination:

  • Low risk: 4-13 points
  • Medium risk: 14-26 points
  • High risk: 27-40 points

Video Display Terminal Risk Assessment (VDT Risk Score)

Scoring dimensions (each dimension 0-10 points):

  1. Daily screen time (screen_time_daily)

    • 8 hours: 10 points

    • 6-8 hours: 7 points
    • 4-6 hours: 4 points
    • <4 hours: 1 point
  2. 20-20-20 rule compliance (rule_20_20_20_compliance)

    • Never comply: 10 points
    • Occasionally comply: 6 points
    • Often comply: 3 points
    • Always comply: 1 point
  3. Lighting conditions (lighting_quality)

    • Very poor: 10 points
    • Poor: 7 points
    • Average: 4 points
    • Good: 1 point
  4. Eye symptoms (eye_symptoms_severity)

    • Severe symptoms: 10 points
    • Moderate symptoms: 7 points
    • Mild symptoms: 4 points
    • No symptoms: 1 point

Total score calculation and risk level determination are the same as for sedentary risk

Comprehensive risk assessment

Comprehensive risk level calculation:

综合风险分数 = max(久坐风险, 视屏风险, 倒班风险, 劳损风险, 压力风险)

如果有多个高风险因素(≥27分),综合风险等级上调一级
如果有3个及以上中风险因素(14-26分),综合风险等级上调一级

Step 3: Ergonomic assessment

Assessment dimensions and scoring

Chair assessment(0-20 points):

- 可调节性(0-5分)
- 腰椎支撑(0-5分)
- 座椅深度(0-5分)
- 扶手(0-5分)

Monitor assessment(0-20 points):

- 高度(0-7分)
- 距离(0-7分)
- 角度(0-6分)

Keyboard and mouse assessment(0-20 points):

- 键盘位置(0-5分)
- 鼠标位置(0-5分)
- 手腕支撑(0-10分)

Workstation assessment(0-20 points):

- 高度(0-10分)
- 空间(0-10分)

Environment assessment(0-20 points):

- 照明(0-7分)
- 噪音(0-7分)
- 温度(0-6分)

Total score calculation:

总分 = 椅子 + 显示器 + 键盘鼠标 + 工作台 + 环境
范围:0-100分

评分等级:
- 优秀:0-20分
- 良好:21-40分
- 一般:41-60分
- 较差:61-80分
- 差:81-100分

Step 4: Occupational disease screening

Screening recommendations based on work type

Office work:

必查项目:
- 视力测试(每年1次)
- 肌肉骨骼评估(每年1次)

Manual labor:

必查项目:
- 肌肉骨骼评估(每年1次)
- 肺功能检查(粉尘环境每年1次)

Shift work:

必查项目:
- 睡眠质量评估(每6个月1次)
- 心理健康筛查(每年1次)

Work in noisy environments:

必查项目:
- 听力测试(每年1次)

Work in dust/chemical environments:

必查项目:
- 肺功能检查(每年1次)
- 皮肤病筛查(每年1次)

Step 5: Correlation analysis

Sleep-occupational health correlation

  • Correlation between shift work and sleep quality
  • Relationship between sleep deprivation and work-related symptoms

Exercise-occupational health correlation

  • Relationship between sedentary work and exercise amount
  • Relationship between exercise and musculoskeletal symptoms

Mental health-occupational health correlation

  • Relationship between work stress and mental state
  • Association between occupational health problems and psychological symptoms

Step 6: Generate report

Output includes:

  • Occupational health status summary
  • Risk assessment results and trends
  • Work-related problem analysis
  • Ergonomic assessment results
  • Occupational disease screening recommendations
  • Correlation analysis with other health factors
  • Early warning information (if applicable)
  • Personalized recommendations and action plan

Output format

Occupational health analysis report structure

# 职业健康分析报告

**报告日期**: YYYY-MM-DD
**分析周期**: YYYY-MM-DD 至 YYYY-MM-DD
**数据完整性**: 良好

⚠️ **重要提示**:本报告仅供参考,不构成职业病诊断。

---

## 1. 职业健康状况摘要

[整体评价:优秀/良好/一般/需改进/高风险]
- 综合风险等级:[低/中/高]
- 职业健康评分:X/100
- 人机工程评分:X/100
- 活跃问题数:X个
- 整体趋势:改善/稳定/恶化

## 2. 风险评估结果

### 久坐风险评估
**风险等级**: 🟢 低风险 | 🟡 中风险 | 🔴 高风险
**风险评分**: X/40

**建议**: [具体建议]

### 视屏终端风险评估
**风险等级**: 🟢 低风险 | 🟡 中风险 | 🔴 高风险
**风险评分**: X/40

**建议**: [具体建议]

## 3. 工作相关问题分析

### 当前活跃问题
- [问题1]: 严重程度、频率、持续时间
- [问题2]: 严重程度、频率、持续时间

### 症状趋势
- 改善的问题
- 稳定的问题
- 恶化的问题 ⚠️

## 4. 人机工程评估

**人机工程评分**: X/100
**评分等级**: 优秀/良好/一般/较差/差

### 改进建议
- 高优先级建议
- 中优先级建议
- 低优先级建议

## 5. 职业病筛查

### 推荐筛查
- [筛查项目1] - 建议时间
- [筛查项目2] - 建议时间

## 6. 综合建议

### 立即行动
- [行动项]

### 本周行动计划
- [行动项1]
- [行动项2]

### 预防措施
- [预防措施列表]

---

**报告生成时间**: YYYY-MM-DD HH:MM:SS
⚠️ **免责声明**:本报告仅供参考,不构成职业病诊断或治疗建议。

Error handling

Data file does not exist

错误:未找到职业健康数据文件
建议:请先使用 /work assess 命令创建数据

Insufficient data

警告:数据不足以进行趋势分析
建议:至少需要3次评估记录

High-risk warning

🔴 职业病高风险警告

检测到以下高风险因素:
- [列出高风险因素]

建议行动:
1. 立即就医,进行职业病诊断
2. 咨询职业医学专科医生
3. 考虑工作调整

Data source description

Primary data source:

  • data-example/occupational-health-tracker.json - Occupational health primary data

Related data sources:

  • data-example/sleep-tracker.json - Sleep data
  • data-example/fitness-tracker.json - Exercise data
  • data-example/mental-health-tracker.json - Mental health data

Skill version: v1.0.0 Last updated: 2025-01-08 Maintainer: WellAlly Tech