<p dir="ltr">Yes you can.</p>
<p dir="ltr">Use an equals symbol to separate value/code and text. For example M=Male. The user guide should contain details. </p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 12 Jan 2014 03:55, &quot;Ray Hooker&quot; &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">
<div style="word-wrap:break-word">Michael,  It looks promising.  The question is whether I can have something like a select that has a text and a value that returned.  For example the value RxNorm=617314  is actually “Atorvastain or Lipitor”.  If this was a typically select box, we could populate both the text (e.g., &quot;Atorvastain or Lipitor”) and the value to be returned (e.g., 617314).  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" target="_blank">michael.anstis@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><p dir="ltr">
1) No, you can&#39;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, &quot;Ray Hooker&quot; &lt;<a href="mailto:ray.hooker@me.com" target="_blank">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.  I am trying to setup an environment to author rules that have codes associates within them.  This is in the medical field where it would be nice to do a look-up.  If it possible to extend the interface, possibly in the guided rule development to allow the user to select from a popup list??  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" target="_blank">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" target="_blank">Nabble.com</a>.<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">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" target="_blank">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" target="_blank">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></blockquote>
</div><br></div></div><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>