-
Feature Request
-
Resolution: Done
-
Minor
-
None
-
None
-
None
When there is a large set of DSL, with nested statements, the UI for Rules creation becomes cluttered. I propose that we change the simple List to a expandable table structure for Fact Assertion.
For Example,
[when]There is a Patient with Cholesterol Readings=$c : Cholesterol()
[when]-With the Gender
"
[when]-With Age Between
, patient.age >=
{upper}[when]-With Cholesterol of {cholesterol} mg/dl or above=mgdl >={cholesterol}
[when]-With Cholesterol of {cholesterol} mg/dl or below=mgdl <={cholesterol}
[when]-With Cholesterol between {lower} mg/dl and {upper}
mg/dl=mgdl >=
{lower}, mgdl<=
{upper}This leads to fact entry such as the screenshot attached. As you can imagine, creating rules with many DSLs would become overwhelming quickly to sort through. I think maybe we should use a Tree view instead of a list here. This would allow you to drill down to nested DSL statements. Also, when creating a child of the DSL statement, only the children DRL statements should be displayed on the screen.
Attached are the current entry, and a mockup of how I would like to see this working in the future. I think it could simplify and organize the fact creation quite a bit.