搜索

PythonReactSEOPDF
OpenClaw

drug-safety-review

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.

andyxcg0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install andyxcg/drug-safety-review

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

Features

  1. Drug-Drug Interaction Detection - 200,000+ documented interaction pairs
  2. Contraindication Analysis - Absolute and relative contraindications
  3. Allergy Detection - Drug and excipient allergy screening
  4. Dosing Optimization - Renal, hepatic, and age-based adjustments
  5. Monitoring Recommendations - Lab tests and clinical monitoring
  6. Alternative Therapy Suggestions - Safer medication alternatives

Quick Start

Review medication safety:
from scripts.safety_review import review_medications
import os

# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["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["safety_status"])
    print("警报数量:", len(result["alerts"]))
    for alert in result["alerts"]:
        print(f"- [{alert['severity']}] {alert['title']}")
else:
    print("错误:", result["error"])
    if "paymentUrl" in result:
        print("充值链接:", result["paymentUrl"])
API Usage:
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"

# Run safety review
python scripts/safety_review.py \
  --medications '[{"drug":"warfarin","dose":"5mg"}]' \
  --allergies '[{"allergen":"penicillin"}]'...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/andyxcg/drug-safety-review
Version
1.0.0
Commit
7828eb7b55466e22bca3d337d21073ce8f8ae97e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

Features

  • Drug-Drug Interaction Detection - 200,000+ documented interaction pairs
  • Contraindication Analysis - Absolute and relative contraindications
  • Allergy Detection - Drug and excipient allergy screening
  • Dosing Optimization - Renal, hepatic, and age-based adjustments
  • Monitoring Recommendations - Lab tests and clinical monitoring
  • Alternative Therapy Suggestions - Safer medication alternatives

Installation

  1. Clone or download this skill to your OpenClaw workspace:
cd /home/node/.openclaw/workspace/skills/
  1. Install Python dependencies (if any additional packages are needed):
pip install -r requirements.txt  # if requirements.txt exists
  1. Copy the environment variables file and configure:
cp .env.example .env
# Edit .env with your actual API keys

Environment Variables Configuration

Copy .env.example to .env and configure the following variables:

Required Variables
Variable Description Required
SKILL_BILLING_API_KEY Your SkillPay API key for billing Yes
SKILL_ID Your Skill ID from SkillPay dashboard Yes
Optional Variables
Variable Description Default
FDA_API_KEY FDA API key for drug label information -
DAILYMED_API_KEY DailyMed API key for product labels -
RXNORM_API_KEY RxNorm API key for drug normalization -
DRUGBANK_API_KEY DrugBank API key for comprehensive data -
OPENAI_API_KEY OpenAI API key for enhanced analysis -
PHI_ENCRYPTION_KEY Encryption key for PHI protection -
DATA_RETENTION_DAYS Days to retain safety review data 90
`AUDIT_LOGGING_...

来源内容

SKILL.md
# Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

## Features

1. **Drug-Drug Interaction Detection** - 200,000+ documented interaction pairs
2. **Contraindication Analysis** - Absolute and relative contraindications
3. **Allergy Detection** - Drug and excipient allergy screening
4. **Dosing Optimization** - Renal, hepatic, and age-based adjustments
5. **Monitoring Recommendations** - Lab tests and clinical monitoring
6. **Alternative Therapy Suggestions** - Safer medication alternatives

## Quick Start

### Review medication safety:

```python
from scripts.safety_review import review_medications
import os

# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["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["safety_status"])
    print("警报数量:", len(result["alerts"]))
    for alert in result["alerts"]:
        print(f"- [{alert['severity']}] {alert['title']}")
else:
    print("错误:", result["error"])
    if "paymentUrl" in result:
        print("充值链接:", result["paymentUrl"])
```

### API Usage:

```bash
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"

# Run safety review
python scripts/safety_review.py \
  --medications '[{"drug":"warfarin","dose":"5mg"}]' \
  --allergies '[{"allergen":"penicillin"}]'...
README
# Drug Safety Review

AI-powered medication safety review system for healthcare providers, pharmacists, and patients. Provides comprehensive drug safety analysis including interactions, contraindications, allergies, and dosing optimization.

## Features

- **Drug-Drug Interaction Detection** - 200,000+ documented interaction pairs
- **Contraindication Analysis** - Absolute and relative contraindications
- **Allergy Detection** - Drug and excipient allergy screening
- **Dosing Optimization** - Renal, hepatic, and age-based adjustments
- **Monitoring Recommendations** - Lab tests and clinical monitoring
- **Alternative Therapy Suggestions** - Safer medication alternatives

## Installation

1. Clone or download this skill to your OpenClaw workspace:
```bash
cd /home/node/.openclaw/workspace/skills/
```

2. Install Python dependencies (if any additional packages are needed):
```bash
pip install -r requirements.txt  # if requirements.txt exists
```

3. Copy the environment variables file and configure:
```bash
cp .env.example .env
# Edit .env with your actual API keys
```

## Environment Variables Configuration

Copy `.env.example` to `.env` and configure the following variables:

### Required Variables

| Variable | Description | Required |
|----------|-------------|----------|
| `SKILL_BILLING_API_KEY` | Your SkillPay API key for billing | Yes |
| `SKILL_ID` | Your Skill ID from SkillPay dashboard | Yes |

### Optional Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `FDA_API_KEY` | FDA API key for drug label information | - |
| `DAILYMED_API_KEY` | DailyMed API key for product labels | - |
| `RXNORM_API_KEY` | RxNorm API key for drug normalization | - |
| `DRUGBANK_API_KEY` | DrugBank API key for comprehensive data | - |
| `OPENAI_API_KEY` | OpenAI API key for enhanced analysis | - |
| `PHI_ENCRYPTION_KEY` | Encryption key for PHI protection | - |
| `DATA_RETENTION_DAYS` | Days to retain safety review data | 90 |
| `AUDIT_LOGGING_...

相关技能

OpenClaw

xint

0xnyk

X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

flightclaw

jackculpan

Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.

OpenClaw

openclaw-trading-assistant

openclaw-trade

openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime...