skills/medical-bill-organizer/SKILL.md
医疗票据整理助手,用于自动分类、OCR识别和信息抽取。当用户需要处理医疗票据时使用,支持文件夹或压缩包输入,自动分类存放到不同文件夹,抽取病历信息(住院日期、医院名称),生成发票汇总CSV表格。
npx skillsauth add baidubce/skills medical-bill-organizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
这个 skill 帮助用户自动整理医疗票据,包括分类、OCR识别和信息汇总。
用户提供的输入可以是:
如果输入是压缩包,需要先解压到临时目录。
使用 OCR 识别票据内容,根据以下分类标准进行分类,只生成有对应票据的文件夹。
| 分类编号 | 分类名称 | 分类要求 | | --- | --- | --- | | 001 | 户口本 | 包含户口簿、户口本、户口册、户口登记表、常住人口登记卡、户口迁移证等 | | 002 | 身份证正面 | 身份证人像面,包含人像、姓名、性别、民族、出生日期、地址、身份证号 | | 003 | 身份证背面 | 身份证国徽面,包含国徽、签发机关、有效期限 | | 004 | 银行卡 | 银行卡、社保卡、银行卡号截图等 | | 005 | 出生证明 | 出生证、出生医学证明、出生证明等 | | 006 | 理赔申请书 | 包含理赔须知和理赔材料收集、个人声明和隐私声明 | | 007 | 转账授权书 | 转账委托授权书、保险金转账委托授权书等 | | 008 | 门急诊病历 | 门诊病历、急诊初诊病历、急诊病历、病历记录、就医记录等 | | 009 | 入院记录 | 入院记录、住院病历、住院证、住院记录、查房记录等,包含"住院号"或"床号",无"出院时间" | | 010 | 出院小结 | 出院小结、出院记录、出院医嘱,包含"住院号"、"入院时间"、"出院时间"、"诊疗经过"、"出院诊断"等 | | 011 | 检查报告 | CT、MRI、DR、X线、报告单、诊断报告、B超申请单、化验单等 | | 012 | 处方笺 | 处方笺、门诊处方笺、处方、急诊处方、处方单、处方明细等 | | 013 | 住院诊断证明 | 标题为诊断证明书、疾病诊断书、出院证明书,同时包含"住院号"或"床号" | | 014 | 病理报告 | 标题包含病理报告、病理检查报告,内容含有"病理诊断/病理学诊断"字段 | | 015 | 门诊诊断证明 | 标题为诊断证明书、病情诊断证明书、门(急)诊病情证明书等 | | 016 | 门诊费用清单 | 标题为医疗收费明细、门诊费用清单、诊疗项目收费清单等(归类到门诊电票) | | 017 | 住院费用清单 | 标题为住院费用清单、住院病人费用明细、住院费用结算单等 | | 018 | 门诊电票 | 门诊收费票据、发票,标题包含"门诊/急诊"和"(电子)",有二维码;门诊费用清单也归类到此类型 | | 019 | 门诊纸票 | 门诊收费票据、发票,标题包含"门诊/急诊",无"(电子)"和二维码 | | 020 | 住院电票 | 住院收费票据、发票,标题包含"住院"和"(电子)",有二维码 | | 021 | 住院纸票 | 住院收费票据、发票,标题包含"住院",无"(电子)"和二维码 | | 022 | 药房增值税发票 | 电子发票、普通发票,存在"增值税/纳税人识别号/税率",项目名称包含医疗服务、化学药品 | | 023 | 病案首页 | 标题必须为病案首页或住院病案首页 | | 024 | 纸质发票复印件 | 门诊/住院收费票据复印件,黑白或带"复印"字样,无彩色防伪标识 | | 025 | 伤残鉴定报告 | 鉴定意见书、鉴定结论书等 | | 026 | 理赔分割单 | 理赔分割单、理赔通知书、理赔核定通知书、理赔决定通知书等 | | 027 | 交通事故认定书 | 标题为道路交通事故认定书 | | 028 | 其他 | 不属于上述分类的材料,医保结算单也归类到此类型 |
使用 qianfanocr-document-intelligence skill 对每个文件进行 OCR 识别。
对于病历文件(包括门急诊病历、入院记录、出院小结、住院诊断证明、门诊诊断证明),抽取以下信息:
对于发票文件(包括门诊电票、门诊纸票、住院电票、住院纸票、药房增值税发票),抽取以下字段:
注意事项:
根据实际分类结果,创建对应的文件夹:
输出目录/
├── [分类名称]/ # 只生成有对应票据的文件夹
├── [分类名称]/
├── ...
└── 发票汇总.csv # 发票信息汇总表(如果有发票)
创建 发票汇总.csv 文件,格式如下:
| 列名 | 说明 | |------|------| | 发票号 | 发票号码 | | 就诊日期 | 就诊日期(YYYY-MM-DD格式) | | 账单金额 | 金额合计 | | 统筹先期给付金额 | 医保统筹基金支付金额 | | 全额自费 | 个人自费金额 | | 部分自费 | 个人自付金额 | | 第三方支付 | 来自理赔分割单,发票中填0 |
最后一行为合计行,对各金额列进行单独合计(除发票号和就诊日期外)。
CSV 格式示例:
发票号,就诊日期,账单金额,统筹先期给付金额,全额自费,部分自费,第三方支付
12345678,2024-03-15,1500.00,1000.00,0.00,300.00,0.00
87654321,2024-03-16,2500.00,1800.00,50.00,400.00,250.00
合计,,2800.00,50.00,700.00,250.00
注意: CSV 文件需要按就诊日期进行排序。
如果输入是压缩包:
支持的压缩格式:
处理完成后,向用户报告:
development
Generate interactive visualization pages for feasible solutions produced by Famou evolutionary algorithms. Use this skill when the user mentions "Famou visualization", "visualize this solution", "show feasible solution results", "evolution results", "evolve visualization", or provides a Python-code solution (path planning, scheduling, knapsack, TSP, job scheduling, machine learning, etc.) that needs to be displayed visually. Even if the user just says "help me visualize this solution", "draw it out", or "show me the results", trigger this skill immediately whenever the context involves evolutionary algorithms or optimization problem solutions.
testing
Workflow skill for managing famou evolutionary experiment tasks, including public normal mode and public pro hybrid mode. Use this skill when the user mentions "submit experiment", "check experiment status", "delete experiment", "get experiment results", "account info", "quota", "credits", "famou experiment", "upload experiment", "config.yaml experiment", "hybrid mode", or needs to use famou-ctl to manage experiment tasks. Even if the user just says "submit" or "run experiment", trigger this skill whenever the context involves the famou platform.
development
A data analysis skill for understanding datasets, analyzing data, building data processing pipelines, and summarizing analytical results. Use this skill when the user mentions "analyze data", "data processing", "data exploration", "statistical analysis", "data cleaning", "data summarization", "create a data report", "understand this dataset", or "take a look at this CSV/Excel/dataset". Even if the user simply says "help me look at this data" or "analyze this", trigger this skill whenever the context involves a data file or dataset. Also invoke this skill if data analysis is required during Famou problem definition.
testing
Interactive end-to-end Famou workflow for defining, implementing, and solving optimization tasks. The workflow typically proceeds in three stages: (1) understand the data and define the task, producing `problem.md`; (2) implement and validate `evaluator.py`, `init.py`, and `prompt.md` from the task definition; (3) run deep solving through Famou. Trigger this skill whenever the user wants to define, clarify, create, or fix a Famou task; prepare Famou experiment artifacts; write or update `problem.md`, `evaluator.py`, `init.py`, or `prompt.md`; run Famou; do deep solving; or solve an optimization, ML, or search problem with evolutionary methods. Even if the user simply says "help me make a Famou task", "help me solve this", or "run Famou", trigger this skill whenever the surrounding context indicates an optimization or search task. Also trigger when the user describes a combinatorial optimization, scheduling, routing, or ML problem without mentioning Famou — treat it as a potential Famou task.