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

IBDFSS1.m

Go to the documentation of this file.
  1. IBDFSS1 ;ALB/MAF - FORMS TRACKING SELECTED STATUS - JUL 6 1995
  1. ;;3.0;AUTOMATED INFO COLLECTION SYS;;APR 24, 1997
  1. ;
  1. ;
  1. S IBDCNT1=IBDCNT1+1
  1. S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S X=""
  1. S IBDFDIV1(IBDFDV)=IBDCNT
  1. S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
  1. S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S IBDVAL=IBDFDV
  1. S IBDVAL1=$L(IBDVAL) S IBDVAL1=(80-IBDVAL1)/2 S IBDVAL1=IBDVAL1\1 S X=$$SETSTR^VALM1(" ",X,1,IBDVAL1)
  1. S X=$$SETSTR^VALM1(IBDVAL,X,IBDVAL1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
  1. S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
  1. S IBDCNT1=IBDCNT1-1
  1. Q
  1. ;
  1. ;
  1. HEADER1 ; -- Set up header line for the display
  1. S IBDCNT1=IBDCNT1+1
  1. S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S X=""
  1. I $D(VAUTG) S IBCLIN(IBDFGR,IBDFCL)=IBDCNT
  1. I '$D(VAUTG) S IBCLIN(IBDFDV,IBDFCL)=IBDCNT
  1. S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
  1. S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S IBDVAL=IBDFCL
  1. S X=$$SETSTR^VALM1(IBDVAL,X,1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
  1. S IBDCNT1=IBDCNT1-1
  1. Q
  1. ;
  1. ;
  1. HEADER2 ; -- Set up header line for the clinic group
  1. S IBDCNT1=IBDCNT1+1
  1. S IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S X=""
  1. S IBDFGRP1(IBDFDV,IBDFGR)=IBDCNT
  1. S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
  1. S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. ;S IBDVAL=$P(^IBD(357.99,IBDFGR,0),"^",1)
  1. S IBDVAL=IBDFGR
  1. S IBDVAL1=$L(IBDVAL) S IBDVAL1=(80-IBDVAL1)/2 S IBDVAL1=IBDVAL1\1 S X=$$SETSTR^VALM1(" ",X,1,IBDVAL1)
  1. S X=$$SETSTR^VALM1(IBDVAL,X,IBDVAL1,25) D TMP1,CNTRL^VALM10(VALMCNT,1,80,IOINHI,IOINORM,0)
  1. S X="",IBDCNT=IBDCNT+1,VALMCNT=VALMCNT+1
  1. S X=$$SETSTR^VALM1(" ",X,1,3) D TMP1
  1. S IBDCNT1=IBDCNT1-1
  1. Q
  1. TMP1 ; -- Set up TMP Array
  1. S ^TMP("SSEL",$J,IBDCNT,0)=X,^TMP("SSEL",$J,"IDX",VALMCNT,IBDCNT1)=""
  1. S ^TMP("SELIDX",$J,IBDCNT1)=VALMCNT
  1. Q