39
1 1 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

Embed Size (px)

Citation preview

Page 1: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

11

TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS

DatabasesRyan WilliamsChang Mai, 17-21 August 2015

Page 2: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

22

DATABASE

Basic conceptso A database is a collection of data which can be used alone or

combined and related to other data to provide facts or answers to specific questions.

Example: How many confirmed malaria cases in district A in 2015?

What, Where and When?

Relational databases are the most popular type of databaseo Client-Server

o MS SQL, Oracle, Sybase, DB2o Stand-alone

o Access or other file based desktop databases

Structured Query Language (SQL) is a standard language for accessing and communicating with a database

Page 3: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

33

DATABASE

Relational databaseso Are sets of data organized into tableso Tables are comprised of fieldso Each table can have a relationship with

another table

Date of Birth

Health Facility Visits

Patient name AddressPatient ID

Health Facility NamePatient ID

Patients

Date of Visit

Page 4: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

44

DATABASE

Database

Client-Server

Tables and Fields

SQL

Data management System (DBMS)

Data management application

Page 5: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

55

DATABASE

Example of a “One-to-many” relationship between two tables

Patients HF Visits

Patient ANameAddress

Patient A visited 1-Apr-2015

Patient A visited 10-Jun-2015

1 n

Page 6: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

66

CLIENT-SERVER DATABASE

Server

Client-Servero Data on separate dedicated machine (Server)o Multiple user can access the data simultaneouslyo Speed, Security

Page 7: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

77

DBMS

DATABASE MANAGEMENT SYSTEMSo A database management system (DBMS) is system software for

creating and managing databases. The DBMS provides users and programmers with a systematic way to create, read, update and manage data

o Paid:o Microsoft SQL Server, Oracle, Sybase, IBM DB2 and MS Access

o Free:o MySQL, PostgreSQL

Page 8: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

88

DATABASE MANAGEMENT SYSTEM

DBMS

Database

Page 9: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

99

DATABASE MANAGEMENT SYSTEM

Conso Server requiredo Installation complexo Data management resource

required

Proso Robust installationo Security, Speedo Standard data access

mechanism

Page 10: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1111

EXCEL

Excelo Desktop solutiono Each sheet can be

considered a tableo Column = Fieldo Row = recordo Can be shared via

network, email, etc.

xls

Page 11: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1212

EXCEL

Pros

Accessible and easy to use

Easy charts

Data analysis

Cons

Data resides on local computer

Not secure

Page 12: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1313

EXCEL FORMS

Two types of formso Control (150)o Elimination (110)

Used to collect national level data on:

o Cases and deathso Policieso Interventionso Fundingo Expenditures

Page 13: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1414

EXCEL

Excel used in Rapid Impact Assessment data collect

o Monthly aggregated data entered into sheets from health facilities (10 years)

o Sheets are merged and uploaded to SQL database for data cleaning and analysis

Page 14: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1515

ACCESS

Accesso File basedo Desktop solutiono Accessible and easy

to useo Easy data

managemento Application interfaceo Reportso Can be shared via

network, email, etc.

Page 15: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1616

MS ACCESS

Proso MS Access is readily available or easily installedo Runs on basic computers

Conso Data resides on a local installationo Not secure

Page 16: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1818

COMPARISON

Excel o Data analysis, distributed data collection, accessibility

Stand-alone database: Accesso Quick, easy data management

Client-Server: DBMSo Robust data storageo Vast data management capacityo Security

Page 17: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

1919

DATA MANAGEMENT SOFTWARE

Software applicationo Interface between the user and the DBMSo Provides user with screens to access and manipulate the datao Reduces the complexity of managing the database

Software Interface

Database

DBMS

Page 18: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2020

DATA MANAGEMENT APPLICATION

DHIS2 (District Health Information System)o Is a flexible, web-based open-source information system with

awesome visualization features including GIS, charts and pivot tableso Versatile data management via user interfaceo Customizableo Custom reportingo GIS

Page 19: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2121

Data Organization

Data is organized byo Data elements

o Total number of microscopy positiveso Dimensions

o Place (Organization Unit)o Country, Province, District, Health facility, Foci

o Hierarchyo Period

o Day, Month, Year

o Value

What?

Where?

When?

Page 20: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2222

Data Organization

Setup a system to enter data and reporto Create

o Data elements (what?)o Places (where?)

o Districts,…o Indicators (calculations)

o Add data elements to datasetso Assign frequency of data collection

o Daily, Weekly, Monthly,…

o Create a form for the dataseto Enter data

Page 21: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2323

DHIS2

Health Facility Register

Indicators

Surveyresults

Slide positivity rate

DHIS2

Pivot tables Custom reports GIS mapping

DBMS

Form AForm B

Number of slides examined

Number of slides positive

Parasite prevalence

DatasetData Elements

Page 22: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2424

DHIS2

Health Facility Register

Case based data

Aggregated data

Patient data

DHIS2

Freq.weeklymonthly

DBMSAggregation

Pivot tables Custom reports GIS mapping

Form A Number of slides examined

Number of slides positive

Parasite prevalence

Dataset

Who?

Page 23: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2525

DHIS User Interface

Select place, dataset and time period

Page 24: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2626

The Interface

Districts

Page 25: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2727

Data Entry Forms

Custom formo Designed in HTMLo Matches the layout of Excel

formso Three years on data

presented

Page 26: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2828

Data Entry Forms

Data entry forms are comprised of data elements

o Created using the UI

Page 27: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

2929

Case based reporting

Individual patient data

Page 28: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3030

Case based reporting

Individual or aggregated reports from case based data

Page 29: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3131

Other Data Entry Options

Excel/CSV data importationo Template based

SMS data submissionso Reporting data by sending an SMS to the system

PDF data entry formso PDF generated by systemo Can be customized with Adobe Acrobat

Page 30: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3232

Form Data Validation

Validationo Easy to create validation

rules

Page 31: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3333

Reporting

Pivot table

Very comprehensive

Page 32: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3434

Pivot table module is very comprehensive o Used to produce the charts for the online country profileso Save and share functiono Export functions

Reporting

Page 33: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3535

Dashbaord

Page 34: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3636

Reporting

+ Profiles/Bulletinso Using the Apps (WebAPI)o Graphs built using the online reporting tool

Page 35: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3737

GIS

+ Profiles/Bulletinso Using the Apps (WebAPI)o Graphs built using the online reporting tool

Page 36: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3838

Custom menu

Menu easily customizedo Via the UI

o User security settingso Mina applications(Apps)

can be added directly to menu

Appso HTML pages using

JavaScript to make HTTP requests to the WebAPI

Page 37: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

3939

Workflow and Approval

Dataset approval at national and regional levelso Districts submit form by clicking the “Completed” buttono The next higher lever receives an email

o Approveso If approved, level focal person receives an email

o Un-Approveso Goes back for correction

Page 38: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

4040

Communications

o Data commentingo Audit trailo Follow-up analysis

Page 39: 11 TRAINING COURSE ON MALARIA ELIMINATION FOR THE GMS Databases Ryan Williams Chang Mai, 17-21 August 2015

4141

Thank You!