-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiseases.pl
30 lines (26 loc) · 974 Bytes
/
diseases.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
hypothesis(Patient,heart_attack) :-
patient_symptom(Patient,fatigue),
patient_symptom(Patient,breathing_problems),
patient_symptom(Patient,indigestion),
patient_symptom(Patient,abdominal_pain).
hypothesis(Patient,stroke) :-
patient_symptom(Patient,sight_problems),
patient_symptom(Patient,dizziness),
patient_symptom(Patient,confusion),
patient_symptom(Patient,speech_problems).
hypothesis(Patient,lung_disease) :-
patient_symptom(Patient,cough),
patient_symptom(Patient,breathing_problems),
patient_symptom(Patient,phlegm).
hypothesis(Patient,flu) :-
patient_symptom(Patient,cough),
patient_symptom(Patient,headache),
patient_symptom(Patient,fatigue),
patient_symptom(Patient,chills),
patient_symptom(Patient,fever).
hypothesis(Patient,cold) :-
patient_symptom(Patient,cough),
patient_symptom(Patient,headache),
patient_symptom(Patient,fatigue),
patient_symptom(Patient,chills),
patient_symptom(Patient,fever).