map-drugs

Map pharmaceutical product records to RxNorm concepts and validate mapping.tsv outputs.

5|1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/mi-erasmusmc/ema-authorised-to-rxnorm-mappings --skill map-drugs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-drugs
Source: https://github.com/mi-erasmusmc/ema-authorised-to-rxnorm-mappings/tree/main/.claude/skills/map-drugs
Command: npx skills add https://github.com/mi-erasmusmc/ema-authorised-to-rxnorm-mappings --skill map-drugs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mapping heterogeneous pharmaceutical product records to standardized RxNorm/OMOP concepts is complex, error-prone, and requires domain rules beyond simple string matching; this Skill captures the conventions, exceptions, and validation needed to produce reliable mappings.

Core Features & Use Cases

  • Mapping conventions: Clear rules for EXACT vs BROAD mappings, terminology adaptation, and unit/weight conversions to align EMA/EU terminology with RxNorm.
  • Dose form and precision guidance: Rules for selecting volume-specific vs concentration-only concepts, injectables distinctions, and device-related decisions.
  • Validation and reproducibility: A validation script enforces column order, date format, concept_id types, and BROAD mapping suggestions to ensure consistent mapping.tsv outputs.
  • Biosimilars and edge cases: Procedures for detecting FDA-suffixed INNs, constructing suggestions when no exact match exists, and avoiding inappropriate use of US brand names.

Quick Start

Map the EMA product with MA number MA123456 to the most precise RxNorm concept, save the results as mapping.tsv in the product folder, and run the .claude/skills/map-drugs/validate_mapping.py script to validate the file.

Frequently Asked Questions about map-drugs

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

FAQPage Schema
How do I map EMA drug products to RxNorm standard concepts?

To map EMA drug products to RxNorm, apply EXACT and BROAD vocabulary mapping conventions to convert EU terminology and units, then generate a mapping.tsv file and validate it using the validate_mapping.py script.

What is the difference between EXACT and BROAD conventions in OMOP vocabulary mapping?

EXACT and BROAD conventions in OMOP vocabulary mapping define the precision of matching pharmaceutical records to RxNorm concepts, where BROAD suggestions are constructed when an exact match is unavailable, such as for FDA-suffixed INNs.

How do I resolve biosimilars when mapping pharmaceutical products to RxNorm?

To resolve biosimilars during RxNorm mapping, detect FDA-suffixed INNs and construct appropriate suggestions when no exact match exists, avoiding inappropriate use of US brand names for European product records.

How do I select the correct dose form during RxNorm drug mapping?

Selecting the correct dose form during RxNorm drug mapping requires consulting dose_form_lookup references to distinguish volume-specific concepts, concentration-only concepts, injectables, and device-related forms.

Can I validate mapping.tsv files for OMOP drug mapping workflows?

You can validate OMOP drug mapping outputs by running the validate_mapping.py script, which enforces required column order, date formats, concept_id types, and BROAD mapping suggestions to ensure consistent mapping.tsv files.

Does drug mapping to RxNorm support Swedish and Latvian national pharmaceutical products?

RxNorm drug mapping supports centrally authorised EMA products and linked Swedish and Latvian national products, applying unit conversions and terminology adaptation to align regional records with standard concepts.