I am getting all the MEL stuff displaying in my note. But when I created the form and saved it there were no build errors. Why is this happening?
{IF (STR(DOCUMENT.LIEFT_HIP_FL_1665_1334754908_904, DOCUMENT.RIGHT_HIP_FL_1665_1334754922_882, DOCUMENT.LEFT_HIP_EXT_1665_1334754933_194, DOCUMENT.RIGHT_HIP_EX_1665_1334755008_403, DOCUMENT.LEFT_KNEE_FL_1665_1334755059_595, DOCUMENT.RIGHT_KNEE_F_1665_1334755076_68, DOCUMENT.LEFT_KNEE_EX_1665_1334755087_897, DOCUMENT.RIGHT_KNEE_E_1665_1334755097_975, DOCUMENT.LEFT_ANKLE_P_1665_1334755131_577, DOCUMENT.RIGHT_ANKLE__1665_1334755142_969, DOCUMENT.LEFT_ANKLE_D_1665_1334755154_732, DOCUMENT.RIGHT_ANKLE_1_1665_1334755163_889) == "") THEN "" ELSE ("
" + FMT("A/PROM (in degrees) ", "B,U") + "
" + CFMT(DOCUMENT.LIEFT_HIP_FL_1665_1334754908_904, "", "Left Hip Flex: ", "B", "
") + CFMT(DOCUMENT.RIGHT_HIP_FL_1665_1334754922_882, "", "Right Hip Flex: ", "B", "
") + CFMT(DOCUMENT.LEFT_HIP_EXT_1665_1334754933_194, "", "Left Hip Ext: ", "B", "
") + CFMT(DOCUMENT.RIGHT_HIP_EX_1665_1334755008_403, "", "Right Hip Ext: ", "B", "
") + CFMT(DOCUMENT.LEFT_KNEE_FL_1665_1334755059_595, "", "Left Knee Flex: ", "B", "
") + CFMT(DOCUMENT.RIGHT_KNEE_F_1665_1334755076_68, "", "Right Knee Flex: ", "B", "
") + CFMT(DOCUMENT.LEFT_KNEE_EX_1665_1334755087_897, "", "Left Knee Ext: ", "B", "
") + CFMT(DOCUMENT.RIGHT_KNEE_E_1665_1334755097_975, "", "Right Knee Ext: ", "B", "
") + CFMT(DOCUMENT.LEFT_ANKLE_P_1665_1334755131_577, "", "Left Ankle PF: ", "B", "
") + CFMT(DOCUMENT.RIGHT_ANKLE__1665_1334755142_969, "", "Right Ankle PF: ", "B", "
") + CFMT(DOCUMENT.LEFT_ANKLE_D_1665_1334755154_732, "", "Left Ankle DF: ", "B", "
") + CFMT(DOCUMENT.RIGHT_ANKLE_1_1665_1334755163_889, "", "Right Ankle DF: ", "B", "
")) ENDIF + IF (STR(DOCUMENT.LIEFT_HIP_FL1_1665_1334755258_486, DOCUMENT.RIGHT_HIP_FL1_1665_1334755258_501, DOCUMENT.LEFT_HIP_EXT1_1665_1334755258_517, DOCUMENT.RIGHT_HIP_EX1_1665_1334755258_533, DOCUMENT.LEFT_KNEE_FL1_1665_1334755258_548, DOCUMENT.RIGHT_KNEE_F1_1665_1334755258_564, DOCUMENT.LEFT_KNEE_EX1_1665_1334755258_579, DOCUMENT.RIGHT_KNEE_E1_1665_1334755258_595, DOCUMENT.LEFT_ANKLE_P1_1665_1334755258_611, DOCUMENT.RIGHT_ANKLE_2_1665_1334755258_626, DOCUMENT.LEFT_ANKLE_D1_1665_1334755258_642, DOCUMENT.RIGHT_ANKLE_11_1665_1334755258_657) == "") THEN "" ELSE ("
" + FMT("MMT (in degrees) ", "B,U") + "
" + CFMT(DOCUMENT.LIEFT_HIP_FL1_1665_1334755258_486, "", "Left Hip Flex: ", "B", "
") + CFMT(DOCUMENT.RIGHT_HIP_FL1_1665_1334755258_501, "", "Right Hip Flex: ", "B", "
") + CFMT(DOCUMENT.LEFT_HIP_EXT1_1665_1334755258_517, "", "Left Hip Ext: ", "B", "
") + CFMT(DOCUMENT.RIGHT_HIP_EX1_1665_1334755258_533, "", "Right Hip Ext: ", "B", "
") + CFMT(DOCUMENT.LEFT_KNEE_FL1_1665_1334755258_548, "", "Left Knee Flex: ", "B", "
") + CFMT(DOCUMENT.RIGHT_KNEE_F1_1665_1334755258_564, "", "Right Knee Flex: ", "B", "
") + CFMT(DOCUMENT.LEFT_KNEE_EX1_1665_1334755258_579, "", "Left Knee Ext: ", "B", "
") + CFMT(DOCUMENT.RIGHT_KNEE_E1_1665_1334755258_595, "", "Right Knee Ext: ", "B", "
") + CFMT(DOCUMENT.LEFT_ANKLE_P1_1665_1334755258_611, "", "Left Ankle PF: ", "B", "
") + CFMT(DOCUMENT.RIGHT_ANKLE_2_1665_1334755258_626, "", "Right Ankle PF: ", "B", "
") + CFMT(DOCUMENT.LEFT_ANKLE_D1_1665_1334755258_642, "", "Left Ankle DF: ", "B", "
I don't know if you just missed copying it, but there is no closing curly bracket.
Yeah I did not copy the entire text translation. There are nor errors but I keep seeing this gibberish, I am so frustrated, LOL...
Have you done a MEL trace and seen if there are any errors there? Post the error from the MEL trace. VFE doesn't catch all coding errors so you have to run a MEL trace also when things aren't working correctly.
Is there a missing begin/end suppression block somewhere in the form? I noticed if I am missing a begin or end check off I don't get any build errors, but I do get MEL in my note.
Here is my trace.
04/23/2012 13:55:53.137->{PATIENT.FORMATTEDAGE}
04/23/2012 13:55:53.137-execute>Patient.FORMATTEDAGE
04/23/2012 13:55:53.137-results>"23 Years Old"
04/23/2012 13:55:53.137-execute>end
04/23/2012 13:55:53.137-results>"23 Years Old"
04/23/2012 13:55:53.137->{PATIENT.SEX}
04/23/2012 13:55:53.137-execute>Patient.SEX
04/23/2012 13:55:53.137-results>"Female"
04/23/2012 13:55:53.137-execute>end
04/23/2012 13:55:53.137-results>"Female"
04/23/2012 13:55:53.137->{MEDS_PRIOR()}
04/23/2012 13:55:53.137-execute>call MEDS_PRIOR()
04/23/2012 13:55:53.137-results>""
04/23/2012 13:55:53.137-execute>end
04/23/2012 13:55:53.137-results>""
04/23/2012 13:55:53.153-execute>Attach Symbols Begin
04/23/2012 13:55:53.153-execute>Attach Symbols End
04/23/2012 13:55:53.153-execute>Attach Symbols Begin
04/23/2012 13:55:53.153-execute>Attach Symbols End
04/23/2012 13:55:53.153->{/*VARIABLES FOR MEL BUILT-IN SYMBOLS USED IN FORM*/\par }
04/23/2012 13:55:53.153-execute>end
04/23/2012 13:55:53.153-results>NULL
04/23/2012 13:55:53.153->{global F1665_1335191931_471 = OBSNOW("SKINPECOMM") ""}
04/23/2012 13:55:53.153-execute>call OBSNOW("SKINPECOMM")
04/23/2012 13:55:53.153-results>""
04/23/2012 13:55:53.153-execute>F1665_1335191931_471 = ""
04/23/2012 13:55:53.153-results>""
04/23/2012 13:55:53.153-execute>end
04/23/2012 13:55:53.153-results>""
04/23/2012 13:55:53.153->{\par /*FUNCTION DEFINITIONS*/\par\par }
04/23/2012 13:55:53.153-execute>end
04/23/2012 13:55:53.153-results>NULL
04/23/2012 13:55:53.153->{/*START OF FORM TRANSLATION BODY*/\par }
04/23/2012 13:55:53.153-execute>end
04/23/2012 13:55:53.153-results>NULL
04/23/2012 13:55:53.340-execute>Attach Symbols Begin
04/23/2012 13:55:53.340-execute>Attach Symbols End
04/23/2012 13:55:53.340-execute>Attach Symbols Begin
04/23/2012 13:55:53.340-execute>Attach Symbols End
04/23/2012 13:55:59.512->{/*VARIABLES FOR MEL BUILT-IN SYMBOLS USED IN FORM*/\par }
04/23/2012 13:55:59.512-execute>end
04/23/2012 13:55:59.512-results>NULL
04/23/2012 13:55:59.512->{\par /*FUNCTION DEFINITIONS*/\par\par }
04/23/2012 13:55:59.512-execute>end
04/23/2012 13:55:59.512-results>NULL
04/23/2012 13:55:59.512->{/*START OF FORM TRANSLATION BODY*/\par }
04/23/2012 13:55:59.512-execute>end
04/23/2012 13:55:59.512-results>NULL
Obviously no errors but you trace seems very short for as many fields as you have in that code.