Clinical Trial Data Validation Using SAS PROC SQL Jie Liu BIOS 524 Project 2003, Fall.

Slides:



Advertisements
Similar presentations
Adverse Events and Serious Adverse Events
Advertisements

ADVERSE EVENT REPORTING
What is a Database By: Cristian Dubon.
Adverse Events: An Update
Common Terminology Criteria for Adverse Events (CTCAE) v.4: Updating a Cancer Research Standard Ann Setser 1, Ranjana Srivastava 2, Lawrence Wright 1,
Relational Algebra, Join and QBE Yong Choi School of Business CSUB, Bakersfield.
©2013 MFMER | slide-1 Building A Knowledge Base of Severe Adverse Drug Events Based On AERS Reporting Data Using Semantic Web Technologies Guoqian Jiang,
Some Introductory Programming 1. Structured Query Language (SQL) - used for queries. - a standard database product. 2. Visual Basic for Applications -
Elements of a clinical trial research protocol
Introduction to SQL Session 1 Retrieving Data From a Single Table.
Basic And Advanced SAS Programming
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Using EDC-Rave to Conduct Clinical Trials at Genentech
Database Constraints. Database constraints are restrictions on the contents of the database or on database operations Database constraints provide a way.
Computing for Research I Spring 2014 January 22, 2014.
Stroke Hyperglycemia Insulin Network Effort (SHINE) Trial Adverse Event Reporting Catherine Dillon.
© 2011 Octagon Research Solutions, Inc. All Rights Reserved. The contents of this document are confidential and proprietary to Octagon Research Solutions,
Concepts of Database Management, Fifth Edition
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
CTEP, NCI Adverse Event Reporting Programmatic & Workflow Processes Prepared by: Ann Setser May 24, 2010.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Systematic Reviews.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Creating and Managing Indexes Using Proc SQL Chapter 6 1.
Information Systems Today (©2006 Prentice Hall) 3-1 CS3754 Class Note 12 Summery of Relational Database.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
FALL 2004CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
SQL Chapter Two. Overview Basic Structure Verifying Statements Specifying Columns Specifying Rows.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Investigator’s Meeting
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Oracle 11g: SQL Chapter 4 Constraints.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Research Study Data Standards Standards for research study data for submission to regulatory authorities Standard development divided into three parts:
Sandra A. Mitchell, PhD, CRNP Outcomes Research Branch, DCCPS
Computing with SAS Software A SAS program consists of SAS statements. 1. The DATA step consists of SAS statements that define your data and create a SAS.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Relational Database Management System(RDBMS) Structured Query Language(SQL)
1 DBS201: More on SQL Lecture 2. 2 Agenda Select command review How to create a table How to insert data into a table.
A leading global CRO 1 Effective Use of the RETAIN Statement in Programming Clinical Trial Mingxia Chen Biostatistician Beijing, China.
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
C-1 Safety Results S. aureus Bacteremia and Endocarditis Study Gloria Vigliani, M.D. Vice President, Medical Strategy Cubist Pharmaceuticals.
ODS TAGSETS - a Powerful Reporting Method Derek. 2 Agenda Understanding the tagset How to use tagsets Conclusion.
Methods We employ the UMLS Metathesaurus to annotate ICD-9 codes to MedDRA preferred terms (PTs) using the three-step process below. The mapping was applied.
Online Programming| Online Training| Real Time Projects | Certifications |Online Classes| Corporate Training |Jobs| CONTACT US: STANSYS SOFTWARE SOLUTIONS.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
8. Causality assessment:
Foundations of Interprofessional Collaboration (FIPC): An Introduction to TeamSTEPPS® LEVEL 3 Overview of Clinical Management of Anaphylaxis for Respiratory.
3. Key definitions Multi-partner training package on active TB drug safety monitoring and management (aDSM) July 2016.
Secondary Uses Primary Use EHR and other Auhortities Clinical Trial
PROC SQL, Overview.
Databases and Information Management
Clinical Considerations in Evidence-based Management of GIST
Databases and Information Management
Relational Database Design
Chapter 8 Advanced SQL.
The ultimate in data organization
Model Enhanced Classification of Serious Adverse Events
Clinical Considerations in Evidence-based Management of GIST
Microsoft Access Date.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Serious Adverse Event Reconciliation
Presentation transcript:

Clinical Trial Data Validation Using SAS PROC SQL Jie Liu BIOS 524 Project 2003, Fall

Background Toxicity data are collected for NCI Sponsored clinical trials at MCC. Data are monitored by NCI/CTEP quarterly. Toxicity (Protocol, CourseNo, Patient, Toxicity (Toxicity Code), Grade, Attribution, DLT, etc) Standard (for Toxicity Code and Grade ) : CTCAE 3.0 It lists hundreds of toxicity types and each toxicity type needs to be graded differently.CTCAE 3.0

Background For example: Dry Skin: Grade can only be 1, 2, 3. 4 or 5 Fatigue: Grade can only be 1, 2, 3, 4. 5 Errors can be made by data entry person easily. Challenge: How to detect errors? Invalid value!

Sample Toxicity Data "Protocol","CourseNo","Patient ","CourseDate ","Toxicity ","Onset Date ","CDUS Tox Type Code ","Resolved ","AER Filed ","Grade ","Attribution ","Dose Limiting Tox? ","Serious ","Action ","Therapy ","Outcome ","A/N (obsolete) ", "MCC0001 ",1,"PT0001 ", ,"DIARRHEA ", , , ,"N",1,"4","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"FATIGUE ", , , ,"N",1,"4","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"HEMOGLOBIN ", , , ,"N",1,"3","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"HYPOGLYCEMIA ", , , ,"N",1,"1","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"LEUKOCYTES_(TOTAL_WBC) ",-6, , ,"N",2,"1","N",1,"1","1","1", , "MCC0001 ",1,"PT0001 ", ,"LEUKOCYTES_(TOTAL_WBC) ", , , ,"N",1,"3","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"LEUKOCYTES_(TOTAL_WBC) ", , , ,"N",2,"3","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"LYMPHOPENIA ",-6, , ,"N",1,"1","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"LYMPHOPENIA ", , , ,"N",2,"3","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"LYMPHOPENIA ", , , ,"N",2,"3","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"NEUTROPENIA ",-6, , ,"N",2,"1","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"NEUTROPENIA ", , , ,"N",3,"3","N",1,"5","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"PAIN OTHER-ACHES ", , , ,"N",1,"4","N",1,"1","1","1", , "MCC0001 ",1,"PT0001 ", ,"PAIN OTHER-ACHES ", , , ,"N",1,"4","N",1,"1","1","1", , "MCC0001 ",1,"PT0001 ", ,"PLATELETS ",-6, , ,"N",1,"1","N",1,"1","1","1",-2.000, "MCC0001 ",1,"PT0001 ", ,"PLATELETS ", , ,-6,"N",1,"3","N",1,"1","1","2",-2.000, "MCC0001 ",2,"PT0001 ", ,"CREATININE ", , , ,"N",1,"3","N",1,"1","1","1",-2.000, "MCC0001 ",2,"PT0001 ", ,"HYPOGLYCEMIA ", , , ,"N",1,"1","N",1,"1","1","1",-2.000

CTCAE 3.0 Common Terminology Criteria for Adverse Events Adverse Events Category, AE/Supra-ordinate Term, Select AE, MedDRA Preferred Term, MedDRA Code, Grade, Description "ALLERGY/IMMUNOLOGY","Allergic reaction/hypersensitivity (including drug fever)","","Hypersensitivity NOS"," ","1","Transient flushing or rash; drug fever <38 degrees C (<100.4 degrees F)" "ALLERGY/IMMUNOLOGY","Allergic reaction/hypersensitivity (including drug fever)","","Hypersensitivity NOS"," ","2","Rash; flushing; urticaria; dyspnea; drug fever >=38 degrees C (>=100.4 degrees F)" "ALLERGY/IMMUNOLOGY","Allergic reaction/hypersensitivity (including drug fever)","","Hypersensitivity NOS"," ","3","Symptomatic bronchospasm, with or without urticaria; parenteral medication(s) indicated; allergy-related edema/angioedema; hypotension" "ALLERGY/IMMUNOLOGY","Allergic reaction/hypersensitivity (including drug fever)","","Hypersensitivity NOS"," ","4","Anaphylaxis" "ALLERGY/IMMUNOLOGY","Allergic reaction/hypersensitivity (including drug fever)","","Hypersensitivity NOS"," ","5","Death" "ALLERGY/IMMUNOLOGY","Allergic rhinitis (including sneezing, nasal stuffiness, postnasal drip)","","Rhinitis allergic NOS"," ","1","Mild, intervention not indicated" "ALLERGY/IMMUNOLOGY","Allergic rhinitis (including sneezing, nasal stuffiness, postnasal drip)","","Rhinitis allergic NOS"," ","2","Moderate, intervention indicated" "ALLERGY/IMMUNOLOGY","Allergy/Immunology - Other (Specify, __)","","Not available"," ","1","Mild" "ALLERGY/IMMUNOLOGY","Allergy/Immunology - Other (Specify, __)","","Not available"," ","2","Moderate" "ALLERGY/IMMUNOLOGY","Allergy/Immunology - Other (Specify, __)","","Not available"," ","3","Severe" "ALLERGY/IMMUNOLOGY","Allergy/Immunology - Other (Specify, __)","","Not available"," ","4","Life-threatening; disabling" "ALLERGY/IMMUNOLOGY","Allergy/Immunology - Other (Specify, __)","","Not available"," ","5","Death" "ALLERGY/IMMUNOLOGY","Autoimmune reaction","","Autoimmune disorder NOS"," ","1","Asymptomatic and serologic or other evidence of autoimmune reaction, with normal organ function and intervention not indicated" "ALLERGY/IMMUNOLOGY","Autoimmune reaction","","Autoimmune disorder NOS"," ","2","Evidence of autoimmune reaction involving a non-essential organ or function (e.g., hypothyroidism)" "ALLERGY/IMMUNOLOGY","Autoimmune reaction","","Autoimmune disorder NOS"," ","3","Reversible autoimmune reaction involving function of a major organ or other adverse event (e.g., transient colitis or anemia)" "ALLERGY/IMMUNOLOGY","Autoimmune reaction","","Autoimmune disorder NOS"," ","4","Autoimmune reaction with life- threatening consequences" "ALLERGY/IMMUNOLOGY","Autoimmune reaction","","Autoimmune disorder NOS"," ","5","Death" "ALLERGY/IMMUNOLOGY","Serum sickness","","Serum sickness"," ","3","Present" "ALLERGY/IMMUNOLOGY","Serum sickness","","Serum sickness"," ","5","Death"

Solution A SAS program is developed to detect grade errors and run summary analysis. Files needed AEGrades.txt is CTCAE 3.0 standard and used to do data validation.AEGrades TX.txt is the file need to be checked. Constraints: Toxicity Code is from CTCAE 3.0 Grade is from CTCAE 3.0 and 0 < Grade <= 5

PROC SQL Structured Query Language (SQL). PROC SQL is a powerful Base SAS PROC combining the functionality of the DATA and PROC Steps into a single procedure. PROC SQL In some cases is a more efficient alternative to traditional SAS code.

SQL procedure enables you to Extract data from Data set Create a new data set Select unique values of one or more columns Subsetting and calculating And more…

Syntax PROC SQL; /*Begin SQL*/ … QUIT;/* End */ SQL commands

SQL Example Select Statement select * All variables in the table from toxicity where patient = ‘JL’; Create TABLE Statement create table newtox as select patient, tox_code, grade, attribution from toxicity; Table name Field name New table name Table name

SQL Example select distinct '1' as ErrorID, Patient, CourseNo, CDUS_Tox_Type_Code as Tx_Code, Grade, 'Grade must not be blank' as ERRMSG from NewAE where Grade is NULL union select distinct '2' as ErrorID, Patient, CourseNo, CDUS_Tox_Type_Code as Tx_Code, Grade, 'Grade must not be greater than 5' as ERRMSG from NewAE where Grade > 5 and Grade is not NULL Combine the results of two SQL commands together

SAS Output Note: Patient, CourseNo, Tx_Code and Grade together is primary key so we are able to tell the error’s location by the primary key.

Summary Analysis proc tabulate data=NewAeTx; class Toxicity Attribution Grade; table Toxicity*Attribution, Grade; title “Toxicity Summary"; format Attribution Attrifmt.; run;

SAS Output

Questions?