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

IBINI05A.m

Go to the documentation of this file.
  1. IBINI05A ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(355.7) 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.7,.03,1,1,0)
  1. ;;=355.7^APP2^MUMPS
  1. ;;^DD(355.7,.03,1,1,1)
  1. ;;=S:$P(^IBA(355.7,DA,0),U,2) ^IBA(355.7,"APP",+$P(^(0),U,2),X,+^(0),DA)=""
  1. ;;^DD(355.7,.03,1,1,2)
  1. ;;=K ^IBA(355.7,"APP",+$P(^IBA(355.7,DA,0),U,2),X,+^(0),DA)
  1. ;;^DD(355.7,.03,1,1,"%D",0)
  1. ;;=^^2^2^2931129^
  1. ;;^DD(355.7,.03,1,1,"%D",1,0)
  1. ;;=Cross reference of riders by patient, policy, rider. Used to make sure
  1. ;;^DD(355.7,.03,1,1,"%D",2,0)
  1. ;;=only one entry for each policy.
  1. ;;^DD(355.7,.03,1,1,"DT")
  1. ;;=2931129
  1. ;;^DD(355.7,.03,2)
  1. ;;=S Y(0)=Y S Y=$P($G(^DIC(36,+$P($G(^DPT(+$P(^IBA(355.7,DA,0),U,2),.312,+$G(Y),0)),U),0)),U)
  1. ;;^DD(355.7,.03,2.1)
  1. ;;=S Y=$P($G(^DIC(36,+$P($G(^DPT(+$P(^IBA(355.7,DA,0),U,2),.312,+$G(Y),0)),U),0)),U)
  1. ;;^DD(355.7,.03,3)
  1. ;;=Select the correct policy for this patient. Answer must be 1-30 characters in length.
  1. ;;^DD(355.7,.03,4)
  1. ;;=S DFN=$P(^IBA(355.7,DA,0),U,2) D DISP^IBCNS W !
  1. ;;^DD(355.7,.03,21,0)
  1. ;;=^^3^3^2940213^
  1. ;;^DD(355.7,.03,21,1,0)
  1. ;;=This is the policy for the patient that this is a rider for.
  1. ;;^DD(355.7,.03,21,2,0)
  1. ;;=
  1. ;;^DD(355.7,.03,21,3,0)
  1. ;;=One or more riders may be associated with any policy for any patient.
  1. ;;^DD(355.7,.03,"DT")
  1. ;;=2931129