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

IBINI00R.m

Go to the documentation of this file.
  1. IBINI00R ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DD(36,.141,1,2,1.4)
  1. ;;=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
  1. ;;^DD(36,.141,1,2,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,2.4)
  1. ;;^DD(36,.141,1,2,2.4)
  1. ;;=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
  1. ;;^DD(36,.141,1,2,"%D",0)
  1. ;;=^^2^2^2930402^
  1. ;;^DD(36,.141,1,2,"%D",1,0)
  1. ;;=When changing or deleting APPEALS ADDRESS ST. [LINE 1] delete
  1. ;;^DD(36,.141,1,2,"%D",2,0)
  1. ;;=APPEALS ADDRESS ST. [LINE 3].
  1. ;;^DD(36,.141,1,2,"CREATE VALUE")
  1. ;;=@
  1. ;;^DD(36,.141,1,2,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(36,.141,1,2,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.141,1,2,"FIELD")
  1. ;;=APPEALS ADDRESS ST. [LINE 3]
  1. ;;^DD(36,.141,3)
  1. ;;=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.
  1. ;;^DD(36,.141,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(36,.141,21,1,0)
  1. ;;=Enter the first line of the street address of the appeals office
  1. ;;^DD(36,.141,21,2,0)
  1. ;;=of this insurance carrier.
  1. ;;^DD(36,.141,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.142,0)
  1. ;;=APPEALS ADDRESS ST. [LINE 2]^F^^.14;2^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(36,.142,1,0)
  1. ;;=^.1
  1. ;;^DD(36,.142,1,1,0)
  1. ;;=^^TRIGGER^36^.143
  1. ;;^DD(36,.142,1,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)
  1. ;;^DD(36,.142,1,1,1.4)
  1. ;;=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
  1. ;;^DD(36,.142,1,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,.142,1,1,2.4)
  1. ;;^DD(36,.142,1,1,2.4)
  1. ;;=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
  1. ;;^DD(36,.142,1,1,"%D",0)
  1. ;;=^^2^2^2930402^
  1. ;;^DD(36,.142,1,1,"%D",1,0)
  1. ;;=When changing or deleting APPEALS ADDRESS ST. [LINE 2] delete
  1. ;;^DD(36,.142,1,1,"%D",2,0)
  1. ;;=APPEALS ADDRESS ST. [LINE 3].
  1. ;;^DD(36,.142,1,1,"CREATE VALUE")
  1. ;;=@
  1. ;;^DD(36,.142,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(36,.142,1,1,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.142,1,1,"FIELD")
  1. ;;=APPEALS ADDRESS ST. [LINE 3]
  1. ;;^DD(36,.142,3)
  1. ;;=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.
  1. ;;^DD(36,.142,5,1,0)
  1. ;;=36^.141^1
  1. ;;^DD(36,.142,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(36,.142,21,1,0)
  1. ;;=If this insurance company's appeals office address is longer than
  1. ;;^DD(36,.142,21,2,0)
  1. ;;=one line, enter the second line here.
  1. ;;^DD(36,.142,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.143,0)
  1. ;;=APPEALS ADDRESS ST. [LINE 3]^F^^.14;3^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(36,.143,3)
  1. ;;=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.
  1. ;;^DD(36,.143,5,1,0)
  1. ;;=36^.142^1
  1. ;;^DD(36,.143,5,2,0)
  1. ;;=36^.141^2
  1. ;;^DD(36,.143,21,0)
  1. ;;=^^2^2^2930715^^
  1. ;;^DD(36,.143,21,1,0)
  1. ;;=If this insurance company's appeals office address is longer than
  1. ;;^DD(36,.143,21,2,0)
  1. ;;=two lines, enter the third line here.
  1. ;;^DD(36,.143,"DT")
  1. ;;=2930225
  1. ;;^DD(36,.144,0)
  1. ;;=APPEALS ADDRESS CITY^F^^.14;4^K:$L(X)>25!($L(X)<2) X
  1. ;;^DD(36,.144,3)
  1. ;;=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.