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

IBINI00N.m

Go to the documentation of this file.
  1. IBINI00N ; ; 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,.122,1,1,0)
  1. ;;=^^TRIGGER^36^.123
  1. ;;^DD(36,.122,1,1,1)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.12)):^(.12),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.122,1,1,1.4)
  1. ;;^DD(36,.122,1,1,1.4)
  1. ;;=S DIH=$S($D(^DIC(36,DIV(0),.12)):^(.12),1:""),DIV=X S $P(^(.12),U,3)=DIV,DIH=36,DIG=.123 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(36,.122,1,1,2)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DIC(36,D0,.12)):^(.12),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(36,.122,1,1,2.4)
  1. ;;^DD(36,.122,1,1,2.4)
  1. ;;=S DIH=$S($D(^DIC(36,DIV(0),.12)):^(.12),1:""),DIV=X S $P(^(.12),U,3)=DIV,DIH=36,DIG=.123 D ^DICR:$N(^DD(DIH,DIG,1,0))>0
  1. ;;^DD(36,.122,1,1,"%D",0)
  1. ;;=^^2^2^2930715^^
  1. ;;^DD(36,.122,1,1,"%D",1,0)
  1. ;;=When changing or deleting CLAIMS (OPT) STREET ADDRESS 2 delete
  1. ;;^DD(36,.122,1,1,"%D",2,0)
  1. ;;=CLAIMS (OPT) STREET ADDRESS 3.
  1. ;;^DD(36,.122,1,1,"CREATE VALUE")
  1. ;;=@
  1. ;;^DD(36,.122,1,1,"DELETE VALUE")
  1. ;;=@
  1. ;;^DD(36,.122,1,1,"DT")
  1. ;;=2930401
  1. ;;^DD(36,.122,1,1,"FIELD")
  1. ;;=CLAIMS STREET ADDRESS [LINE 3]
  1. ;;^DD(36,.122,3)
  1. ;;=If the inpatient claims process address of this company is different from its main address, enter Line 2 of the inpatient claims street address. Answer must be 3-30 characters in length.
  1. ;;^DD(36,.122,5,1,0)
  1. ;;=36^.121^1
  1. ;;^DD(36,.122,21,0)
  1. ;;=^^2^2^2930715^^^^
  1. ;;^DD(36,.122,21,1,0)
  1. ;;=If this insurance company's inpatient claims office street address
  1. ;;^DD(36,.122,21,2,0)
  1. ;;=is longer than one line, enter the second line here.
  1. ;;^DD(36,.122,"DT")
  1. ;;=2930715
  1. ;;^DD(36,.123,0)
  1. ;;=CLAIMS (INPT) STREET ADDRESS 3^F^^.12;3^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(36,.123,3)
  1. ;;=If the inpatient claims process address of this company is different from its main address, enter Line 3 of the inpatient claims street address. Answer must be 3-30 characters in length.
  1. ;;^DD(36,.123,5,1,0)
  1. ;;=36^.121^2
  1. ;;^DD(36,.123,5,2,0)
  1. ;;=36^.122^1
  1. ;;^DD(36,.123,21,0)
  1. ;;=^^2^2^2930715^^^
  1. ;;^DD(36,.123,21,1,0)
  1. ;;=If this insurance company's inpatient claims office street address is longer
  1. ;;^DD(36,.123,21,2,0)
  1. ;;=than two lines, enter the third line here.
  1. ;;^DD(36,.123,"DT")
  1. ;;=2930715
  1. ;;^DD(36,.124,0)
  1. ;;=CLAIMS (INPT) PROCESS CITY^F^^.12;4^K:$L(X)>25!($L(X)<2) X
  1. ;;^DD(36,.124,3)
  1. ;;=If the inpatient claims process address of this company is different from its main address, enter city of the inpatient claims process address. Answer must be 2-25 characters in length.
  1. ;;^DD(36,.124,21,0)
  1. ;;=^^2^2^2930715^^^
  1. ;;^DD(36,.124,21,1,0)
  1. ;;=Enter the city in which this insurance company's inpatient claims office is
  1. ;;^DD(36,.124,21,2,0)
  1. ;;=located.
  1. ;;^DD(36,.124,"DT")
  1. ;;=2930715
  1. ;;^DD(36,.125,0)
  1. ;;=CLAIMS (INPT) PROCESS STATE^P5'^DIC(5,^.12;5^Q
  1. ;;^DD(36,.125,3)
  1. ;;=If the inpatient claims process address of this company is different from its main address, enter state of the inpatient claims process address.
  1. ;;^DD(36,.125,21,0)
  1. ;;=^^3^3^2931007^^^^
  1. ;;^DD(36,.125,21,1,0)
  1. ;;=Enter the state in which this insurance company's inpatient claims
  1. ;;^DD(36,.125,21,2,0)
  1. ;;=office is located. Enter state even if it is the same as the state
  1. ;;^DD(36,.125,21,3,0)
  1. ;;=of the company's main address.
  1. ;;^DD(36,.125,"DT")
  1. ;;=2931007
  1. ;;^DD(36,.126,0)
  1. ;;=CLAIMS (INPT) PROCESS ZIP^FXO^^.12;6^K:$L(X)>20!($L(X)<5) X I $D(X) D ZIPIN^VAFADDR
  1. ;;^DD(36,.126,2)
  1. ;;=S Y(0)=Y D ZIPOUT^VAFADDR
  1. ;;^DD(36,.126,2.1)
  1. ;;=D ZIPOUT^VAFADDR
  1. ;;^DD(36,.126,3)
  1. ;;=If the inpatient claims process address of this company is different from its main address, enter zip code of the inpatient claims process address. Answer with either 5 digit or 9 digit zip code.