cadec-query

Query CADEC corpus annotations for adverse drug events and codes.

130|4|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/QSong-github/DrugClaw --skill cadec-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cadec-query
Source: https://github.com/QSong-github/DrugClaw/tree/main/skills/drug_nlp/cadec
Command: npx skills add https://github.com/QSong-github/DrugClaw --skill cadec-query

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CADEC query retrieval for adverse drug events from the CSIRO CADEC corpus. Use when users want to identify adverse drug events, examine MedDRA/SNOMED normalisations, or locate drugs, symptoms, or coded entities within the CADEC corpus.

Core Features & Use Cases

  • Search CADEC by drug names, adverse events, and codes (MedDRA/SNOMED-CT normalisations) to locate relevant annotations.
  • Auto-detects entity type (drug, adverse event, or code) and returns structured hits with contextual information.
  • Supports single and batch lookups, with optional summarization and JSON export for downstream processing.

Quick Start

Ask CADEC to look up an adverse event or drug, and the skill will return matching CADEC records with context.

Frequently Asked Questions about cadec-query

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

FAQPage Schema
How do I query the CADEC corpus for adverse drug events?

You can query adverse drug events in the CADEC corpus by searching for drug names, symptoms, or MedDRA and SNOMED CT codes. The skill auto-detects the entity type and returns structured annotation hits with contextual information.

Can I batch lookup MedDRA and SNOMED CT normalizations in CADEC?

Yes, CADEC batch lookup supports searching multiple MedDRA or SNOMED CT normalizations at once. The search_batch utility processes multiple adverse drug event terms or codes and returns structured results ready for downstream analysis.

What adverse drug event annotations can I retrieve from consumer health texts?

You can retrieve adverse drug event annotations from consumer health texts in the CADEC corpus, including drug names, adverse events, and their corresponding MedDRA and SNOMED CT normalizations with contextual corpus annotations.

How do I export CADEC search results to JSON?

You can export CADEC search results to JSON using the built-in to_json utility. This allows you to format retrieved adverse drug event records and their MedDRA or SNOMED CT annotations for downstream processing pipelines.

Does the CADEC query skill require any external dependencies or API connections?

No, the CADEC query skill loads pre-parsed CADEC data from local files and requires no external dependencies or API connections. It exposes a simple Python API to search, summarize, and export adverse drug event annotations.

Can I get a summary of adverse drug events found in CADEC for a specific drug?

Yes, the skill provides a summarize utility that generates optional summaries of adverse drug events retrieved for a specific drug. It aggregates the matching CADEC records and their associated MedDRA or SNOMED CT normalizations.