zoehis-business

zoehis-business is a skill for Claude Code, Codex from zyx379/zoehis_workflow. It costs 151 tokens per session (2,183 once invoked), scanned A, original, MIT.

A reference guide to ZOEHIS, a hospital information system, covering how patient, prescription, medicine, and payment data moves between database tables.

In plain words
What is it for?
Use it when designing or checking database changes for prescriptions, medicine dispensing, billing, prepayments, refunds, and outpatient or inpatient flows.
Why use it?
It reduces the risk of changing one part of a hospital workflow while breaking related records, charges, refunds, or outpatient and inpatient behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing or checking database changes for prescriptions, medicine dispensing, billing, prepayments, refunds, and outpatient or inpatient flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zyx379/zoehis_workflow/zoehis-business
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zyx379/zoehis_workflow --skill zoehis-business
Clone the repo
git clone --depth 1 https://github.com/zyx379/zoehis_workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for zoehis-business

README.md
[![agentmods](https://agentmods.dev/badge/skills/zyx379/zoehis_workflow/zoehis-business/github.svg)](https://agentmods.dev/skills/zyx379/zoehis_workflow/zoehis-business)
Your own site
<a href="https://agentmods.dev/skills/zyx379/zoehis_workflow/zoehis-business"><img src="https://agentmods.dev/badge/skills/zyx379/zoehis_workflow/zoehis-business/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for zoehis-business

Your own site · 80×15
<a href="https://agentmods.dev/skills/zyx379/zoehis_workflow/zoehis-business"><img src="https://agentmods.dev/badge/skills/zyx379/zoehis_workflow/zoehis-business.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.02183
Opus 5 $0.00076 $0.01092
Sonnet 5 $0.00030 $0.00437
Haiku 4.5 $0.00015 $0.00218

Measured 11d ago against content hash ed269cd5b9a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

zoehis-business scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

dev/skills/zoehis-business/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ZOEHIS 业务规则与表结构

福建通用 HIS 核心业务模式:池表流转、主细表、预交金、门诊/住院对称。

核心模式

参数体系(系统参数 vs 页面参数)

改动涉及开关/配置时,先识别参数类型,再决定实现方式(详见 Rule zoehis-sys-param):

类型 API 用途 示例
系统参数 $getSysParamList / getSysParams 全局配置、跨页面共享、后端 SQL 联动 return_drug_new_valid_hours
页面参数 $getPageControlMap(configId) 单页面开关/默认值 oper_date_default_empty

判断原则:

  1. 多页面/接口共用 → 系统参数
  2. 仅单页面行为控制 → 页面参数
  3. 首次使用前先查原页面已有参数体系,与同页面其他 flag 保持一致

页面参数实现模式(三步固定)

// 1. data() 声明变量
operDateDefaultEmptyFlag: null,

// 2. $getPageControlMap 回调中读取(configId 与页面已有调用一致)
const map = await this.$getPageControlMap('130201')
const cfg = map['130201'] || {}
this.operDateDefaultEmptyFlag = !$.zoe.isNullOrEmpty(cfg.oper_date_default_empty)
  && cfg.oper_date_default_empty.state * 1 === 1

// 3. 使用处三元条件
operationDate: this.operDateDefaultEmptyFlag ? '' : t
  • Key 命名:snake_case,与代码变量 camelCase 对应
  • 运维需在对应 configId 下配置 key,state=1 生效

池表模式

业务数据 → 池表(POOL)新增 → 执行后产生记录(RECORD) → 删除池表数据
业务环节 池表 记录表 触发
门诊摆药 APP_OUTP_LAY_DRUG_POOL APP_OUTP_LAY_DRUG_RECORDS 取药执行
住院摆药 APP_INP_LAY_DRUG_POOL APP_INP_LAY_DRUG_RECORDS 取药执行
门诊单据 APP_OUTP_APPLY_SHEET_POOL APP_OUTP_APPLY_SHEET 单据执行
住院单据 APP_INP_APPLY_SHEET_POOL APP_INP_APPLY_SHEET 单据执行
住院申请 PRES_APPLY_RECORDS_POOL 医嘱申请

关键约束: 执行后必须删池表并产生正式记录。

主细表模式

主表(_MASTER): 单据级(患者、科室、总金额、状态)
细表(_DETAIL): 明细级(项目、数量、单价)
业务 主表 细表
门诊处方 PRES_OUTP_PRES_MASTER PRES_OUTP_PRES_DETAIL
门诊结算 CHA_OUTP_SETTLE_MASTER CHA_OUTP_SETTLE_DETAIL
退药 APP_RETURN_DRUG_MASTER APP_RETURN_DRUG_DETAIL

预交金扣费模式

充值: CHA_*_PREPAY_RECORD (新增) + CHA_*_PREPAY_ACCT (更新余额)
消费: CHA_*_PREPAY_ACCT (更新扣减) + CHA_*_CONSUME_MASTER (新增流水)
退费: CHA_*_PREPAY_ACCT (更新退回)

关键约束: 扣费必须记消费流水;退费必须退回预交金。

费用审核/结算操作人分离

同一 SQL 同时维护「业务标志」与「操作人」时:

  • 结算/冲销/取消锁定 → 只改标志,不改操作人(operator 传 null)
  • 手工审核 → 同时更新标志和操作人
  • MyBatis 实现:<if test="operator != null and operator != ''"> FEE_AUDIT_OPERATOR = #{operator} </if>
  • 涉及表:PAT_IN_HOSPITAL.FEE_AUDIT_OPERATORPAT_ADMISSION_RECORD.FEE_AUDIT_OPERATOR

Read the full file on GitHub · 166 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 166 lines · 151 tokens per session scan A ed269cd5b9a1

Subscribe to this mod's changes

zoehis-business is a skill published in the GitHub repository zyx379/zoehis_workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 151 tokens to every session and 2,183 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hithink-finance-data

A local data-management skill for the HiThink Finance command-line tool and its DuckDB database. DuckDB is a database stored in a local file.

HiThink-Tech/Financial-API · 60 tokens

multi-expert-analyzer

A method for examining complicated questions through several expert viewpoints, followed by fact-checking and criticism.

digoal/blog · 292 tokens

trading-manual-writer

A writing skill for creating sections of a trading manual for beginners and individual investors. It explains financial instruments or trading topics in Markdown and can include SVG illustrations.

digoal/blog · 185 tokens

industry-chain-analyst

An industry research skill that maps the stages of a supply chain and examines the public companies, business models, relationships, strengths, risks, and competition at each stage.

digoal/blog · 239 tokens

buffett

Activates Warren Buffett's complete investment thinking system. The following scenarios must trigger it: analyzing any stock or company, evaluating investment opportunities, interpreting financial reports/annual reports/shareholder letters, assessing business moats or competitive advantages, evaluating management…

digoal/blog · 164 tokens

finance-weekly-outlook

Generate a source-backed weekly financial trading outlook from daily-finance, finance-core-analysis, and finance-explosive-article outputs plus fresh authoritative market data. Use when the user asks for future-one-week market outlook, weekly bullish/bearish sectors, stock picks, China A-share and US stock coverage…

digoal/blog · 122 tokens