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

BPSJUTL1.m

Go to the documentation of this file.
BPSJUTL1 ;BHAM ISC/DB - e-Pharmacy Utils ;18-JAN-2004
 ;;1.0;E CLAIMS MGMT ENGINE;**1**;JUN 2004
 ;;Per VHA Directive 10-93-142, this routine should not be modified.
 ; Special Code for WebMD Test
 ; WBTESTB1 - Billing
 ; WBTESTB2 - Reversal
 ; Tags are 'FLD'_<Field_Number>_<'B' (billing) or 'R' (reversal)>
FLD402B ;
 S BPS("X")=$G(BPS("X")) I $G(BPS(9002313.0201))="" Q
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401944 S BPS("X")=7
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401959 S BPS("X")=1
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401974 S BPS("X")=2
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401976 S BPS("X")=3
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401958 S BPS("X")=4
 ;???
 I BPS("X")="" S BPS("X")=BPS("RX",BPS(9002313.0201),"RX IEN")
 I BPS("RX",BPS(9002313.0201),"RX IEN")'=401944 S BPS("X")=BPS("RX",BPS(9002313.0201),"RX IEN")
 Q
 ;
FLD408B ;
 S BPS("X")=0 I $G(BPS(9002313.0201))="" Q
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401944 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401959 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401974 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401976 S BPS("X")="0"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401958 S BPS("X")="1"
 Q
 ;
FLD419B ;
 S BPS("X")=0 I $G(BPS(9002313.0201))="" Q
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401944 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401959 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401974 S BPS("X")="2"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401976 S BPS("X")="1"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401958 S BPS("X")="1"
 Q
 ;
FLD420B ;
 S BPS("X")="00" I $G(BPS(9002313.0201))="" Q
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401944 S BPS("X")="03"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401959 S BPS("X")="00"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401974 S BPS("X")="04"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401976 S BPS("X")="03"
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401958 S BPS("X")="00"
 Q
 ;
FLD433B ;
 S BPS("X")=10.0 I $G(BPS(9002313.0201))="" Q
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401974 S BPS("X")=5.0
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401976 S BPS("X")=5.0
 I BPS("RX",BPS(9002313.0201),"RX IEN")=401958 S BPS("X")=5.0
 Q