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

DG53551P.m

Go to the documentation of this file.
  1. DG53551P ;ALB/PHH - 2004 MEANS TEST THRESHOLDS ;12/10/03
  1. ;;5.3;Registration;**551,1015**;Aug 13, 1993;Build 21
  1. ;
  1. ; This routine will upload the 2004 means test thresholds onto your
  1. ; system.
  1. ;
  1. EN ; Enter values distributed in VHA DIRECTIVE 2003-069, MEANS TEST AND
  1. ; GEOGRAPHIC-BASED MEANS TEST THRESHOLDS FOR CALENDAR YEAR 2004.
  1. ;
  1. N DA,DIE,DIC,DINUM,DR,I,X,Y,EXST
  1. S EXST=0
  1. D BMES^XPDUTL(">>>Means Test Thresholds for 2004 being installed...")
  1. I $D(^DG(43,1,"MT",3040000)) D
  1. .D BMES^XPDUTL(" ...Entry exists for income year 2003, entry being deleted")
  1. .D MES^XPDUTL(" and replaced with nationally released thresholds.")
  1. .S DIK="^DG(43,1,""MT"",",DA=3040000,DA(1)=1
  1. .D ^DIK,IX1^DIK
  1. .K DA,D0,DIK
  1. K DO
  1. S DIC="^DG(43,1,""MT"","
  1. S DIC(0)="L"
  1. S DA(1)=1
  1. S (DINUM,X)=3040000
  1. D FILE^DICN
  1. S DA=+Y
  1. ;
  1. I +Y'=3040000 D Q
  1. . D BMES^XPDUTL(" ...Problem encountered adding 2004 thresholds. Please try")
  1. . D MES^XPDUTL(" again or contact the CIO Field Office for assistance.")
  1. ;
  1. D MES^XPDUTL("")
  1. S DIE=DIC,DR=""
  1. F I=1:1 S X=$P($T(DATA+I),";;",2) Q:X="QUIT" D ; build dr string
  1. . S DR=DR_+X_"////"_$P(X,"^",2)_";"
  1. . D MES^XPDUTL(" "_$P(X,"^",3)_" set to $"_$FN($P(X,"^",2),","))
  1. D ^DIE
  1. Q
  1. ;
  1. ;
  1. DATA ; lines to stuff in values (field////value)
  1. ;;2^25162^MT COPAY EXEMPT VET INCOME
  1. ;;3^5035^MT COPAY EXEMPT 1ST DEP INCOME
  1. ;;4^1688^MT COPAY EXEMPT INCOME PER DEP
  1. ;;8^80000^THRESHOLD PROPERTY
  1. ;;17^7950^CHILD INCOME EXCLUSION
  1. ;;QUIT
  1. Q