Notifications
Clear all
Topic starter
Is it possible to include multiple field in one obs term.
eg
document.diabetes = yes (radio button yes and no)
document.diabetescomment = patient has diabetes
obs term "DM" = yes. patient has diabetes
Posted : December 16, 2013 7:18 am
{OBSNOW("obsterm", STR(document.diabetes, document.diabetescomment))}
if you need to split the values later, I combine them with a tilde '~', so I can match on it as the splitting point.
{OBSNOW("obsterm", document.diabetes + '~' + document.diabetescomment)}
Posted : December 16, 2013 10:07 pm
Topic starter
Thank you jjordet.
edit: where do I add this statement? action button?
Posted : December 17, 2013 3:25 am
put it in the coding window to the right in VFE. it will execute anytime either of the document variables changes.
Posted : December 17, 2013 4:03 am
Topic starter
So the right side of VFE is coding window. Cool
Thanks again jjordet
Posted : December 17, 2013 7:01 am