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

IBCNSA0.m

Go to the documentation of this file.
  1. IBCNSA0 ;ALB/NLR - ANNUAL BENEFITS EDIT - CONTINUED ; 21-MAY-1993
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. EN ; -- entry to do actions
  1. D POL,USERINF,ADDCOM,HOSPICE
  1. Q
  1. ;
  1. POL ; -- Policy information region
  1. S IBCABD=$G(^IBA(355.4,IBCAB,0))
  1. S IBCABC=$G(^IBA(355.3,+$P(IBCABD,U,2),0))
  1. N OFFSET,START
  1. S START=1,OFFSET=20
  1. D SET^IBCNSP(START,OFFSET+6," Policy Information ",IORVON,IORVOFF)
  1. S Y=+IBCABD D D^DIQ
  1. S IBYE=Y
  1. ;D SET^IBCNSP(START+1,OFFSET+16,"Year: "_IBYE)
  1. ;D SET^IBCNSP(START+2,OFFSET+14,"Group: "_IBCGN)
  1. D SET^IBCNSP(START+1,OFFSET+3,"Max. Out of Pocket: $"_$J($P(IBCABD,U,5),7))
  1. D SET^IBCNSP(START+2,OFFSET-1,"Ambulance Coverage (%): "_$J($P(IBCABD,U,6),8)_"%")
  1. Q
  1. ;
  1. HOSPICE ;
  1. S IBCABD4=$G(^IBA(355.4,+IBCAB,4))
  1. S START=29,OFFSET=43
  1. D SET^IBCNSP(START,OFFSET+7," Hospice ",IORVON,IORVOFF)
  1. D SET^IBCNSP(START+1,OFFSET+2,"Annual Deductible: $"_$J($P(IBCABD4,U,1),7))
  1. D SET^IBCNSP(START+2,OFFSET-2,"Inpatient Annual Max.: $"_$J($P(IBCABD4,U,2),7))
  1. D SET^IBCNSP(START+3,OFFSET+6,"Lifetime Max.: $"_$J($P(IBCABD4,U,3),7))
  1. D SET^IBCNSP(START+4,OFFSET+1,"Room and Board (%): "_$J($P(IBCABD4,U,4),8)_"%")
  1. D SET^IBCNSP(START+5,OFFSET-4,"Other Inpt. Charges (%): "_$J($P(IBCABD4,U,5),8)_"%")
  1. Q
  1. USERINF ;
  1. S IBCABD1=$G(^IBA(355.4,+IBCAB,1))
  1. S IBDUZ=$P(IBCABD1,U,2)
  1. S START=43,OFFSET=3
  1. D SET^IBCNSP(START,OFFSET+1," User Information ",IORVON,IORVOFF)
  1. D SET^IBCNSP(START+1,OFFSET+8,"Entered By: "_$P($G(^VA(200,+IBDUZ,0)),U))
  1. D SET^IBCNSP(START+2,OFFSET+8,"Entered On: "_$$DAT1^IBOUTL($P(IBCABD1,U)))
  1. S IBDUZ=$P(IBCABD1,U,6)
  1. D SET^IBCNSP(START+3,OFFSET+3,"Last Updated By: "_$P($G(^VA(200,+IBDUZ,0)),U))
  1. D SET^IBCNSP(START+4,OFFSET+3,"Last Updated On: "_$$DAT1^IBOUTL($P(IBCABD1,U,5)))
  1. Q
  1. ADDCOM ;
  1. ;S START=12,OFFSET=4
  1. ;D SET^IBCNSP(START,OFFSET+4," Comments ",IORVON,IORVOFF)
  1. ;D SET^IBCNSP(START+1,OFFSET+2,""_$P(IBCABD1,U,8))
  1. Q