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

IBINI0AL.m

Go to the documentation of this file.
  1. IBINI0AL ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(399) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
  1. Q Q
  1. ;;^DD(399,201,1,1,"DELETE VALUE")
  1. ;;=NO EFFECT
  1. ;;^DD(399,201,1,1,"FIELD")
  1. ;;=#210
  1. ;;^DD(399,201,3)
  1. ;;=Enter the total amount of the revenue code charges for this bill in dollars.
  1. ;;^DD(399,201,9)
  1. ;;=^
  1. ;;^DD(399,201,21,0)
  1. ;;=^^1^1^2880901^
  1. ;;^DD(399,201,21,1,0)
  1. ;;=This is the total amount of the revenue code charges for this bill.
  1. ;;^DD(399,201,"DT")
  1. ;;=2880831
  1. ;;^DD(399,202,0)
  1. ;;=OFFSET AMOUNT^NJ8,2^^U1;2^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>99999)!(X<0) X
  1. ;;^DD(399,202,1,0)
  1. ;;=^.1
  1. ;;^DD(399,202,1,1,0)
  1. ;;=^^TRIGGER^399^203
  1. ;;^DD(399,202,1,1,1)
  1. ;;=Q
  1. ;;^DD(399,202,1,1,2)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S Y(1)=$S($D(^DGCR(399,D0,"U1")):^("U1"),1:"") S X=$P(Y(1),U,2)="" I X S X=DIV S Y(1)=$S($D(^DGCR(399,D0,"U1")):^("U1"),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(399,202,1,1,2.4)
  1. ;;^DD(399,202,1,1,2.4)
  1. ;;=S DIH=$S($D(^DGCR(399,DIV(0),"U1")):^("U1"),1:""),DIV=X S $P(^("U1"),U,3)=DIV,DIH=399,DIG=203 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(399,202,1,1,"CREATE VALUE")
  1. ;;=NO EFFECT
  1. ;;^DD(399,202,1,1,"DELETE CONDITION")
  1. ;;=OFFSET AMOUNT=""
  1. ;;^DD(399,202,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(399,202,1,1,"FIELD")
  1. ;;=#203
  1. ;;^DD(399,202,3)
  1. ;;=Enter the dollar amount between 0 and 99999.99 that is to be subtracted from the total charges on this bill. Offset includes, but is not limited to, co-payments and deductibles.
  1. ;;^DD(399,202,21,0)
  1. ;;=^^3^3^2880901^
  1. ;;^DD(399,202,21,1,0)
  1. ;;=This is the dollar amount which is to be subtracted from the total charges
  1. ;;^DD(399,202,21,2,0)
  1. ;;=on this bill. Offset includes, but is not limited to, co-payments, credits,
  1. ;;^DD(399,202,21,3,0)
  1. ;;=and deductibles.
  1. ;;^DD(399,202,"DT")
  1. ;;=2880525
  1. ;;^DD(399,203,0)
  1. ;;=OFFSET DESCRIPTION^FX^^U1;3^K:$L(X)>24!($L(X)<3) X
  1. ;;^DD(399,203,3)
  1. ;;=Enter reason for Offset Amount. Offset Description may include, but is not limited to, deductibles, copayments, credits, etc.
  1. ;;^DD(399,203,5,1,0)
  1. ;;=399^202^1
  1. ;;^DD(399,203,21,0)
  1. ;;=^^1^1^2940317^^^^
  1. ;;^DD(399,203,21,1,0)
  1. ;;=This defines the reason for offset amount. Maximum length is 24 characters.
  1. ;;^DD(399,203,"DT")
  1. ;;=2940317
  1. ;;^DD(399,204,0)
  1. ;;=FORM LOCATOR 2^F^^U1;4^K:$L(X)>30!($L(X)<2) X
  1. ;;^DD(399,204,3)
  1. ;;=Enter the information (2-30 characters) which is to appear in form locator 2 on the UB-82 form.
  1. ;;^DD(399,204,21,0)
  1. ;;=^^2^2^2940120^^
  1. ;;^DD(399,204,21,1,0)
  1. ;;=This allows the user to enter information which will appear in form locator
  1. ;;^DD(399,204,21,2,0)
  1. ;;=2 on the UB-82 form.
  1. ;;^DD(399,204,"DT")
  1. ;;=2880523
  1. ;;^DD(399,205,0)
  1. ;;=FORM LOCATOR 9^F^^U1;5^K:$L(X)>7!($L(X)<2) X
  1. ;;^DD(399,205,3)
  1. ;;=Enter the information (2-7 characters) which will appear in form locator 9 on the UB-82 form.
  1. ;;^DD(399,205,21,0)
  1. ;;=^^2^2^2940214^^^^
  1. ;;^DD(399,205,21,1,0)
  1. ;;=This allows the user to enter information which will appear in form locator
  1. ;;^DD(399,205,21,2,0)
  1. ;;=9 on the UB-82 form.
  1. ;;^DD(399,205,23,0)
  1. ;;=^^2^2^2940214^^^
  1. ;;^DD(399,205,23,1,0)
  1. ;;=Was temporarily used to hold Admitting DX for the UB-92 (FL 76), but was
  1. ;;^DD(399,205,23,2,0)
  1. ;;=replaced by FL 215.
  1. ;;^DD(399,205,"DT")
  1. ;;=2880523
  1. ;;^DD(399,206,0)
  1. ;;=FORM LOCATOR 27^F^^U1;6^K:$L(X)>8!($L(X)<2) X
  1. ;;^DD(399,206,3)
  1. ;;=Enter the information (2-8 characters) which is to appear in form locator 27 on the UB-82 form.
  1. ;;^DD(399,206,21,0)
  1. ;;=^^2^2^2880901^
  1. ;;^DD(399,206,21,1,0)
  1. ;;=This allows the user to enter information will will appear in form locator
  1. ;;^DD(399,206,21,2,0)
  1. ;;=27 on the UB-82 form.
  1. ;;^DD(399,206,"DT")
  1. ;;=2880523