DBIA 5746

From VistApedia
Jump to: navigation, search

USE SCREENMAN DDS VARIABLE (5746) ICR (5746)

Name Value


NUMBER 5746 
IA # 5746 
DATE CREATED 2011/11/04 
CUSTODIAL PACKAGE VA FILEMAN 
USAGE Private 
TYPE Other 
DBIC APPROVAL STATUS APPROVED 
NAME USE SCREENMAN DDS VARIABLE 
GENERAL DESCRIPTION
The ScreenMan documentation recommends that applications use $D(DDS) to determine if their code is being executed from within a ScreenMan form. Reading the contents of ScreenMan's DDS variable allows application developers to determine the ScreenMan form their code is being invoked from. The format of DDS is formIEN^formName. This ICR allows reading of DDS variable.
In order for an application to integrate and simultaneously use the Browser, List Manager, and ScreenMan the application must be able to manipulate the DDS variable. If List Manager is invoked from ScreenMan List Manager prompts will not display correctly because ^DIR works differently when DDS is defined. Therefore the application must save DDS and kill it before calling List Manager and restore it when returning from List Manager to ScreenMan. If the Browser is invoked from List Manager and DDS is not defined because of the above situation then the Browser will kill on exit some of variables needed by ScreenMan. Therefore the application needs to temporarily set DDS=1 before invoking the Browser.
In summary, this ICR allows the application to read, kill, set, and NEW the DDS variable.
Note that if List Manager is being invoked from ScreenMan the following Kernel calls should be made to restore the terminal settings required by ScreenMan before calling REFRESH^DDSUTL.

N IOAWMO,X S X=0 X ^%ZOSF("RM"),^%ZOSF("TYPE-AHEAD") S X="IOAWM0" D ENDR^%ZISS W IOAWM0

If this is not done the ScreenMan display will be corrupted.
STATUS Active 
DURATION Till Otherwise Agreed 
SUBSCRIBING PACKAGE 1.SUBSCRIBING PACKAGE:   CLINICAL REMINDERS 
CREATOR REDINGTON,PATRICK 
DBA Comments Activated by Debbie Trost.  No VA FileMan patch is involved.
This authorizes access to an existing variable.


DATE ACTIVATED 2012/03/20 
MAIL MESSAGE 55632380 
DATE/TIME EDITED 

1.

ACTION:   APPROVED
AT THE REQUEST OF:   REDINGTON,PATRICK
WITH CONCURRENCE OF:    BEUSCHEL,GARY
DATE/TIME EDITED:   2011/11/04 13:05

2.

ACTION:   DEACTIVATED FOR EDITS AT THE REQUEST OF:   REDINGTON,PATRICK
WITH CONCURRENCE OF:   BEUSCHEL,GARYDATE/TIME EDITED:   2012/03/16 16:30

3.

ACTION:   APPROVEDAT THE REQUEST OF:   REDINGTON,PATRICK
WITH CONCURRENCE OF:   BEUSCHEL,GARY
DATE/TIME EDITED:   2012/03/20 12:30