Introduction for Clinical Database 陳勁辰2003/06/02.

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

Planning and Budgeting for Data Management in a Clinical Research Study Michael A. Kohn, MD, MPP 4 February 2003.
Management Information Systems, Sixth Edition
ETEC 100 Information Technology
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Introduction to Structured Query Language (SQL)
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Data Management for Research Michael A. Kohn, MD, MPP 7 January 2003.
Querying a Database Microsoft Office Access 2003.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Concepts of Database Management Sixth Edition
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
MELISSA PICO SUMMER 08 Data Storage & Retrieval: Access instead of Excel.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
2.3 Organising Data for Effective Retrieval
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
ASP.NET Programming with C# and SQL Server First Edition
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Preparing to Automate Data Management
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts and Terminology Introduction to Database.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Concepts of Database Management Seventh Edition
Information Systems & Databases 2.2) Organisation methods.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Data Management for Research Michael A. Kohn, MD, MPP January 4, 2005.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
EPI 218 Queries and On-Screen Forms Michael A. Kohn, MD, MPP 9 August 2012.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
Database revision.
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
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.
Foundations of Business Intelligence: Databases and Information Management.
Lesson 2: Designing a Database and Creating Tables.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
Flat Files Relational Databases
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Database Planning Database Design Normalization.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
CIS 155 Table Relationship
What is a Database and Why Use One?
The ultimate in data organization
Presentation transcript:

Introduction for Clinical Database 陳勁辰2003/06/02

Introduction  Database management system (DBMS)  Actual study information  Administrative information  Relational database model

Relational database model  Multiple tables  Entities: rows  Attributes: columns  Primary key  Foreign key  Principle of table normalization

Relational database model  Example: Infant Jaundice Study: whether neonatal jaundice affects neuropsychiatric scores at five years of age  Table relations: one-to-many, many- to-many, and one-to-one  Need for a multi-table: repeated measurements on individual subjects.

Jaundice vs non-jaundice: t-test p=0.46

One-to-many One-to-many

Normal Form Violation  Repeating columns: violate the First Normal Form (1NF)  Redundancy in column values: violates the Second Normal Form (2NF)

Many-to-many

One-to-one

Referential integrity  Referential Integrity in a normalized, relational database  Not allow creation of an exam record for a subject who does not already exist in the “ Baby ” table, and it will not allow assigning an exam to a doctor who does not already exist in the “ Doctor ” table.  A subject may not be deleted unless and until all that subject ’ s examinations have also been deleted.  One-to-many: parent-children  Forbids the creation of “ orphans ”

Undesirability of Storing Calculated Values  Inconsistencies result if one of the “ raw-data ” fields is updated without updating the calculated field  Solution: recalculating the value in a query  Storing calculated values such as “ AgeInMonths ” : violate the Third Normal Form (3NF)

Data Dictionaries, Data Types, and Domains  Data dictionary: a table of information about the database itself  “ Metadata ”  Data types: text, number, dates, etc.  Domain: range of allowed values  Object data type: BLOB (Binary Large Object), eg. photo (*.jpeg); cannot be sorted or sought

Extracting Data from the Database (Queries)  Structured Query Language or SQL  A query can join data from two or more tables, display only selected fields, and filter for records that meet certain criteria  SQL has 3 sublanguages: DDL – Data Definition Language, DML – Data Manipulation Language, and DCL – Data Control Language

SQL SELECT Baby.SubjectID, Baby.DOB, Exam.ExDate FROM Baby INNER JOIN Exam ON Baby.SubjectID = Exam.SubjectID WHERE Exam.ExDate Between #1/1/2010# And #2/28/2010# ORDER BY Exam.ExDate;

Guidelines for Database Management for Clinical Research 1. Establish the database tables, their rows and columns, and their relationships correctly at the outset. 2. Establish and follow naming conventions for columns and tables. 3. Obtain baseline demographic and clinical information about members of the study population from existing computer databases. 4. Minimize the extent to which study measurements are recorded on paper forms. 5. Follow standard data entry conventions. 6. Back up the database regularly.

Guidelines for Database Management for Clinical Research  Establish the database tables, their rows and columns, and their relationships correctly at the outset.  A poorly organized database makes data maintenance and retrieval nearly impossible. Make sure the data are normalized. Avoid data structures that require duplicate data entry or redundant storage.

Guidelines for Database Management for Clinical Research  Establish and follow naming conventions for columns and tables.  Short field names without spaces or underscores are convenient for programming, querying, and other manipulations. Instead of spaces or underscores, use “ IntraCaps ” (upper case letters within the variable name) to distinguish words, e.g. “ StudyID ”, “ FName ”, or “ ExamDate ”. Table names should be singular, e.g. “ Baby ” instead of “ Babies ”, “ Exam ” instead of “ Exams ”.

Guidelines for Database Management for Clinical Research  Obtain baseline demographic and clinical information about members of the study population from existing computer databases.  Avoid re-entering data which are already available (in digital format) from other sources. In the Infant Jaundice Study, the patient demographic data and contact information are obtained from the hospital database. Computer systems can almost always produce character- delimited or fixed-column-width text files that the database management system can import.

Guidelines for Database Management for Clinical Research  Minimize the extent to which study measurements are recorded on paper forms.  Enter data directly into the computer database or move data from paper forms into the computer database as close to the data collection time as possible. When you define a variable in a computer database, you specify both its format and its domain or range of allowed values. Using these format and domain specifications, computer data entry forms give immediate feedback about improper formats and values that are out of range. The best time to receive this feedback is when the study subject is still on site.

Guidelines for Database Management for Clinical Research Follow standard data entry conventions. Follow standard data entry conventions. Several conventions for data entry and display have developed over time. Although most users of screen forms are not aware of these conventions, they have come to expect them subconsciously. For example, a series of mutually exclusive, collectively exhaustive choices is usually displayed as an “ option group ” consisting of several different “ radio buttons ”, whereas choices which are not mutually exclusive are displayed as check boxes Several conventions for data entry and display have developed over time. Although most users of screen forms are not aware of these conventions, they have come to expect them subconsciously. For example, a series of mutually exclusive, collectively exhaustive choices is usually displayed as an “ option group ” consisting of several different “ radio buttons ”, whereas choices which are not mutually exclusive are displayed as check boxes

Guidelines for Database Management for Clinical Research Back up the database regularly and check the adequacy of the back up procedure by periodically restoring a file from the back up medium. Back up the database regularly and check the adequacy of the back up procedure by periodically restoring a file from the back up medium.