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

IBCIASN.m

Go to the documentation of this file.
  1. IBCIASN ;DSI/JSR - STANDALONE OPTION TO RE-ASSIGN CLAIMS ;18-MAY-2001
  1. ;;2.0;INTEGRATED BILLING;**161**;21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;; Program Description
  1. ; This routine is a standalone option routine which allows any user to
  1. ; re-assign a bill without going through the core IB Enter/Edit Bill
  1. ; options. Typically this optional way to assign a bill can be
  1. ; placed on any menu. The decision for this will be determined
  1. ; at the sites.
  1. ;
  1. EN ;
  1. S IBQUIT=0
  1. F D ASK Q:IBQUIT=1
  1. G Q1
  1. ASK ;
  1. N %,D,DIC,DISYS,IBCIBII,IBCIBIL,IBCICNM,IBCICOD,IBIFN,TYPE,X
  1. S IBQUIT=0,DIC="^IBA(351.9,",DIC(0)="AEMQZ",DIC("A")="Select ClaimsManager Bill: " W !!
  1. ;
  1. ; The security Key will determine the type of filtering
  1. ; Without IBCI CLAIMSMANAGER ASSIGN users will only be able to:
  1. ; 1) select from claims assigned to themselves
  1. ; 2) only select claims with IB Status of 1
  1. ; With IBCI CLAIMSMANAGER ASSIGN users will only be able to:
  1. ; 1) select from a list of all claims in 351.9 that have an IB
  1. ; status of 1
  1. ;
  1. I '$D(^XUSEC("IBCI CLAIMSMANAGER ASSIGN",DUZ)) D
  1. . S DIC("S")="I $D(^IBA(351.9,""ASN"",DUZ,+Y)),$F("".1."","".""_$P($G(^DGCR(399,+Y,0)),U,13)_""."")" ;DSI/DJW 3/21/02
  1. E D
  1. . S DIC("S")="I $F("".1."","".""_$P($G(^DGCR(399,+Y,0)),U,13)_""."")" ;DSI/DJW 3/21/02
  1. D ^DIC I Y<1 S IBQUIT=1 Q
  1. S IBIFN=+Y
  1. L +^DGCR(399,IBIFN):0 E D Q
  1. . W !!?4,"*** RECORD IS LOCKED ***"
  1. . W !?4,"Another user is currently editing this bill."
  1. . W !?4,"Please try again later."
  1. . Q
  1. D INFO
  1. L -^DGCR(399,IBIFN)
  1. Q
  1. INFO ; Display the data elements on the 0 node of file 351.9 and displays
  1. ; biller and coder.
  1. ; For the purpose of defining a comment path TYPE=5 indicates that a
  1. ; stand alone option is calling ^IBCISC.
  1. ; This options allows for the re-assignement of a claim from a coder
  1. ; biller.
  1. S TYPE=5 ; This determines which path of comments/assign to person
  1. D STATS^IBCISC
  1. Q:$D(DIRUT) ; Exit out of process
  1. D COMMENT^IBCIUT7(IBIFN,TYPE)
  1. Q
  1. Q1 ;
  1. K %,IBQUIT,IBIFN,Y
  1. Q