Git Product home page Git Product logo

This fork reimplements the original program logic generalizing portions of the code and adding additional functionality.

CLIPS> (load headache.clp) +%%%%%!!!++++++!**$$$$ TRUE CLIPS> (reset) CLIPS> (run)

Welcome to the Headache Medical Diagnosis System

Patient's name: Fred Patient's gender: (male female) male

Does Fred have blurred vision? (yes no) no Does Fred have depression? (yes no) yes Does Fred have trouble focusing? (yes no) no Does Fred have light sensitivity? (yes no) no Does Fred have trouble sleeping? (yes no) no Does Fred feel numbness in body parts? (yes no) no Does Fred have dizziness? (yes no) no Does Fred have vomiting or an upset stomach? (yes no) no Does Fred feel fatigued? (yes no) no Does Fred have a fever? (yes no) no Does Fred have trouble speaking and understanding? (yes no) yes Does Fred have trouble walking? (yes no) no Does Fred have bladder or bowel control problems? (yes no) no Does one side of Fred's face droop when he tries to smile? (yes no) no Does Fred's arm drift downward when raising both his arms? (yes no) no

Headache Symptoms Analyzed:

Stroke has a rating of 0.23

CLIPS> (reset) CLIPS> (run)

Welcome to the Headache Medical Diagnosis System

Patient's name: Fred Patient's gender: (male female) male

Does Fred have blurred vision? (yes no) no Does Fred have depression? (yes no) no Does Fred have trouble focusing? (yes no) no Does Fred have light sensitivity? (yes no) yes Does Fred have trouble sleeping? (yes no) no Does Fred feel numbness in body parts? (yes no) no Does Fred have dizziness? (yes no) no Does Fred have vomiting or an upset stomach? (yes no) no Does Fred feel fatigued? (yes no) no Does Fred have a fever? (yes no) no

Your patient seems to have no serious symptoms. Recommendation is for rest until the headache goes away.

CLIPS> (clear) CLIPS> (load headache.clp) +%%%%%!!!++++++!**$$$$ TRUE CLIPS> Readme from the original repository:

Headache Diagnosis System Assignment for Expert Systems in third year first trimester of Bac. of IT degree majoring in Artificial Intelligence (AI). This is a medical diagnosis system programmed using the CLIPS language. This kind of system is also called an Expert System.

This system is not for patient itself but for doctors themself to fill ask it asks questions like MRI and CT scans. Another reason is that this system will not provide the proper treatment even if the sickness is diagnosed.

There will be two files to be loaded into the CLIPS's dialog window.

Firstly, load q2.clp and only then load q2_1.clp.

This system will start by asking patient's information such as name and gender. After that, it will ask 10 general questions such as fever and fatigueness. It will then analyse the answers given to the 10 general questions and ask some more specific questions. If all 10 general questions are answered no, the system will end and indicate no sickness for that patient. Coded in one day by myself with medical resources from the internet.

okotex10's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.