MEDITECH Reports / MEDITECH NPR Reports / NPR Report Writing / NPR Report Writer / Non-Procedural Report / MEDITECH Consulting MEDITECH Online Reference: Sep 4, 2007

Tuesday, September 04, 2007

Branching Attributes on Screen Title

The idea of branching attribute code based on a screen title came about based on the need to execute attribute code on a NUR Document Now screen and not execute attribute code on a NUR Edit Screen. We reviewed the /SLASH file for each screen and found that the screen title variables contained the information needed.

Identify the text in /[.SCRN.TITLE,1] that you want to gate on.

Set up an IF{} statement to process code based on the absence or presence of code in these variables.

Sample attribute code:
-/.SCRN.TITLE[“”]^/EDT,
IF{(/EDT#L(/EDT,"Edit Previous")) ;
}