IBATLM3 ;LL/ELZ - TRANSFER PRICING PATIENT INFO SCREEN ; 13-APR-1999
;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
;;Per VHA Directive 10-93-142, this routine should not be modified.
;
EN ; -- main entry point for IBAT PATIENT DETAIL
D EN^VALM("IBAT PATIENT DETAIL")
Q
;
HDR ; -- header code
N IBDFN0,IBAT0,VA
;
S IBDFN0=^DPT(DFN,0),IBAT0=^IBAT(351.6,DFN,0)
D PID^VADPT
;
S VALMHDR(1)="Name: "_$P(IBDFN0,"^")
D SET("SSN: "_VA("PID"),.VALMHDR,1,54,26,0)
;
D SET("Current TP Status:",.VALMHDR,2,1,18,0)
D SET($$EX^IBATUTL(351.6,.04,$P(IBAT0,"^",4)),.VALMHDR,2,20,40,1)
D SET("Enrolled Facility:",.VALMHDR,2,40,18,0)
D SET($P($$INST^IBATUTL($$PPF^IBATUTL(DFN)),"^"),.VALMHDR,2,59,20,1)
Q
;
INIT ; -- init variables and list array
S VALMCNT=0
D ^IBATLM3A
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
Q
;
EXPND ; -- expand code
Q
;
SET(TEXT,STRING,S,COL,LENGTH,L) ; -- set up string with valm1
I '$D(STRING(S)) S STRING(S)=""
I L S TEXT=$$LOWER^VALM1(TEXT)
S STRING(S)=$$SETSTR^VALM1(TEXT,STRING(S),COL,LENGTH)
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBATLM3 1113 printed Sep 02, 2024@18:53:09 Page 2
IBATLM3 ;LL/ELZ - TRANSFER PRICING PATIENT INFO SCREEN ; 13-APR-1999
+1 ;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
+2 ;;Per VHA Directive 10-93-142, this routine should not be modified.
+3 ;
EN ; -- main entry point for IBAT PATIENT DETAIL
+1 DO EN^VALM("IBAT PATIENT DETAIL")
+2 QUIT
+3 ;
HDR ; -- header code
+1 NEW IBDFN0,IBAT0,VA
+2 ;
+3 SET IBDFN0=^DPT(DFN,0)
SET IBAT0=^IBAT(351.6,DFN,0)
+4 DO PID^VADPT
+5 ;
+6 SET VALMHDR(1)="Name: "_$PIECE(IBDFN0,"^")
+7 DO SET("SSN: "_VA("PID"),.VALMHDR,1,54,26,0)
+8 ;
+9 DO SET("Current TP Status:",.VALMHDR,2,1,18,0)
+10 DO SET($$EX^IBATUTL(351.6,.04,$PIECE(IBAT0,"^",4)),.VALMHDR,2,20,40,1)
+11 DO SET("Enrolled Facility:",.VALMHDR,2,40,18,0)
+12 DO SET($PIECE($$INST^IBATUTL($$PPF^IBATUTL(DFN)),"^"),.VALMHDR,2,59,20,1)
+13 QUIT
+14 ;
INIT ; -- init variables and list array
+1 SET VALMCNT=0
+2 DO ^IBATLM3A
+3 QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 QUIT
+2 ;
EXPND ; -- expand code
+1 QUIT
+2 ;
SET(TEXT,STRING,S,COL,LENGTH,L) ; -- set up string with valm1
+1 IF '$DATA(STRING(S))
SET STRING(S)=""
+2 IF L
SET TEXT=$$LOWER^VALM1(TEXT)
+3 SET STRING(S)=$$SETSTR^VALM1(TEXT,STRING(S),COL,LENGTH)
+4 QUIT