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

IBINI065.m

Go to the documentation of this file.
  1. IBINI065 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(356.2) 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(356.2,.14,21,5,0)
  1. ;;=they approve it for a specific diagnosis. This is the diagnosis that
  1. ;;^DD(356.2,.14,21,6,0)
  1. ;;=they approved.
  1. ;;^DD(356.2,.14,23,0)
  1. ;;=^^2^2^2930928^
  1. ;;^DD(356.2,.14,23,1,0)
  1. ;;=
  1. ;;^DD(356.2,.14,23,2,0)
  1. ;;=
  1. ;;^DD(356.2,.14,"DT")
  1. ;;=2930928
  1. ;;^DD(356.2,.15,0)
  1. ;;=DATES OF DENIAL FROM^RDX^^0;15^S %DT="EX" D ^%DT S X=Y K:Y<1 X I $D(X) K:'$$DFDT^IBTUTL4(DA,X) X
  1. ;;^DD(356.2,.15,3)
  1. ;;=
  1. ;;^DD(356.2,.15,4)
  1. ;;=D HELP^IBTUTL3(DA)
  1. ;;^DD(356.2,.15,21,0)
  1. ;;=^^4^4^2940127^^
  1. ;;^DD(356.2,.15,21,1,0)
  1. ;;=If the insurance company disapproved or denied pre-approving
  1. ;;^DD(356.2,.15,21,2,0)
  1. ;;=the care for this patient, this is the beginning date of care
  1. ;;^DD(356.2,.15,21,3,0)
  1. ;;=that they denied. For some patients there may be both a
  1. ;;^DD(356.2,.15,21,4,0)
  1. ;;=number of approved and denied days.
  1. ;;^DD(356.2,.15,"DT")
  1. ;;=2940127
  1. ;;^DD(356.2,.16,0)
  1. ;;=DATES OF DENIAL TO^RDX^^0;16^S %DT="EX" D ^%DT S X=Y K:Y<1 X I $D(X) K:'$$DTDT^IBTUTL4(DA,X) X
  1. ;;^DD(356.2,.16,1,0)
  1. ;;=^.1
  1. ;;^DD(356.2,.16,1,1,0)
  1. ;;=^^TRIGGER^356.2^.24
  1. ;;^DD(356.2,.16,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^IBT(356.2,D0,0)):^(0),1:"") S X=$P(Y(1),U,24),X=X S DIU=X K Y S X=DIV S X=$P(^IBT(356.2,DA,0),U,16) X ^DD(356.2,.16,1,1,1.4)
  1. ;;^DD(356.2,.16,1,1,1.4)
  1. ;;=S DIH=$S($D(^IBT(356.2,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,24)=DIV,DIH=356.2,DIG=.24 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(356.2,.16,1,1,2)
  1. ;;=Q
  1. ;;^DD(356.2,.16,1,1,"CREATE VALUE")
  1. ;;=S X=$P(^IBT(356.2,DA,0),U,16)
  1. ;;^DD(356.2,.16,1,1,"DELETE VALUE")
  1. ;;=NO EFFECT
  1. ;;^DD(356.2,.16,1,1,"FIELD")
  1. ;;=#.24
  1. ;;^DD(356.2,.16,3)
  1. ;;=
  1. ;;^DD(356.2,.16,4)
  1. ;;=D HELP^IBTUTL3(DA)
  1. ;;^DD(356.2,.16,21,0)
  1. ;;=^^4^4^2930806^
  1. ;;^DD(356.2,.16,21,1,0)
  1. ;;=If the insurance company disapproved or denied pre-approving
  1. ;;^DD(356.2,.16,21,2,0)
  1. ;;=the care for this patient, this is the ending date of care
  1. ;;^DD(356.2,.16,21,3,0)
  1. ;;=that they denied. For some patients there may be both a
  1. ;;^DD(356.2,.16,21,4,0)
  1. ;;=number of approved and denied days.
  1. ;;^DD(356.2,.16,"DT")
  1. ;;=2940127
  1. ;;^DD(356.2,.17,0)
  1. ;;=METHOD OF CONTACT^S^1:PHONE;2:MAIL;3:OVERNIGHT MAIL;4:PERSONAL;5:VOICE MAIL;6:OTHER;^0;17^Q
  1. ;;^DD(356.2,.17,21,0)
  1. ;;=^^3^3^2940213^^
  1. ;;^DD(356.2,.17,21,1,0)
  1. ;;=This is the method that you used to contact the person contacted
  1. ;;^DD(356.2,.17,21,2,0)
  1. ;;=in this entry. Most contacts will be by phone but many others will
  1. ;;^DD(356.2,.17,21,3,0)
  1. ;;=be by mail.
  1. ;;^DD(356.2,.17,"DT")
  1. ;;=2930915
  1. ;;^DD(356.2,.18,0)
  1. ;;=PARENT REVIEW^*P356.2'^IBT(356.2,^0;18^S DIC("S")="N TYPE S TYPE=$P(^IBE(356.7,+$P(^(0),U,11),0),U,3) I TYPE=20!(TYPE=30)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(356.2,.18,1,0)
  1. ;;=^.1
  1. ;;^DD(356.2,.18,1,1,0)
  1. ;;=356.2^AP
  1. ;;^DD(356.2,.18,1,1,1)
  1. ;;=S ^IBT(356.2,"AP",$E(X,1,30),DA)=""
  1. ;;^DD(356.2,.18,1,1,2)
  1. ;;=K ^IBT(356.2,"AP",$E(X,1,30),DA)
  1. ;;^DD(356.2,.18,1,1,"DT")
  1. ;;=2930811
  1. ;;^DD(356.2,.18,12)
  1. ;;=Only penalties and denials can be appealed.
  1. ;;^DD(356.2,.18,12.1)
  1. ;;=S DIC("S")="N TYPE S TYPE=$P(^IBE(356.7,+$P(^(0),U,11),0),U,3) I TYPE=20!(TYPE=30)"
  1. ;;^DD(356.2,.18,21,0)
  1. ;;=^^3^3^2940213^^^^
  1. ;;^DD(356.2,.18,21,1,0)
  1. ;;=This is the first contact in a series of contacts. This field will
  1. ;;^DD(356.2,.18,21,2,0)
  1. ;;=generally be system generated. When adding an appeal to a denied
  1. ;;^DD(356.2,.18,21,3,0)
  1. ;;=claim, this will be the denial contact that is being appealed.
  1. ;;^DD(356.2,.18,"DT")
  1. ;;=2930907
  1. ;;^DD(356.2,.19,0)
  1. ;;=REVIEW STATUS^S^0:INACTIVE;1:ENTERED;2:PENDING;10:COMPLETE;^0;19^Q