Intelligent Triage and Symptom Analysis Skill. Supports 650+ symptoms across 11 body systems. Based on ESI and Manchester Triage System with 5-level triage classification. Features NLP-driven symptom extraction, 3000+ disease database, red flag warning mechanism (≥95% accuracy for life-threatening conditions), and machine learning-assisted differential diagnosis.
Version: 1.0.2
Category: Healthcare / Medical
Billing: SkillPay (1 token per call, ~0.001 USDT)
AI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations.
from scripts.triage import analyze_symptoms
import os
# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["SKILL_ID"] = "your-skill-id"
# Analyze patient symptoms
result = analyze_symptoms(
symptoms="胸痛,呼吸困难,持续30分钟",
age=65,
gender="male",
vital_signs={"bp": "160/95", "hr": 110, "temp": 37.2},
user_id="user_123"
)
# Check result
if result["success"]:
print("分诊等级:", result["triage"]["level"])
print("紧急程度:", result["triage"]["urgency"])
print("建议措施:", result["recommendations"])