BUD8BAN ; IHS/CMI/LAB - Banner routine for UDS package 20 Nov 2009 10:00 AM ;
;;10.0;IHS/RPMS UNIFORM DATA SYSTEM;;FEB 04, 2016;Build 50
;
;Writes all menu banners.
EP ;EP
V ; GET VERSION
S BUD("VERSION")="",BUD("VERSION")=$O(^DIC(9.4,"C","BUD",BUD("VERSION"))),BUD("VERSION")=^DIC(9.4,BUD("VERSION"),"VERSION")
S BUD("VERSION")="3.0"
I $G(BUDTEXT)="" S BUDTEXT="TEXT",BUDLINE=4 G PRINT
S BUDTEXT="TEXT"_BUDTEXT
F BUDJ=1:1 S BUDX=$T(@BUDTEXT+BUDJ),BUDX=$P(BUDX,";;",2) Q:BUDX="QUIT"!(BUDX="") S BUDLINE=BUDJ
PRINT W:$D(IOF) @IOF
F BUDJ=1:1:BUDLINE S BUDX=$T(@BUDTEXT+BUDJ),BUDX=$P(BUDX,";;",2) W !?80-$L(BUDX)\2,BUDX K BUDX
S X=$P(^DIC(4,DUZ(2),0),U)
W !?80-$L(X)/2,X
W !?80-(8+$L(BUD("VERSION")))/2,"Version ",BUD("VERSION")
XIT ;
K DIC,DA,X,Y,%Y,%,BUDJ,BUDX,BUDTEXT,BUDLINE
Q
TEXT ;uds
;;********************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 **
;;********************************************
;;QUIT
TEXTR ;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Reports **
;;**************************************
;;QUIT
TEXTM ;manager utilities
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Manager Utilities **
;;**************************************
;;QUIT
TEXTL ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;**************************************
;;QUIT
TEXTA ;;
;;****************************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider List **
;;** Lists for Tables Zip Code, 3A&3B, 5, and 6A **
;;****************************************************
;;QUIT
TEXTB ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;** Lists for Table 6B **
;;**************************************
;;QUIT
TEXTC ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;** Lists for Table 7 **
;;**************************************
;;QUIT
TEXTD ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;** Pregnant Patient Lists **
;;**************************************
;;QUIT
TEXTE ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;** Hypertension Patient Lists **
;;**************************************
;;QUIT
TEXTF ;;
;;**************************************
;;** RPMS UNIFORM DATA SYSTEM (UDS) **
;;** 2008 Patient and Provider Lists **
;;** Diabetes Patient Lists **
;;**************************************
;;QUIT
BUD8BAN ; IHS/CMI/LAB - Banner routine for UDS package 20 Nov 2009 10:00 AM ;
+1 ;;10.0;IHS/RPMS UNIFORM DATA SYSTEM;;FEB 04, 2016;Build 50
+2 ;
+3 ;Writes all menu banners.
EP ;EP
V ; GET VERSION
+1 SET BUD("VERSION")=""
SET BUD("VERSION")=$ORDER(^DIC(9.4,"C","BUD",BUD("VERSION")))
SET BUD("VERSION")=^DIC(9.4,BUD("VERSION"),"VERSION")
+2 SET BUD("VERSION")="3.0"
+3 IF $GET(BUDTEXT)=""
SET BUDTEXT="TEXT"
SET BUDLINE=4
GOTO PRINT
+4 SET BUDTEXT="TEXT"_BUDTEXT
+5 FOR BUDJ=1:1
SET BUDX=$TEXT(@BUDTEXT+BUDJ)
SET BUDX=$PIECE(BUDX,";;",2)
IF BUDX="QUIT"!(BUDX="")
QUIT
SET BUDLINE=BUDJ
PRINT IF $DATA(IOF)
WRITE @IOF
+1 FOR BUDJ=1:1:BUDLINE
SET BUDX=$TEXT(@BUDTEXT+BUDJ)
SET BUDX=$PIECE(BUDX,";;",2)
WRITE !?80-$LENGTH(BUDX)\2,BUDX
KILL BUDX
+2 SET X=$PIECE(^DIC(4,DUZ(2),0),U)
+3 WRITE !?80-$LENGTH(X)/2,X
+4 WRITE !?80-(8+$LENGTH(BUD("VERSION")))/2,"Version ",BUD("VERSION")
XIT ;
+1 KILL DIC,DA,X,Y,%Y,%,BUDJ,BUDX,BUDTEXT,BUDLINE
+2 QUIT
TEXT ;uds
+1 ;;********************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 **
+4 ;;********************************************
+5 ;;QUIT
TEXTR ;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Reports **
+4 ;;**************************************
+5 ;;QUIT
TEXTM ;manager utilities
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Manager Utilities **
+4 ;;**************************************
+5 ;;QUIT
TEXTL ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;**************************************
+5 ;;QUIT
TEXTA ;;
+1 ;;****************************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider List **
+4 ;;** Lists for Tables Zip Code, 3A&3B, 5, and 6A **
+5 ;;****************************************************
+6 ;;QUIT
TEXTB ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;** Lists for Table 6B **
+5 ;;**************************************
+6 ;;QUIT
TEXTC ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;** Lists for Table 7 **
+5 ;;**************************************
+6 ;;QUIT
TEXTD ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;** Pregnant Patient Lists **
+5 ;;**************************************
+6 ;;QUIT
TEXTE ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;** Hypertension Patient Lists **
+5 ;;**************************************
+6 ;;QUIT
TEXTF ;;
+1 ;;**************************************
+2 ;;** RPMS UNIFORM DATA SYSTEM (UDS) **
+3 ;;** 2008 Patient and Provider Lists **
+4 ;;** Diabetes Patient Lists **
+5 ;;**************************************
+6 ;;QUIT