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

IBINI01D.m

Go to the documentation of this file.
  1. IBINI01D ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350.1) 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.1,.04,"DT")
  1. ;;=2910214
  1. ;;^DD(350.1,.05,0)
  1. ;;=SEQUENCE NUMBER^S^1:NEW;2:CANCEL;3:UPDATE;81:MEDICARE DEDUCTIBLE;82:CHAMPVA LIMIT;91:HOSPITAL ADMISSION;92:NHCU ADMISSION;^0;5^Q
  1. ;;^DD(350.1,.05,1,0)
  1. ;;=^.1
  1. ;;^DD(350.1,.05,1,1,0)
  1. ;;=350.1^ANEW1^MUMPS
  1. ;;^DD(350.1,.05,1,1,1)
  1. ;;=I $P(^IBE(350.1,DA,0),U,4) S ^IBE(350.1,"ANEW",$P(^(0),U,4),X,DA)=""
  1. ;;^DD(350.1,.05,1,1,2)
  1. ;;=I $P(^IBE(350.1,DA,0),U,4) K ^IBE(350.1,"ANEW",$P(^(0),U,4),X,DA)
  1. ;;^DD(350.1,.05,3)
  1. ;;=Enter the appropriate entry to indicate the sequencing that this action type should be filed with AR, or the appropriate code for the non-billable action type.
  1. ;;^DD(350.1,.05,21,0)
  1. ;;=^^12^12^2911101^^^^
  1. ;;^DD(350.1,.05,21,1,0)
  1. ;;=This field tells the IB filer the order in which to file entries with
  1. ;;^DD(350.1,.05,21,2,0)
  1. ;;=AR. A new entry must be filed before it can be cancelled. An update
  1. ;;^DD(350.1,.05,21,3,0)
  1. ;;=action type will generate two actions, a cancel of previous entry, and
  1. ;;^DD(350.1,.05,21,4,0)
  1. ;;=an updated entry containing the correct data. The update will be filed
  1. ;;^DD(350.1,.05,21,5,0)
  1. ;;=after the cancel. The ordering must be maintained so that the last full
  1. ;;^DD(350.1,.05,21,6,0)
  1. ;;=entry in the INTEGRATED BILLING ACTION file for a parent is the most
  1. ;;^DD(350.1,.05,21,7,0)
  1. ;;=current entry. (an inverse date x-ref on the parent field will indicate
  1. ;;^DD(350.1,.05,21,8,0)
  1. ;;=the most recent entry to the updated parent)
  1. ;;^DD(350.1,.05,21,9,0)
  1. ;;=Additional numbering series are also available for IB ACTION TYPES which
  1. ;;^DD(350.1,.05,21,10,0)
  1. ;;=do not explicitly represent billable charges. These series are set so that
  1. ;;^DD(350.1,.05,21,11,0)
  1. ;;=they do not conflict with the ordering required for correct processing of
  1. ;;^DD(350.1,.05,21,12,0)
  1. ;;=IB ACTION charges in AR.
  1. ;;^DD(350.1,.05,"DT")
  1. ;;=2930727
  1. ;;^DD(350.1,.06,0)
  1. ;;=CANCELLATION ACTION TYPE^P350.1'^IBE(350.1,^0;6^Q
  1. ;;^DD(350.1,.06,21,0)
  1. ;;=^^4^4^2920415^^
  1. ;;^DD(350.1,.06,21,1,0)
  1. ;;=This is the IB ACTION TYPE entry that will be the 'CANCEL' type for
  1. ;;^DD(350.1,.06,21,2,0)
  1. ;;=this entry. If this is a 'CANCEL' type entry, then this will be itself.
  1. ;;^DD(350.1,.06,21,3,0)
  1. ;;=Every 'NEW' type entry should have an associated 'CANCEL' and 'UPDATE'
  1. ;;^DD(350.1,.06,21,4,0)
  1. ;;=type entry.
  1. ;;^DD(350.1,.06,"DT")
  1. ;;=2910213
  1. ;;^DD(350.1,.07,0)
  1. ;;=UPDATE ACTION TYPE^P350.1^IBE(350.1,^0;7^Q
  1. ;;^DD(350.1,.07,21,0)
  1. ;;=^^4^4^2940209^^^
  1. ;;^DD(350.1,.07,21,1,0)
  1. ;;=This is the IB ACTION TYPE entry that will be the 'UPDATE' type for
  1. ;;^DD(350.1,.07,21,2,0)
  1. ;;=this entry. If this entry is an UPDATE type then it will be itself.
  1. ;;^DD(350.1,.07,21,3,0)
  1. ;;=For every 'NEW' type of entry, there should be an associated 'CANCEL'
  1. ;;^DD(350.1,.07,21,4,0)
  1. ;;=and 'UPDATE' type.
  1. ;;^DD(350.1,.07,"DT")
  1. ;;=2910213
  1. ;;^DD(350.1,.08,0)
  1. ;;=USER LOOKUP NAME^F^^0;8^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>22!($L(X)<3) X
  1. ;;^DD(350.1,.08,1,0)
  1. ;;=^.1
  1. ;;^DD(350.1,.08,1,1,0)
  1. ;;=350.1^E
  1. ;;^DD(350.1,.08,1,1,1)
  1. ;;=S ^IBE(350.1,"E",$E(X,1,30),DA)=""
  1. ;;^DD(350.1,.08,1,1,2)
  1. ;;=K ^IBE(350.1,"E",$E(X,1,30),DA)
  1. ;;^DD(350.1,.08,1,1,"DT")
  1. ;;=2920224
  1. ;;^DD(350.1,.08,3)
  1. ;;=Answer must be 3-22 characters in length.
  1. ;;^DD(350.1,.08,21,0)
  1. ;;=^^3^3^2920415^^^
  1. ;;^DD(350.1,.08,21,1,0)
  1. ;;=This is the name of the action that may be used for look-up and
  1. ;;^DD(350.1,.08,21,2,0)
  1. ;;=printing on reports. The name will only exist for IB ACTION TYPE
  1. ;;^DD(350.1,.08,21,3,0)
  1. ;;=entries whose SEQUENCE NUMBER is "1" for NEW.