Overview
- Skill Key
- andyxcg/medical-record-structurer
- Author
- andyxcg
- Source Repo
- openclaw/skills
- Version
- 1.0.4
- Source Path
- skills/andyxcg/medical-record-structurer
- Latest Commit SHA
- daf3c82994cbf9e05a10d4dbfbc94bf82e96ba0e
Medical record structuring and standardization tool. Converts doctor's oral or handwritten medical records into standardized electronic medical records (EMR). Supports voice/text input, automatic field recognition, and structured output. Use when processing medical records, clinical notes, patient histories, or converting unstructured medical data into standardized formats. Includes skillpay.me payment integration for pay-per-use monetization.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 medical-record-structurer 技能。 若已安装,则直接安装 medical-record-structurer 技能。
# Medical Record Structurer
> **Version**: 1.0.4
> **Category**: Healthcare / Medical
> **Billing**: SkillPay (0.001 USDT per call)
> **Free Trial**: 10 free calls per user
A professional medical record processing tool that transforms unstructured medical notes (voice or text) into standardized electronic medical records.
## Features
1. **Voice/Text Input Processing** - Accepts doctor's口述 or handwritten notes
2. **AI-Powered Field Extraction** - Automatically identifies and extracts medical fields
3. **Standardized EMR Output** - Generates structured electronic medical records
4. **Payment Integration** - skillpay.me integration for monetization (0.001 USDT per use)
5. **Free Trial** - 10 free calls for every new user
## Free Trial
Each user gets **10 free calls** before billing begins. During the trial:
- No payment required
- Full feature access
- Trial status returned in API response
```python
{
"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.
## Quick Start
### Process a medical record:
```python
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"
# 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"])
```
### API Usage:
```bash
# Set API...
# Medical Record Structurer A professional medical record processing tool that transforms unstructured medical notes (voice or text) into standardized electronic medical records (EMR). ## Features - **Voice/Text Input Processing** - Accepts doctor's口述 or handwritten notes - **AI-Powered Field Extraction** - Automatically identifies and extracts medical fields - **Standardized EMR Output** - Generates structured electronic medical records - **Payment Integration** - skillpay.me integration for pay-per-use monetization (0.001 USDT per use) - **OCR Support** - Process handwritten medical records via image recognition - **STT Support** - Process voice recordings via speech-to-text ## 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 | |----------|-------------|----------| | `SKILLPAY_API_KEY` | Your SkillPay API key for billing | Yes | | `SKILLPAY_SKILL_ID` | Your Skill ID from SkillPay dashboard | Yes | ### Optional Variables | 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 |...
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capgoblin
Access unsecured credit lines for AI agents on the Arc Network using the Credex Protocol. Use for borrowing USDC against reputation, repaying debt to grow credit limits, providing liquidity as an LP, or managing cross-chain USDC via Circle Bridge. Triggers on "borrow from credex", "repay debt", "deposit to pool", "check credit status", "provide liquidity", or any credit/lending task on Arc.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
camelsprout
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
camohiddendj
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.