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

IBINI0AD.m

Go to the documentation of this file.
  1. IBINI0AD ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(399) 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(399,103,21,1,0)
  1. ;;=This is the name of the tertiary insurance carrier from which the provider
  1. ;;^DD(399,103,21,2,0)
  1. ;;=might expect some payment for this bill.
  1. ;;^DD(399,103,"DT")
  1. ;;=2940201
  1. ;;^DD(399,104,0)
  1. ;;=MAILING ADDRESS NAME^F^^M;4^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(399,104,3)
  1. ;;=Enter the name or title of the person to which this bill is to be sent.
  1. ;;^DD(399,104,21,0)
  1. ;;=^^1^1^2880831^
  1. ;;^DD(399,104,21,1,0)
  1. ;;=This is the name of the party to whom this bill is to be sent.
  1. ;;^DD(399,104,"DT")
  1. ;;=2880523
  1. ;;^DD(399,105,0)
  1. ;;=MAILING ADDRESS STREET^FX^^M;5^K:$L(X)>35!($L(X)<3) X
  1. ;;^DD(399,105,3)
  1. ;;=Enter the 3-35 character street address to which this bill is to be mailed.
  1. ;;^DD(399,105,9.3)
  1. ;;=I '$D(^DGCR(399,D0,"M")),$D(^DGCR(399,D0,"I1")) S IBITY=$P(^DGCR(399,D0,"I1"),"^",1),IBIMA=^DIC(36,IBITY,2,1,0) I $D(IBIMA),IBIMA'="" S ^DGCR(399,D0,"M")=IBIMA
  1. ;;^DD(399,105,21,0)
  1. ;;=^^1^1^2900307^^^
  1. ;;^DD(399,105,21,1,0)
  1. ;;=This is the street address to which this bill is to be sent.
  1. ;;^DD(399,105,"DT")
  1. ;;=2890131
  1. ;;^DD(399,106,0)
  1. ;;=MAILING ADDRESS STREET2^F^^M;6^K:$L(X)>35!($L(X)<3) X
  1. ;;^DD(399,106,3)
  1. ;;=Enter the 3-35 character street address to which this bill is to be mailed.
  1. ;;^DD(399,106,21,0)
  1. ;;=^^1^1^2900307^^^
  1. ;;^DD(399,106,21,1,0)
  1. ;;=This is the street address to which this bill is to be sent.
  1. ;;^DD(399,107,0)
  1. ;;=MAILING ADDRESS CITY^F^^M;7^K:$L(X)>25!($L(X)<2) X
  1. ;;^DD(399,107,3)
  1. ;;=Enter the 2-25 character city to which this bill is to be mailed.
  1. ;;^DD(399,107,21,0)
  1. ;;=^^1^1^2880831^
  1. ;;^DD(399,107,21,1,0)
  1. ;;=This is the city to which this bill is to be sent.
  1. ;;^DD(399,107,"DT")
  1. ;;=2890213
  1. ;;^DD(399,108,0)
  1. ;;=MAILING ADDRESS STATE^P5'^DIC(5,^M;8^Q
  1. ;;^DD(399,108,3)
  1. ;;=Enter the state to which this bill is to be mailed.
  1. ;;^DD(399,108,21,0)
  1. ;;=^^1^1^2880831^
  1. ;;^DD(399,108,21,1,0)
  1. ;;=This is the state to which this bill is to be sent.
  1. ;;^DD(399,108,"DT")
  1. ;;=2880523
  1. ;;^DD(399,109,0)
  1. ;;=MAILING ADDRESS ZIP CODE^F^^M;9^K:$L(X)>9!($L(X)<5)!'(X?5N!(X?9N)) X
  1. ;;^DD(399,109,3)
  1. ;;=Enter the 5-digit or 9-digit zip code to which this bill is to be sent.
  1. ;;^DD(399,109,21,0)
  1. ;;=^^1^1^2930223^^
  1. ;;^DD(399,109,21,1,0)
  1. ;;=This is the 5-digit or 9-digit zip code to which this bill is to be sent.
  1. ;;^DD(399,109,"DT")
  1. ;;=2880831
  1. ;;^DD(399,110,0)
  1. ;;=PATIENT SHORT MAILING ADDRESS^RF^^M;10^K:$L(X)>47!($L(X)<1) X
  1. ;;^DD(399,110,3)
  1. ;;=Answer with the 1-47 character short form of the patient mailing address. This is all the information run together with a maximum of 47 characters.
  1. ;;^DD(399,110,21,0)
  1. ;;=^^5^5^2940120^^^^
  1. ;;^DD(399,110,21,1,0)
  1. ;;=This is the 1-47 character patient mailing address that will print in
  1. ;;^DD(399,110,21,2,0)
  1. ;;=block 11 on the UB-82 form and block 13 on the UB-92. The computer will
  1. ;;^DD(399,110,21,3,0)
  1. ;;=try to calculate this. If the length of all the patient address
  1. ;;^DD(399,110,21,4,0)
  1. ;;=fields is longer than 47 characters you will need to abbreviate this in
  1. ;;^DD(399,110,21,5,0)
  1. ;;=order to get it to print in this block.
  1. ;;^DD(399,110,"DT")
  1. ;;=2890419
  1. ;;^DD(399,111,0)
  1. ;;=RESPONSIBLE INSTITUTION^RP4^DIC(4,^M;11^Q
  1. ;;^DD(399,111,1,0)
  1. ;;=^.1
  1. ;;^DD(399,111,1,1,0)
  1. ;;=399^AML^MUMPS
  1. ;;^DD(399,111,1,1,1)
  1. ;;=D MAILIN^IBCU5
  1. ;;^DD(399,111,1,1,2)
  1. ;;=D DEL^IBCU5
  1. ;;^DD(399,111,1,1,"%D",0)
  1. ;;=^^1^1^2940214^
  1. ;;^DD(399,111,1,1,"%D",1,0)
  1. ;;=Sets/deletes mailing address.
  1. ;;^DD(399,111,1,2,0)
  1. ;;=399^AREV5^MUMPS
  1. ;;^DD(399,111,1,2,1)
  1. ;;=S DGRVRCAL=1
  1. ;;^DD(399,111,1,2,2)
  1. ;;=S DGRVRCAL=2
  1. ;;^DD(399,111,1,2,"%D",0)
  1. ;;=^^2^2^2940214^