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

FBXIP118.m

Go to the documentation of this file.
  1. FBXIP118 ;ALB/BP-PATCH INSTALL ROUTINE ; 1/7/10 9:03pm
  1. ;;3.5;FEE BASIS;**118**;JAN 30, 1995;Build 14
  1. Q
  1. ;
  1. PRE ;PRE-INSTALL ENTRY POINT
  1. N DIK,DA,FBMLNM,FBMLIEN
  1. S FBMLNM=""
  1. F S FBMLNM=$O(^FB(162.98,"B",FBMLNM)) Q:'FBMLNM D
  1. . I FBMLNM["2010-" D
  1. .. S FBMLIEN=0
  1. .. S FBMLIEN=$O(^FB(162.98,"B",FBMLNM,FBMLIEN))
  1. .. S DIK="^FB(162.98,",DA=FBMLIEN
  1. .. D ^DIK
  1. Q
  1. POST ; post-install entry point
  1. ; create KIDS checkpoints with call backs
  1. N FBX
  1. F FBX="EN" D
  1. . S Y=$$NEWCP^XPDUTL(FBX,FBX_"^FBXIP118")
  1. . I 'Y D BMES^XPDUTL("ERROR Creating "_FBX_" Checkpoint.")
  1. Q
  1. ;
  1. EN ; Begin Post-Install
  1. D CF ;Add Conv factors
  1. Q
  1. CF ; add conversion factors for calendar year 2010 RBRVS fee schedule
  1. ; File 162.99 is being updated in the post install because the Fee
  1. ; Basis software examines this file to determine the latest available
  1. ; fee schedule. By doing this at the end of the patch installation,
  1. ; users can continue to use the payment options during the install.
  1. D BMES^XPDUTL(" Filing conversion factor for RBRVS 2010 AND 2011 fee schedule.")
  1. N DD,DO,DA,DIE,DR,X,Y
  1. S DA(1)=0 F S DA(1)=$O(^FB(162.99,DA(1))) Q:'DA(1) D
  1. . S DA=$O(^FB(162.99,DA(1),"CY","B",2010,0))
  1. . I DA'>0 D Q:DA'>0
  1. . . S DIC="^FB(162.99,"_DA(1)_",""CY"",",DIC(0)="L",DIC("P")="162.991A",DLAYGO=162.991
  1. . . S X=2010
  1. . . K DD,DO D FILE^DICN
  1. . . K DIC,DLAYGO
  1. . . S DA=+Y
  1. . ;
  1. . S DIE="^FB(162.99,"_DA(1)_",""CY"","
  1. . S DR=".02///"_$S(DA(1)=1:21.114,1:36.8729)
  1. . D ^DIE
  1. S DA(1)=0 F S DA(1)=$O(^FB(162.99,DA(1))) Q:'DA(1) D
  1. . S DA=$O(^FB(162.99,DA(1),"CY","B",2011,0))
  1. . I DA'>0 D Q:DA'>0
  1. . . S DIC="^FB(162.99,"_DA(1)_",""CY"",",DIC(0)="L",DIC("P")="162.991A",DLAYGO=162.991
  1. . . S X=2011
  1. . . K DD,DO D FILE^DICN
  1. . . K DIC,DLAYGO
  1. . . S DA=+Y
  1. . ;
  1. . S DIE="^FB(162.99,"_DA(1)_",""CY"","
  1. . S DR=".02///"_$S(DA(1)=1:15.8085,1:33.9764)
  1. . D ^DIE
  1. Q
  1. ;FBXIP118