Notifications
Clear all
Topic starter
Hello,
In a form I am creating in VFE I am trying to have a button insert into an Edit field this phrase that works as a quick text.
Patient is a {PATIENT_AGE()} year old {PATIENT.SEX} who is {phrase} days status post {OBSNOW("PROCEDURE")}.
Does anyone know what I am missing to make this work?
Thanks,
Rachel
Posted : March 25, 2014 5:07 am
Too many brackets I think. Assuming that you want something dynamic between "who is" and "days status post" and have a function with the logic to return you the phrase this probably would work (I didn't test it out). Otherwise you could just take out phrase() and the + signs and make a long string in the middle.
{"Patient is a" + PATIENT_AGE()+ " year old" +PATIENT.SEX +"who is" + phrase() + "days status post" {OBSNOW("PROCEDURE")+"."}
Posted : March 25, 2014 5:55 am