SuperAPI AI Directory

radiation

Testing & quality

View repository

Updated 10-15 22:15

About this skill

Medical Radiation Exposure Management Skill

Record, track, and query radiation exposure from medical imaging examinations to help manage cumulative radiation dose.

Core Process

用户输入 -> 解析操作类型 -> [add] 解析检查信息 -> 计算辐射剂量 -> 保存 -> 显示累积
                              -> [status] 计算累积剂量 -> 输出报告
                              -> [history] 显示历史记录
                              -> [clear] 确认清空

Step 1: Parse Operation Type

Input Keywords Operation
add add
status status
history history
clear clear

Step 2: Add Radiation Record (add)

Examination Information Parsing

  • Examination Type: CT, X-ray, PET-CT, bone scan, angiography, etc.
  • Examination Body Part: head, chest, abdomen, pelvis, spine, extremities, etc.
  • Examination Date: format YYYY-MM-DD, defaults to today

Radiation Dose Reference Table

CT Examination (Standard Dose):

Body Part Dose
Head 2 mSv
Chest 7 mSv
Abdomen 8 mSv
Pelvis 6 mSv
Spine 6 mSv
Whole Body 10 mSv

X-ray Examination (Standard Dose):

Body Part Dose
Chest 0.1 mSv
Abdomen 0.7 mSv
Extremities 0.01 mSv
Teeth 0.005 mSv

Other Examinations:

Type Dose
PET-CT 14 mSv
Bone Scan 6 mSv
Angiography 5-15 mSv
Mammography 0.4 mSv

Dose Calculation

调整系数 = 实际体表面积 / 1.73
实际剂量 = 标准剂量 × 调整系数

Body surface area is read from data/profile.json .

Radiation Decay Calculation

残留剂量 = 初始剂量 × (0.5)^(经过年数)

Step 3: Generate JSON

{
  "id": "20251231123456789",
  "exam_type": "CT",
  "body_part": "胸部",
  "exam_date": "2025-12-31",
  "standard_dose": 7.0,
  "body_surface_area": 1.85,
  "adjustment_factor": 1.07,
  "actual_dose": 7.5,
  "dose_unit": "mSv"
}

Step 4: Save Data

File path:data/radiation-records.json

Step 5: View Cumulative Status (status)

Calculate Cumulative Dose

1. 按年份分组统计
2. 计算往年剂量残留(指数衰减)
3. 计算本年累积剂量
4. 计算总有效剂量

Safety Threshold

Status Dose Range
Safe < 1 mSv/year
Attention 1-10 mSv/year
Warning 10-50 mSv/year
Danger > 50 mSv/year

Execute Instruction

1. 解析操作类型
2. [add] 解析检查信息 -> 计算剂量 -> 保存 -> 显示累积
3. [status] 读取记录 -> 计算累积 -> 显示报告
4. [history] 读取记录 -> 格式化显示
5. [clear] 确认 -> 删除所有记录

Example Interaction

Add CT Examination

用户: 添加CT 胸部

输出:
✅ 辐射记录已添加
检查项目:胸部 CT
辐射剂量:7.5 mSv
本年度累积:15.3 mSv
⚠️ 超过建议安全范围

View Cumulative Status

用户: 查看辐射累积

输出:
📊 辐射暴露累积报告
本年剂量:15.3 mSv
往年残留:3.2 mSv
总有效剂量:18.5 mSv

View History

用户: 查看辐射历史

输出:
📋 辐射暴露历史
2025年12月 (共3次,12.5 mSv)
12-31  胸部CT        7.5 mSv
...