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

ABMP2613.m

Go to the documentation of this file.
  1. ABMP2613 ; IHS/SD/SDR - 3P BILLING 2.6 Patch 13 POST INIT ;
  1. ;;2.6;IHS Third Party Billing;**13**;NOV 12, 2009;Build 213
  1. ;
  1. Q
  1. POST ;
  1. K DIC,X,DINUM,DR,DLAYGO
  1. S DIC="^ABMQUES("
  1. S DIC(0)="LM"
  1. S DLAYGO=9002274
  1. S DINUM=43,X="INITIAL TREATMENT DATE"
  1. S DIC("DR")=".02////W43;.03////ABMDE301;.04////43;1////ABMDE3C"
  1. K DD,DO
  1. D ^DIC
  1. S DINUM=44,X="ORD/REF/SUP PHYS FL17"
  1. S DIC("DR")=".02////W44;.03////ABMDE301;.04////44;1////ABMDE3C"
  1. K DD,DO
  1. D ^DIC
  1. ;
  1. I $P($G(^ABMDEXP(32,0)),U,8)'[",43" D
  1. .K DIC,DIE,DIR,DR,X,Y,DA
  1. .S DA=32
  1. .S DIE="^ABMDEXP("
  1. .S DR=".08////"_$P($G(^ABMDEXP(32,0)),U,8)_",43"
  1. .D ^DIE
  1. D EXP35 ;add new export mode 35
  1. ;
  1. F DA=32 D
  1. .Q:$P($G(^ABMDEXP(DA,0)),U,8)[",24"
  1. .K DIC,DIE,DR,X,Y
  1. .S DIE="^ABMDEXP("
  1. .S DR=".08////"_$P($G(^ABMDEXP(DA,0)),U,8)_",24"
  1. .D ^DIE
  1. ;
  1. D REMOVE34 ;remove questions 34 and 39 from 5010 formats
  1. ;
  1. Q
  1. EXP35 ;
  1. K DIC,DR,DINUM,DLAYGO,DIE
  1. S DIC="^ABMDEXP("
  1. S DIC(0)="LM"
  1. S DLAYGO=9002274
  1. S X="CMS-1500 (02/12)",DINUM=35
  1. K DD,DO
  1. D ^DIC
  1. Q:Y<0
  1. S DA=+Y
  1. S DIE="^ABMDEXP("
  1. S DR=".04////ABMDF35;.05////ABMDF35X;.06///0;.07///OMB No. 0938-1197;.08///1,2,3,4B,5,7,9,10,15,20,22,26,28,34,35,36,38,19,41,43,44;.11////ABMDES3;.15///H"
  1. D ^DIE
  1. Q
  1. ;
  1. REMOVE34 ;
  1. F DA=31,32,33 D
  1. .S ABMJ=$P($G(^ABMDEXP(DA,0)),U,8)
  1. .S ABMJ=$P(ABMJ,"34,")_$P(ABMJ,"34,",2)
  1. .S ABMJ=$P(ABMJ,"39,")_$P(ABMJ,"39,",2)
  1. .S DIE="^ABMDEXP("
  1. .S DR=".08////"_ABMJ
  1. .D ^DIE
  1. Q