openhealthcare / cedar

Clinical Event Detection And Response
2 stars 2 forks source link

I might like to use variables in rulesets ? #18

Open rossjones opened 9 years ago

rossjones commented 9 years ago

From @davidmiller on October 18, 2014 18:43

I had been thinking maybe something like:

- sample/
|- ruleset.config
|- my.behaviour

ruleset.config

vars:
 - thatdavidmiller: david@openhealthcare.org

my.behaviour

Then email @thatdavidmiller

Needs more thought though...

Copied from original issue: openhealthcare/ddd#18

rossjones commented 9 years ago

You can now use variables in rulesets, anytime there's a "" you can use a @ lookup to find the string to match. Can't currently create them, which is a bother.

davidmiller commented 9 years ago

Awzm. They're scoped at the ruleset level ?

rossjones commented 9 years ago

They currently have owners, so can be global, or by user, or something else - but not tied directly to rulesets, no. tbd. Will come back to them once we have some higher priority stuff done.

davidmiller commented 9 years ago

Sounds super sensible :)

rossjones commented 9 years ago

Needs a workable UI, possibly Angular based.

davidmiller commented 9 years ago

I'm sure I can take that one!