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

IBINI00U.m

Go to the documentation of this file.
  1. IBINI00U ; ; 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,.152,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.15)):^(.15),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.152,1,1,1.4)
  1. ;;^DD(36,.152,1,1,1.4)
  1. ;;=S DIH=$S($D(^DIC(36,DIV(0),.15)):^(.15),1:""),DIV=X S $P(^(.15),U,3)=DIV,DIH=36,DIG=.153 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(36,.152,1,1,2)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.15)):^(.15),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.152,1,1,2.4)
  1. ;;^DD(36,.152,1,1,2.4)
  1. ;;=S DIH=$S($D(^DIC(36,DIV(0),.15)):^(.15),1:""),DIV=X S $P(^(.15),U,3)=DIV,DIH=36,DIG=.153 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(36,.152,1,1,"%D",0)
  1. ;;=^^2^2^2930402^
  1. ;;^DD(36,.152,1,1,"%D",1,0)
  1. ;;=When changing or deleting INQUIRY ADDRESS ST. [LINE 2] delete
  1. ;;^DD(36,.152,1,1,"%D",2,0)
  1. ;;=INQUIRY ADDRESS ST. [LINE 3].
  1. ;;^DD(36,.152,1,1,"CREATE VALUE")
  1. ;;=@
  1. ;;^DD(36,.152,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(36,.152,1,1,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.152,1,1,"FIELD")
  1. ;;=INQUIRY ADDRESS ST. [LINE 3]
  1. ;;^DD(36,.152,3)
  1. ;;=If the inquiry address of this company is different from its main address, enter Line 2 of the inquiry street address. Answer must be 3-30 characters in length.
  1. ;;^DD(36,.152,5,1,0)
  1. ;;=36^.151^1
  1. ;;^DD(36,.152,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(36,.152,21,1,0)
  1. ;;=If this insurance company's inquiry address is longer than one line,
  1. ;;^DD(36,.152,21,2,0)
  1. ;;=enter the second line here.
  1. ;;^DD(36,.152,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.153,0)
  1. ;;=INQUIRY ADDRESS ST. [LINE 3]^F^^.15;3^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(36,.153,3)
  1. ;;=If the inquiry address of this company is different from its main address, enter Line 3 of the inquiry street address. Answer must be 3-30 characters in length.
  1. ;;^DD(36,.153,5,1,0)
  1. ;;=36^.151^2
  1. ;;^DD(36,.153,5,2,0)
  1. ;;=36^.152^1
  1. ;;^DD(36,.153,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(36,.153,21,1,0)
  1. ;;=If this insurance company's inquiry address is longer than two lines,
  1. ;;^DD(36,.153,21,2,0)
  1. ;;=enter the third line here.
  1. ;;^DD(36,.153,"DT")
  1. ;;=2930225
  1. ;;^DD(36,.154,0)
  1. ;;=INQUIRY ADDRESS CITY^F^^.15;4^K:$L(X)>25!($L(X)<2) X
  1. ;;^DD(36,.154,3)
  1. ;;=If the inquiry address of this company is different from its main address, enter city of the inquiry address. Answer must be 2-25 characters in length.
  1. ;;^DD(36,.154,21,0)
  1. ;;=^^2^2^2930607^
  1. ;;^DD(36,.154,21,1,0)
  1. ;;=Enter the city in which this insurance company's inquiry address
  1. ;;^DD(36,.154,21,2,0)
  1. ;;=office is located.
  1. ;;^DD(36,.154,"DT")
  1. ;;=2930225
  1. ;;^DD(36,.155,0)
  1. ;;=INQUIRY ADDRESS STATE^P5'^DIC(5,^.15;5^Q
  1. ;;^DD(36,.155,3)
  1. ;;=If the inquiry address of this company is different from its main address, enter state of the inquiry address.
  1. ;;^DD(36,.155,21,0)
  1. ;;=^^3^3^2931007^^^^
  1. ;;^DD(36,.155,21,1,0)
  1. ;;=Enter the state in which this insurance company's inquiry address
  1. ;;^DD(36,.155,21,2,0)
  1. ;;=office is located. Enter state even if it is the same as the state
  1. ;;^DD(36,.155,21,3,0)
  1. ;;=of the company's main address.
  1. ;;^DD(36,.155,"DT")
  1. ;;=2930225
  1. ;;^DD(36,.156,0)
  1. ;;=INQUIRY ADDRESS ZIP CODE^FXO^^.15;6^K:$L(X)>20!($L(X)<5) X I $D(X) D ZIPIN^VAFADDR
  1. ;;^DD(36,.156,2)
  1. ;;=S Y(0)=Y D ZIPOUT^VAFADDR
  1. ;;^DD(36,.156,2.1)
  1. ;;=D ZIPOUT^VAFADDR
  1. ;;^DD(36,.156,3)
  1. ;;=If the inquiry address of this company is different from its main address, enter zip code of the inquiry address. Answer with either the 5 digit or 9 digit zip code.
  1. ;;^DD(36,.156,21,0)
  1. ;;=^^2^2^2930226^
  1. ;;^DD(36,.156,21,1,0)
  1. ;;=Answer with either the 5 digit zip code (format 12345) or with the 9
  1. ;;^DD(36,.156,21,2,0)
  1. ;;=digit zip code (in format 123456789 or 12345-6789).