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

IBINI053.m

Go to the documentation of this file.
  1. IBINI053 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(355.5) 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(355.5,.1,"DT")
  1. ;;=2931214
  1. ;;^DD(355.5,.11,0)
  1. ;;=MH DEDUCTIBLE (INP) MET?^S^0:NO;1:YES;^0;11^Q
  1. ;;^DD(355.5,.11,21,0)
  1. ;;=^^4^4^2940213^^^
  1. ;;^DD(355.5,.11,21,1,0)
  1. ;;=If the dollar amount of claims for inpatient mental health services
  1. ;;^DD(355.5,.11,21,2,0)
  1. ;;=is less than the policy's annual deductible for these services,
  1. ;;^DD(355.5,.11,21,3,0)
  1. ;;=enter "NO". If it is equal to or greater than the annual
  1. ;;^DD(355.5,.11,21,4,0)
  1. ;;=deductible for such services, enter "YES".
  1. ;;^DD(355.5,.11,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.12,0)
  1. ;;=AMOUNT OF MH (INP) DED MET^NJ6,0^^0;12^K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(355.5,.12,3)
  1. ;;=Type a Number between 0 and 999999, 0 Decimal Digits
  1. ;;^DD(355.5,.12,21,0)
  1. ;;=^^2^2^2930713^
  1. ;;^DD(355.5,.12,21,1,0)
  1. ;;=Enter the dollar amount of claims against this policy for inpatient
  1. ;;^DD(355.5,.12,21,2,0)
  1. ;;=mental health services.
  1. ;;^DD(355.5,.12,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.13,0)
  1. ;;=MH DEDUCTIBLE (OPT) MET?^S^0:NO;1:YES;^0;13^Q
  1. ;;^DD(355.5,.13,3)
  1. ;;=
  1. ;;^DD(355.5,.13,21,0)
  1. ;;=^^4^4^2930713^
  1. ;;^DD(355.5,.13,21,1,0)
  1. ;;=If the dollar amount of claims for outpatient mental health services
  1. ;;^DD(355.5,.13,21,2,0)
  1. ;;=is less than the policy's annual deductible for these services,
  1. ;;^DD(355.5,.13,21,3,0)
  1. ;;=enter "NO". If it is equal to or greater than the annual deductible
  1. ;;^DD(355.5,.13,21,4,0)
  1. ;;=for such services, enter "YES".
  1. ;;^DD(355.5,.13,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.14,0)
  1. ;;=AMOUNT OF MH (OPT) DED MET^NJ6,0^^0;14^K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(355.5,.14,3)
  1. ;;=Type a Number between 0 and 999999, 0 Decimal Digits
  1. ;;^DD(355.5,.14,21,0)
  1. ;;=^^2^2^2930713^
  1. ;;^DD(355.5,.14,21,1,0)
  1. ;;=Enter the dollar amount of claims against this policy for outpatient
  1. ;;^DD(355.5,.14,21,2,0)
  1. ;;=mental health services.
  1. ;;^DD(355.5,.14,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.15,0)
  1. ;;=PRE-EXISTING CONDITIONS^F^^0;15^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(355.5,.15,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(355.5,.15,21,0)
  1. ;;=^^1^1^2930713^
  1. ;;^DD(355.5,.15,21,1,0)
  1. ;;=Enter the patient's pre-existing conditions.
  1. ;;^DD(355.5,.15,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.16,0)
  1. ;;=COORDINATION OF BENEFITS DATA^F^^0;16^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(355.5,.16,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(355.5,.16,21,0)
  1. ;;=^^2^2^2930713^
  1. ;;^DD(355.5,.16,21,1,0)
  1. ;;=If the patient is included in a policy held by a family member, e.g.
  1. ;;^DD(355.5,.16,21,2,0)
  1. ;;=spouse, enter that information here.
  1. ;;^DD(355.5,.16,"DT")
  1. ;;=2930513
  1. ;;^DD(355.5,.17,0)
  1. ;;=PATIENT POLICY POINTER^NJ6,0I^^0;17^K:+X'=X!(X>999999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(355.5,.17,1,0)
  1. ;;=^.1
  1. ;;^DD(355.5,.17,1,1,0)
  1. ;;=355.5^APPY3^MUMPS
  1. ;;^DD(355.5,.17,1,1,1)
  1. ;;=I $P(^IBA(355.5,DA,0),U,2),+^(0),-$P(^(0),U,3) S ^IBA(355.5,"APPY",+$P(^(0),U,2),+^(0),-$P(^(0),U,3),X,DA)=""
  1. ;;^DD(355.5,.17,1,1,2)
  1. ;;=K ^IBA(355.5,"APPY",+$P(^(0),U,2),+^(0),-$P(^(0),U,3),X,DA)
  1. ;;^DD(355.5,.17,1,1,"%D",0)
  1. ;;=^^1^1^2930831^^^
  1. ;;^DD(355.5,.17,1,1,"%D",1,0)
  1. ;;=Cross-references patients by policy by year.
  1. ;;^DD(355.5,.17,1,1,"DT")
  1. ;;=2930831
  1. ;;^DD(355.5,.17,3)
  1. ;;=Type a Number between 1 and 999999, 0 Decimal Digits
  1. ;;^DD(355.5,.17,8.5)
  1. ;;=^
  1. ;;^DD(355.5,.17,9)
  1. ;;=^
  1. ;;^DD(355.5,.17,"DT")
  1. ;;=2930831
  1. ;;^DD(355.5,.18,0)
  1. ;;=AMT. MH LIFET. MAX USED (INPT)^NJ10,2^^0;18^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
  1. ;;^DD(355.5,.18,3)
  1. ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
  1. ;;^DD(355.5,.18,21,0)
  1. ;;=^^2^2^2931214^^^^