SkillsReviewed · maziyarpanahi

OpenMed linking-umls-concepts

OpenMed's linking-umls-concepts is an assistant skill for developers mapping extracted medical terms to standard concept identifiers, but it requires licensed UMLS access and external API calls. It supplies Python examples for searching concepts, checking semantic types and retrieving vocabulary-specific entries. The examples leave candidate ranking, privacy enforcement and several operational controls to the developer.

Researched 17 Nov 2026

In short.

OpenMed's linking-umls-concepts is an assistant skill for developers connecting medical entity extraction to UMLS terminology, but it requires the user's licensed account and sends term strings to an external service. It explains how Concept Unique Identifiers connect terminology entries across vocabularies and provides Python helpers for searching, inspecting concepts and retrieving target-vocabulary atoms. The documented workflow is more complete than the example implementation: confidence-based ranking, pagination, retries and de-identification are not implemented. Mapping accuracy, runtime behavior and clinical suitability are untested. Apache-2.0 covers the skill; it does not establish rights to UMLS content or individual source vocabularies.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises skills/linking-umls-concepts at revision e8325586e1ce2da73e9e865f34bd0345bb64301a; the supplied complete-scope manifest contains only SKILL.md within that folder. Repository-root LICENSE and NOTICE provide associated rights context. Other OpenMed implementation files, sibling skills, models, external documentation and third-party assets are outside the supplied evidence. Installation, extraction, API access, mapping accuracy, privacy controls and performance were not tested.

The overview

Identity

linking-umls-concepts is a written assistant skill in the maziyarpanahi/openmed repository. Its metadata declares version 1.0 and the terminology-coding category. It is intended to follow OpenMed named entity recognition, which identifies spans such as diseases, drugs, chemicals and anatomy in text.

The resource consists of instructions and embedded Python examples. It is not a bundled terminology database or a complete linking service. The original folder is [https://github.com/maziyarpanahi/openmed/tree/master/skills/linking-umls-concepts].

Assessment

The skill is useful as an implementation starting point when an application already extracts medical terms and needs identifiers shared across vocabularies. It connects concrete API operations to a clear sequence: find candidate concepts, check their types, choose a concept and retrieve entries from a target vocabulary.

The examples require further engineering before dependable application use. They do not implement the documented confidence-based ranking, and they provide no measured linking accuracy or demonstrated privacy controls. The strongest supported use is understanding and prototyping the integration.

Users

The intended users are developers building medical text processing, terminology normalization or vocabulary integration features. Beginners receive explanations of CUIs, the concept identifiers used as shared keys, and semantic types, which distinguish categories such as diseases and substances.

Experienced developers receive endpoint patterns and an OpenMed handoff using entity text, labels, confidence and character offsets. Someone seeking an offline database, a finished coding interface or established clinical coding accuracy would need additional resources.

Capabilities

The supplied helpers search UMLS for candidate CUIs, retrieve a concept's preferred name and semantic types, and request its atoms from a selected source vocabulary. An atom is a vocabulary-specific entry associated with the concept. The examples use source abbreviations such as SNOMEDCT_US, ICD10CM, RXNORM and MSH.

The proposed workflow supports synonym normalization and retaining OpenMed character offsets for traceability. It also describes choosing candidates using semantic types and extraction confidence. However, the executable example selects the first acceptable search result rather than implementing that full ranking procedure.

Using it

Requirements

The skill calls for the user's own UTS account, acceptance of the UMLS license and a UTS API key. Requests go to [https://uts-ws.nlm.nih.gov/rest]. Users also need permission to use whichever source vocabularies they request.

The examples require Python, requests and, for the extraction handoff, OpenMed with an appropriate model. They read the key from the UTS_API_KEY environment variable. Package versions, installation commands, supported assistant hosts, model hardware requirements and numeric API limits are not specified.

Mechanism

OpenMed first produces entities containing text, label, confidence, start and end fields. The search helper sends each term string to /search/{version}, optionally restricting source vocabularies with sabs. Concept requests retrieve semantic types, and the crosswalk helper retrieves atoms for a chosen CUI and target source.

Authentication places the API key in the apiKey query parameter. Search and concept calls have 15-second timeouts; atom retrieval has a 20-second timeout. The helpers raise HTTP errors but contain no retry logic or pagination loops. The crosswalk helper requests a page size of 50, so the snippet does not establish that all matching atoms will be retrieved.

Setup

Following the documented approach requires obtaining a personal UTS key, making it available through the environment and choosing the source vocabularies needed by the application. The UTS documentation reference supplied by the skill is [https://documentation.uts.nlm.nih.gov/rest/home.html]; its contents are not included in the evidence.

The example uses the release alias current. For reproducible mappings, the skill recommends choosing and recording a fixed UMLS release. Developers must also configure semantic-type rules for their actual OpenMed labels and connect the helper functions to their application. An end-to-end installation procedure is not supplied.

Example

The handoff example uses a note mentioning myocardial infarction and lisinopril, then calls openmed.analyze_text with disease_detection_superclinical and dictionary output. For each returned entity, it requests up to five candidate concepts, retrieves their semantic types and prints the first candidate accepted by its label rules.

A separate example searches for type 2 diabetes and requests SNOMEDCT_US atoms for C0011860. These are illustrative snippets, not observed results. The disease-model example does not demonstrate that the drug mention is extracted, and its output is printed rather than stored in a completed mapping record.

Assessment & evidence

Limitations

The example never reads extraction confidence, distinguishes exact matches from synonym matches or resolves competing acceptable concepts. Its semantic-type rules compare names rather than TUI identifiers. Labels absent from KEEP_STY bypass filtering, and the example supplies no anatomy rule.

The source describes sending only de-identified concept strings, but the code sends entity text directly to UTS and provides no de-identification step. It also prints entity text. Consequently, the example does not establish that sensitive information stays off the network or out of logs.

Retrieving atoms associated with a CUI does not demonstrate that a returned code is appropriate for a particular clinical record or billing use. Accuracy, supported languages, throughput, clinical validation and regulatory status are not established.

Reasoning

A shared concept identifier offers a useful join point when equivalent terminology appears under different names or vocabularies. Semantic-type filtering helps narrow ambiguous strings, while preserving source offsets lets a developer trace a proposed mapping back to the extracted mention.

The remaining decision is contextual: an acceptable semantic type alone does not determine which candidate represents the intended meaning. Because the supplied loop stops at the first acceptable hit, reliable use would require additional candidate evaluation and an explicit policy for ambiguous or unmatched terms.

Alternatives

The skill names MetaMap [https://lhncbc.nlm.nih.gov/ii/tools/MetaMap.html] and QuickUMLS [https://github.com/Georgetown-IR-Lab/QuickUMLS] as local alternatives requiring a UMLS download under the user's license. Their implementation details, current availability and comparative performance are not assessed.

It also points to sibling skills named normalizing-rxnorm and mapping-to-snomed for downstream vocabulary work. Those files are outside the supplied scope, so their capabilities and compatibility remain unknown.

Evidence

The source material consists of the complete supplied SKILL.md and the repository-root LICENSE and NOTICE. The manifest lists SKILL.md as the sole file within the skill folder. Its immutable source is [https://raw.githubusercontent.com/maziyarpanahi/openmed/e8325586e1ce2da73e9e865f34bd0345bb64301a/skills/linking-umls-concepts/SKILL.md].

The manifest records the skill file's SHA-256 as fe20b72d0279bbb9cbdb9b129ac7d2194c114d7c1d34638b9b0c68313a47262f. No OpenMed implementation files, model documentation, live UTS responses, executed results or benchmark measurements are supplied. No code was executed.

Access & freshness

Costs

The skill describes the UTS account and API key as free. It mentions account-specific rate limits without giving numeric limits.

The supplied evidence does not establish API charges, source-vocabulary fees, compute requirements or support costs. The example performs concept lookups for individual candidates, but no measured request volume or latency is available. Total operating cost is unknown.

Rights

The skill declares Apache-2.0, and the repository provides that license. Its redistribution conditions include supplying the license, marking modified files and retaining applicable attribution notices, including relevant NOTICE content. The license provides no warranty.

These permissions do not establish rights to UMLS data or its individual source vocabularies. The skill calls for licensed, user-account access and prohibits distributing or caching the Metathesaurus in OpenMed assets. Its retention guidance varies between returned CUIs and strings and only CUIs and codes; the supplied evidence does not establish the applicable retention permissions for those outputs.

The repository NOTICE describes assets and integrations across the wider OpenMed project, including optional and planned components. It does not establish that those components are included in this skill.

Freshness

The supplied snapshot was captured at 2026-11-17T14:21:18.211Z from repository revision e8325586e1ce2da73e9e865f34bd0345bb64301a. The skill declares version 1.0; that does not identify the OpenMed package version.

Release history and later upstream changes are unknown. The current UMLS alias can change between releases, as the skill itself explains. Reproducing mappings therefore requires recording the actual terminology release, rather than relying solely on the skill version.

Actions

Before adopting the snippets, confirm account and vocabulary permissions, choose a fixed terminology release and define which entity strings may leave the application. Keep API keys out of request logs, since the example authenticates through a query parameter.

Complete the label-to-type rules, reject unsupported labels, add candidate ranking and handle unmatched or ambiguous terms. Add pagination, rate-limit handling and retries appropriate to the application. Evaluate mappings against representative labeled examples, including ambiguous terms and vocabulary-specific outputs; the supplied material provides no acceptance thresholds or measured results.

Evidence for this report

LICENSEnotice · checked 2026-11-17
NOTICEnotice · checked 2026-11-17
skills/linking-umls-concepts/SKILL.mdselected · checked 2026-11-17