EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label....

12
Catherine McGowan LONDON SCHOOL OF HYGIENE & TROPICAL MEDICINE | FEBRUARY 2016 EpiDATA EXERCISES

Transcript of EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label....

Page 1: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Catherine McGowan LONDON SCHOOL OF HYGIENE & TROPICAL MEDICINE | FEBRUARY 2016

EpiDATA EXERCISES

Page 2: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in
Page 3: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Ebola screening questionnaire

Interviewer initials _ _ _ Patient number _ _ _ (001-999)

First name _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Last name _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Date of birth _ _ / _ _ / _ _ _ _

(DD/MM/YYYY)

Gender

Male 0 Female 1

Febrile? (>37.5)

No 0 Yes 1

Has the individual taken antipyretics in the past 24 hours?

No 0 Yes 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No 0 Yes 1

Has the individual provided care or had close contact with someone not confirmed EVD (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No 0 Yes 1 Uncertain 8

No 0 Yes 1 Uncertain 8

No 0 Yes 1 Uncertain 8

No 0 Yes 1 Uncertain 8

No 0 Yes 1 Uncertain 8

No 0 Yes 1 Uncertain 8

Test for EVD?

No 0 Yes 1

Test for malaria?

No 0 Yes 1

3 UPPER CASE

CHARS

15 UPPER CASE

CHARS

3 NUMBERS

INTERACTIVE

CHECK

15 UPPER CASE

CHARS

DATE UK 1 NUMERICAL

CHAR

INTERACTIVE

CHECK CREATE

SEX LABEL

1 NUMERICAL

CHAR

INTERACTIVE

CHECK CREATE

YES/NO LABEL IF 1 JUMP TO

tmal. AUTO

FILL anitip 0,

tevd 1 & tmal 1 1 NUMERICAL

CHAR

INTERACTIVE

CHECK REUSE

YES/NO LABEL

1 NUMERICAL

CHAR

INTERACTIVE

CHECK REUSE

YES/NO LABEL

IF 0 JUMP TO

tmal. AUTO

FILL tevd 0 &

tmal 0

IF 1 JUMP TO

tmal. AUTO

FILL tevd 1

1 NUMERICAL

CHAR

INTERACTIVE

CHECK CREATE

YES NO

UNCERTAIN

LABEL

1 NUMERICAL

CHAR

INTERACTIVE

CHECK REUSE

YES/NO LABEL

1 NUMERICAL

CHAR

INTERACTIVE

CHECK REUSE

YES/NO LABEL

Page 4: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

EXERCISE

1. Create an EpiData folder on your Desktop.

Creating your .qes file

2. Create a new questionnaire file (.qes) and name it ebolascreen1.qes.

3. Type the title of your form (i.e. Ebola Screening Questionnaire) at the top of your new blank form.

4. Add your field names.

Begin recreating the form that appears on the previous page. Remember you will be creating

custom field names using curly brackets - e.g. If we want the variable name for the field ‘Interviewer

initials’ to appear as ‘intin’ we will need to write {Int}erviewer {in}itials as the field name in EpiData.

Please make sure when creating your form that you use curly brackets to create the following field

names. NOTE: Make sure your field names are EXACTLY as shown and use the preview

button to check your work!

intin (i.e. this should appear on your questionnaire as {Int}erviewer {in}itials)

num

first

last

dob

gen

feb

antip

contevd

head

vomit

hicc

rash

bleed

eyes

tevd

tmal

Page 5: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

5. Add editable fields.

Add your editable fields manually or using the FIELD PICK LIST button.

6. Add notes to help with data entry.

When you create a data entry form it is nice to have some guidance for those doing the data entry.

e.g. If you are recording cause of death and are using numerical values to denote individual causes it

would be better to provide a guide on the form so that it’s clear which values will be accepted.

When creating your form include some indication of which values will be accepted.

The easiest way to insert editable fields is to place your

cursor where you would like to insert the editable field

and then click the FIELD PICK LIST button

Data form .qes designer

GOOD

BAD

Page 6: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Creating your .rec file

7. Generate a data entry (.rec) file and name it ebolascreen1.rec.

Creating your .chk file

8. Create a check file (.chk) and name it ebolascreen1.chk.

9. Apply all checks indicated on the above survey.

10. Create value labels and ask EpiDATA to display the associated label.

HINT: You will use the ‘type comment’ command.

11. Apply all jumps indicated in the above survey.

Data entry

12. Duplicate your .qes and .rec files, put them in another folder, and rename them ebolascreen2.rec

and ebolascreen2.chk

13. Enter the data from Questionnaires 1-6 on the following pages.

14. Close your .rec file and save.

Double entry

15. Open ebolascreen2.rec and enter the data from Questionnaires 1-6 again – but make a few errors!

16. Compare your ebolascreen1.rec with your ebolascreen2.rec and navigate to the errors – you may

correct any errors at this point.

Exporting to STATA

17. Export your ebolascreen1.rec file to STATA (.dta) format.

18. Open the file in STATA and use the data editor (browse) to check that your data have exported

properly.

Page 7: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 1

Ebola screening questionnaire

Interviewer initials CRM Patient number 567 (001-999)

First name Purple Last name Eggplant

Date of birth 23 02 1964

(DD/MM/YYYY)

Gender

Male ☐ 0 Female ☒ 1

Febrile? (>37.5)

No ☒ 0 Yes ☐ 1

Has the individual taken antipyretics in the past 24 hours?

No ☒ 0 Yes ☐ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☐ 0 Yes ☐ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

Test for EVD?

No ☒ 0 Yes ☐ 1

Test for malaria?

No ☒ 0 Yes ☐ 1

Page 8: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 2

Ebola screening questionnaire

Interviewer initials LLM Patient number 020 (001-999)

First name Blue Last name Blueberry

Date of birth 07 08 1966

(DD/MM/YYYY)

Gender

Male ☒ 0 Female ☐ 1

Febrile? (>37.5)

No ☐ 0 Yes ☒ 1

Has the individual taken antipyretics in the past 24 hours?

No ☒ 0 Yes ☐ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☐ 0 Yes ☐ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

Test for EVD?

No ☐ 0 Yes ☒ 1

Test for malaria?

No ☐ 0 Yes ☒ 1

Page 9: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 3

Ebola screening questionnaire

Interviewer initials KRS Patient number 145 (001-999)

First name Yellow Last name Banana

Date of birth 08 06 1987

(DD/MM/YYYY)

Gender

Male ☒ 0 Female ☐ 1

Febrile? (>37.5)

No ☒ 0 Yes ☐ 1

Has the individual taken antipyretics in the past 24 hours?

No ☐ 0 Yes ☒ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☒ 0 Yes ☐ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

Test for EVD?

No ☐ 0 Yes ☒ 1

Test for malaria?

No ☒ 0 Yes ☐ 1

Page 10: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 4

Ebola screening questionnaire

Interviewer initials SAH Patient number 643 (001-999)

First name Orange Last name Pumpkin

Date of birth 18 01 1973

(DD/MM/YYYY)

Gender

Male ☒ 0 Female ☐ 1

Febrile? (>37.5)

No ☒ 0 Yes ☐ 1

Has the individual taken antipyretics in the past 24 hours?

No ☐ 0 Yes ☒ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☒ 0 Yes ☐ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☒ 8

No ☐ 0 Yes ☐ 1 Uncertain ☒ 8

No ☐ 0 Yes ☐ 1 Uncertain ☒ 8

No ☐ 0 Yes ☒ 1 Uncertain ☐ 8

Test for EVD?

No ☐ 0 Yes ☒ 1

Test for malaria?

No ☒ 0 Yes ☐ 1

Page 11: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 5

Ebola screening questionnaire

Interviewer initials SAH Patient number 875 (001-999)

First name Green Last name Spinach

Date of birth 11 12 1971

(DD/MM/YYYY)

Gender

Male ☐ 0 Female ☒ 1

Febrile? (>37.5)

No ☒ 0 Yes ☐ 1

Has the individual taken antipyretics in the past 24 hours?

No ☐ 0 Yes ☒ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☐ 0 Yes ☒ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

No ☐ 0 Yes ☐ 1 Uncertain ☐ 8

Test for EVD?

No ☐ 0 Yes ☒ 1

Test for malaria?

No ☒ 0 Yes ☐ 1

Page 12: EpiDATA - LSHTM Moodle · Create value labels and ask EpiDATA to display the associated label. HINT: You will use the ‘type comment’ command. 11. Apply all jumps indicated in

Questionnaire 6

Ebola screening questionnaire

Interviewer initials LLM Patient number 007 (001-999)

First name Red Last name Pepper

Date of birth 30 01 1982

(DD/MM/YYYY)

Gender

Male ☒ 0 Female ☐ 1

Febrile? (>37.5)

No ☒ 0 Yes ☐ 1

Has the individual taken antipyretics in the past 24 hours?

No ☐ 0 Yes ☒ 1

Has the individual provided care or had close contact with a confirmed EVD case (dead or alive)?

No ☒ 0 Yes ☐ 1

Has the individual provided care or had close contact with someone (dead or alive) who has/had the following symptoms?

Headache

Nausea/Vomiting

Hiccups

Rash

Bleeding

Red eyes

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

No ☒ 0 Yes ☐ 1 Uncertain ☐ 8

Test for EVD?

No ☒ 0 Yes ☐ 1

Test for malaria?

No ☒ 0 Yes ☐ 1