Install
openclaw skills install medical-record-structurerMedical record structuring and standardization tool. Converts doctor's oral or handwritten medical records into standardized electronic medical records (EMR)...
openclaw skills install medical-record-structurer🔥 限时优惠活动进行中!
⏰ 活动时间: 即日起至2026年3月31日
🎁 优惠内容:
- 新用户注册即送200次免费试用 (原价100次)
- 首次购买任意套餐,额外赠送20%积分
- 年付用户享受最高30%折扣
- 邀请好友各得100积分奖励
Version: 1.1.0
Category: Healthcare / Medical
Billing: SkillPay (0.001 USDT per call)
Free Trial: 10 free calls per user
Demo Mode: ✅ Available (no API key required)
A professional medical record processing tool that transforms unstructured medical notes (voice or text) into standardized electronic medical records.
"这个技能帮我节省了80%的文档处理时间!" - 某三甲医院医生
"准确率很高,已经成为我们团队的必备工具。" - 某农业科技公司
| 套餐 | 积分 | 价格 | 赠送 | 节省 |
|---|---|---|---|---|
| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |
| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |
| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |
| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |
🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
| 套餐 | 积分 | 价格 | 赠送 | 节省 |
|---|---|---|---|---|
| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |
| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |
| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |
| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |
🔥 限时特惠: 首次购买任意套餐,额外赠送20%积分!
💡 温馨提示:
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/process_record.py --demo
Or simply don't set any API key - the skill will automatically enter demo mode.
Demo mode returns realistic simulated medical records 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": 5, # 5 free calls left
"balance": None, # No balance needed in trial
"structured_record": {...}
}
After 10 free calls, normal billing applies.
python scripts/process_record.py --demo --input "患者张三,男,45岁,主诉头痛3天..."
from scripts.process_record import process_medical_record
import os
# Set API key via environment variable (only needed after trial)
os.environ["SKILLPAY_API_KEY"] = "your-api-key"
os.environ["SKILLPAY_SKILL_ID"] = "your-skill-id"
# Process with user_id for billing/trial tracking
result = process_medical_record(
input_text="患者张三,男,45岁,主诉头痛3天...",
user_id="user_123"
)
# Check result
if result["success"]:
print("结构化病历:", result["structured_record"])
if result.get("trial_mode"):
print(f"免费试用剩余: {result['trial_remaining']} 次")
else:
print("剩余余额:", result["balance"])
else:
print("错误:", result["error"])
if "paymentUrl" in result:
print("充值链接:", result["paymentUrl"])
# Process multiple files
python scripts/process_record.py --batch file1.txt file2.txt file3.txt --user-id "user_123"
from scripts.process_record import process_medical_records_batch
results = process_medical_records_batch(
input_texts=["记录1...", "记录2...", "记录3..."],
user_id="user_123"
)
python scripts/process_record.py --file record.txt --user-id "user_123"
# Chinese output (default)
python scripts/process_record.py --input "..." --user-id "user_123" --language zh
# English output
python scripts/process_record.py --input "..." --user-id "user_123" --language en
This skill requires the following environment variables:
| Variable | Description | Required | Example |
|---|---|---|---|
SKILLPAY_API_KEY | Your SkillPay API key for billing | After trial | skp_abc123... |
SKILLPAY_SKILL_ID | Your Skill ID from SkillPay dashboard | After trial | skill_def456... |
| Variable | Description | Default |
|---|---|---|
OCR_API_KEY | API key for OCR services (image processing) | - |
OCR_PROVIDER | OCR provider (google, azure, aws, tesseract) | google |
STT_API_KEY | API key for speech-to-text services | - |
STT_PROVIDER | STT provider (google, azure, aws, whisper) | whisper |
PHI_ENCRYPTION_KEY | Encryption key for PHI protection | - |
DATA_RETENTION_DAYS | Days to retain processed records | 30 |
AUDIT_LOGGING_ENABLED | Enable audit logging | true |
See .env.example for a complete list of environment variables.
The skill uses SkillPay billing integration:
SKILLPAY_API_KEY environment variableSKILLPAY_SKILL_ID environment variableStructured medical record includes:
{
"success": True,
"demo_mode": False, # True if in demo mode
"trial_mode": False, # True during free trial
"trial_remaining": 0, # Remaining free calls
"balance": 95.5, # User balance (None during trial/demo)
"structured_record": {
"emr_version": "1.0",
"record_id": "EMR_20240306120000",
"record_date": "2024-03-06T12:00:00",
"patient_demographics": {...},
"clinical_information": {...},
"assessment_and_plan": {...},
"metadata": {...}
}
}
This skill processes Protected Health Information (PHI). The following safeguards are implemented:
This skill supports external OCR and STT services:
For processing handwritten or scanned medical records:
For processing voice-recorded medical notes:
Configure the respective API keys in your .env file to enable these features.
SKILLPAY_API_KEY and SKILLPAY_SKILL_ID