Clinical Reports
davila7/claude-code-templates
Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation…
Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed.
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install maziyarpanahi/openmed parsing-lab-values --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/parsing-lab-values .claude/skills/parsing-lab-values && rm -rf skills-srcUse ~/.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/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .claude/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-valuesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install maziyarpanahi/openmed parsing-lab-values --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/parsing-lab-values .agents/skills/parsing-lab-values && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .agents/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install maziyarpanahi/openmed parsing-lab-values --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/parsing-lab-values .cursor/skills/parsing-lab-values && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .cursor/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/maziyarpanahi/openmed.git --path skills/parsing-lab-values--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install maziyarpanahi/openmed parsing-lab-values --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/parsing-lab-values .gemini/skills/parsing-lab-values && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .gemini/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install maziyarpanahi/openmed parsing-lab-valuesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/parsing-lab-values .github/skills/parsing-lab-values && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .github/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install maziyarpanahi/openmed parsing-lab-values --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/maziyarpanahi/openmed.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/parsing-lab-values .opencode/skills/parsing-lab-values && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "parsing-lab-values" agent skill from https://github.com/maziyarpanahi/openmed/tree/master/skills/parsing-lab-values into .opencode/skills/parsing-lab-values/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "parsing-lab-values", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
parsing-lab-valuesParse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed.
Parsing Lab Values is an agent skill from maziyarpanahi/openmed. Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed. Use when the user needs to interpret lab results, compute abnormal flags, parse reference ranges like "135-145" or "<5", honor an originating-lab flag (H/L/critical), or turn extracted lab entities into structured high/low/critical signals. Covers openmed.clinical.parsereferencerange, deriveabnormalflag, ReferenceRange, and AbnormalFlag, with UCUM/LOINC framing. Unit-agnostic — it does…
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Local-first healthcare AI: clinical NER and HIPAA PII de-identification on hardware you control. 2,200+ medical models, 35 model-backed PII languages, and Python, MLX, Android… The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 34d7b8c. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
loinc.orgucum.orgterminology.hl7.orghl7.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Parsing Lab Values loads about 1.6k tokens when it runs. Until then it costs about 159 tokens; SKILL.md has 588 words of instructions outside code blocks.
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.
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.
The full file from maziyarpanahi/openmed at commit 34d7b8c, republished under its Apache-2.0 licence (© maziyarpanahi). 588 words, ~1,636 tokens.
.claude/skills/parsing-lab-values/SKILL.md (or your agent's skills folder).Lab results in clinical text arrive as a value, a unit, and a reference range
("Sodium 132 mmol/L (135–145)"). To act on them you need a structured
abnormal flag — is 132 low, normal, high, or critical? OpenMed's
openmed.clinical lab helpers parse the reference range deterministically and
derive the flag, honoring any explicit flag the originating lab already supplied.
The helpers are unit-agnostic by design: they compare numbers within a stated
range and never convert units, so a mmol/L value is never silently compared
against a mg/dL range.
extracting-clinical-entities surfaces lab/measurement entities and you
need to classify each as low / normal / high / critical.<5, >=10, 0.5 - 1.2.H, L, C, HH) and want it honored over
a derived comparison.from openmed.clinical import (
parse_reference_range, derive_abnormal_flag, LAB_FLAG_ADVISORY,
)
# Closed range
rng = parse_reference_range("135-145")
# -> {"low": 135.0, "high": 145.0, "low_inclusive": True, "high_inclusive": True}
derive_abnormal_flag(132, rng) # "low"
derive_abnormal_flag(140, "135-145") # "normal" (raw range string accepted)
derive_abnormal_flag(150, "135 to 145") # "high"
# One-sided bounds
derive_abnormal_flag(7, parse_reference_range("<5")) # "high" (above the cap)
derive_abnormal_flag(3, parse_reference_range(">=10")) # "low"
# Honor the lab's own explicit flag (takes precedence over derived comparison)
derive_abnormal_flag(132, "135-145", explicit_flag="C") # "critical"
derive_abnormal_flag(132, "135-145", explicit_flag="HH") # "critical"
# Unparseable / non-numeric inputs fail safe rather than guessing
derive_abnormal_flag("pending", "135-145") # "unknown"
derive_abnormal_flag(132, "see report") # "unknown"
print(LAB_FLAG_ADVISORY) # surface this disclaimer with derived flagsAbnormalFlag is one of "low" | "normal" | "high" | "critical" | "unknown".
ReferenceRange is a typed mapping of low, high, low_inclusive,
high_inclusive.
parse_reference_range. It handles closed
ranges ("135-145", "0.5 - 1.2", "135 to 145", en/em dashes) and
one-sided bounds ("<5", "<=5", ">10", ">=10"). Contradictory or
unparseable ranges return empty bounds rather than a guess — by design.derive_abnormal_flag(value, range, explicit_flag=).
Resolution order: an explicit lab flag wins first (H/HIGH, L/LOW,
C/CRIT/CRITICAL, HH/LL → critical, N/NORMAL); an unknown explicit flag
returns "unknown" instead of being silently ignored. With no explicit flag,
it compares the numeric value against the parsed bounds, respecting inclusive
vs. exclusive edges."unknown" explicitly. Non-numeric values, empty/unparseable
ranges, or unrecognized explicit flags yield "unknown". Treat it as
"needs review," not "normal."LAB_FLAG_ADVISORY wherever derived flags
are shown — derived flags are heuristic and do not replace the originating
laboratory's own diagnostic flagging.extracting-clinical-entities: analyze_text lab/measurement
entities give you the value text, unit, and often the reference range; this
skill turns them into structured flags. Parse the numeric value out of the
entity surface before calling derive_abnormal_flag.from openmed.clinical import parse_reference_range, derive_abnormal_flag, ReferenceRange, AbnormalFlag, LAB_FLAG_ADVISORY.reconciling-problem-lists / FHIR grounding: a critical/high/low
flag becomes a FHIR Observation.interpretation code (HL7 v3
ObservationInterpretation: H, L, HH, LL, N). Ground the LOINC code and
UCUM unit out-of-process; OpenMed emits the flag, not the terminology binding."<5" makes 5 the high bound exclusive;
a value of exactly 5 flags high. parse_reference_range records
high_inclusive=False for < and True for <= — respect it."critical" comes from the lab's explicit flag (C, HH, LL); the
helpers do not infer critical thresholds beyond the reference range."unknown" from derive_abnormal_flag, not "normal". Don't treat unknown as
in-range.LAB_FLAG_ADVISORY.referenceRange and interpretation:
https://hl7.org/fhir/R4/observation.html© maziyarpanahi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/parsing-lab-values of maziyarpanahi/openmed.
Open the folder on GitHubat commit 34d7b8c
Parsing Lab Values 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Parsing Lab Values this skillmaziyarpanahi/openmed | 5.5k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Clinical Reportsdavila7/claude-code-templates | 33k | 11 repos | ~9.9k | Automated safety check: Notes | MIT | |
| Clinical Researchalirezarezvani/claude-skills | 28k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Clinical Decision SupportK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Clinical Data Cleaneraipoch/medical-research-skills | 1.9k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Clinical Case Reportnexu-io/open-design | 100k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 |
davila7/claude-code-templates
Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation…
alirezarezvani/claude-skills
A skill your agent uses when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging)…
K-Dense-AI/scientific-agent-skills
Prepares and validates research-only clinical decision-support evaluation, evidence-profile, cohort, survival, biomarker/model, privacy, and governance artifacts.
aipoch/medical-research-skills
A skill your agent uses when cleaning clinical trial data, preparing data for FDA/EMA submission, standardizing SDTM datasets, handling missing values in clinical studies, detecting outliers in lab…
nexu-io/open-design
Structured medical case presentation for clinical rounds, conferences, and documentation.
phuryn/pm-skills
Design a detailed value proposition using a 6-part JTBD template — Who, Why, What before, How, What after, Alternatives.
maziyarpanahi/openmed
Checks OpenMed de-identified clinical text against the 18 HIPAA Safe Harbor identifier categories and reports gaps and residual re-identification risk.
maziyarpanahi/openmed
Fills in a model card for an OpenMed clinical NER or de-identification model from its evaluation reports: intended use, metrics, subgroups and limitations.
maziyarpanahi/openmed
Walks a data pipeline against the HIPAA Privacy and Security Rule checklist and produces a gap report before it processes patient data.
maziyarpanahi/openmed
Suggests candidate ICD-10-CM diagnosis and ICD-10-PCS procedure codes for clinical text extracted by OpenMed, with rationale for a certified coder to review.
maziyarpanahi/openmed
Maps OpenMed-extracted, terminology-coded conditions, drugs and measurements into OMOP CDM v5.4 tables for OHDSI and ATLAS analytics.
maziyarpanahi/openmed
Finds social risks such as housing instability or food insecurity in clinical notes and proposes matching ICD-10-CM Z-codes for a coder to confirm.
Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed. Parsing Lab Values is an agent skill from maziyarpanahi/openmed. Parse laboratory values and reference ranges from clinical text and flag results as low, normal, high, or critical with OpenMed.
Parsing Lab Values fits situations like: the user needs to interpret lab results; compute abnormal flags; parse reference ranges like 135-145; honor an originating-lab flag (H/L/critical).
Run `npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a claude-code`. Or copy the skill folder (skills/parsing-lab-values in maziyarpanahi/openmed) into .claude/skills/parsing-lab-values in your project. Claude Code loads it when a task matches its description.
Run `npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a codex`. Or copy the skill folder (skills/parsing-lab-values in maziyarpanahi/openmed) into .agents/skills/parsing-lab-values in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add maziyarpanahi/openmed --skill parsing-lab-values -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/parsing-lab-values, .gemini/skills/parsing-lab-values, .github/skills/parsing-lab-values and .opencode/skills/parsing-lab-values in your project.
SKILL.md names no scripts, command-line tools or credentials: Parsing Lab Values is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 4 domains. As links in the text: loinc.org, ucum.org, terminology.hl7.org and hl7.org. This is read from the text; nothing was executed.
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.
Parsing Lab Values is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Parsing Lab Values: Clinical Reports (davila7/claude-code-templates, 33k stars), Clinical Research (alirezarezvani/claude-skills, 28k stars), Clinical Decision Support (K-Dense-AI/scientific-agent-skills, 48k stars) and Clinical Data Cleaner (aipoch/medical-research-skills, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
maziyarpanahi (a GitHub user) maintains it in maziyarpanahi/openmed, which has 5,506 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 11, 2026.
Source: maziyarpanahi/openmed on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.