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

IBINI014.m

Go to the documentation of this file.
  1. IBINI014 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350) 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(350,.01,21,0)
  1. ;;=^^5^5^2940209^^^
  1. ;;^DD(350,.01,21,1,0)
  1. ;;=This is the station number concatenated with the internal number of
  1. ;;^DD(350,.01,21,2,0)
  1. ;;=this entry in this file. The purpose of this number is to provide
  1. ;;^DD(350,.01,21,3,0)
  1. ;;=a unique number for each entry for each station. Modifying this
  1. ;;^DD(350,.01,21,4,0)
  1. ;;=number may have serious consequences when and where centralized
  1. ;;^DD(350,.01,21,5,0)
  1. ;;=billing and accounting are taking place.
  1. ;;^DD(350,.01,"DEL",1,0)
  1. ;;=I 1 W !,"Deleting entries not allowed"
  1. ;;^DD(350,.01,"DT")
  1. ;;=2910304
  1. ;;^DD(350,.02,0)
  1. ;;=PATIENT^P2'I^DPT(^0;2^Q
  1. ;;^DD(350,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(350,.02,1,1,0)
  1. ;;=350^C
  1. ;;^DD(350,.02,1,1,1)
  1. ;;=S ^IB("C",$E(X,1,30),DA)=""
  1. ;;^DD(350,.02,1,1,2)
  1. ;;=K ^IB("C",$E(X,1,30),DA)
  1. ;;^DD(350,.02,1,2,0)
  1. ;;=350^AFDT^MUMPS
  1. ;;^DD(350,.02,1,2,1)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),"^",17) S ^IB("AFDT",X,-$P(^(0),"^",17),DA)=""
  1. ;;^DD(350,.02,1,2,2)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),"^",17) K ^IB("AFDT",X,-$P(^(0),"^",17),DA)
  1. ;;^DD(350,.02,1,2,"%D",0)
  1. ;;=^^5^5^2911101^
  1. ;;^DD(350,.02,1,2,"%D",1,0)
  1. ;;=Cross-reference of all IB ACTION entries which represent inpatient/NHCU
  1. ;;^DD(350,.02,1,2,"%D",2,0)
  1. ;;=admissions by the patient field and the minus (negative or inverse) event
  1. ;;^DD(350,.02,1,2,"%D",3,0)
  1. ;;=date (#.17) field. A billable event may be located for a patient using
  1. ;;^DD(350,.02,1,2,"%D",4,0)
  1. ;;=this cross-reference. The "AFDT1" cross-reference on the event date (#.17)
  1. ;;^DD(350,.02,1,2,"%D",5,0)
  1. ;;=field is the companion to this cross-reference.
  1. ;;^DD(350,.02,1,2,"DT")
  1. ;;=2911101
  1. ;;^DD(350,.02,1,3,0)
  1. ;;=350^APTDT^MUMPS
  1. ;;^DD(350,.02,1,3,1)
  1. ;;=I $D(^IB(DA,1)),$P(^(1),"^",2) S ^IB("APTDT",X,$P(^(1),"^",2),DA)=""
  1. ;;^DD(350,.02,1,3,2)
  1. ;;=I $D(^IB(DA,1)),$P(^(1),"^",2) K ^IB("APTDT",X,$P(^(1),"^",2),DA)
  1. ;;^DD(350,.02,1,3,"%D",0)
  1. ;;=^^3^3^2920226^^^^
  1. ;;^DD(350,.02,1,3,"%D",1,0)
  1. ;;=Cross-reference of all IB ACTION entries by patient (#.02) and date entry added
  1. ;;^DD(350,.02,1,3,"%D",2,0)
  1. ;;=(#12) fields. The "APTDT1" cross-reference on the date entry added field is
  1. ;;^DD(350,.02,1,3,"%D",3,0)
  1. ;;=the companion to this cross-reference.
  1. ;;^DD(350,.02,1,4,0)
  1. ;;=350^AH1^MUMPS
  1. ;;^DD(350,.02,1,4,1)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),U,5)=8 S ^IB("AH",X,DA)=""
  1. ;;^DD(350,.02,1,4,2)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),U,5)=8 K ^IB("AH",X,DA)
  1. ;;^DD(350,.02,1,4,"%D",0)
  1. ;;=^^1^1^2920302^
  1. ;;^DD(350,.02,1,4,"%D",1,0)
  1. ;;=All mt bills in a hold status
  1. ;;^DD(350,.02,1,4,"DT")
  1. ;;=2920302
  1. ;;^DD(350,.02,1,5,0)
  1. ;;=350^AI1^MUMPS
  1. ;;^DD(350,.02,1,5,1)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),U,5)=99 S ^IB("AI",X,DA)=""
  1. ;;^DD(350,.02,1,5,2)
  1. ;;=I $D(^IB(DA,0)),$P(^(0),U,5)=99 K ^IB("AI",X,DA)
  1. ;;^DD(350,.02,1,5,"%D",0)
  1. ;;=^^1^1^2920430^
  1. ;;^DD(350,.02,1,5,"%D",1,0)
  1. ;;=COMPANION TO AI X-REF ON FIELD .05
  1. ;;^DD(350,.02,1,5,"DT")
  1. ;;=2920430
  1. ;;^DD(350,.02,1,6,0)
  1. ;;=350^ACVA^MUMPS
  1. ;;^DD(350,.02,1,6,1)
  1. ;;=I X,$D(^IB(DA,1)),$P(^(1),"^",5) S ^IB("ACVA",X,$P(^(1),"^",5),DA)=""
  1. ;;^DD(350,.02,1,6,2)
  1. ;;=I X,$D(^IB(DA,1)),$P(^(1),"^",5) K ^IB("ACVA",X,$P(^(1),"^",5),DA)
  1. ;;^DD(350,.02,1,6,"%D",0)
  1. ;;=^^4^4^2930728^^
  1. ;;^DD(350,.02,1,6,"%D",1,0)
  1. ;;=This cross-reference is used in conjunction with the ACVA1 cross
  1. ;;^DD(350,.02,1,6,"%D",2,0)
  1. ;;=reference on the CHAMPVA ADM DATE (#15) field to cross reference
  1. ;;^DD(350,.02,1,6,"%D",3,0)
  1. ;;=all CHAMPVA inpatient subsistence charges by patient and admission
  1. ;;^DD(350,.02,1,6,"%D",4,0)
  1. ;;=date.
  1. ;;^DD(350,.02,1,6,"DT")
  1. ;;=2930728
  1. ;;^DD(350,.02,21,0)
  1. ;;=^^3^3^2910301^