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

IBINI0AA.m

Go to the documentation of this file.
  1. IBINI0AA ; ; 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,64,21,1,0)
  1. ;;=This is the first ICD diagnosis code associated with this billing episode.
  1. ;;^DD(399,64,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399,64,23,1,0)
  1. ;;=Replaced by a diagnosis file (362.3) with IB v2.0. "*" for deletion
  1. ;;^DD(399,64,23,2,0)
  1. ;;=on 11/10/93.
  1. ;;^DD(399,64,"DT")
  1. ;;=2931110
  1. ;;^DD(399,65,0)
  1. ;;=*ICD DIAGNOSIS CODE (2)^P80'^ICD9(^C;15^Q
  1. ;;^DD(399,65,.1)
  1. ;;=ICD DIAGNOSIS CODE (2)
  1. ;;^DD(399,65,3)
  1. ;;=Enter the ICD diagnosis code which pertains to this billing episode.
  1. ;;^DD(399,65,21,0)
  1. ;;=^^1^1^2931117^^
  1. ;;^DD(399,65,21,1,0)
  1. ;;=This is the second ICD diagnosis code associated with this billing episode.
  1. ;;^DD(399,65,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399,65,23,1,0)
  1. ;;=Replaced by a diagnosis file (362.3) with IB v2.0. "*" for deletion
  1. ;;^DD(399,65,23,2,0)
  1. ;;=on 11/10/93.
  1. ;;^DD(399,65,"DT")
  1. ;;=2931110
  1. ;;^DD(399,66,0)
  1. ;;=*ICD DIAGNOSIS CODE (3)^P80'^ICD9(^C;16^Q
  1. ;;^DD(399,66,.1)
  1. ;;=ICD DIAGNOSIS CODE (3)
  1. ;;^DD(399,66,3)
  1. ;;=Enter the ICD diagnosis code which pertains to this billing episode.
  1. ;;^DD(399,66,21,0)
  1. ;;=^^1^1^2931117^^
  1. ;;^DD(399,66,21,1,0)
  1. ;;=This is the third ICD diagnosis code associated with this billing episode.
  1. ;;^DD(399,66,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399,66,23,1,0)
  1. ;;=Replaced by a diagnosis file (362.3) with IB v2.0. "*" for deletion
  1. ;;^DD(399,66,23,2,0)
  1. ;;=on 11/10/93.
  1. ;;^DD(399,66,"DT")
  1. ;;=2931110
  1. ;;^DD(399,67,0)
  1. ;;=*ICD DIAGNOSIS CODE (4)^P80'^ICD9(^C;17^Q
  1. ;;^DD(399,67,.1)
  1. ;;=ICD DIAGNOSIS CODE (4)
  1. ;;^DD(399,67,3)
  1. ;;=Enter the ICD diagnosis code which pertains to this billing episode.
  1. ;;^DD(399,67,21,0)
  1. ;;=^^1^1^2931117^^
  1. ;;^DD(399,67,21,1,0)
  1. ;;=This is the fourth ICD diagnosis code associated with this billing episode.
  1. ;;^DD(399,67,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399,67,23,1,0)
  1. ;;=Replaced by a diagnosis file (362.3) with IB v2.0. "*" for deletion
  1. ;;^DD(399,67,23,2,0)
  1. ;;=on 11/10/93.
  1. ;;^DD(399,67,"DT")
  1. ;;=2931110
  1. ;;^DD(399,68,0)
  1. ;;=*ICD DIAGNOSIS CODE (5)^P80'^ICD9(^C;18^Q
  1. ;;^DD(399,68,.1)
  1. ;;=ICD DIAGNOSIS CODE (5)
  1. ;;^DD(399,68,3)
  1. ;;=Enter the ICD diagnosis code which pertains to this billing episode.
  1. ;;^DD(399,68,21,0)
  1. ;;=^^1^1^2931117^^
  1. ;;^DD(399,68,21,1,0)
  1. ;;=This is the fifth ICD diagnosis code associated with this billing episode.
  1. ;;^DD(399,68,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399,68,23,1,0)
  1. ;;=Replaced by a diagnosis file (362.3) with IB v2.0. "*" for deletion
  1. ;;^DD(399,68,23,2,0)
  1. ;;=on 11/10/93.
  1. ;;^DD(399,68,"DT")
  1. ;;=2931110
  1. ;;^DD(399,101,0)
  1. ;;=PRIMARY INSURANCE CARRIER^R*P36'X^DIC(36,^M;1^D DD^IBCNS S DIC("S")="I $D(IBDD(+Y)),'$D(^DGCR(399,DA,""AIC"",+Y))" D ^DIC K DIC,IBDD S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(399,101,1,0)
  1. ;;=^.1
  1. ;;^DD(399,101,1,1,0)
  1. ;;=399^AI1^MUMPS
  1. ;;^DD(399,101,1,1,1)
  1. ;;=D MAILA^IBCU5
  1. ;;^DD(399,101,1,1,2)
  1. ;;=Q
  1. ;;^DD(399,101,1,1,"%D",0)
  1. ;;=^^9^9^2931220^^^^
  1. ;;^DD(399,101,1,1,"%D",1,0)
  1. ;;= - calls MAILA to set mailing address (399,104-109,121) to primary
  1. ;;^DD(399,101,1,1,"%D",2,0)
  1. ;;= insurer's address
  1. ;;^DD(399,101,1,1,"%D",3,0)
  1. ;;=
  1. ;;^DD(399,101,1,1,"%D",4,0)
  1. ;;=NOTE: I1 and AIC x-refs now set by field 112.
  1. ;;^DD(399,101,1,1,"%D",5,0)
  1. ;;=If X is one of the patients active/valid insurance companies:
  1. ;;^DD(399,101,1,1,"%D",6,0)
  1. ;;= - sets the node "I1" to detailed data on the insurance company
  1. ;;^DD(399,101,1,1,"%D",7,0)
  1. ;;= (2,.312, entire node .01-17)
  1. ;;^DD(399,101,1,1,"%D",8,0)
  1. ;;= - sets x-ref "AIC": subfile x-ref of insurance carriers (399,101-103)
  1. ;;^DD(399,101,1,1,"%D",9,0)
  1. ;;=
  1. ;;^DD(399,101,1,1,"DT")
  1. ;;=2931220
  1. ;;^DD(399,101,1,2,0)
  1. ;;=399^AREV4^MUMPS