<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, "Ray Hooker" <<a href="mailto:ray.hooker@me.com">ray.hooker@me.com</a>> 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., "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 <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>> wrote:</div><br><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" <<a href="mailto:ray.hooker@me.com" target="_blank">ray.hooker@me.com</a>> 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 <<a href="mailto:abhinay_agarwal@infosys.com" target="_blank">abhinay_agarwal@infosys.com</a>> wrote:<br>
<br>
> Heya,<br>
><br>
> Is it possible to use both drop downs and text field for the same field in<br>
> guvnor. For what I see now, is once I have made an enumeration for a field<br>
> of a fact, I am bound to choose values from the drop down, which makes it<br>
> difficult to use functionality of matches and using *. in guvnor.<br>
><br>
> Regards,<br>
> Abhinay<br>
><br>
><br>
><br>
> --<br>
> 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>
> Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<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>
<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>