What problem does it solve?
Parsing EMA Authorised Presentations PDFs is time-consuming and error-prone when done manually; this Skill automates extraction of packaging, strength, route, content, pack size, and product identifiers into machine-readable TSV files to support vocabulary mapping and downstream data workflows.
Core Features & Use Cases
- Single-file parsing: Extract table fields from an Authorised Presentations PDF and write a parsed_data_<date>.tsv beside the source PDF.
- Batch parsing: Prepare self-contained batch prompts for parallel subagents using prepare_parse_batch.py to parse multiple products reliably.
- Data fetching & maintenance: Detect latest PDF dates, download updated PDFs from EMA, convert the medicines report to TSV, and generate ema-info metadata with a single command.
- Use Case: A researcher rebuilding EMA→RxNorm mappings can fetch updates, parse new PDFs into per-product TSVs, and regenerate overview mappings without manual file inspection.
Quick Start
Run python3 .claude/skills/process-ema-data/scripts/fetch_ema_updates.py to download updated EMA presentations, generate ema-info metadata, and produce combined parsed TSV overviews.