1 / 25

Epi Info™ 7 Introductory Training

Epi Info™ 7 Introductory Training. José Aponte. Public Health Advisor Module 3: Adding Intelligence to Forms 12 June 2012. Office of Surveillance, Epidemiology, and Laboratory Services. Epidemiology and Analysis Program Office. Module 3 Outline. Module Learning Objectives

jayden
Download Presentation

Epi Info™ 7 Introductory Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Epi Info™ 7 Introductory Training José Aponte Public Health Advisor Module 3: Adding Intelligence to Forms 12 June 2012 Office of Surveillance, Epidemiology, and Laboratory Services Epidemiology and Analysis Program Office

  2. Module 3 Outline • Module Learning Objectives • PowerPoint presentations for adding intelligence • Instructor-led demonstration • End of lesson questions

  3. Learning Objectives • After completing this module the participant will be able to: • Familiarize with the Check Code workspace • Understand the basics of Check Code • Identify different Check Code commands • Create basic Check Code logic

  4. What do we mean by adding intelligence? • Add certain logic to the form using Check Code • The term comes from the need to “check” user input to ensure it is valid • Used to implement data entry “rules” – invalid input can be rejected • You don’t need to be a programmer!

  5. What can Check Code do? • Check Code can be used to… • Automatically calculate values, such as figuring out a patient’s age • Implement skip patterns • Prompt the user • Automatically populate fields • Hide fields from data entry workers

  6. Check Code is Easy Check Code is created using the Check Code Editor The editor lets you implement the desired logic without requiring any programming skills. Anyone can do it!

  7. Use Case • A clerk enters 05/12/2020 instead of 05/12/2012 • During analysis, calculations are done using this date • The resulting statistics are thrown off because of incorrect input

  8. Creating a Check Code • Where do you want it happen? • What do you want it to do?

  9. Identify the relevant field • Open Check Code Editor • Determine when you want the “action” to take place • E.g. after a certain field is entered • Locate and select the appropriate field in the Check Code Editor

  10. Select the timing • Expand the field and select whether you want the “action” to occur before or after the field

  11. Before and After sections • Anything in the “BEFORE” section is run as soon as the cursor enters that field • Anything in the “AFTER” section is run as soon as the cursor leaves that field

  12. Enable the Check Code Editor • Notice the Add Block box • Click it • If the block already exist: • position the curser under the last item entered in that block.

  13. Position the cursor • The curser will move under: • “//add code here” • You may need to manually reposition the curser

  14. What do you want it to do? • Many options

  15. Common Check Code Commands • IF-THEN-ELSE: Allows different actions to occur for the same block depending on a condition. For example, if the patient is male, hide all questions on pregnancy. • GOTO: Forces the cursor to move to another field. GOTO is used to implement skip patterns. • HIDE / UNHIDE: Hides and un-hides fields.

  16. Common Check Code Commands • ENABLE / DISABLE: Enable and disables fields. • ASSIGN: Used to assign a value to a field • DIALOG: Used to display pop-up messages to the user • CLEAR: Used to erase the value of a field

  17. Combining Commands • Multiple commands can be issued in the same block • Most commands can be placed inside of an IF-THEN-ELSE command

  18. Combining Commands • Example • IF the user enters an invalid date… • CLEAR the invalid date • Use a DIALOG to warn the user about their error • It would look like: IF DOB > 06/01/2012 THEN CLEAR DOB DIALOG "Invalid date detected“ END-IF

  19. Functions and Operators • Functions and operators are used to assist you in creating useful check code • For example: You want to automatically calculate a patient’s age. You know the date of birth and the report date. • Use the YEARS() function to calculate the difference • Use the ASSIGN command to assign the value to a field

  20. Example of the YEARS function • It would look like: ASSIGN Age = YEARS(DateOfBirth, ReportDate) • The values in the parenthesis are also known as the function’s parameters

  21. More about Check Code • You can add comments by starting a line with the “//” characters • Comments are a way of documenting your work so others may understand what it is you were trying to do • Also, use comments to disable specific commands

  22. EColi Project Instructor-led Demonstration

  23. Student Practice Open the EColi.prj in the EColi_Fulton_County_NoCheckCode Project folder Adding Intelligence to Forms (Student Handout) Module 3 – Student Practice

  24. This Slide Presentation • This slide presentation can be downloaded from the Epi Info™ Community of Users in phConnect: http://www.phconnect.org/group/epiinfo/forum/topics/epi-info-7-training-module-3

  25. Questions? The findings and conclusions in this report are those of the authors and do not necessarily represent the official position of the Centers for Disease Control and Prevention. Office of Surveillance, Epidemiology, and Laboratory Services Epidemiology and Analysis Program Office

More Related