IBINI00R ; ; 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,.141,1,2,1.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.141,1,2,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,3),X=X S DIU=X K Y S X="" X ^DD(36,.141,1,2,2.4)
;;^DD(36,.141,1,2,2.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.141,1,2,"%D",0)
;;=^^2^2^2930402^
;;^DD(36,.141,1,2,"%D",1,0)
;;=When changing or deleting APPEALS ADDRESS ST. [LINE 1] delete
;;^DD(36,.141,1,2,"%D",2,0)
;;=APPEALS ADDRESS ST. [LINE 3].
;;^DD(36,.141,1,2,"CREATE VALUE")
;;=@
;;^DD(36,.141,1,2,"DELETE VALUE")
;;=@
;;^DD(36,.141,1,2,"DT")
;;=2930401
;;^DD(36,.141,1,2,"FIELD")
;;=APPEALS ADDRESS ST. [LINE 3]
;;^DD(36,.141,3)
;;=If the appeals address of this company is different from its main address, enter Line 1 of the appeals street address. Answer must be 3-30 characters in length.
;;^DD(36,.141,21,0)
;;=^^2^2^2930607^
;;^DD(36,.141,21,1,0)
;;=Enter the first line of the street address of the appeals office
;;^DD(36,.141,21,2,0)
;;=of this insurance carrier.
;;^DD(36,.141,"DT")
;;=2930401
;;^DD(36,.142,0)
;;=APPEALS ADDRESS ST. [LINE 2]^F^^.14;2^K:$L(X)>30!($L(X)<3) X
;;^DD(36,.142,1,0)
;;=^.1
;;^DD(36,.142,1,1,0)
;;=^^TRIGGER^36^.143
;;^DD(36,.142,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,3),X=X S DIU=X K Y S X="" X ^DD(36,.142,1,1,1.4)
;;^DD(36,.142,1,1,1.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.142,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,3),X=X S DIU=X K Y S X="" X ^DD(36,.142,1,1,2.4)
;;^DD(36,.142,1,1,2.4)
;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
;;^DD(36,.142,1,1,"%D",0)
;;=^^2^2^2930402^
;;^DD(36,.142,1,1,"%D",1,0)
;;=When changing or deleting APPEALS ADDRESS ST. [LINE 2] delete
;;^DD(36,.142,1,1,"%D",2,0)
;;=APPEALS ADDRESS ST. [LINE 3].
;;^DD(36,.142,1,1,"CREATE VALUE")
;;=@
;;^DD(36,.142,1,1,"DELETE VALUE")
;;=@
;;^DD(36,.142,1,1,"DT")
;;=2930401
;;^DD(36,.142,1,1,"FIELD")
;;=APPEALS ADDRESS ST. [LINE 3]
;;^DD(36,.142,3)
;;=If the appeals address of this company is different from its main address, enter Line 2 of the appeals street address. Answer must be 3-30 characters in length.
;;^DD(36,.142,5,1,0)
;;=36^.141^1
;;^DD(36,.142,21,0)
;;=^^2^2^2930607^
;;^DD(36,.142,21,1,0)
;;=If this insurance company's appeals office address is longer than
;;^DD(36,.142,21,2,0)
;;=one line, enter the second line here.
;;^DD(36,.142,"DT")
;;=2930401
;;^DD(36,.143,0)
;;=APPEALS ADDRESS ST. [LINE 3]^F^^.14;3^K:$L(X)>30!($L(X)<3) X
;;^DD(36,.143,3)
;;=If the appeals address of this company is different from its main address, enter Line 3 of the appeals street address. Answer must be 3-30 characters in length.
;;^DD(36,.143,5,1,0)
;;=36^.142^1
;;^DD(36,.143,5,2,0)
;;=36^.141^2
;;^DD(36,.143,21,0)
;;=^^2^2^2930715^^
;;^DD(36,.143,21,1,0)
;;=If this insurance company's appeals office address is longer than
;;^DD(36,.143,21,2,0)
;;=two lines, enter the third line here.
;;^DD(36,.143,"DT")
;;=2930225
;;^DD(36,.144,0)
;;=APPEALS ADDRESS CITY^F^^.14;4^K:$L(X)>25!($L(X)<2) X
;;^DD(36,.144,3)
;;=If the appeals address of this company is different from its main address, enter city of the appeals address. Answer must be 2-25 characters in length.
IBINI00R ; ; 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,.141,1,2,1.4)
+2 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+3 ;;^DD(36,.141,1,2,2)
+4 ;;=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,2.4)
+5 ;;^DD(36,.141,1,2,2.4)
+6 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+7 ;;^DD(36,.141,1,2,"%D",0)
+8 ;;=^^2^2^2930402^
+9 ;;^DD(36,.141,1,2,"%D",1,0)
+10 ;;=When changing or deleting APPEALS ADDRESS ST. [LINE 1] delete
+11 ;;^DD(36,.141,1,2,"%D",2,0)
+12 ;;=APPEALS ADDRESS ST. [LINE 3].
+13 ;;^DD(36,.141,1,2,"CREATE VALUE")
+14 ;;=@
+15 ;;^DD(36,.141,1,2,"DELETE VALUE")
+16 ;;=@
+17 ;;^DD(36,.141,1,2,"DT")
+18 ;;=2930401
+19 ;;^DD(36,.141,1,2,"FIELD")
+20 ;;=APPEALS ADDRESS ST. [LINE 3]
+21 ;;^DD(36,.141,3)
+22 ;;=If the appeals address of this company is different from its main address, enter Line 1 of the appeals street address. Answer must be 3-30 characters in length.
+23 ;;^DD(36,.141,21,0)
+24 ;;=^^2^2^2930607^
+25 ;;^DD(36,.141,21,1,0)
+26 ;;=Enter the first line of the street address of the appeals office
+27 ;;^DD(36,.141,21,2,0)
+28 ;;=of this insurance carrier.
+29 ;;^DD(36,.141,"DT")
+30 ;;=2930401
+31 ;;^DD(36,.142,0)
+32 ;;=APPEALS ADDRESS ST. [LINE 2]^F^^.14;2^K:$L(X)>30!($L(X)<3) X
+33 ;;^DD(36,.142,1,0)
+34 ;;=^.1
+35 ;;^DD(36,.142,1,1,0)
+36 ;;=^^TRIGGER^36^.143
+37 ;;^DD(36,.142,1,1,1)
+38 ;;=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,.142,1,1,1.4)
+39 ;;^DD(36,.142,1,1,1.4)
+40 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+41 ;;^DD(36,.142,1,1,2)
+42 ;;=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,.142,1,1,2.4)
+43 ;;^DD(36,.142,1,1,2.4)
+44 ;;=S DIH=$S($D(^DIC(36,DIV(0),.14)):^(.14),1:""),DIV=X S $P(^(.14),U,3)=DIV,DIH=36,DIG=.143 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
+45 ;;^DD(36,.142,1,1,"%D",0)
+46 ;;=^^2^2^2930402^
+47 ;;^DD(36,.142,1,1,"%D",1,0)
+48 ;;=When changing or deleting APPEALS ADDRESS ST. [LINE 2] delete
+49 ;;^DD(36,.142,1,1,"%D",2,0)
+50 ;;=APPEALS ADDRESS ST. [LINE 3].
+51 ;;^DD(36,.142,1,1,"CREATE VALUE")
+52 ;;=@
+53 ;;^DD(36,.142,1,1,"DELETE VALUE")
+54 ;;=@
+55 ;;^DD(36,.142,1,1,"DT")
+56 ;;=2930401
+57 ;;^DD(36,.142,1,1,"FIELD")
+58 ;;=APPEALS ADDRESS ST. [LINE 3]
+59 ;;^DD(36,.142,3)
+60 ;;=If the appeals address of this company is different from its main address, enter Line 2 of the appeals street address. Answer must be 3-30 characters in length.
+61 ;;^DD(36,.142,5,1,0)
+62 ;;=36^.141^1
+63 ;;^DD(36,.142,21,0)
+64 ;;=^^2^2^2930607^
+65 ;;^DD(36,.142,21,1,0)
+66 ;;=If this insurance company's appeals office address is longer than
+67 ;;^DD(36,.142,21,2,0)
+68 ;;=one line, enter the second line here.
+69 ;;^DD(36,.142,"DT")
+70 ;;=2930401
+71 ;;^DD(36,.143,0)
+72 ;;=APPEALS ADDRESS ST. [LINE 3]^F^^.14;3^K:$L(X)>30!($L(X)<3) X
+73 ;;^DD(36,.143,3)
+74 ;;=If the appeals address of this company is different from its main address, enter Line 3 of the appeals street address. Answer must be 3-30 characters in length.
+75 ;;^DD(36,.143,5,1,0)
+76 ;;=36^.142^1
+77 ;;^DD(36,.143,5,2,0)
+78 ;;=36^.141^2
+79 ;;^DD(36,.143,21,0)
+80 ;;=^^2^2^2930715^^
+81 ;;^DD(36,.143,21,1,0)
+82 ;;=If this insurance company's appeals office address is longer than
+83 ;;^DD(36,.143,21,2,0)
+84 ;;=two lines, enter the third line here.
+85 ;;^DD(36,.143,"DT")
+86 ;;=2930225
+87 ;;^DD(36,.144,0)
+88 ;;=APPEALS ADDRESS CITY^F^^.14;4^K:$L(X)>25!($L(X)<2) X
+89 ;;^DD(36,.144,3)
+90 ;;=If the appeals address of this company is different from its main address, enter city of the appeals address. Answer must be 2-25 characters in length.