PHP Classes

File: MacularDegeneration.xbt

Recommend this page to a friend!
  Classes of Bob Wedwick   PHP Expert System Engine   MacularDegeneration.xbt   Download  
File: MacularDegeneration.xbt
Role: Auxiliary data
Content type: text/plain
Description: Xbert rule set
Class: PHP Expert System Engine
Ask questions and make decisions based on answers
Author: By
Last change:
Date: 7 years ago
Size: 3,661 bytes
 

Contents

Class file image Download
/* 12/15/2016 - MacularDegenerationA.xbt XbertClass.php example for detecting macular degeneration. This is not a medical diagnostic tool. It is nothing more than demonstration of the XbertClass.php expert system. Data derived from Summer 2010 newsletter from: Macular Degeneration Association, a 501(c)3 charity. PO Box 20256 Sarsota, FL 34276 Various techniques are used for variables to show options. */ ,,< < < < < < < < < < < < < < < ,,This is an example of how to use the Xbert expert system. ,, This is not a medical diagnostic tool. ,,Data derived from Summer 2010 newsletter from: ,, Macular Degeneration Association, a 501(c)3 charity. ,, PO Box 20256 ,, Sarsota, FL 34276 ,,> > > > > > > > > > > > > > > 5 ,Asky, Have you been diagnosed with Macular Degeneration? ,, . . . . . . . . . . . . ,,You need to check daily for even slight changes in your vision. ,pau,See your doctor immediately if you notice any changes. ,csv,MD_Disclaimer.xbt ,end, No need to go further. # do you want to see the factors involved with AMD 5 ,, Do you want to see the factors that contribute ,asky, to Macular Degeneration? ,,- - - - - ,, Age - more so over age 45. ,, Race - more common in caucasian but occurs in all races. ,, Gender - more common in women. ,, Smoking increases chances. ,, Obesity increases chances. ,, Exposure to sunlight - use UV protecting sun glasses when outside. ,, Family history ,, # ,,explain the two methods of self testing 5 ,,====== ,,Two methods of self testing are included here and are by no way complete. ,,First and preferrred way is to use an Amsler Grid made up of evenly spaced ,,horizontal and vertical lines. ,, ,,Second is a general observation test. ,, 8 ,,----- ,glo,<tried> NO ,AskYes, Do you have an Amsler Grid to use now? ,glo,<tried> YES 10 ,,---- ,,If you normally use reading glasses, put them on now. ,,Covering (not closing) first one eye then the other ,,hold test at normal reading distance or 12 - 18 inches ,,-- away while looking at the center dot. ,AskN, Can you clearly see all 4 corners? ,glo, <hit> Yes 10 ,,---- ,AskN, Can you clearly see all 4 sides? ,loc, <hit> 10 ,,---- ,AskY, Do you see any wavy lines? ,glo, <hit> 10 ,,---- ,AskY, Are there any holes or missing areas? ,glo, <hit> Yes # see if a doctor's visit is needed 10 ,fal, 6 # show access to Amsler Grid Test -- http://www.allaboutvision.com/conditions/amsler-grid.htm 8 ,,======== ,,You can print an Amsler Grid from several places on the internet including ,,-- http://www.allaboutvision.com/conditions/amsler-grid.htm ,,An Amsler Grid makes it easy to check periodically. ,, # ask if you wish to continue with the general testing ,,---- ,asky, Do you want to perform the general tests of 5 questions? ,glo,<tried> YES ,,Cover (not close) first one eye then the other for each test. # conduct the general test. Any symptom directs you to see the doctor. 10 ,,---- ,asky, Do you notice blurred central vision close-up? ,glo, <hit> <> 10 ,,---- ,asky, Do you notice blurred distant vision? ,loc, <hit> 10 ,,---- ,asky, Do straight lines look irregular or bent in either eye? ,glo, <hit> 10 ,,---- ,asky, Do objects appear as different shapes between the two eyes? ,loc, <hit> 10 ,,---- ,asky, Do objects appear as different colors between the two eyes? ,glo, <hit> # see if the person has MD symptoms. <hit> may be global or local 6 ,iss,<hit> ,csv, MD_SeeDr.xbt ,false, 4 skip to the disclaimer # if the person tried either test and passed 6 ,equ, <tried> YES ,csv, MD_NoSeeDr.xbt # show the disclaimer 4 ,csv,MD_Disclaimer.xbt