Medical coding (MedDRA and WHODrug)

Medical coding in clinical trials is the process of converting the free-text terms recorded in a study, such as adverse events, medical history, and medications, into standard codes from a medical dictionary.

Code adverse events and medications inside your electronic data capture (EDC) system.

What is medical coding (MedDRA and WHODrug)?

Medical coding is the step that maps each verbatim term a site enters to a term in a standard medical coding dictionary. It's one of the activities used to finalize data sets before analysis under Good Clinical Practice guideline E6(R3) from the International Council for Harmonisation (ICH), section 4.2.6(b). Coding completion is also one of the same guideline's essential records to document (Appendix C).

Clinical trials commonly use two dictionaries: Medical Dictionary for Regulatory Activities (MedDRA) for medical terms, and WHODrug for medicines.

MedDRA is a five-level hierarchy, from Lowest Level Terms (about 90,000 in version 29.0) up to 27 System Organ Classes. Each term has a unique eight-digit code. ICH and MSSO update MedDRA twice a year, in March and September. MedDRA is not a drug dictionary: WHODrug handles medicines.

WHODrug links trade names to their active ingredients and classifies them using the ATC system (Lagerlund et al., 2020). It's the first point of reference for medicine coding in clinical trials and post-marketing surveillance (UMC).

Why medical coding matters for CROs and sponsors

For a CRO

Coding is a recurring cost on every study, and each sponsor may ask for different dictionary versions and conventions. The more terms the system matches automatically, and the clearer the review step, the less coder time each study takes.

For a sponsor

Sponsors build safety tables and submissions on coded data, and ICH E6(R3) expects that work to follow pre-specified, documented procedures (section 4.2.6(b)).

For both CROs and sponsors, consistent conventions matter more than speed: the same verbatim term should get the same code every time, on every study.

Getting started with medical coding

Decide early which dictionaries and conventions the study will use for coding. These steps turn that decision into a working process, from agreeing versions to signing off before database lock:

  1. Agree the dictionaries and versions for the study: MedDRA for medical terms, WHODrug for medications.

  2. Write coding conventions based on the MedDRA Points to Consider documents, and share them with every coder.

  3. Decide which terms the system can auto-code and which always need a coder's review.

  4. Set up a query route so coders can ask sites to clarify vague terms.

  5. Agree who reviews and approves coding, and how to document coding completion before database lock.

Woman in a modern office sitting at a desk and working on her laptop

Medical coding with Viedoc

Coding in the same platform as your EDC

Viedoc's medical coding runs inside the Viedoc EDC environment. It's a browser-based tool for coding clinical terms such as trial medications and adverse events, with support for MedDRA, MedDRA/J, WHODrug, ATC, and IDF.

Suggested codes for medications

Viedoc Coder uses WHODrug Koda to suggest drug names and ATC codes, and the coder reviews each suggestion before applying it.

Woman sitting at her desk in front of a large computer monitor using a piece of software

Key takeaways: Medical coding (MedDRA and WHODrug)

  • Medical coding turns free-text terms from sites into standard dictionary codes, so data managers can group and analyze them consistently.

  • MedDRA codes medical terms such as adverse events; WHODrug codes medicines.

  • Auto-coding handles exact matches; trained coders review the rest and query sites when terms are vague.

  • For CROs, efficient coding saves time on every study; for sponsors, coded data underpins safety analysis and submissions.

Frequently asked questions about Medical coding (MedDRA and WHODrug)

Related terms