<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Michael, &nbsp;It looks promising. &nbsp;The question is whether I can have something like a select that has a text and a value that returned. &nbsp;For example the value RxNorm=617314 &nbsp;is actually “Atorvastain or Lipitor”. &nbsp;If this was a typically select box, we could populate both the text (e.g., "Atorvastain or Lipitor”) and the value to be returned (e.g., 617314). &nbsp;The resulting rule would only have the code.<div><br></div><div>Ray<br><div><div>On Jan 11, 2014, at 3:54 PM, Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">1) No, you can't have ab enumeration defined and expect to have a text box to enter a value.</p><p dir="ltr">2) You can define an enumeration that look up their values from elsewhere. Please see the Advanced Enum Concepts section in the user guide.</p><p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 11 Jan 2014 15:22, "Ray Hooker" &lt;<a href="mailto:ray.hooker@me.com">ray.hooker@me.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This ties into a question, I had as well. &nbsp;I am trying to setup an environment to author rules that have codes associates within them. &nbsp;This is in the medical field where it would be nice to do a look-up. &nbsp;If it possible to extend the interface, possibly in the guided rule development to allow the user to select from a popup list?? &nbsp;It would be nice to use Guvnor rather than having to write a custom set of screens.<br>

<br>
<br>
Ray<br>
On Jan 11, 2014, at 9:04 AM, abhinay_agarwal &lt;<a href="mailto:abhinay_agarwal@infosys.com">abhinay_agarwal@infosys.com</a>&gt; wrote:<br>
<br>
&gt; Heya,<br>
&gt;<br>
&gt; Is it possible to use both drop downs and text field for the same field in<br>
&gt; guvnor. For what I see now, is once I have made an enumeration for a field<br>
&gt; of a fact, I am bound to choose values from the drop down, which makes it<br>
&gt; difficult to use functionality of matches and using *. in guvnor.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhinay<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656.html" target="_blank">http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Text-Field-for-a-field-in-guvnor-tp4027656.html</a><br>

&gt; Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></div></body></html>