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

IBINI05Z.m

Go to the documentation of this file.
  1. IBINI05Z ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(356.2) 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. ;;^DIC(356.2,0,"GL")
  1. ;;=^IBT(356.2,
  1. ;;^DIC("B","INSURANCE REVIEW",356.2)
  1. ;;=
  1. ;;^DIC(356.2,"%D",0)
  1. ;;=^^10^10^2940214^^^^
  1. ;;^DIC(356.2,"%D",1,0)
  1. ;;=This file contains information about the MCCR/UR portion of Utilization
  1. ;;^DIC(356.2,"%D",2,0)
  1. ;;=Review and the associated contacts with Insurance Carriers. Appropriateness
  1. ;;^DIC(356.2,"%D",3,0)
  1. ;;=of care is inferred from the approval and denial of billing days by
  1. ;;^DIC(356.2,"%D",4,0)
  1. ;;=the insurance carriers UR section.
  1. ;;^DIC(356.2,"%D",5,0)
  1. ;;=
  1. ;;^DIC(356.2,"%D",6,0)
  1. ;;=While this information appears to be primarily administrative in nature
  1. ;;^DIC(356.2,"%D",7,0)
  1. ;;=it may contain sensitive clinical information and should be treated with
  1. ;;^DIC(356.2,"%D",8,0)
  1. ;;=the same confidentiality as required of all clinical data.
  1. ;;^DIC(356.2,"%D",9,0)
  1. ;;=
  1. ;;^DIC(356.2,"%D",10,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(356.2,0)
  1. ;;=FIELD^^1.07^40
  1. ;;^DD(356.2,0,"DT")
  1. ;;=2940127
  1. ;;^DD(356.2,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBT(356,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(356,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.2,0,"ID",.04)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(356.11,+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(356.11,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.2,0,"ID",.05)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DPT(+$P(^(0),U,5),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(2,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.2,0,"ID",.08)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DIC(36,+$P(^(0),U,8),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(36,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.2,0,"ID",1.05)
  1. ;;=W ""
  1. ;;^DD(356.2,0,"IX","AC",356.2,.04)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ACT",356.2,.11)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","AD",356.2,.03)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ADFN",356.2,.05)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ADFN1",356.2,.01)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","AE",356.2,.19)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","AIACT",356.2,.08)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","AIACT1",356.2,.11)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","AP",356.2,.18)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","APACT",356.2,.05)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","APACT1",356.2,.11)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","APEND",356.2,.24)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","APRE",356.2,.02)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","APRE1",356.2,.28)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ATIDT",356.2,.01)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ATIDT1",356.2,.02)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ATRP",356.2,.02)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","ATRTP1",356.2,.04)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","B",356.2,.01)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","C",356.2,.02)
  1. ;;=
  1. ;;^DD(356.2,0,"IX","D",356.2,.05)
  1. ;;=
  1. ;;^DD(356.2,0,"NM","INSURANCE REVIEW")
  1. ;;=
  1. ;;^DD(356.2,0,"PT",356.2,.18)
  1. ;;=
  1. ;;^DD(356.2,.01,0)
  1. ;;=REVIEW DATE^RD^^0;1^S %DT="ETX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(356.2,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(356.2,.01,1,1,0)
  1. ;;=356.2^B
  1. ;;^DD(356.2,.01,1,1,1)
  1. ;;=S ^IBT(356.2,"B",$E(X,1,30),DA)=""
  1. ;;^DD(356.2,.01,1,1,2)
  1. ;;=K ^IBT(356.2,"B",$E(X,1,30),DA)
  1. ;;^DD(356.2,.01,1,2,0)
  1. ;;=356.2^ATIDT^MUMPS
  1. ;;^DD(356.2,.01,1,2,1)
  1. ;;=S:$P(^IBT(356.2,DA,0),U,2) ^IBT(356.2,"ATIDT",+$P(^(0),U,2),-X,DA)=""
  1. ;;^DD(356.2,.01,1,2,2)
  1. ;;=K ^IBT(356.2,"ATIDT",+$P(^IBT(356.2,DA,0),U,2),-X,DA)
  1. ;;^DD(356.2,.01,1,2,"%D",0)
  1. ;;=^^2^2^2930818^^
  1. ;;^DD(356.2,.01,1,2,"%D",1,0)
  1. ;;=Cross-Reference of all entries by tracking ID and by inverse date so can
  1. ;;^DD(356.2,.01,1,2,"%D",2,0)
  1. ;;=list most recent first.
  1. ;;^DD(356.2,.01,1,2,"DT")
  1. ;;=2930818
  1. ;;^DD(356.2,.01,1,3,0)
  1. ;;=356.2^ADFN1^MUMPS