home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / misc / doctor.esi < prev    next >
Text File  |  1985-08-22  |  6KB  |  255 lines

  1. goal is type.disease
  2.  
  3. legalanswers are yes no *
  4.  
  5. if rest.temp.over.100 is yes
  6. then fever is yes
  7.  
  8. question rest.temp.over.100 is 
  9. "Has the child been resting for over an hour and his temp is greater than 100?" 
  10.  
  11. if active.temp.over.101 is yes
  12. then fever is yes
  13.  
  14. question active.temp.over.101 is
  15. "Has the child been active in the last hour and his temp is greater than 101?"
  16.  
  17. if clear.nasal.discharge is yes
  18. and scratchy.throat is yes
  19. then cold is yes
  20.  
  21. question clear.nasal.discharge is 
  22. "Does the child have a clear nasal discharge?"
  23.  
  24. question scratchy.throat is "Does the child have a scratchy throat?"
  25.  
  26. if cold is yes
  27. and much.cough is yes
  28. and squeaky.breath is yes
  29. and vibration.chest is yes
  30. and fever is yes
  31. then type.disease is bronchitis
  32.  
  33. question much.cough is 
  34. "Does the child cough a lot, and cough syrup is roughly ineffective?"
  35.  
  36. question squeaky.breath is
  37. "Does the child squeake as he breaths?"
  38.  
  39. question vibration.chest is
  40. "Can you feel a vibration in the child's chest as he breaths?"
  41.  
  42. if high.fever is yes
  43. and rapid.breathing is yes
  44. and cough is yes
  45. then type.disease is pneumonia
  46.  
  47. question high.fever is "Is the child's temperature over 103?"
  48.  
  49. question rapid.breathing is "Does the child have rapid, shallow breathing?"
  50.  
  51. question cough is "Does the child have a cough?"
  52.  
  53. if hoarse.cough is yes
  54. and difficulty.breathing is yes
  55. and fever is yes
  56. and cold is yes
  57. then type.disease is severe.croup
  58.        
  59. if hoarse.cough is yes
  60. and difficulty.breathing is yes
  61. then type.disease is croup
  62.  
  63. question hoarse.cough is "Does the child have a hoarse cough?"
  64.  
  65. question difficulty.breathing is "Does the child have difficulty breathing?"
  66.  
  67. if cough.when.move is yes
  68. and sinus.pain is yes
  69. then type.disease is sinusitis
  70.  
  71. question cough.when.move is 
  72. "Does the child start coughing violently when he either lays down or gets up?"
  73.  
  74. question sinus.pain is "Does the child have any sinus pain?"
  75.  
  76. if high.fever is yes
  77. and headache is yes
  78. and vomiting is yes
  79. and tonsils.swollen is yes
  80. then type.disease is tonsillitis
  81.  
  82. question headache is "Does the child complain of headache?"
  83.  
  84. question vomiting is "Is the child vomiting?"
  85.  
  86. question tonsils.swollen is 
  87. "Are the child's tonsils swollen with white patches on them?"
  88.  
  89. if sneeze is yes
  90. and itchy.nose is yes
  91. then type.disease is allergy
  92.  
  93. question sneeze is "Is the child sneezing?"
  94.  
  95. question itchy.nose is "Does the child complain of an itchy nose?"
  96.  
  97. if cold is yes
  98. and wheezing is yes
  99. then type.disease is asthmatic.bronchitis
  100.  
  101. question wheezing is "Is the child wheezing?"
  102.  
  103. if itching is yes
  104. and hives.rash is yes
  105. then type.disease is hives
  106.  
  107. question itching is "Does the child complain of itchy or scratchy skin?"
  108.  
  109. question hives.rash is 
  110. "Does the child have raised welts that are white in color?"
  111.  
  112. if eczema is yes 
  113. then type.disease is eczema
  114.  
  115. question eczema is
  116. "Does the child have patches of rough, red, rash, scaly skin?"
  117.  
  118. if cold is yes
  119. and fever is yes
  120. and measle.rash is yes
  121. then type.disease is measles
  122.  
  123. if measle.rash is yes
  124. then type.disease is german.measles
  125.  
  126. question measle.rash is
  127. "Does the child have flat pink spots on the skin?"
  128.  
  129. if pox.rash is yes
  130. then type.disease is chicken.pox
  131.  
  132. question pox.rash is 
  133. "Does the child's skin have separate, raised pimples, several with blisters?"
  134.  
  135. if headache is yes
  136. and fever is yes
  137. and vomiting is yes
  138. and sore.throat is yes
  139. and scarlet.rash is yes
  140. then type.disease is scarlet.fever
  141.  
  142. question sore.throat is "Does the child have a sore throat?"
  143.  
  144. question scarlet.rash is 
  145. "Does the child have a red blush-like rash on his skin?"
  146.  
  147. if prickly.rash is yes
  148. then type.disease is prickly.heat
  149.  
  150. question prickly.rash is "Does the child have patches of tan-pink pimples?"
  151.  
  152. if itching is yes
  153. and scabies.rash is yes
  154. then type.disease is scabies
  155.  
  156. question scabies.rash is 
  157. "Are there groups of pimples topped with scabs on the child?"
  158.  
  159. if ringworm.rash is yes
  160. then type.disease is ringworm
  161.  
  162. question ringworm.rash is 
  163. "Are there circular patches of rough skin on the child?"
  164.  
  165. if impetigo.rash is yes
  166. then type.disease is impetigo
  167.  
  168. question impetigo.rash is
  169. "Are there pimples on the child with a partly brown crust?"
  170.  
  171. if itching is yes
  172. and ivy.rash is yes
  173. then type.disease is poison.ivy
  174.  
  175. question ivy.rash is 
  176. "Are there clusters of small blisters on reddened shiny skin?"
  177.  
  178. if cold is yes
  179. and delayed.cough is yes
  180. then type.disease is whooping.cough
  181.  
  182. question delayed.cough is 
  183. "Did the child start coughing about one week after getting the cold?"
  184.  
  185. if neck.swelling is yes
  186. then type.disease is mumps
  187.  
  188. question neck.swelling is
  189. "Does the child have extensive swelling in the side of his neck?"
  190.  
  191. if sore.throat is yes
  192. and fever is yes
  193. and dirty.white.patches is yes
  194. then type.disease is diptheria
  195.  
  196. question dirty.white.patches is
  197. "Does the child have dirty white patches on his tonsils?"
  198.  
  199. if fever is yes
  200. and headache is yes
  201. and touch.to.chest is yes
  202. then type.disease is anterior.poliomyelitis
  203.  
  204. question touch.to.chest is
  205. "Is it impossible for the child to touch his chin to his chest?"
  206.  
  207. if fatigue is yes
  208. and fever is yes
  209. and cough is yes
  210. and sputum is yes
  211. then type.disease is tuberculosis
  212.  
  213. question fatigue is "Does the child complain of general fatigue?"
  214.  
  215. question sputum is "Is the child producing sputum?"
  216.  
  217. if fever is yes
  218. and fatigue is yes
  219. and tender.joints is yes
  220. then type.disease is rheumatic.fever
  221.  
  222. question tender.joints is "Does the child complain of tender joints?"
  223.  
  224. if nervous.disease is yes
  225. then type.disease is chorea
  226.  
  227. question nervous.disease is
  228. "Does the child have twitching or writhing movements in DIFFERENT places?"
  229.  
  230. if naval.pain is yes
  231. and tender.abdomen is yes
  232. then type.disease is appendicitis
  233.  
  234. question naval.pain is
  235. "Has the child complained of pain around his naval for several hours?"
  236.  
  237. question tender.abdomen is
  238. "Does the child have a tender abdomen on the right side?"
  239.  
  240. if inflammed.ears is yes
  241. and fever is yes
  242. then type.disease is serious.ear.infection
  243.  
  244. if inflammed.ears is yes
  245. then type.disease is ear.infection
  246.  
  247. question inflammed.ears is "Does the child have inflammed ears?"
  248.  
  249. if high.fever is yes
  250. then type.disease is roseola
  251.  
  252. answer is "Based on rudimentary knowledge, I believe the child has 
  253. type.disease
  254.