source: FOIAVistA/tag/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DG53454P.m@ 1267

Last change on this file since 1267 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.8 KB
Line 
1DG53454P ;ALB/CKN - Post Install for DG*5.3*454; 16 AUG 2002
2 ;;5.3;Registration;**454**; Aug 13,1993
3 ;
4POST ; Entry point for post init
5 ;
6 D GMT,EGT
7 Q
8GMT ;
9 ; Update MEANS TEST STATUS file (#408.32)
10 D MES^XPDUTL("*** Updating MEANS TEST STATUS file(#408.32)***")
11 N DIC,DA,DIE,X,Y,FILE,DATA,ADD,DGENDA
12 S FILE="^DG(408.32,"
13 ; Add entry #16
14 D MES^XPDUTL(" - Adding entry #16")
15 S DIC=FILE,DIC(0)="N",X=16 D ^DIC
16 I Y'<0 D
17 . S DIK=FILE,DA=16 D ^DIK K DA,DIK
18 S DATA(.001)=16
19 S DATA(.01)="GMT COPAY REQUIRED"
20 S DATA(.019)=1,DATA(.02)="G",DATA(.03)="D"
21 S ADD=$$ADD^DGENDBS(408.32,,.DATA,16)
22 I 'ADD D MES^XPDUTL(" Error: Entry #16 not added") Q
23 K WP
24 S WP(1)="This status is assigned by the system or the user."
25 S WP(2)="If a veteran's income is below the annual threshold for this category,"
26 S WP(3)="the means test is assigned this status and subsequent category of care."
27 S WP(4)="This is determined when the user completes the means test for a veteran."
28 S WP(5)="This status can also be assigned by the user when adjudicating a means test."
29 D WP^DIE(408.32,"16,",50,,"WP","ERR")
30 K DATA
31 S DATA(.01)=3020101,DATA(.02)=1,DGENDA(1)=16
32 S ADD=$$ADD^DGENDBS(408.3275,.DGENDA,.DATA)
33 Q
34 ;
35EGT ;Update Enrollment Group Thresholds file (# 27.16)
36 D MES^XPDUTL("Updating Enrollment Group Threshold file (#27.16)")
37 N EGTIEN,DGENFDA,ERR,DIE
38 ; if EGT entry already exists, delete it before setting new one
39 S EGTIEN=$$FINDCUR^DGENEGT()
40 I EGTIEN I $$DELETE^DGENEGT(EGTIEN)
41 S DGENFDA(27.16,"+1,",.01)=$$DT^XLFDT()
42 S DGENFDA(27.16,"+1,",.02)=8
43 S DGENFDA(27.16,"+1,",.03)=3
44 S DGENFDA(27.16,"+1,",.04)=1
45 S DGENFDA(27.16,"+1,",.06)=$$DT^XLFDT
46 S DGENFDA(27.16,"+1,",25)="EGT set to 8c by patch DG*5.3*454"
47 D UPDATE^DIE("","DGENFDA","","ERR")
48 I $D(ERR) D MES^XPDUTL(" Could not set EGT entry in file #27.16")
49 Q
Note: See TracBrowser for help on using the repository browser.