Logo 
Search:

Artificial Intelligence Articles

Submit Article
Home » Articles » Artificial Intelligence » ProLogRSS Feeds

PROLOG PROGRAM OF MEDICAL DIAGNOSIS SYSTEM OF CHILDHOOD DECEASE

Posted By: Milind Mishra     Category: Artificial Intelligence     Views: 12045

PROLOG PROGRAM OF MEDICAL DIAGNOSIS SYSTEM OF CHILDHOOD DECEASE.

Code for PROLOG PROGRAM OF MEDICAL DIAGNOSIS SYSTEM OF CHILDHOOD DECEASE in Artificial Intelligence

domains
    disease,indication,name = symbol

predicates
    hypothesis(name,disease)
    symptom(name,indication)
    
clauses
    symptom(amit,fever).
    symptom(amit,rash).
    symptom(amit,headache).
    symptom(amit,runn_nose).
    
    symptom(kaushal,chills).
    symptom(kaushal,fever).
    symptom(kaushal,hedache).
    
    symptom(dipen,runny_nose).
    symptom(dipen,rash).
    symptom(dipen,flu).
    

    hypothesis(Patient,measels):-
        symptom(Patient,fever),
        symptom(Patient,cough),
        symptom(Patient,conjunctivitis),
        symptom(Patient,rash).
    
    hypothesis(Patient,german_measles) :-
        symptom(Patient,fever),
        symptom(Patient,headache),
        symptom(Patient,runny_nose),
        symptom(Patient,rash).
    
    hypothesis(Patient,flu) :-
        symptom(Patient,fever),
        symptom(Patient,headache),
        symptom(Patient,body_ache),
        symptom(Patient,chills).

    hypothesis(Patient,common_cold) :-
        symptom(Patient,headache),
        symptom(Patient,sneezing),
        symptom(Patient,sore_throat),
        symptom(Patient,chills),
        symptom(Patient,runny_nose).
        
    hypothesis(Patient,mumps) :-
        symptom(Patient,fever),
        symptom(Patient,swollen_glands).
    
    hypothesis(Patient,chicken_pox) :-
        symptom(Patient,fever),
        symptom(Patient,rash),
        symptom(Patient,body_ache),
        symptom(Patient,chills).
  
Share: 



Milind Mishra
Milind Mishra author of PROLOG PROGRAM OF MEDICAL DIAGNOSIS SYSTEM OF CHILDHOOD DECEASE is from India.
 
View All Articles

 

Other Interesting Articles in Artificial Intelligence:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!