IBINI00Q ; ; 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,.137,21,2,0)
;;=carrier can be reached.
;;^DD(36,.137,22)
;;=
;;^DD(36,.137,"DT")
;;=2930715
;;^DD(36,.138,0)
;;=INQUIRY PHONE NUMBER^F^^.13;8^K:$L(X)>20!($L(X)<7) X
;;^DD(36,.138,3)
;;=Enter the telephone number of the inquiry office with 7 - 20 characters, ex. 777-8888, 415 111 222 x123.
;;^DD(36,.138,21,0)
;;=^^1^1^2930715^
;;^DD(36,.138,21,1,0)
;;=Enter the telephone number at which the inquiry office of this insurance carrier can be reached.
;;^DD(36,.138,"DT")
;;=2930715
;;^DD(36,.139,0)
;;=PRECERT COMPANY NAME^*P36'X^DIC(36,^.13;9^S DIC(0)=DIC(0)_"F",DIC("S")="I '$P(^(0),U,5),'$P($G(^(.13)),U,9),(Y'=DA)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(36,.139,5,1,0)
;;=36^.178^1
;;^DD(36,.139,12)
;;=Select a company that processes precerts for this company. Must be active, not this company, and process its own precerts.
;;^DD(36,.139,12.1)
;;=S DIC("S")="I '$P(^(0),U,5),'$P($G(^(.13)),U,9),(Y'=DA)"
;;^DD(36,.139,21,0)
;;=^^3^3^2931006^^^^
;;^DD(36,.139,21,1,0)
;;=You can only select a company that processes Precerts. The company
;;^DD(36,.139,21,2,0)
;;=specified in this field must be an active insurance company, not the
;;^DD(36,.139,21,3,0)
;;=same company specified as handling Precerts for it.
;;^DD(36,.139,"DT")
;;=2931006
;;^DD(36,.14,0)
;;=FORM TYPE^P353'^IBE(353,^0;14^Q
;;^DD(36,.14,3)
;;=Enter the primary Form Type desired by this Insurance Company.
;;^DD(36,.14,21,0)
;;=^^7^7^2940209^^^^
;;^DD(36,.14,21,1,0)
;;=This is the primary form type for the insurance company. An entry is
;;^DD(36,.14,21,2,0)
;;=needed only if the primary form type for this insurance company is
;;^DD(36,.14,21,3,0)
;;=different than the Default Form Type site parameter.
;;^DD(36,.14,21,4,0)
;;=
;;^DD(36,.14,21,5,0)
;;=Used for the conversion from the UB-82 to the UB-92. If this is set to
;;^DD(36,.14,21,6,0)
;;=either of those form types then all UB bills for this insurance
;;^DD(36,.14,21,7,0)
;;=company will be printed on that form.
;;^DD(36,.14,23,0)
;;=^^2^2^2940209^^
;;^DD(36,.14,23,1,0)
;;=Set up initially because companies are converting to the UB-92 at
;;^DD(36,.14,23,2,0)
;;=different times and once they do they will no longer accept the UB-82.
;;^DD(36,.14,"DT")
;;=2930826
;;^DD(36,.141,0)
;;=APPEALS ADDRESS ST. [LINE 1]^F^^.14;1^K:$L(X)>30!($L(X)<3) X
;;^DD(36,.141,1,0)
;;=^.1
;;^DD(36,.141,1,1,0)
;;=^^TRIGGER^36^.142
;;^DD(36,.141,1,1,1)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,1,1.4)
;;^DD(36,.141,1,1,1.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,2)=DIV,DIH=36,DIG=.142 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.141,1,1,2)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,1,2.4)
;;^DD(36,.141,1,1,2.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,2)=DIV,DIH=36,DIG=.142 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.141,1,1,"%D",0)
;;=^^2^2^2930402^
;;^DD(36,.141,1,1,"%D",1,0)
;;=When changing or deleting APPEALS ADDRESS ST. [LINE 1] delete
;;^DD(36,.141,1,1,"%D",2,0)
;;=APPEALS ADDRESS ST. [LINE 2].
;;^DD(36,.141,1,1,"CREATE VALUE")
;;=@
;;^DD(36,.141,1,1,"DELETE VALUE")
;;=@
;;^DD(36,.141,1,1,"DT")
;;=2930401
;;^DD(36,.141,1,1,"FIELD")
;;=APPEALS ADDRESS ST. [LINE 2]
;;^DD(36,.141,1,2,0)
;;=^^TRIGGER^36^.143
;;^DD(36,.141,1,2,1)
;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,2,1.4)
IBINI00Q ; ; 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,.137,21,2,0)
+2 ;;=carrier can be reached.
+3 ;;^DD(36,.137,22)
+4 ;;=
+5 ;;^DD(36,.137,"DT")
+6 ;;=2930715
+7 ;;^DD(36,.138,0)
+8 ;;=INQUIRY PHONE NUMBER^F^^.13;8^K:$L(X)>20!($L(X)<7) X
+9 ;;^DD(36,.138,3)
+10 ;;=Enter the telephone number of the inquiry office with 7 - 20 characters, ex. 777-8888, 415 111 222 x123.
+11 ;;^DD(36,.138,21,0)
+12 ;;=^^1^1^2930715^
+13 ;;^DD(36,.138,21,1,0)
+14 ;;=Enter the telephone number at which the inquiry office of this insurance carrier can be reached.
+15 ;;^DD(36,.138,"DT")
+16 ;;=2930715
+17 ;;^DD(36,.139,0)
+18 ;;=PRECERT COMPANY NAME^*P36'X^DIC(36,^.13;9^S DIC(0)=DIC(0)_"F",DIC("S")="I '$P(^(0),U,5),'$P($G(^(.13)),U,9),(Y'=DA)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+19 ;;^DD(36,.139,5,1,0)
+20 ;;=36^.178^1
+21 ;;^DD(36,.139,12)
+22 ;;=Select a company that processes precerts for this company. Must be active, not this company, and process its own precerts.
+23 ;;^DD(36,.139,12.1)
+24 ;;=S DIC("S")="I '$P(^(0),U,5),'$P($G(^(.13)),U,9),(Y'=DA)"
+25 ;;^DD(36,.139,21,0)
+26 ;;=^^3^3^2931006^^^^
+27 ;;^DD(36,.139,21,1,0)
+28 ;;=You can only select a company that processes Precerts. The company
+29 ;;^DD(36,.139,21,2,0)
+30 ;;=specified in this field must be an active insurance company, not the
+31 ;;^DD(36,.139,21,3,0)
+32 ;;=same company specified as handling Precerts for it.
+33 ;;^DD(36,.139,"DT")
+34 ;;=2931006
+35 ;;^DD(36,.14,0)
+36 ;;=FORM TYPE^P353'^IBE(353,^0;14^Q
+37 ;;^DD(36,.14,3)
+38 ;;=Enter the primary Form Type desired by this Insurance Company.
+39 ;;^DD(36,.14,21,0)
+40 ;;=^^7^7^2940209^^^^
+41 ;;^DD(36,.14,21,1,0)
+42 ;;=This is the primary form type for the insurance company. An entry is
+43 ;;^DD(36,.14,21,2,0)
+44 ;;=needed only if the primary form type for this insurance company is
+45 ;;^DD(36,.14,21,3,0)
+46 ;;=different than the Default Form Type site parameter.
+47 ;;^DD(36,.14,21,4,0)
+48 ;;=
+49 ;;^DD(36,.14,21,5,0)
+50 ;;=Used for the conversion from the UB-82 to the UB-92. If this is set to
+51 ;;^DD(36,.14,21,6,0)
+52 ;;=either of those form types then all UB bills for this insurance
+53 ;;^DD(36,.14,21,7,0)
+54 ;;=company will be printed on that form.
+55 ;;^DD(36,.14,23,0)
+56 ;;=^^2^2^2940209^^
+57 ;;^DD(36,.14,23,1,0)
+58 ;;=Set up initially because companies are converting to the UB-92 at
+59 ;;^DD(36,.14,23,2,0)
+60 ;;=different times and once they do they will no longer accept the UB-82.
+61 ;;^DD(36,.14,"DT")
+62 ;;=2930826
+63 ;;^DD(36,.141,0)
+64 ;;=APPEALS ADDRESS ST. [LINE 1]^F^^.14;1^K:$L(X)>30!($L(X)<3) X
+65 ;;^DD(36,.141,1,0)
+66 ;;=^.1
+67 ;;^DD(36,.141,1,1,0)
+68 ;;=^^TRIGGER^36^.142
+69 ;;^DD(36,.141,1,1,1)
+70 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,1,1.4)
+71 ;;^DD(36,.141,1,1,1.4)
+72 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,2)=DIV,DIH=36,DIG=.142 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+73 ;;^DD(36,.141,1,1,2)
+74 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,1,2.4)
+75 ;;^DD(36,.141,1,1,2.4)
+76 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,2)=DIV,DIH=36,DIG=.142 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+77 ;;^DD(36,.141,1,1,"%D",0)
+78 ;;=^^2^2^2930402^
+79 ;;^DD(36,.141,1,1,"%D",1,0)
+80 ;;=When changing or deleting APPEALS ADDRESS ST. [LINE 1] delete
+81 ;;^DD(36,.141,1,1,"%D",2,0)
+82 ;;=APPEALS ADDRESS ST. [LINE 2].
+83 ;;^DD(36,.141,1,1,"CREATE VALUE")
+84 ;;=@
+85 ;;^DD(36,.141,1,1,"DELETE VALUE")
+86 ;;=@
+87 ;;^DD(36,.141,1,1,"DT")
+88 ;;=2930401
+89 ;;^DD(36,.141,1,1,"FIELD")
+90 ;;=APPEALS ADDRESS ST. [LINE 2]
+91 ;;^DD(36,.141,1,2,0)
+92 ;;=^^TRIGGER^36^.143
+93 ;;^DD(36,.141,1,2,1)
+94 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.14)):^(.14),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,2,1.4)