concept-mapping

Orchestrate OMOP concept mapping with syntactic and semantic candidate scoring.

6|1|Updated Aug 25, 2021
One-click install
npx skills add https://github.com/BorisDelange/Linkr --skill concept-mapping-borisdelange
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: concept-mapping
Source: https://github.com/BorisDelange/Linkr/tree/main/.claude/skills/concept-mapping
Command: npx skills add https://github.com/BorisDelange/Linkr --skill concept-mapping-borisdelange

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Clinical teams often have local hospital terminology codes that cannot be directly compared or analyzed with OMOP-based datasets, creating time-consuming manual mapping work and inconsistent vocabulary alignment.

Core Features & Use Cases

  • Orchestrates OMOP concept mapping: loads Linkr mapping inputs, performs precomputation hooks, and routes batches to the right sub-skill (AI for general concepts, drug-specific mapping for Rx/medication contexts).
  • Generates candidate suggestions at scale: computes syntactic similarity (Jaro-Winkler, token-sort, optional ngram-idf) and semantic similarity (BioLORD embeddings + FAISS) to produce ranked candidate OMOP targets.
  • Uses resume-safe, project-local artifacts: leverages project-level files like source-concepts.csv, mappings.json, similarity-scores.parquet, and state.json to continue interrupted runs and support review.

Quick Start

Ask the skill to map local hospital terminology codes to OMOP by running the concept-mapping workflow on an exported Linkr project zip, ensuring you point it to an OHDSI vocabulary directory containing CONCEPT.parquet (and recommended related vocabulary tables).

Frequently Asked Questions about concept-mapping

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

FAQPage Schema
How do I map local hospital terminology codes to OMOP standard vocabularies?

To map local hospital terminology codes to OMOP standard vocabularies, load a Linkr mapping project and route source concepts through syntactic and semantic candidate scoring. The workflow targets standard vocabularies like SNOMED CT, LOINC, UCUM, and RxNorm across multiple clinical domains.

What do I need to set up before running an OMOP concept mapping workflow?

Before running OMOP concept mapping, you need a project root containing state.json and mappings.json inputs alongside an OHDSI vocabulary directory with CONCEPT parquet files. These inputs allow the workflow to compute similarity scores and generate candidate suggestions.

How does semantic similarity work for clinical data concept mapping?

Semantic similarity for clinical data concept mapping works by computing BioLORD embeddings and using FAISS to rank candidate OMOP targets. This is combined with syntactic methods like Jaro-Winkler and token-sort ratios to generate confidence-scored equivalence suggestions.

Can I resume an interrupted OMOP vocabulary alignment process if it crashes?

You can resume an interrupted OMOP vocabulary alignment process because the workflow uses resume-safe project-local artifacts like source-concepts.csv and similarity-scores.parquet. It supports incremental computation and idempotent writes to continue interrupted runs without duplicating work.

Does this concept mapping workflow handle drug domains differently than measurement or condition domains?

Yes, concept mapping handles drug domains differently by routing medication contexts to drug-specific mapping sub-skills for RxNorm alignment. General concepts like measurement, condition, procedure, and observation are routed to standard AI-driven equivalence suggestion sub-skills.

What are the limitations of using SSOM SKOS for vocabulary alignment in clinical datasets?

Vocabulary alignment using SSOM SKOS in clinical datasets requires precomputed OHDSI vocabulary parquet files and structured Linkr project inputs. It is limited to supported OMOP domains and cannot infer mappings for source codes entirely absent from the provided vocabulary tables.