[613] | 1 | IBDFSS1 ;ALB/MAF - FORMS TRACKING SELECTED STATUS - JUL 6 1995
|
---|
| 2 | ;;3.0;AUTOMATED INFO COLLECTION SYS;;APR 24, 1997
|
---|
| 3 | ;
|
---|
| 4 | ;
|
---|
| 5 | HEADER ; -- Set up header line for the display
|
---|
| 6 | S IBDCNT1=IBDCNT1+1
|
---|
| 7 | S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 8 | S X=""
|
---|
| 9 | S IBDFDIV1(IBDFDV)=IBDCNT
|
---|
| 10 | S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
|
---|
| 11 | S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 12 | S IBDVAL=IBDFDV
|
---|
| 13 | S IBDVAL1=$L(IBDVAL) S IBDVAL1=(80-IBDVAL1)/2 S IBDVAL1=IBDVAL1\1 S X=$$SETSTR^VALM1(" ",X,1,IBDVAL1)
|
---|
| 14 | S X=$$SETSTR^VALM1(IBDVAL,X,IBDVAL1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
|
---|
| 15 | S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 16 | S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
|
---|
| 17 | S IBDCNT1=IBDCNT1-1
|
---|
| 18 | Q
|
---|
| 19 | ;
|
---|
| 20 | ;
|
---|
| 21 | HEADER1 ; -- Set up header line for the display
|
---|
| 22 | S IBDCNT1=IBDCNT1+1
|
---|
| 23 | S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 24 | S X=""
|
---|
| 25 | I $D(VAUTG) S IBCLIN(IBDFGR,IBDFCL)=IBDCNT
|
---|
| 26 | I '$D(VAUTG) S IBCLIN(IBDFDV,IBDFCL)=IBDCNT
|
---|
| 27 | S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
|
---|
| 28 | S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 29 | S IBDVAL=IBDFCL
|
---|
| 30 | S X=$$SETSTR^VALM1(IBDVAL,X,1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
|
---|
| 31 | S IBDCNT1=IBDCNT1-1
|
---|
| 32 | Q
|
---|
| 33 | ;
|
---|
| 34 | ;
|
---|
| 35 | HEADER2 ; -- Set up header line for the clinic group
|
---|
| 36 | S IBDCNT1=IBDCNT1+1
|
---|
| 37 | S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 38 | S X=""
|
---|
| 39 | S IBDFGRP1(IBDFDV,IBDFGR)=IBDCNT
|
---|
| 40 | S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
|
---|
| 41 | S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 42 | ;S IBDVAL=$P(^IBD(357.99,IBDFGR,0),"^",1)
|
---|
| 43 | S IBDVAL=IBDFGR
|
---|
| 44 | S IBDVAL1=$L(IBDVAL) S IBDVAL1=(80-IBDVAL1)/2 S IBDVAL1=IBDVAL1\1 S X=$$SETSTR^VALM1(" ",X,1,IBDVAL1)
|
---|
| 45 | S X=$$SETSTR^VALM1(IBDVAL,X,IBDVAL1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
|
---|
| 46 | S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
|
---|
| 47 | S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
|
---|
| 48 | S IBDCNT1=IBDCNT1-1
|
---|
| 49 | Q
|
---|
| 50 | TMP1 ; -- Set up TMP Array
|
---|
| 51 | S ^TMP("SSEL",$J,IBDCNT,0)=X,^TMP("SSEL",$J,"IDX",VALMCNT,IBDCNT1)=""
|
---|
| 52 | S ^TMP("SELIDX",$J,IBDCNT1)=VALMCNT
|
---|
| 53 | Q
|
---|