Giter Club home page Giter Club logo

courseproject's Introduction

medical-rule-builder

Demo available at https://jugu.github.io/medical-rule-builder/

To run the code locally

  1. Install Node (https://nodejs.org/en/)
  2. Run the command: node ruleserver.js
  3. Open the application in browser at: http://localhost:3000/medical-rule-builder/index.html (port may vary)

(The only libraries/plugins used are JQuery and select2) This is an online rule builder tool. Currently customized for dynamically creating/editing rules for illnesses/diseases. This can be used to create any kind of rule definitions and/or for building queries.

The interpreter is inspired by Douglas Crockford's Top Down Operator Precedence parser http://javascript.crockford.com/tdop/tdop.html


Features

  • Build rules with AND and OR associations
  • Build rules of the type Any 2/Any 3/.../Any k , where only a particular number of conditions may be true
  • Build rules using previously defined subconditions
  • Build rules using previously defined rules
  • Test the rules
  • Export the rules with the interpreter text in JSON format

Also in the pipeline is an easy way to import your own set of query parameters, then build rules on top of them, and finally execute the rules based on parameter values to view the results.

courseproject's People

Contributors

bindhurdy avatar

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.