Example Knowledge Module to Implement HEDIS URI Measure
This example is intended to show how you can put DSLs together in Guvnor to produce a Drools package that can be used as an OpenCDS Knowledge Module (KM). It is not necessarily intended to show best practices, and there may be better ways to accomplish this particular Knowledge Module. However, it does show the use of BPMN to create flow-groups for organizing the structure of the KM, and we have found flow-groups to be very helpful in the creation of KMs for Quality Measures, such as HEDIS.
This example is the HEDIS Upper Respiratory Infection Measure, designed to measure the appropriate use of medication for URIs.
Â
The major components of this example Drools Package are the following:
- Data Model -- the internal version of vMR 1.0 that represents the data structure that we inference over
- Domain Specific Language (DSLs) – templates using clinician-friendly language for portions of rules
- Enumerations -- source listings for drop-down values in DSLs, most of which represent clinical concepts
- Functions -- helper functions to perform complex calculations that are easier to do in Java
- Process (JBPM) – an executable flowchart to perform the business process needed for the quality measure, organizing the rules in "flow-groups"
- Rules – annotated source listing of all the rules in the package
Each of these elements is presented on a separate page.
A sample Guvnor Repository containing this Drools Package and all of its components described above( along with a few other samples) can be found here: