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

FBXIP33B.m

Go to the documentation of this file.
  1. FBXIP33B ;WCIOFO/MJE-IMPORT DOL CPT DATA ;9/18/2001
  1. ;;3.5;FEE BASIS;**33**;JAN 30, 1995
  1. Q
  1. ;
  1. ; load data into 162.97
  1. MRGDOL ; MERGE HFCA RVU DATA
  1. N CPT,DOL,FBI,HCDATA,TBLN,X
  1. D BMES^XPDUTL("--Updating file 162.97")
  1. F FBI=1:1 S HCDATA=$P($T(DATA1+FBI),";;",2) Q:HCDATA="END" D
  1. .S CPT=$P(HCDATA,U)
  1. .S Y=$O(^FB(162.97,"B",CPT,0))
  1. .I 'Y D Q:Y'>0
  1. ..K DA,DIC
  1. ..S DIC="^FB(162.97,",DLAYGO=162.97,DIC(0)="L",X=CPT
  1. ..K DD,DO D FILE^DICN I Y'>0 D BMES^XPDUTL("ERROR ADDING NEW CPT "_CPT)
  1. ..K DIC,DLAYGO
  1. .;
  1. .K DA,DIC
  1. .S DA(1)=+Y
  1. .S Y=$O(^FB(162.97,DA(1),"CY","B",2001,0))
  1. .I 'Y D Q:Y'>0
  1. ..S DIC="^FB(162.97,"_DA(1)_",""CY"",",DIC(0)="L",DIC("P")="162.971A"
  1. ..S X=2001
  1. ..K DD,DO D FILE^DICN I Y'>0 D BMES^XPDUTL("ERROR ADDING 2001 RVU'S for "_CPT)
  1. ..K DIC,DLAYGO
  1. .S DA=+Y
  1. .S DIE="^FB(162.97,"_DA(1)_",""CY"","
  1. .S DR=""
  1. .S:$P(HCDATA,U,2)'="" DR=DR_".03///"_$P(HCDATA,U,2)
  1. .S:$P(HCDATA,U,3)'="" DR=DR_";"_".04///"_$P(HCDATA,U,3)
  1. .S:$P(HCDATA,U,4)'="" DR=DR_";"_".05///"_$P(HCDATA,U,4)
  1. .S:$P(HCDATA,U,5)'="" DR=DR_";"_".06///"_$P(HCDATA,U,5)
  1. .I $E(DR)=";" S DR=$E(DR,2,999)
  1. .D ^DIE K DIE,DA,DR
  1. ;
  1. ;MERGE DOL DATA INTO FILED HFCA DATA
  1. ;
  1. F FBI=1:1 S DOL=$P($T(DATA+FBI),";;",2) Q:DOL="END" D
  1. .S TBLN="2001"_"-"_$P(DOL,U,2)
  1. .Q:$P(DOL,U,2)='""&('$D(^FB(162.98,"B",TBLN)))
  1. .S CPT=$P(DOL,U,3)
  1. .I '$O(^FB(162.97,"B",CPT,0)) D BMES^XPDUTL("CPT NOT IN FILE SKIPPING CPT "_CPT) Q
  1. .S DA(1)=+($O(^FB(162.97,"B",CPT,0)))
  1. .I '$O(^FB(162.97,DA(1),"CY","B",2001,0)) D BMES^XPDUTL("CY NOT IN FILE SKIPPING CPT "_CPT) Q
  1. .S DA=+($O(^FB(162.97,DA(1),"CY","B",2001,0)))
  1. .S DIE="^FB(162.97,"_DA(1)_",""CY"","
  1. .S:$P(DOL,U,2)'="" DR=".02///"_$P(DOL,U,2)
  1. .S:$P(DOL,U,2)="" DR=".02///@"
  1. .D ^DIE K DIE,DA,DR
  1. ;
  1. ;
  1. ;
  1. D BMES^XPDUTL("---Update of file 162.97 complete")
  1. Q
  1. ;
  1. DATA ;This is the DOL MOD LVL data tablenumber^mod^%
  1. ;;60^61^78320
  1. ;;60^61^78803
  1. ;;60^61^78320-26
  1. ;;60^61^78320-TC
  1. ;;60^61^78803-26
  1. ;;60^61^78803-TC
  1. ;;14^^G0002
  1. ;;13^^G0004
  1. ;;12^^G0005
  1. ;;12^^G0006
  1. ;;10^^G0007
  1. ;;10^^G0015
  1. ;;13^^G0016
  1. ;;71^^G0025
  1. ;;50^^G0030-26
  1. ;;50^^G0031-26
  1. ;;50^^G0032-26
  1. ;;50^^G0033-26
  1. ;;50^^G0034-26
  1. ;;50^^G0035-26
  1. ;;50^^G0036-26
  1. ;;50^^G0037-26
  1. ;;50^^G0038-26
  1. ;;50^^G0039-26
  1. ;;50^^G0040-26
  1. ;;50^^G0041-26
  1. ;;50^^G0042-26
  1. ;;50^^G0043-26
  1. ;;50^^G0044-26
  1. ;;50^^G0045-26
  1. ;;50^^G0046-26
  1. ;;50^^G0047-26
  1. ;;52^^G0050
  1. ;;14^^G0101
  1. ;;31^^G0104
  1. ;;31^^G0105
  1. ;;20^^G0106
  1. ;;30^^G0106-26
  1. ;;30^^G0106-TC
  1. ;;14^^G0108
  1. ;;14^^G0109
  1. ;;14^^G0110
  1. ;;14^^G0111
  1. ;;14^^G0112
  1. ;;14^^G0113
  1. ;;14^^G0114
  1. ;;14^^G0115
  1. ;;14^^G0116
  1. ;;20^^G0120
  1. ;;20^^G0120-26
  1. ;;20^^G0120-TC
  1. ;;71^^G0124
  1. ;;52^^G0125
  1. ;;52^^G0125-26
  1. ;;52^^G0125-TC
  1. ;;52^^G0126
  1. ;;52^^G0126-26
  1. ;;52^^G0126-TC
  1. ;;31^^G0127
  1. ;;13^^G0128
  1. ;;52^^G0130
  1. ;;52^^G0130-26
  1. ;;52^^G0130-TC
  1. ;;52^^G0131
  1. ;;52^^G0131-26
  1. ;;52^^G0131-TC
  1. ;;52^^G0132
  1. ;;52^^G0132-26
  1. ;;52^^G0132-TC
  1. ;;71^^G0141
  1. ;;13^^M0064
  1. ;;71^^P3001
  1. ;;15^^Q0035
  1. ;;15^^Q0035-26
  1. ;;15^^Q0035-TC
  1. ;;20^^Q0091
  1. ;;50^^Q0092
  1. ;;14^^G0102
  1. ;;55^^G0163
  1. ;;55^^G0163-26
  1. ;;55^^G0163-TC
  1. ;;55^^G0164
  1. ;;55^^G0164-26
  1. ;;55^^G0164-TC
  1. ;;55^^G0165
  1. ;;55^^G0165-26
  1. ;;55^^G0165-TC
  1. ;;13^^G0166
  1. ;;31^^G0168
  1. ;;^12^94760
  1. ;;^12^94761
  1. ;;^31^15342
  1. ;;^21^15343
  1. ;;^31^16036
  1. ;;^33^19102
  1. ;;^33^19103
  1. ;;^50^19295
  1. ;;^21^20979
  1. ;;^38^21199
  1. ;;^10^22520
  1. ;;^10^22521
  1. ;;^10^22522
  1. ;;^30^30465
  1. ;;^30^33141
  1. ;;^30^34800
  1. ;;^35^34802
  1. ;;^30^34804
  1. ;;^35^34808
  1. ;;^35^34812
  1. ;;^35^34813
  1. ;;^35^34820
  1. ;;^35^34825
  1. ;;^35^34826
  1. ;;^35^34830
  1. ;;^35^34831
  1. ;;^35^34832
  1. ;;^30^35600
  1. ;;^31^36870
  1. ;;^46^43231
  1. ;;^46^43232
  1. ;;^46^43240
  1. ;;^46^43242
  1. ;;^46^43256
  1. ;;^46^44370
  1. ;;^46^44379
  1. ;;^46^44383
  1. ;;^46^44397
  1. ;;^46^45327
  1. ;;^46^45341
  1. ;;^46^45342
  1. ;;^46^45345
  1. ;;^46^45387
  1. ;;^30^50545
  1. ;;^30^50947
  1. ;;^30^50948
  1. ;;^31^52341
  1. ;;^31^52342
  1. ;;^31^52343
  1. ;;^31^52344
  1. ;;^31^52345
  1. ;;^31^52346
  1. ;;^31^52351
  1. ;;^31^52352
  1. ;;^31^52353
  1. ;;^31^52354
  1. ;;^31^52355
  1. ;;^31^52400
  1. ;;^36^54512
  1. ;;^36^54522
  1. ;;^38^55873
  1. ;;^30^57022
  1. ;;^30^57023
  1. ;;^38^57287
  1. ;;^32^58353
  1. ;;^38^61697
  1. ;;^38^61698
  1. ;;^38^62252
  1. ;;^33^64614
  1. ;;^34^66982
  1. ;;^33^67221
  1. ;;^38^69714
  1. ;;^38^69715
  1. ;;^38^69717
  1. ;;^38^69718
  1. ;;^50^70496
  1. ;;^50^70498
  1. ;;^50^70542
  1. ;;^50^70543
  1. ;;^50^70544
  1. ;;^50^70545
  1. ;;^50^70546
  1. ;;^50^70547
  1. ;;^50^70548
  1. ;;^50^70549
  1. ;;^50^71275
  1. ;;^50^71551
  1. ;;^50^71552
  1. ;;^50^72191
  1. ;;^50^72195
  1. ;;^50^72197
  1. ;;^50^73206
  1. ;;^50^73218
  1. ;;^50^73219
  1. ;;^50^73222
  1. ;;^50^73223
  1. ;;^50^73706
  1. ;;^50^73718
  1. ;;^50^73719
  1. ;;^50^73722
  1. ;;^50^73723
  1. ;;^50^74175
  1. ;;^50^74182
  1. ;;^50^74183
  1. ;;^50^75635
  1. ;;^50^75952
  1. ;;^50^75953
  1. ;;^50^76012
  1. ;;^50^76013
  1. ;;^50^76393
  1. ;;^50^76819
  1. ;;^15^92586
  1. ;;^15^93660
  1. ;;^15^93662
  1. ;;^05^97532
  1. ;;^05^97533
  1. ;;^05^97601
  1. ;;^38^62252-26
  1. ;;^38^62252-TC
  1. ;;^50^70496-26
  1. ;;^50^70496-TC
  1. ;;^50^70498-26
  1. ;;^50^70498-TC
  1. ;;^50^70542-26
  1. ;;^50^70542-TC
  1. ;;^50^70543-26
  1. ;;^50^70543-TC
  1. ;;^50^70544-26
  1. ;;^50^70544-TC
  1. ;;^50^70545-26
  1. ;;^50^70545-TC
  1. ;;^50^70546-26
  1. ;;^50^70546-TC
  1. ;;^50^70547-26
  1. ;;^50^70547-TC
  1. ;;^50^70548-26
  1. ;;^50^70548-TC
  1. ;;^50^70549-26
  1. ;;^50^70549-TC
  1. ;;^50^71275-26
  1. ;;^50^71275-TC
  1. ;;^50^71551-26
  1. ;;^50^71551-TC
  1. ;;^50^71552-26
  1. ;;^50^71552-TC
  1. ;;^50^72191-26
  1. ;;^50^72191-TC
  1. ;;^50^72195-26
  1. ;;^50^72195-TC
  1. ;;^50^72197-26
  1. ;;^50^72197-TC
  1. ;;^50^73206-26
  1. ;;^50^73206-TC
  1. ;;^50^73218-26
  1. ;;^50^73218-TC
  1. ;;^50^73219-26
  1. ;;^50^73219-TC
  1. ;;^50^73222-26
  1. ;;^50^73222-TC
  1. ;;^50^73223-26
  1. ;;^50^73223-TC
  1. ;;^50^73706-26
  1. ;;^50^73706-TC
  1. ;;^50^73718-26
  1. ;;^50^73718-TC
  1. ;;^50^73719-26
  1. ;;^50^73719-TC
  1. ;;^50^73722-26
  1. ;;^50^73722-TC
  1. ;;^50^73723-26
  1. ;;^50^73723-TC
  1. ;;^50^74175-26
  1. ;;^50^74175-TC
  1. ;;^50^74182-26
  1. ;;^50^74182-TC
  1. ;;^50^74183-26
  1. ;;^50^74183-TC
  1. ;;^50^75635-26
  1. ;;^50^75635-TC
  1. ;;^50^76393-26
  1. ;;^50^76393-TC
  1. ;;^50^76819-26
  1. ;;^50^76819-TC
  1. ;;^15^93660-TC
  1. ;;^15^93662-26
  1. ;;^15^93662-TC
  1. ;;END
  1. ;
  1. DATA1 ;This is the HCFA data CPT^work rvu^non-fac rvu^fac rvu^mp rvu
  1. ;;59150^11.2^5.79^5.79^
  1. ;;59151^11.1^6.53^6.53^
  1. ;;70540^1.1^11.72^11.72^
  1. ;;70542^1.33^13.81^13.81^
  1. ;;70543^1.76^25.34^25.34^
  1. ;;71550^1.22^11.77^11.77^
  1. ;;71551^1.44^13.85^13.85^
  1. ;;71552^1.89^25.38^25.38^
  1. ;;72195^1.22^11.56^11.56^
  1. ;;72196^1.44^13.48^13.48^
  1. ;;72197^1.89^25.38^25.38^
  1. ;;73218^1.1^11.52^11.52^
  1. ;;73219^1.33^13.82^13.82^
  1. ;;73220^1.76^22.08^22.08^
  1. ;;73221^1.1^11.66^11.66^
  1. ;;73222^1.33^13.81^13.81^
  1. ;;73223^1.76^25.34^25.34^
  1. ;;73718^1.1^11.52^11.52^
  1. ;;73719^1.33^13.81^13.81^
  1. ;;73720^1.76^22.08^22.08^
  1. ;;73721^1.1^11.66^11.66^
  1. ;;73722^1.33^13.82^13.82^
  1. ;;73723^1.76^25.34^25.34^
  1. ;;74181^1.22^11.77^11.77^
  1. ;;74182^1.44^13.85^13.85^
  1. ;;74183^1.89^25.38^25.38^
  1. ;;76012^^^^.23
  1. ;;99234^2.56^.88^.88^
  1. ;;99235^3.42^1.19^1.19^
  1. ;;99236^4.27^1.41^1.41^
  1. ;;70540-26^1.1^.47^.47^
  1. ;;70542-26^1.33^.47^.47^
  1. ;;70543-26^1.76^.63^.63^
  1. ;;71550-26^1.22^.52^.52^
  1. ;;71551-26^1.44^.51^.51^
  1. ;;71552-26^1.89^.67^.67^
  1. ;;72195-26^1.22^.43^.43^
  1. ;;72196-26^1.44^.58^.58^
  1. ;;72197-26^1.89^.67^.67^
  1. ;;73218-26^1.1^.39^.39^
  1. ;;73219-26^1.33^.48^.48^
  1. ;;73220-26^1.76^.65^.65^
  1. ;;73221-26^1.1^.41^.41^
  1. ;;73222-26^1.33^.47^.47^
  1. ;;73223-26^1.76^.63^.63^
  1. ;;73718-26^1.1^.39^.39^
  1. ;;73719-26^1.33^.47^.47^
  1. ;;73720-26^1.76^.65^.65^
  1. ;;73721-26^1.1^.41^.41^
  1. ;;73722-26^1.33^.48^.48^
  1. ;;73723-26^1.76^.63^.63^
  1. ;;74181-26^1.22^.52^.52^
  1. ;;74182-26^1.44^.51^.51^
  1. ;;74183-26^1.89^.67^.67^
  1. ;;G0195^1.50^1.64^0.86^0.07
  1. ;;G0196^1.50^1.64^0.86^0.07
  1. ;;G0206^0.58^1.25^1.25^0.08
  1. ;;G0206-26^0.58^0.19^0.19^0.03
  1. ;;G0206-TC^0.00^1.06^1.06^0.05
  1. ;;G0207^0.58^1.25^1.25^0.08
  1. ;;G0207-26^0.58^0.19^0.19^0.03
  1. ;;G0207-TC^0.00^1.06^1.06^0.05
  1. ;;END
  1. ;
  1. ;FBXIP33B