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

BPSRSRLC.m

Go to the documentation of this file.
  1. BPSRSRLC ;BHAM ISC/SS - ECME RESEARCH SCREEN RELEASE COPAY ;05-APR-05
  1. ;;1.0;E CLAIMS MGMT ENGINE;**1,20**;JUN 2004;Build 27
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. Q
  1. ;
  1. RH ;
  1. N BPRET,BPSEL,DFN,BPRXRF
  1. I '$D(@(VALMAR)) Q
  1. D FULL^VALM1
  1. W !,"Please select a SINGLE Patient Line item or a SINGLE Rx Line item when accessing Release Copay from Hold."
  1. S BPSEL=$$ASKLINE^BPSSCRU4("Select item","PC","Please select a SINGLE Patient Line item or a SINGLE Rx Line item")
  1. I BPSEL<1 S VALMBCK="R" Q
  1. S DFN=+$P(BPSEL,U,2)
  1. I DFN=0 S VALMBCK="R" Q
  1. I +$P(BPSEL,U,7)>0 D
  1. . ;RX was selected
  1. . I $$NB^BPSSCR03(+$P(BPSEL,U,4)) W !!,"This patient does not have any charges 'on hold.'",! D PAUSE^VALM1 Q
  1. . S BPRXRF=$$RXREF^BPSSCRU2(+$P(BPSEL,U,4))
  1. . I BPRXRF'>0 Q
  1. . D RELH^IBNCPDPR(DFN,+$P(BPRXRF,U),+$P(BPRXRF,U,2),"C")
  1. I +$P(BPSEL,U,7)=0 D
  1. . ;patient was selected
  1. . D RELH^IBNCPDPR(DFN,0,0,"P")
  1. D QUIT
  1. Q
  1. ;
  1. QUIT ;
  1. S VALMBCK="R"
  1. Q
  1. ;