Comprehensive medication safety review system providing real-time analysis of drug-drug interactions, contraindications, allergy risks, and dosing optimization. Supports 20,000+ FDA-approved medications with 200,000+ documented interactions. Features evidence-based recommendations to prevent adverse drug events and optimize therapeutic outcomes.
Version: 1.1.0
Category: Healthcare / Medical
Billing: SkillPay (1 token per call, ~0.001 USDT)
Free Trial: 10 free calls per user
Demo Mode: ✅ Available (no API key required)
AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.
If you find this skill helpful, you can support the developer:
EVM Address: 0xf8ea28c182245d9f66f63749c9bbfb3cfc7d4815
Your support helps maintain and improve this skill!
Try the skill without any API key:
python scripts/safety_review.py --demo
Demo mode returns realistic simulated drug safety reviews to demonstrate the output format.
Each user gets 10 free calls before billing begins. During the trial:
{
"success": True,
"trial_mode": True, # Currently in free trial
"trial_remaining": 9, # 9 free calls left
"balance": None, # No balance needed in trial
"review": {...}
}
After 10 free calls, normal billing applies.
python scripts/safety_review.py --demo
from scripts.safety_review import review_medications
import os
# Set environment variables
os.environ["SKILLPAY_API_KEY"] = "your-api-key"
os.environ["SKILLPAY_SKILL_ID"] = "your-skill-id"
# Review patient medications
result = review_medications(
medications=[
{"drug": "warfarin", "dose": "5mg", "frequency": "daily"},
{"drug": "amoxicillin", "dose": "500mg", "frequency": "q8h"}
],
allergies=[
{"allergen": "penicillin", "reaction": "anaphylaxis"}
],
patient_data={
"age": 65,
"weight": 75,
"renal_function": {"egfr": 45}
},
user_id="user_123"
)
# Check result
if result["success"]:
print("安全状态:", result["review"]["safety_status"])
print("警报数量:", len(result["review"]["alerts"]))
for alert in result["review"]["alerts"]:
print(f"- [{alert['severity']}] {alert['title']}")