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

IBINI07D.m

Go to the documentation of this file.
  1. IBINI07D ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(356.94) 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.94,0,"GL")
  1. ;;=^IBT(356.94,
  1. ;;^DIC("B","INPATIENT PROVIDERS",356.94)
  1. ;;=
  1. ;;^DIC(356.94,"%D",0)
  1. ;;=^^11^11^2940214^^^^
  1. ;;^DIC(356.94,"%D",1,0)
  1. ;;=This file is to allow the claims tracking module store the admitting
  1. ;;^DIC(356.94,"%D",2,0)
  1. ;;=physician. In addition, the attending and resident providers can be
  1. ;;^DIC(356.94,"%D",3,0)
  1. ;;=identified in this file. If attending and resident providers are
  1. ;;^DIC(356.94,"%D",4,0)
  1. ;;=entered then they are assume to be entered completely for an episode
  1. ;;^DIC(356.94,"%D",5,0)
  1. ;;=of care being tracked. If no provider other than admitting physician
  1. ;;^DIC(356.94,"%D",6,0)
  1. ;;=is entered then the providers and attending from MAS will be considered
  1. ;;^DIC(356.94,"%D",7,0)
  1. ;;=to the the correct providers. Because QM data may be extracting this
  1. ;;^DIC(356.94,"%D",8,0)
  1. ;;=data on the national roll-up, it is necessary to correctly identify the
  1. ;;^DIC(356.94,"%D",9,0)
  1. ;;=attending physician.
  1. ;;^DIC(356.94,"%D",10,0)
  1. ;;=
  1. ;;^DIC(356.94,"%D",11,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(356.94,0)
  1. ;;=FIELD^^.04^4
  1. ;;^DD(356.94,0,"DDA")
  1. ;;=N
  1. ;;^DD(356.94,0,"DT")
  1. ;;=2940202
  1. ;;^DD(356.94,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGPM(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(405,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.94,0,"ID",.03)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^VA(200,+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(200,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.94,0,"ID","WRITE")
  1. ;;=N Y S Y=$G(^(0)) W " ",$P($G(^DPT(+$P($G(^DGPM(+$P(Y,U,2),0)),U,3),0)),U)
  1. ;;^DD(356.94,0,"IX","ADG",356.94,.02)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ADG1",356.94,.03)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ADG2",356.94,.04)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ADGPM",356.94,.02)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ADGPM1",356.94,.03)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ATP",356.94,.02)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","ATP1",356.94,.04)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","B",356.94,.01)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","C",356.94,.02)
  1. ;;=
  1. ;;^DD(356.94,0,"IX","D",356.94,.03)
  1. ;;=
  1. ;;^DD(356.94,0,"NM","INPATIENT PROVIDERS")
  1. ;;=
  1. ;;^DD(356.94,.01,0)
  1. ;;=DATE OF CHANGE^RDX^^0;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X K:'$$DTCHK^IBTRE5(DA,$G(X)) X
  1. ;;^DD(356.94,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(356.94,.01,1,1,0)
  1. ;;=356.94^B
  1. ;;^DD(356.94,.01,1,1,1)
  1. ;;=S ^IBT(356.94,"B",$E(X,1,30),DA)=""
  1. ;;^DD(356.94,.01,1,1,2)
  1. ;;=K ^IBT(356.94,"B",$E(X,1,30),DA)
  1. ;;^DD(356.94,.01,3)
  1. ;;=Enter the date the is provider assumes responsibility for the patient. It can not be before the admission date or after the discharge date or if not discharged, more than 7 days into the future.
  1. ;;^DD(356.94,.01,21,0)
  1. ;;=^^9^9^2940222^^
  1. ;;^DD(356.94,.01,21,1,0)
  1. ;;=This is the first day that this provider is responsible for care for
  1. ;;^DD(356.94,.01,21,2,0)
  1. ;;=the patient. Enter the date that the provider assumes responsibility.
  1. ;;^DD(356.94,.01,21,3,0)
  1. ;;=For claims tracking purposes the provider will be resonsible for the
  1. ;;^DD(356.94,.01,21,4,0)
  1. ;;=care from this date (inclusive) until another provider assumes
  1. ;;^DD(356.94,.01,21,5,0)
  1. ;;=responsibility for the same level.
  1. ;;^DD(356.94,.01,21,6,0)
  1. ;;=
  1. ;;^DD(356.94,.01,21,7,0)
  1. ;;=The date must not be before the admission date or after the discharge
  1. ;;^DD(356.94,.01,21,8,0)
  1. ;;=date. If a current inpatient, it can not be more than 7 days into the
  1. ;;^DD(356.94,.01,21,9,0)
  1. ;;=future.
  1. ;;^DD(356.94,.01,"DT")
  1. ;;=2940222
  1. ;;^DD(356.94,.02,0)
  1. ;;=ADMISSION MOVEMENT^R*P405'^DGPM(^0;2^S DIC("S")="I $P(^(0),U,2)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X