Thank you.  I will read up more about templates.  Do you know if it is possible to use a DSL with templates?

Thanks Again!
________________________________________
From: manstis [via Drools] [[hidden email]]
Sent: Thursday, May 19, 2011 11:24 AM
To: Matias Klein
Subject: Re: [rules-users] DSL Enumeration / Decision Table ?

This would appear a (near) perfect use-case for "Templates".

Have a read of the documentation and examples, it should become quite clear thereafter :)

On 19 May 2011 15:46, matiasklein <[hidden email]</user/SendEmail.jtp?type=node&node=2961816&i=0>> wrote:
Hi,

I have a DSLR that reads:

There is an event with a code of "93000"

This translates via DSL to:

[when]There is an event with a code {Code}=$event : Event(Code == {Code})

Unfortunately, I have to build many rules that are exactly the same as this,
but with different qualifying codes (i.e. rule #1 qualifies with code 9300,
93001, 93002, etc., but rule #2 qualifies with 5001, 5002, 5003, etc.).

I would like users of the system to be able to maintain the list of
qualifying codes in a spreadsheet.  However, I'm not sure how to use an
enumeration loaded via a spreadsheet.

Does anyone have a recommendation on how to achieve this?

Thanks so much!

Cheers,

Matias

--
View this message in context: http://drools.46999.n3.nabble.com/DSL-Enumeration-Decision-Table-tp2961667p2961667.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=2961816&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=2961816&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users


________________________________
If you reply to this email, your message will be added to the discussion below:



Join Portico Systems at AHIP’s Institute 2011, June 15-17 in San Franciscso, where the Road Map for Health Care Reform Continues. Visit www.ahip.org/conferences/Institute2011 for more information or to register.
Portico Systems recent accolades & upcoming events (www.porticosys.com)
________________________________

• Follow us on Twitter @porticosys, LinkedIn and Facebook.
• Read our blog devoted to the Healthcare Payer Community and IPM: Portico Pulse
http://blog.porticosys.com/.
• Best Places to Work in Philadelphia 2010 & 2009
• Ranked #97 on Healthcare Informatics 100 list


This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


View this message in context: RE: [rules-users] DSL Enumeration / Decision Table ?
Sent from the Drools: User forum mailing list archive at Nabble.com.