Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: APSQDI

APSQDI.m

Go to the documentation of this file.
APSQDI ;IHS/ASDS/ENM/POC - QUICK PICK CODES ; 05-DEC-1998 
 ;;6.0;IHS PHARMACY MODIFICATIONS;**3**;FEB 20, 2001
EN ; -- main entry point for APSQDIS
 D EN^VALM("APSQDIS")
 Q
 ;
HDR ; -- header code
 ;S VALMHDR(1)="This is a test header for APSQDIS."
 ;S VALMHDR(2)="This is the second line"
 S VALMHDR(1)="SELECTION OF QUICK PICK CODES"
 Q
 ;
INIT ; -- init variables and list array
 ;F LINE=1:1:30 D SET^VALM10(LINE,LINE_"     Line number "_LINE)
 ;D ^APSQDISP
 I '$O(^APSQFA("A"),-1) D EXIT S PSONEW("DFLG")=1 Q  ;IHS/OKCAO/POC 8/18/2000
 D EN2^APSQDI1
 ;S VALMCNT=30
 S VALMCNT=APSQCNT
 Q
 ;
HELP ; -- help code
 S X="?" D DISP^XQORM1 W !!
 Q
 ;
EXIT ; -- exit code
 ;M APSQ("PICK")=APSQ("GOT")
 ;K APSQ("GOT")
 K APSQ,APSQARR
 K APSQBEG,APSQEND,APSQCNT,APSQLAST,APSQEXP,APSQEXP1,APSQLIST,APSQLIS1
 K APSQLKUP,APSQNAME,APSQGOT,APSQGOT1,APSQGOTT,APSQIEN,APSQKILL
 K APSQSEC,APSQSEQ,APSQY
 Q
 ;
EXPND ; -- expand code
 Q
 ;