source: FOIAVistA/trunk/r/FEE_BASIS-FB/FBXIP33.m@ 1540

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

initial load of FOIAVistA 6/30/08 version

File size: 3.6 KB
Line 
1FBXIP33 ;WCIOFO/MJE-IMPORT GPCI/ZIP CODE DATA ;9/18/2001
2 ;;3.5;FEE BASIS;**33**;JAN 30, 1995
3 Q
4 ;
5PS ; post-install entry point
6 ; create KIDS checkpoints with call backs
7 N FBX,Y
8 F FBX="LOAD" D
9 .S Y=$$NEWCP^XPDUTL(FBX,FBX_"^FBXIP33")
10 .I 'Y D BMES^XPDUTL("ERROR Creating "_FBX_" Checkpoint.")
11 N FBX,Y
12 F FBX="LOADA" D
13 .S Y=$$NEWCP^XPDUTL(FBX,FBX_"^FBXIP33A")
14 .I 'Y D BMES^XPDUTL("ERROR Creating "_FBX_" Checkpoint.")
15 N FBX,Y
16 F FBX="MRGDOL" D
17 .S Y=$$NEWCP^XPDUTL(FBX,FBX_"^FBXIP33B")
18 .I 'Y D BMES^XPDUTL("ERROR Creating "_FBX_" Checkpoint.")
19 Q
20 ;
21 ;
22LOAD ; Load data into 162.96 using included DATA as source
23 N FBI,FBY,X,ZIP
24 D BMES^XPDUTL("--Updating file 162.96")
25 F FBI=1:1 S FBY=$P($T(DATA+FBI),";;",2) Q:FBY="END" D
26 . S ZIP=$P(FBY,U)
27 . S Y=$O(^FB(162.96,"B",ZIP,0))
28 . I 'Y D Q:Y'>0
29 . . K DA,DIC
30 . . S DIC="^FB(162.96,",DLAYGO=162.96,DIC(0)="L",X=ZIP
31 . . K DD,DO D FILE^DICN I Y'>0 D BMES^XPDUTL("ERROR ADDING NEW ZIP "_ZIP)
32 . . K DIC,DLAYGO
33 . ;
34 . K DA,DIC
35 . S DA(1)=+Y
36 . S Y=$O(^FB(162.96,DA(1),"CY","B",2001,0))
37 . I 'Y D Q:Y'>0
38 . . S DIC="^FB(162.96,"_DA(1)_",""CY"",",DIC(0)="L",DIC("P")="162.961A"
39 . . S X=2001
40 . . K DD,DO D FILE^DICN I Y'>0 D BMES^XPDUTL("ERROR ADDING 2001 for "_ZIP)
41 . . K DIC,DLAYGO
42 . S DA=+Y
43 . ;
44 . S DIE="^FB(162.96,"_DA(1)_",""CY"","
45 . S DR=".02///"_$P(FBY,U,2)_";.03///"_$P(FBY,U,3)_";.04///"_$P(FBY,U,4)
46 . D ^DIE K DIE,DR,DA
47 ;
48 D BMES^XPDUTL("---Update of file 162.96 complete")
49 Q
50 ;
51DATA ;This is the ZIP and GPCI data ZIP^GPCI1^GCPI2^GPCI3
52 ;;12062^1.01^1.079^1.3
53 ;;15295^0.989^0.93^0.705
54 ;;18202^0.989^0.93^0.705
55 ;;19415^1.023^1.09^1.31
56 ;;19505^1.023^1.09^1.31
57 ;;22107^1.05^1.164^0.97
58 ;;22108^1.05^1.164^0.97
59 ;;23114^0.985^0.939^0.529
60 ;;27205^0.97^0.927^0.546
61 ;;27332^0.97^0.927^0.546
62 ;;27517^0.97^0.927^0.546
63 ;;27537^0.97^0.927^0.546
64 ;;28271^0.97^0.927^0.546
65 ;;30156^1.006^1.046^0.943
66 ;;30160^1.006^1.046^0.943
67 ;;31059^0.97^0.896^0.943
68 ;;32128^0.975^0.947^1.296
69 ;;32162^0.975^0.947^1.296
70 ;;33508^0.975^0.947^1.296
71 ;;33558^0.975^0.947^1.296
72 ;;33559^0.975^0.947^1.296
73 ;;33896^0.975^0.947^1.296
74 ;;33897^0.975^0.947^1.296
75 ;;33898^0.975^0.947^1.296
76 ;;34211^0.975^0.947^1.296
77 ;;34212^0.975^0.947^1.296
78 ;;34269^0.975^0.947^1.296
79 ;;34288^0.975^0.947^1.296
80 ;;34289^0.975^0.947^1.296
81 ;;38016^0.975^0.9^0.572
82 ;;38571^0.975^0.9^0.572
83 ;;38572^0.975^0.9^0.572
84 ;;39540^0.957^0.841^0.75
85 ;;45280^0.989^0.941^1.016
86 ;;48085^1.042^1.03^2.903
87 ;;48088^1.042^1.03^2.903
88 ;;60103^1.006^1.069^1.505
89 ;;60133^1.027^1.09^1.745
90 ;;60527^1.006^1.069^1.505
91 ;;60696^1.027^1.09^1.745
92 ;;61616^0.964^0.888^1.074
93 ;;63041^0.946^0.826^0.979
94 ;;63190^0.994^0.94^1.022
95 ;;75071^0.966^0.884^0.914
96 ;;75098^0.966^0.884^0.914
97 ;;75109^0.966^0.884^0.914
98 ;;75252^0.966^0.884^0.914
99 ;;75254^1.01^1.04^0.93
100 ;;75287^0.966^0.884^0.914
101 ;;75645^0.966^0.884^0.914
102 ;;75752^0.966^0.884^0.914
103 ;;75803^0.966^0.884^0.914
104 ;;75965^0.966^0.884^0.914
105 ;;77053^0.966^0.884^0.914
106 ;;77615^0.966^0.884^0.914
107 ;;78641^0.986^0.998^0.854
108 ;;78737^0.966^0.884^0.914
109 ;;80285^0.986^0.981^0.817
110 ;;84194^0.977^0.925^0.619
111 ;;84195^0.977^0.925^0.619
112 ;;85042^0.994^0.975^1.15
113 ;;85218^0.994^0.975^1.15
114 ;;85297^0.994^0.975^1.15
115 ;;85383^0.994^0.975^1.15
116 ;;87507^0.973^0.905^0.809
117 ;;87508^0.973^0.905^0.809
118 ;;89074^1.005^1.035^1.103
119 ;;89084^1.005^1.035^1.103
120 ;;89086^1.005^1.035^1.103
121 ;;91387^1.055^1.169^0.901
122 ;;91390^1.055^1.169^0.901
123 ;;92637^1.036^1.187^0.901
124 ;;92809^1.036^1.187^0.901
125 ;;94303^1.062^1.321^0.653
126 ;;95033^1.007^1.039^0.723
127 ;;98082^0.982^0.974^0.765
128 ;;00727^0.882^0.72^0.317
129 ;;03258^0.987^1.032^0.919
130 ;;07086^1.057^1.192^0.827
131 ;;08205^1.028^1.102^0.827
132 ;;END
133 ;
134 ;FBXIP33
Note: See TracBrowser for help on using the repository browser.