Microtools for clinical trial data: drug lookup, NCT IDs, and redaction

Microtools for clinical trial data: drug lookup, NCT IDs, and redaction

Clinical trial teams lose hours on small lookups: the generic name behind a brand, the registry record for an NCT ID, the structure of a compound mentioned in a paper, and a last check before a protocol page is shared. Fast Data Science has built four microtools that do those jobs inside Google Sheets and Chrome.

They sit alongside the Clinical Trial Risk Tool. The Risk Tool reads a full protocol. These tools handle the lists, pages, and identifiers around it.

ToolWhere it runsYou start withYou get
Drug DataGoogle SheetsDrug and product namesGeneric name, DrugBank, MeSH, NHS link, SMILES, molecular mass
Clinical Trial Data LookupGoogle SheetsNCT IDsProtocol link, status, phase, conditions, interventions, eligibility, and more
Drug Data LookupChromeAny web pageHighlighted drug names, structures, identifiers, and an export
Redact & AnonymiseChromeA page or PDFNames, organisations, places, dates, ages, and IDs marked or covered

Drug Data for Google Sheets

Drug Data: SMILES, MeSH, Auto-fill & Enrichment takes a column of drug and pharmaceutical names and fills the neighbouring columns. It is built for clinical researchers, medical writers, pharmacovigilance teams, bioinformaticians, and chemists who would otherwise copy records out of DrugBank, MeSH, and chemistry databases one row at a time.

Paste brand names, generic names, or a mix of both. The add-on can return:

  • a standardised generic name, so Tylenol resolves to acetaminophen and Advil to ibuprofen
  • DrugBank ID, with a link to the DrugBank record
  • MeSH ID, for PubMed and literature indexing
  • an NHS medicines page
  • a SMILES string
  • molecular mass
  • a Wikipedia link

Open Extensions → Drug Data Lookup → Start, choose the fields you need, and run it on the selected cells. There is no script and no API key to manage.

It matches English brand names and generic names when the drug can be identified with high confidence. Short ambiguous codes, such as Ceph for cephradine, are left unmatched.

The same engine is the open-source Drug Named Entity Recognition Python library (MIT licence). Research groups have used that library to annotate therapies in trial registries and to harmonise free-text medication logs. If those logs already live in a spreadsheet, the add-on does the same cleanup in the sheet.

Spreadsheet contents are not stored by Fast Data Science and are not sent to a third party. The add-on is maintained in the UK. ICO registration reference: ZB125815.

Google Sheets add-on

Drug Data

Standardise a list of drug names and fill DrugBank, MeSH, NHS, SMILES, and molecular mass.

Clinical Trial Data Lookup for Google Sheets

Clinical Trial Data Lookup reads NCT IDs in a spreadsheet and fills the trial record from the ClinicalTrials.gov API. A tracker of 100 IDs can be expanded in one pass into:

  • protocol URL, trial name, and acronym
  • organisation, sponsors, and status
  • results dates and summary
  • conditions and interventions
  • outcome measures and eligibility criteria
  • phase, enrolment, design, and locations

Select the cells that hold the NCT IDs, then run the add-on. It writes the fields into the following columns. The add-on is free to install and includes optional paid features. A walkthrough is on the Clinical Trial Data Lookup page.

The data comes from the ClinicalTrials.gov API. This add-on is not endorsed by the National Library of Medicine or the NIH.

Google Sheets add-on

Clinical Trial Data Lookup

Turn a column of NCT IDs into protocol links, status, phase, conditions, interventions, and eligibility.

Drug Data Lookup for Chrome

Drug Data Lookup highlights medicine and chemical names on the page you are reading. That includes PubMed abstracts, ClinicalTrials.gov records, patents, news, and PDFs opened in Chrome.

Hover a highlighted name to see:

  • a 2D structure
  • molecular formula, molecular weight, and SMILES
  • links and identifiers for DrugBank, MeSH, PubChem, ChEMBL, and NHS
  • the generic name when the page uses a brand

You can copy a SMILES string or InChI key, or export every drug found on the page to CSV or Google Sheets, then continue in the Sheets add-on above. The extension uses the same drug-name library, and it does not collect browsing history.

Chrome extension

Drug Data Lookup

See structures, formulae, and database links for drug names on any page, then export them to a sheet.

Redact and anonymise sensitive text in Chrome

Redact & Anonymise Sensitive Data & PII finds sensitive text on the page or PDF you have open, so you can check it before a screenshare, a screenshot, or a circulated extract. Trial teams meet this whenever a protocol, safety narrative, monitoring report, or site document leaves the study team.

The extension looks for:

  • personal names, including a title such as Dr or Prof and a qualification such as MD or PhD
  • organisations, such as companies, hospitals, and agencies
  • places
  • email addresses and URLs
  • dates, including dates of birth
  • ages, such as “34 years old” or “7-year-old”
  • identifiers, including UK National Insurance numbers, NHS numbers, US Social Security numbers, IBANs, payment-card numbers that pass the Luhn check, UUIDs, and labelled values such as a passport or account number
  • patterns you describe, either with a simple wildcard or a regular expression

For each match you can highlight the text, black it out, or replace it with a stable fictional stand-in. The same original value keeps the same replacement within a scan, and a title such as Dr stays in place while the name beside it changes. Blackout covers the text with a bar and replaces the characters underneath, so a copy of the page does not copy the original wording. You can also leave a match outlined and decide later, or restore the page.

Names, organisations, and places are found with a small named-entity model that is stored in the extension and runs on your computer. Dates, ages, identifiers, emails, and URLs are found with pattern matching, also on the device. Page text is not uploaded, and there is no account.

Chrome’s built-in PDF viewer does not expose the text, so the extension reads the file you already have open and shows it in its own viewer. The original file is left unchanged. A PDF opened from your computer needs Allow access to file URLs enabled for the extension. A scanned PDF with no text layer, a password-protected PDF, or a file larger than 32 MB is skipped.

After a scan you can copy a report or download it as CSV or Excel: category, original text, action, replacement, count, PDF page numbers, confidence, page title, URL, and scan time.

Read the page before you rely on it. The scan is an aid. It can miss a name or a local identifier, and you can redact a selection yourself when it does. An example page is at fastdatascience.com/redaction_sample.html.

Chrome extension

Redact and anonymise

Highlight, black out, or replace names, organisations, places, dates, ages, and IDs. The page stays on your device.

A practical sequence

  1. Read the protocol, paper, or registry record in Chrome and use Drug Data Lookup to identify every intervention on the page.
  2. Export that list into Google Sheets and run Drug Data so each row has a generic name, DrugBank ID, MeSH ID, and SMILES.
  3. Keep the related NCT IDs in the same workbook and run Clinical Trial Data Lookup to pull status, phase, eligibility, and the protocol link.
  4. Before a screenshot or a shared extract, run Redact & Anonymise and read the result.

About Fast Data Science

Fast Data Science Ltd is a UK data science consultancy. The company builds natural language processing for healthcare and pharmaceuticals, including the Clinical Trial Risk Tool.

Drug Data and Drug Data Lookup are based on Wood, T.A., Drug Named Entity Recognition [computer software], version 2.0.9, Fast Data Science Ltd (2024), fastdatascience.com/drug-named-entity-recognition-python-library.

See also

Clinical Trial Risk Tool data dictionary

Clinical Trial Risk Tool data dictionary

The Clinical Trial Risk Tool estimates top down cost and itemised site budgets using proprietary cost datasets of trial costs and procedure costs. These costs are assembled from publically available data. You can click below to view our data dictionary. Clinical Trial Risk Tool Trial cost data You can download the data dictionary used for cost estimation in the Clinical Trial Risk Tool Download data dictionary

Clinical Trial Data Lookup Google Sheets™ plugin

Clinical Trial Data Lookup Google Sheets™ plugin

Clinical Trial Data Lookup Google Sheets™ plugin Do you need to look up clinical trial data from the NCT ID? Fast Data Science has developed a Google Sheets™ add-on (plugin) which finds clinical trials data. The plugin uses the clinicaltrials.gov API. Clinical Trial Data Google Sheets™ Plugin Install plugin Install the free Google Sheets™ plugin for looking up clinical trial data Install Plugin The user will provide a number of NCT IDs in column A (or whichever one they choose) in the Google Sheet™, and the tool will look up those NCT IDs and retrieve information on those trials and populate that information into columns.

How to make a clinical trial site budget

How to make a clinical trial site budget

You may have been tasked with creating a clinical trial site budget. This is a budget itemising all the costs that will be incurred at the study site. The site budget may be needed To estimate the total cost of that site running part of the trial, as part of a bid to the CRO or sponsor To identify who needs to be reimbursed for each cost item To ascertain whether or not it is feasible to run the trial at that site To ensure that the site is reimbursed for the costs that they incur while running the trial If you are building a site budget, the most important document is the study protocol.