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

YIPROB.m

Go to the documentation of this file.
YIPROB ;SLC/DKG-INTERVIEW PROBLEM SCREEN ; 10/18/88  13:42 ;
 ;;5.01;MENTAL HEALTH;;Dec 30, 1994
 S YSLFT=0,X=^YTD(601.2,YSDFN,1,YSET,1,YSED,1) D HDR^YIHIST W !!?25,^YTT(601,YSTEST,"G",1,1,1,0)
 S K=7 F L=2:1:4 S K=K-1 D:IOST?1"C-".E WAIT^YSUTL:$Y+4>IOSL Q:YSLFT  W !!,^YTT(601,YSTEST,"G",L,1,1,0) D CK
 W ! K J,K,L,X Q
CK ;
 I X'[K W !,"NONE INDICATED",! Q
 F J=1:1:27 D:IOST?1"C-".E WAIT^YSUTL:$Y+3>IOSL Q:YSLFT  W:$E(X,J)=K !,^YTT(601,YSTEST,"G",J+4,1,1,0)
 Q