Drugs

Drugs@FDA Data Files

Below you will find a compressed data file of the Drugs@FDA database. It does not include the scripts (programming) we use to produce the online version of Drugs@FDA. We are providing this technical information for users who are familiar with working with databases or spreadsheets. All fields are separated by tab delimiters.  Each table's primary key, data types, field lengths and nulls appear in the list  below. While the official online application, Drugs@FDA, is updated daily, this data file is updated once per week, on Wednesday.

Once you have downloaded the compressed file (drugsatfda.zip), you can unzip the file into 9 text tables. You can then import the tables into a database, spreadsheet or word processing program. Generally, a database program is the best program to use for these types of files.

We cannot offer guidance on how to construct your database design, as each user has different requirements or uses.

Download File

Entity Relationship Diagram

Drugs@FDA Entity Relationship Diagram

 Drugs@FDA consists of 9 tables:
  1. Application Documents (AppDoc): Document addresses or URLs to letters, labels, reviews, Consumer Information Sheets, FDA Talk Papers, and other types.
    • AppDocID [int, 4] (Primary Key)
    • ApplNo  [varchar, 6]
    • SeqNo [varchar,4]
    • DocType [varchar, 50]
    • DocTitle [varchar, 100, nulls]
    • DocURL [varchar, 200, nulls]
    • DocDate [datetime, 8, nulls]
    • ActionType [varchar, 10]
    • DuplicateCounter [int, 4, nulls]
  2. Application Document Type Lookup (AppDocType_Lookup): Type of document that is linked, which relates to the AppDoc table.
    • AppDocType [varchar, 50] (Primary Key)
    • SortOrder [int, 4]
  3. Application (Application): Application number and sponsor name.
    • ApplNo [varchar, 6] (Primary Key)
    • ApplType [varchar, 5] (A=ANDA, N=NDA, B=BLA)
    • SponsorApplicant [varchar, 50]
    • MostRecentLabelAvailableFlag [bit, 1]
    • CurrentPatentFlag [bit, 1]
    • ActionType [varchar, 10]
    • Chemical_Type [varchar, 3, nulls]
    • Therapeutic_Potential [varchar, 2, nulls]
    • Orphan_Code [varchar, 1, nulls]
  4. Document Type Lookup (DocType_Lookup): Supplement type code and description to the application number.
    • DocType  [varchar, 4] (Primary Key)
    • DocTypeDesc [varchar, 50, nulls]
  5. Product (Product): This table contains the products included in each application. Includes form, dosage, and route.
    • ApplNo [varchar, 6] (Primary Key)
    • ProductNo [varchar, 3] (Primary Key)
    • Form [varchar, 255, nulls]
    • Dosage [varchar, 240, nulls]
    • ProductMktStatus [tinyint, 1] (1=prescription, 2=OTC, 3=discontinued, 4=tentative approval) (Primary Key)
    • TECode [varchar, 100, nulls]
    • ReferenceDrug [bit, 1] (0=not RLD, 1=RLD, 2=TBD)
    • Drugname [varchar, 125, nulls]
    • Activeingred [varchar, 255, nulls] 
  6. Product_TECode: Therapeutic Equivalence Code for Products.
    • ApplNo [varchar, 6] (Primary Key)
    • ProductNo [varchar, 3] (Primary Key)
    • TECode [varchar, 50]
    • TESequence [int, 4] (Primary Key)
    • ProdMktStatus [tinyint, 1] (Primary Key)
  7. Supplements (RegActionDate): Approval history for each application. Includes supplement number and dates of approval.
    • ApplNo  [varchar, 6] (Primary Key)
    • ActionType [varchar, 10]
    • InDocTypeSeqNo [varchar, 4] (Primary Key)
    • DuplicateCounter [int, 4] (Primary Key)
    • ActionDate [datetime, 8, nulls]
    • DocType [varchar, 4, nulls]
  8. ChemicalType_Lookup
    • ChemicalTypeID [int, 4] (Primary Key)
    • ChemicalTypeCode [varchar, 3]
    • ChemicalTypeDescription [varchar, 200]
  9. ReviewClass_Lookup
    • ReviewClassID [int, 4] (Primary Key)
    • ReviewCode [varchar, 1]
    • LongDescritption [varchar, 100, nulls]
    • ShortDescription [varchar, 100]

 

Page Last Updated: 12/18/2014
Note: If you need help accessing information in different file formats, see Instructions for Downloading Viewers and Players.