Notifications
Clear all
Topic starter
Hello! I am trying to populate a predefined listbox that has 5 problems with another listbox that has about 20 problems, but only if the item(s) from the list of 20 match the item(s) in the list of 5. So if I select 3 items from the list of 20 that match 3 items in the list of 5, only those 3 items get selected. Hope that makes sense.
Here is some of my code, but doing it this way seems to be the long way around.
{!if PATIENT_AGE() > "55" and
match(obsany("PAST MED HX"),"High blood pressure")>0 and
match(obsany("PAST MED HX"),"COPD")>0 then
document.cardiocond="patient age > 55, hypertension, chronic pulmonary disease"
else ""
endif}
Thanks!
Posted : January 21, 2014 1:56 am