Possible to list current diagnoses in a drop-down box?

25 views
Skip to first unread message

James B

unread,
Jun 11, 2015, 7:05:28 PM6/11/15
to heo-i...@googlegroups.com
Is it possible to list the current diagnoses on a patient in a select "drop-down" box for an iForm?  I can correctly pull into an iForm the listed diagnoses on a patient using the @@someVariable@@ syntax, however when I create a select drop-down menu, the @@someVariable@@ never resolves.  So I end up with a drop-down list full of @@someVariable1@@, @@someVariable2@@ and so on instead of Chest Pain, Pneumonia etc...

Any ideas?  Our end goal here is when the physician launches the Discharge iForm, he can select the Discharge Diagnosis from the drop-down list of current diagnoses on the patient.

Thanks for the help.

Scott Morris

unread,
Jun 12, 2015, 8:46:48 AM6/12/15
to heo-i...@googlegroups.com
I've used radio buttons to do this before, but if you can get your values into a different part of the iForm, you could potentially fill a hidden list (or whatever other DOM elements you'd like) and programmatically populate a dropdown box using JavaScript on page load based on the contents of that hidden object.

--
You received this message because you are subscribed to the Google Groups "HEO iForms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to heo-iforms+...@googlegroups.com.
To post to this group, send email to heo-i...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/heo-iforms/c45497e6-d150-4b27-af3c-7da18e54d530%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TWessel

unread,
Jun 12, 2015, 10:34:33 AM6/12/15
to heo-i...@googlegroups.com
Same as Scott.  We've done it as illustrated in the attached file.

_________________________
Tom Wessel, MD
CMIO
SRHS
Spartanburg, SC
dxconfirm.docx

Brady Deckard

unread,
Jun 12, 2015, 10:48:22 AM6/12/15
to heo-i...@googlegroups.com

I’ve put variables in a dropdown like this.  http://jsfiddle.net/bradyrd/xs1whngk/


On Thursday, June 11, 2015 at 7:05:28 PM UTC-4, James B wrote:

James B

unread,
Jun 16, 2015, 4:18:18 PM6/16/15
to heo-i...@googlegroups.com
Thanks for the ideas.  I went with displaying the diagnoses in a list of radio buttons, since our clinical users apparently hate drop-down menus.  
Reply all
Reply to author
Forward
0 new messages