Agent skill

Healthcare Emr Patterns

by affaan-m in affaan-m/ECC

医疗应用中EMR/EHR的开发模式。临床安全、就诊工作流程、处方生成、临床决策支持集成以及以可访问性为先的医疗数据录入用户界面。

MITAuto-check passedResearch & Science

Install Healthcare Emr Patterns

skills CLI
$ npx skills add affaan-m/ECC --skill healthcare-emr-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC healthcare-emr-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/zh-CN/skills/healthcare-emr-patterns .claude/skills/healthcare-emr-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
healthcare-emr-patterns
GitHub stars
276k
Token cost
~776 tokens
SKILL.md length
59 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

医疗应用中EMR/EHR的开发模式。临床安全、就诊工作流程、处方生成、临床决策支持集成以及以可访问性为先的医疗数据录入用户界面。

  • Tasks that involve Clinical and healthcare research
  • SKILL.md covers 使用场景, 工作原理 and 示例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Healthcare Emr Patterns is an agent skill from affaan-m/ECC. 医疗应用中EMR/EHR的开发模式。临床安全、就诊工作流程、处方生成、临床决策支持集成以及以可访问性为先的医疗数据录入用户界面。

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Clinical and healthcare research. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Tasks that involve Clinical and healthcare research

Example prompts

  • “/healthcare-emr-patterns”

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Healthcare Emr Patterns loads about 776 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 59 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~776

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 59 words, ~776 tokens.

Download SKILL.mdSave it as .claude/skills/healthcare-emr-patterns/SKILL.md (or your agent's skills folder).
name
healthcare-emr-patterns
description
医疗应用中EMR/EHR的开发模式。临床安全、就诊工作流程、处方生成、临床决策支持集成以及以可访问性为先的医疗数据录入用户界面。
origin
Health1 Super Speciality Hospitals — contributed by Dr. Keyur Patel
version
1.0.0

医疗电子病历开发模式

构建电子病历(EMR)和电子健康档案(EHR)系统的模式。优先考虑患者安全、临床准确性和医生工作效率。

使用场景

  • 构建患者就诊工作流(主诉、检查、诊断、处方)
  • 实现临床记录(结构化文本 + 自由文本 + 语音转文字)
  • 设计含药物相互作用检查的处方/用药模块
  • 集成临床决策支持系统(CDSS)
  • 构建带参考范围高亮显示的检验结果展示
  • 实现临床数据审计追踪
  • 设计医疗场景下易用的临床数据录入界面

工作原理

患者安全优先

每个设计决策必须通过以下问题评估:"这会对患者造成伤害吗?"

  • 药物相互作用必须发出警报,不能静默通过
  • 异常检验值必须以视觉方式标记
  • 关键生命体征必须触发升级工作流
  • 无审计追踪不得修改临床数据
单页就诊流程

临床就诊应在单页上垂直流动——无需切换标签页:

患者头部信息(固定显示 — 始终可见)
├── 人口学信息、过敏史、当前用药
│
就诊流程(垂直滚动)
├── 1. 主诉(结构化模板 + 自由文本)
├── 2. 现病史
├── 3. 体格检查(按系统分类)
├── 4. 生命体征(自动触发临床评分)
├── 5. 诊断(ICD-10/SNOMED 搜索)
├── 6. 用药(药品数据库 + 相互作用检查)
├── 7. 检查(实验室/影像学医嘱)
├── 8. 计划与随访
└── 9. 签名 / 锁定 / 打印
智能模板系统
typescript
interface ClinicalTemplate {
  id: string;
  name: string;             // e.g., "Chest Pain"
  chips: string[];          // clickable symptom chips
  requiredFields: string[]; // mandatory data points
  redFlags: string[];       // triggers non-dismissable alert
  icdSuggestions: string[]; // pre-mapped diagnosis codes
}

任何模板中的危险信号必须触发可见且不可关闭的警报——而非通知提示。

用药安全模式
用户选择药物
  → 检查当前用药是否存在相互作用
  → 检查就诊用药是否存在相互作用
  → 检查患者过敏史
  → 根据体重/年龄/肾功能验证剂量
  → 若为严重相互作用:完全阻止开药
  → 临床医生必须记录覆盖理由才能继续操作
  → 若为重大相互作用:显示警告,要求确认
  → 将所有警报和覆盖理由记录在审计追踪中

关键相互作用默认阻止开药。临床医生必须明确覆盖,并在审计追踪中记录原因。系统绝不允许静默通过关键相互作用。

锁定就诊模式

临床就诊一旦签署:

  • 不允许编辑——仅可添加附录(独立的关联记录)
  • 原始记录和附录均显示在患者时间线中
  • 审计追踪记录签署人、签署时间及所有附录记录
临床数据界面模式

生命体征显示: 当前值带正常范围高亮(绿/黄/红),与上次对比的趋势箭头,自动计算的临床评分(NEWS2、qSOFA),内联升级指导。

检验结果展示: 正常范围高亮,与上次值对比,关键值带不可关闭警报,采集/分析时间戳,待处理医嘱及预期周转时间。

处方PDF: 一键生成,包含患者基本信息、过敏史、诊断、药物详情(通用名+商品名、剂量、给药途径、频率、疗程)、临床医生签名栏。

医疗场景无障碍设计

医疗界面的要求比典型网页应用更严格:

  • 最小对比度4.5:1(WCAG AA)——临床医生在不同光照条件下工作
  • 大触摸目标(最小44x44px)——适用于戴手套或快速操作
  • 键盘导航——供快速录入数据的熟练用户使用
  • 不使用纯颜色指示——始终将颜色与文字/图标配对(色盲临床医生)
  • 所有表单字段带屏幕阅读器标签
  • 临床警报不使用自动消失的提示——临床医生必须主动确认
反模式
  • 在浏览器localStorage中存储临床数据
  • 药物相互作用检查静默失败
  • 关键临床警报使用可关闭提示
  • 基于标签页的就诊界面导致临床工作流碎片化
  • 允许编辑已签署/锁定的就诊记录
  • 无审计追踪显示临床数据
  • 使用any类型处理临床数据结构

示例

示例1:患者就诊流程
医生为患者 #4521 开启接诊
  → 固定头部显示:"Rajesh M, 58岁, 男性, 过敏史: 青霉素, 当前用药: 二甲双胍 500mg"
  → 主诉:选择"胸痛"模板
    → 点击标签:"胸骨后", "向左臂放射", "压榨性"
    → 红色预警"压榨性胸骨后胸痛"触发不可关闭的警报
  → 检查:心血管系统 — "S1 S2 正常,无杂音"
  → 生命体征:心率 110, 血压 90/60, 血氧饱和度 94%
    → NEWS2 自动计算:评分 8, 风险 高, 显示升级警报
  → 诊断:搜索"ACS" → 选择 ICD-10 I21.9
  → 用药:选择阿司匹林 300mg
    → CDSS 检查与二甲双胍的相互作用:无相互作用
  → 签署接诊 → 锁定,此后仅可添加补充说明
示例2:用药安全工作流
医生为患者 #4521 开具华法林处方
  → CDSS 检测到:华法林 + 阿司匹林 = 严重相互作用
  → 用户界面:红色不可关闭的模态框阻止开药
  → 医生点击“输入理由并覆盖”
  → 输入:“获益大于风险 — 已监测 INR 方案”
  → 覆盖理由及警报记录在审计追踪中
  → 处方在记录覆盖后继续执行
示例3:锁定就诊 + 附录
Encounter #E-2024-0891 signed by Dr. Shah at 14:30
  → All fields locked — no edit buttons visible
  → "Add Addendum" button available
  → Dr. Shah clicks addendum, adds: "Lab results received — Troponin elevated"
  → New record E-2024-0891-A1 linked to original
  → Timeline shows both: original encounter + addendum with timestamps

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/zh-CN/skills/healthcare-emr-patterns of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Healthcare Emr Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Healthcare Emr Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Healthcare Emr Patterns this skillaffaan-m/ECC276k—~776Automated safety check: PassMIT
Clinical Trials Databasegoogle-deepmind/science-skills3.2k2 repos~3.2kAutomated safety check: PassApache-2.0
CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw6171 repos~1.8kAutomated safety check: PassNone
Biomedical Analysis Dispatchxjtulyc/MedgeClaw6171 repos~2kAutomated safety check: PassNone
Research Paperluwill/research-skills862—~1.9kAutomated safety check: PassNone
Research Proposalluwill/research-skills862—~4.5kAutomated safety check: NotesNone

Similar skills

  • Clinical Trials Database

    google-deepmind/science-skills

    Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.

    3.2k GitHub starsUsed in 2 repos~3.2k tokens
    Research & ScienceAuto-check passed
  • Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.

    617 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Routes bioinformatics, drug discovery, clinical and multi-omics tasks from a chat interface to Claude Code sessions running K-Dense scientific skills, with a live dashboard per task.

    617 GitHub starsUsed in 1 repo~2k tokens
    Research & ScienceAuto-check passed
  • Research Paper

    luwill/research-skills

    A skill your agent uses when the user asks to write or draft an ORIGINAL RESEARCH ARTICLE — IMRaD paper, conference paper, short/workshop paper, 研究论文/期刊论文/会议论文 — reporting their own completed…

    862 GitHub stars~1.9k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Research Proposal

    luwill/research-skills

    A skill your agent uses when the user asks to write or draft a PhD / doctoral research proposal, research plan, 研究计划书, or 开题报告 — a forward-looking plan of background, gap, research questions…

    862 GitHub stars~4.5k tokensUpdated yesterday
    Research & ScienceAuto-check: notes
  • Medical Imaging Review

    LeonChaoX/qinyan-academic-skills

    Write comprehensive literature reviews for medical imaging AI research.

    944 GitHub starsUsed in 3 repos~1.1k tokens
    Research & ScienceAuto-check: notes

More from affaan-m/ECC

All 682 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    277k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    277k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    277k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    277k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    277k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Set an ECC-specific frontend design direction for production UI work.

    277k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Healthcare Emr Patterns

What does Healthcare Emr Patterns do?

医疗应用中EMR/EHR的开发模式。临床安全、就诊工作流程、处方生成、临床决策支持集成以及以可访问性为先的医疗数据录入用户界面。. Healthcare Emr Patterns is an agent skill from affaan-m/ECC.

When should I use Healthcare Emr Patterns?

Healthcare Emr Patterns fits situations like: tasks that involve Clinical and healthcare research.

How do I install Healthcare Emr Patterns in Claude Code?

Run `npx skills add affaan-m/ECC --skill healthcare-emr-patterns -a claude-code`. Or copy the skill folder (docs/zh-CN/skills/healthcare-emr-patterns in affaan-m/ECC) into .claude/skills/healthcare-emr-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Healthcare Emr Patterns in Codex?

Run `npx skills add affaan-m/ECC --skill healthcare-emr-patterns -a codex`. Or copy the skill folder (docs/zh-CN/skills/healthcare-emr-patterns in affaan-m/ECC) into .agents/skills/healthcare-emr-patterns in your project. Codex loads it when a task matches its description.

Can I use Healthcare Emr Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill healthcare-emr-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/healthcare-emr-patterns, .gemini/skills/healthcare-emr-patterns, .github/skills/healthcare-emr-patterns and .opencode/skills/healthcare-emr-patterns in your project.

What does Healthcare Emr Patterns need to run?

SKILL.md names no scripts, command-line tools or credentials: Healthcare Emr Patterns is instructions for the agent only.

Does Healthcare Emr Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Healthcare Emr Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Healthcare Emr Patterns use?

Healthcare Emr Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Healthcare Emr Patterns use?

About 776 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Healthcare Emr Patterns?

Skills that share tags, products or a category with Healthcare Emr Patterns: Clinical Trials Database (google-deepmind/science-skills, 3.2k stars), CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars), Biomedical Analysis Dispatch (xjtulyc/MedgeClaw, 617 stars) and Research Paper (luwill/research-skills, 862 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Healthcare Emr Patterns?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.