parsing-lab-values

Classify laboratory values against reference ranges and produce structured abnormality flags.

5.0k|615|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/maziyarpanahi/openmed --skill parsing-lab-values
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parsing-lab-values
Source: https://github.com/maziyarpanahi/openmed/tree/main/skills/parsing-lab-values
Command: npx skills add https://github.com/maziyarpanahi/openmed --skill parsing-lab-values

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts laboratory values and reference ranges from clinical text into structured low, normal, high, critical, or unknown results without silently guessing when inputs are incomplete or ambiguous.

Core Features & Use Cases

  • Reference Range Parsing: Handles closed ranges such as 135–145 and one-sided bounds such as <5, <=5, >10, and >=10.
  • Abnormality Classification: Compares numeric results with parsed ranges while respecting inclusive and exclusive boundaries.
  • Explicit Flag Handling: Honors originating laboratory flags such as H, L, C, HH, and LL before applying derived comparisons.
  • Clinical Data Workflows: Turns extracted lab entities into structured signals suitable for flagged laboratory tables, FHIR Observation interpretation, and downstream clinical NLP workflows.
  • Safe Interpretation: Returns unknown for non-numeric values, unparseable ranges, or unrecognized flags, and keeps unit conversion outside the classification logic.

Quick Start

Use the parsing lab values skill to classify each laboratory result in the provided clinical text using its value, reference range, and any originating laboratory flag.

Frequently Asked Questions about parsing-lab-values

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I classify laboratory values against reference ranges in clinical text?

You classify laboratory values by comparing numeric results against parsed reference ranges to generate structured abnormality flags like low, normal, high, or critical for downstream clinical text workflows.

What is the best way to handle abnormal flags from lab results for FHIR Observation interpretation?

Handling abnormal flags for FHIR Observation interpretation involves honoring explicit originating laboratory flags like H, L, C, HH, and LL before applying derived numeric comparisons against parsed reference ranges.

Does laboratory value parsing support one-sided reference bounds like less than 5 or greater than 10?

Laboratory value parsing supports one-sided reference bounds like <5, <=5, >10, and >=10 alongside closed ranges such as 135–145, respecting inclusive and exclusive boundaries during abnormality classification.

Can I use this Skill to convert laboratory units before classifying abnormality?

No, this Skill does not perform unit conversion before classifying abnormality. It requires compatible units upfront and keeps unit conversion outside its classification logic to prevent silent guessing.

Why does laboratory value classification return unknown for some clinical text inputs?

Laboratory value classification returns unknown for non-numeric values, unparseable reference ranges, or unrecognized explicit flags, ensuring safe interpretation by avoiding silent guesses on ambiguous clinical inputs.