BPSRSTPJ ;BHAM ISC/SS - ECME RESEARCH SCREEN TPJI ;05-APR-05
;;1.0;E CLAIMS MGMT ENGINE;**1**;JUN 2004
;; Per VHA Directive 10-93-142, this routine should not be modified.
Q
;DBIA2328
TPJI ;
N BPRET,BPSEL
I '$D(@(VALMAR)) Q
D FULL^VALM1
W !,"Please select a SINGLE Patient Line item when accessing TPJI"
S BPSEL=$$ASKLINE^BPSSCRU4("Select item","P","Please select SINGLE patient summary line.")
I BPSEL<1 S VALMBCK="R" Q
N BPDFN
S BPDFN=+$P(BPSEL,U,2)
I BPDFN>0 D TPJI^IBNCPDPI(BPDFN)
S VALMBCK="R"
Q
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HBPSRSTPJ 537 printed Nov 22, 2024@17:03:11 Page 2
BPSRSTPJ ;BHAM ISC/SS - ECME RESEARCH SCREEN TPJI ;05-APR-05
+1 ;;1.0;E CLAIMS MGMT ENGINE;**1**;JUN 2004
+2 ;; Per VHA Directive 10-93-142, this routine should not be modified.
+3 QUIT
+4 ;DBIA2328
TPJI ;
+1 NEW BPRET,BPSEL
+2 IF '$DATA(@(VALMAR))
QUIT
+3 DO FULL^VALM1
+4 WRITE !,"Please select a SINGLE Patient Line item when accessing TPJI"
+5 SET BPSEL=$$ASKLINE^BPSSCRU4("Select item","P","Please select SINGLE patient summary line.")
+6 IF BPSEL<1
SET VALMBCK="R"
QUIT
+7 NEW BPDFN
+8 SET BPDFN=+$PIECE(BPSEL,U,2)
+9 IF BPDFN>0
DO TPJI^IBNCPDPI(BPDFN)
+10 SET VALMBCK="R"
+11 QUIT
+12 ;