IBINI00S ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(36) 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
Q Q
;;^DD(36,.144,21,0)
;;=^^2^2^2930607^^
;;^DD(36,.144,21,1,0)
;;=Enter the city in which the appeals office of this insurance company
;;^DD(36,.144,21,2,0)
;;=is located.
;;^DD(36,.144,"DT")
;;=2930225
;;^DD(36,.145,0)
;;=APPEALS ADDRESS STATE^P5'^DIC(5,^.14;5^Q
;;^DD(36,.145,3)
;;=If the appeals address of this company is different from its main address, enter state of the appeals address.
;;^DD(36,.145,21,0)
;;=^^3^3^2931007^^^^
;;^DD(36,.145,21,1,0)
;;=Enter the state in which the appeals office of this insurance
;;^DD(36,.145,21,2,0)
;;=company is located. Enter state even if it is the same as the state
;;^DD(36,.145,21,3,0)
;;=of the company's main address.
;;^DD(36,.145,22)
;;=DESCR
;;^DD(36,.145,"DT")
;;=2931007
;;^DD(36,.146,0)
;;=APPEALS ADDRESS ZIP^FXO^^.14;6^K:$L(X)>20!($L(X)<5) X I $D(X) D ZIPIN^VAFADDR
;;^DD(36,.146,2)
;;=S Y(0)=Y D ZIPOUT^VAFADDR
;;^DD(36,.146,2.1)
;;=D ZIPOUT^VAFADDR
;;^DD(36,.146,3)
;;=If the appeals address of this company is different from its main address, enter zip code of the appeals address. Answer with either 5 digit or 9 digit zip code.
;;^DD(36,.146,21,0)
;;=2^^2^2^2930226^^^^
;;^DD(36,.146,21,1,0)
;;=Answer with either the 5 digit zip code (format 12345) or with the 9
;;^DD(36,.146,21,2,0)
;;=digit zip code (in format 123456789 or 12345-6789).
;;^DD(36,.146,"DT")
;;=2930226
;;^DD(36,.147,0)
;;=APPEALS COMPANY NAME^*P36'X^DIC(36,^.14;7^S DIC(0)=DIC(0)_"F",DIC("S")="I '$P(^(0),U,5),'$P($G(^(.14)),U,7),(Y'=DA)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(36,.147,3)
;;=
;;^DD(36,.147,5,1,0)
;;=36^.148^1
;;^DD(36,.147,12)
;;=Select a company that processes inpatient claims for this company. Must be active, not this company, and process its own inpatient claims.
;;^DD(36,.147,12.1)
;;=S DIC("S")="I '$P(^(0),U,5),'$P($G(^(.14)),U,7),(Y'=DA)"
;;^DD(36,.147,21,0)
;;=^^4^4^2931006^^^
;;^DD(36,.147,21,1,0)
;;=You can only select a company that processes Appeals. The company
;;^DD(36,.147,21,2,0)
;;=specified in this field must be an active insurance company, not the
;;^DD(36,.147,21,3,0)
;;=same company as the entry being edited, and must not have another
;;^DD(36,.147,21,4,0)
;;=company specified as handling Appeals for it.
;;^DD(36,.147,"DT")
;;=2931006
;;^DD(36,.148,0)
;;=ANOTHER CO. PROCESS APPEALS?^S^0:NO;1:YES;^.14;8^Q
;;^DD(36,.148,.1)
;;=Are Appeals Processed by Another Insurance Co.?
;;^DD(36,.148,1,0)
;;=^.1
;;^DD(36,.148,1,1,0)
;;=^^TRIGGER^36^.147
;;^DD(36,.148,1,1,1)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S X='$P($G(^DIC(36,DA,.14)),"^",8) I X S X=DIV S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X="" X ^DD(36,.148,1,1,1.4)
;;^DD(36,.148,1,1,1.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,7)=DIV,DIH=36,DIG=.147 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
;;^DD(36,.148,1,1,2)
;;=Q
;;^DD(36,.148,1,1,"CREATE CONDITION")
;;=S X='$P($G(^DIC(36,DA,.14)),"^",8)
;;^DD(36,.148,1,1,"CREATE VALUE")
;;=@
;;^DD(36,.148,1,1,"DELETE VALUE")
;;=NO EFFECT
;;^DD(36,.148,1,1,"DT")
;;=2931006
;;^DD(36,.148,1,1,"FIELD")
;;=#.147
;;^DD(36,.148,21,0)
;;=^^1^1^2931007^^^
;;^DD(36,.148,21,1,0)
;;=Enter "Yes" if another insurance company processes appeals.
;;^DD(36,.148,"DT")
;;=2931007
;;^DD(36,.149,0)
;;=APPEALS FAX^F^^.14;9^K:$L(X)>20!($L(X)<7) X
;;^DD(36,.149,3)
;;=Enter the fax number of this insurance carrier's appeals office with 7 - 20 characters, ex. 999-999, 999-999-9999.
;;^DD(36,.149,21,0)
;;=^^1^1^2931122^^^
IBINI00S ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(36)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DD(36,.144,21,0)
+2 ;;=^^2^2^2930607^^
+3 ;;^DD(36,.144,21,1,0)
+4 ;;=Enter the city in which the appeals office of this insurance company
+5 ;;^DD(36,.144,21,2,0)
+6 ;;=is located.
+7 ;;^DD(36,.144,"DT")
+8 ;;=2930225
+9 ;;^DD(36,.145,0)
+10 ;;=APPEALS ADDRESS STATE^P5'^DIC(5,^.14;5^Q
+11 ;;^DD(36,.145,3)
+12 ;;=If the appeals address of this company is different from its main address, enter state of the appeals address.
+13 ;;^DD(36,.145,21,0)
+14 ;;=^^3^3^2931007^^^^
+15 ;;^DD(36,.145,21,1,0)
+16 ;;=Enter the state in which the appeals office of this insurance
+17 ;;^DD(36,.145,21,2,0)
+18 ;;=company is located. Enter state even if it is the same as the state
+19 ;;^DD(36,.145,21,3,0)
+20 ;;=of the company's main address.
+21 ;;^DD(36,.145,22)
+22 ;;=DESCR
+23 ;;^DD(36,.145,"DT")
+24 ;;=2931007
+25 ;;^DD(36,.146,0)
+26 ;;=APPEALS ADDRESS ZIP^FXO^^.14;6^K:$L(X)>20!($L(X)<5) X I $D(X) D ZIPIN^VAFADDR
+27 ;;^DD(36,.146,2)
+28 ;;=S Y(0)=Y D ZIPOUT^VAFADDR
+29 ;;^DD(36,.146,2.1)
+30 ;;=D ZIPOUT^VAFADDR
+31 ;;^DD(36,.146,3)
+32 ;;=If the appeals address of this company is different from its main address, enter zip code of the appeals address. Answer with either 5 digit or 9 digit zip code.
+33 ;;^DD(36,.146,21,0)
+34 ;;=2^^2^2^2930226^^^^
+35 ;;^DD(36,.146,21,1,0)
+36 ;;=Answer with either the 5 digit zip code (format 12345) or with the 9
+37 ;;^DD(36,.146,21,2,0)
+38 ;;=digit zip code (in format 123456789 or 12345-6789).
+39 ;;^DD(36,.146,"DT")
+40 ;;=2930226
+41 ;;^DD(36,.147,0)
+42 ;;=APPEALS COMPANY NAME^*P36'X^DIC(36,^.14;7^S DIC(0)=DIC(0)_"F",DIC("S")="I '$P(^(0),U,5),'$P($G(^(.14)),U,7),(Y'=DA)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+43 ;;^DD(36,.147,3)
+44 ;;=
+45 ;;^DD(36,.147,5,1,0)
+46 ;;=36^.148^1
+47 ;;^DD(36,.147,12)
+48 ;;=Select a company that processes inpatient claims for this company. Must be active, not this company, and process its own inpatient claims.
+49 ;;^DD(36,.147,12.1)
+50 ;;=S DIC("S")="I '$P(^(0),U,5),'$P($G(^(.14)),U,7),(Y'=DA)"
+51 ;;^DD(36,.147,21,0)
+52 ;;=^^4^4^2931006^^^
+53 ;;^DD(36,.147,21,1,0)
+54 ;;=You can only select a company that processes Appeals. The company
+55 ;;^DD(36,.147,21,2,0)
+56 ;;=specified in this field must be an active insurance company, not the
+57 ;;^DD(36,.147,21,3,0)
+58 ;;=same company as the entry being edited, and must not have another
+59 ;;^DD(36,.147,21,4,0)
+60 ;;=company specified as handling Appeals for it.
+61 ;;^DD(36,.147,"DT")
+62 ;;=2931006
+63 ;;^DD(36,.148,0)
+64 ;;=ANOTHER CO. PROCESS APPEALS?^S^0:NO;1:YES;^.14;8^Q
+65 ;;^DD(36,.148,.1)
+66 ;;=Are Appeals Processed by Another Insurance Co.?
+67 ;;^DD(36,.148,1,0)
+68 ;;=^.1
+69 ;;^DD(36,.148,1,1,0)
+70 ;;=^^TRIGGER^36^.147
+71 ;;^DD(36,.148,1,1,1)
+72 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S X='$P($G(^DIC(36,DA,.14)),"^",8) I X S X=DIV S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y S X="" X ^DD(36,.148,1,1,1.4)
+73 ;;^DD(36,.148,1,1,1.4)
+74 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,7)=DIV,DIH=36,DIG=.147 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
+75 ;;^DD(36,.148,1,1,2)
+76 ;;=Q
+77 ;;^DD(36,.148,1,1,"CREATE CONDITION")
+78 ;;=S X='$P($G(^DIC(36,DA,.14)),"^",8)
+79 ;;^DD(36,.148,1,1,"CREATE VALUE")
+80 ;;=@
+81 ;;^DD(36,.148,1,1,"DELETE VALUE")
+82 ;;=NO EFFECT
+83 ;;^DD(36,.148,1,1,"DT")
+84 ;;=2931006
+85 ;;^DD(36,.148,1,1,"FIELD")
+86 ;;=#.147
+87 ;;^DD(36,.148,21,0)
+88 ;;=^^1^1^2931007^^^
+89 ;;^DD(36,.148,21,1,0)
+90 ;;=Enter "Yes" if another insurance company processes appeals.
+91 ;;^DD(36,.148,"DT")
+92 ;;=2931007
+93 ;;^DD(36,.149,0)
+94 ;;=APPEALS FAX^F^^.14;9^K:$L(X)>20!($L(X)<7) X
+95 ;;^DD(36,.149,3)
+96 ;;=Enter the fax number of this insurance carrier's appeals office with 7 - 20 characters, ex. 999-999, 999-999-9999.
+97 ;;^DD(36,.149,21,0)
+98 ;;=^^1^1^2931122^^^