门诊复诊病历结构化
name: med-followup-record-struct
by aaiccee · published 2026-04-01
$ claw add gh:aaiccee/aaiccee-med-record-struct---
name: med-followup-record-struct
description: 将中文门诊复诊病历文本结构化为细粒度字段,输出 JSON(如现病史/既往史/诊断/处理意见等)。
metadata:
{
"openclaw":
{
"emoji": "🧩"
}
}
---
# 门诊复诊病历结构化
概述
----
给定一份中文门诊 **复诊病历文本**(医生已书写),本技能抽取并规范化为细粒度字段 JSON,例如:
数据安全、隐私与伦理声明
------------------------
输入格式
--------
纯文本病历(UTF-8),可包含如下分段:
主诉:……
现病史:……
既往史:……
婚育史:……
月经史:……
个人史:……
家族史:……
查体:……
辅助检查:……
诊断:……
处理:……
快速开始
--------
# 从 skills 目录运行
python3 scripts/struct_followup_record.py \
--input data/med-followup-record-struct/followup_record.txt参数说明
--------
* `--input PATH`
- 输入复诊病历文本路径(UTF-8)。
* `--output PATH`
- 输出结构化 JSON 路径(默认:`../runs/med-followup-record-struct/structured.json`)。
* `--timeout SECONDS`
- 超时秒数;`0` 表示一直等待(默认:0)。
* `--diag-id STRING`
- 对话/就诊 ID(默认:`skill-diag`)。
* `--department STRING`
- 科室(可选)。
输出约定
--------
测试命令
--------
从 `skills` 目录执行(网络自测):
python3 self_tests/med-followup-record-struct/self_test_followup_record_struct.py --run-networkMore tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...