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

FBXIP110.m

Go to the documentation of this file.
  1. FBXIP110 ;ALB/RC -FB*3.5*110 POST INSTALL ROUTINE ; 3/4/09 7:21pm
  1. ;;3.5;FEE BASIS;**110**;;Build 8
  1. Q
  1. EN ;post-install entry point
  1. ;create KIDS checkpoints with call backs
  1. N FBX,Y
  1. S FBX="POST" D
  1. .S Y=$$NEWCP^XPDUTL(FBX,FBX_"^FBXIP110")
  1. .I 'Y D BMES^XPDUTL("ERROR creating "_FBX_" checkpoint.")
  1. Q
  1. POST ;begin post-install
  1. D RVU
  1. D UPD
  1. Q
  1. RVU ;update RVUs for 67113
  1. N CPT,DA,DIE,DR
  1. S CPT="67113",DA="",DA(1)=""
  1. S DA(1)=$$FIND1^DIC(162.97,,"MX","67113")
  1. S DIE="^FB(162.97,"_DA(1)_",""CY"","
  1. S DA=$$FIND1^DIC(162.971,$$IENS^DILF(.DA),"MX","2008")
  1. S DR=".03///25.00;.04///13.75;.05///13.75"
  1. D ^DIE
  1. K CPT,DA,DIE,DR
  1. Q
  1. UPD ;update entries for POV 56,67,78,69
  1. D BMES^XPDUTL("Updating Place of Visit entries in the FEE BASIS PURPOSE OF VISIT file (#161.82)")
  1. N FBCNT,X,UPDENTRY,UPDNAME,UPDCODE,UPDPROG,POVCHECK
  1. F FBCNT=1:1 S UPDENTRY=$P($T(UPDTABLE+FBCNT),";;",2) Q:UPDENTRY="EXIT" D
  1. .S UPDCODE=$P(UPDENTRY,"^",1),UPDNAME=$P(UPDENTRY,"^",2),UPDPROG=$P(UPDENTRY,"^",3)
  1. .S POVCHECK=$O(^FBAA(161.82,"C",UPDCODE,"")) D
  1. ..I 'POVCHECK D BMES^XPDUTL("POV "_UPDCODE_" not found, please verify this entry in the FEE BASIS PURPOSE of VISIT file (#161.82).") Q
  1. ..N DIE,DA,DR
  1. ..S DA=$$FIND1^DIC(161.82,,"MX",UPDCODE)
  1. ..S DIE="^FBAA(161.82,"
  1. ..S DR=".01///^S X=UPDNAME;2///^S X=UPDPROG"
  1. ..D ^DIE K DIE,DA,DR
  1. Q
  1. UPDTABLE ;updates to the POVS
  1. ;;56^DIALYSIS^OUTPATIENT
  1. ;;67^OUTPATIENT MATERNITY CARE SERVICES^OUTPATIENT
  1. ;;68^BOWEL AND BLADDER CARE: AGENCY^OUTPATIENT
  1. ;;69^BOWEL AND BLADDER CARE: FAMILY CAREGIVER^OUTPATIENT
  1. ;;EXIT
  1. ;FBXIP110