I am in the process of customizing forms and I need to have a display that will provide information on past treatment plans. I am currently using this MEL expression.
{GetObservations("OBS NAME")IF OBSPREV("OBS NAME") <> "" THEN "- Instructions for follow up treatment. Risk potentials." ELSE IF OBSNOW("OBS NAME") == "" THEN "" ELSE "" ENDIF ENDIF}
Which works well, however somehow I need to get the date that this was captured to display and I'm having some issues with that. I also need to add other MEL expressions similar to this, but with different OBS terms to display in the same data display field and so far, this is not working. Any suggestions would be greatly appreciated.
Use LAST_SIGNED_OBS_VALUEDATE, LAST_SIGNED_OBS_VALUE, LAST_SIGNED_OBS_DATE, LASTOBSVALUEDATE, LASTOBSVALUE, or LASTOBSDATE instead of OBSPREV.