Good morning all!
I'm trying to program a visibility region and not sure how to do it..............and not sure I'm going at it from the right angle.
I have built a visibility region to display a SECTION under these conditions (and it works):
(patient._ageinmonths > 216 AND OBSPREV("BMIPLAN") == ""
OR DURATIONDAYS(LAST_SIGNED_OBS_DATE("BMIPLAN"), STR(._TODAYSDATE))>=182)
Now what I'd like to do is built a text field that will only display when the Obs term BMIPLAN is filled out in today's visit OR the last signed obs date is less than 182 days ago.
Seems like it should be easy, but I can't get it to work correctly. Any insight would be great!
Make a visibility region and add your text field to it.
This should work for the visibility region
OBSNOW("BMIPLAN") "" or DurationDays(str(LastObsDate("BMIPLAN")),str(._todaysdate)) < 182