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

IBINI0AT.m

Go to the documentation of this file.
  1. IBINI0AT ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(399) 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(399.0304,5,21,2,0)
  1. ;;=is not filled in for Billable Ambulatory Surgical Codes then a BASC
  1. ;;^DD(399.0304,5,21,3,0)
  1. ;;=revenue code and amount will not be calculated.
  1. ;;^DD(399.0304,5,"DT")
  1. ;;=2930903
  1. ;;^DD(399.0304,6,0)
  1. ;;=ASSOCIATED CLINIC^*P44'^SC(^0;7^S DIC("S")="I $P(^(0),U,3)=""C"",$S('$D(^(""I"")):1,'^(""I""):1,'$D(DGPROCDT):0,^(""I"")>DGPROCDT:1,'$P(^(""I""),U,2):0,1:$P(^(""I""),U,2)'>DGPROCDT)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(399.0304,6,12)
  1. ;;=Only active clinics!
  1. ;;^DD(399.0304,6,12.1)
  1. ;;=S DIC("S")="I $P(^(0),U,3)=""C"",$S('$D(^(""I"")):1,'^(""I""):1,'$D(DGPROCDT):0,^(""I"")>DGPROCDT:1,'$P(^(""I""),U,2):0,1:$P(^(""I""),U,2)'>DGPROCDT)"
  1. ;;^DD(399.0304,6,21,0)
  1. ;;=^^3^3^2920415^^^
  1. ;;^DD(399.0304,6,21,1,0)
  1. ;;=Enter the clinic where this procedure was performed. This field must
  1. ;;^DD(399.0304,6,21,2,0)
  1. ;;=be completed in order for this procedure to successfully be transfered
  1. ;;^DD(399.0304,6,21,3,0)
  1. ;;=to the Add/Edit Stop code logic for inclusion in OPC workload.
  1. ;;^DD(399.0304,6,"DT")
  1. ;;=2911231
  1. ;;^DD(399.0304,7,0)
  1. ;;=*ASSOCIATED DIAGNOSIS^P80'^ICD9(^0;8^Q
  1. ;;^DD(399.0304,7,3)
  1. ;;=Enter the diagnosis related to this procedure.
  1. ;;^DD(399.0304,7,21,0)
  1. ;;=^^2^2^2931117^^^^
  1. ;;^DD(399.0304,7,21,1,0)
  1. ;;=This is the diagnosis most closely related to this procedure. Used on the
  1. ;;^DD(399.0304,7,21,2,0)
  1. ;;=HFCA 1500, block 24e.
  1. ;;^DD(399.0304,7,23,0)
  1. ;;=^^2^2^2931117^
  1. ;;^DD(399.0304,7,23,1,0)
  1. ;;=Replaced by (399,304,10-13) so that could point to the diagnosis file (362.3).
  1. ;;^DD(399.0304,7,23,2,0)
  1. ;;="*"ed for deletion 11/16/93.
  1. ;;^DD(399.0304,7,"DT")
  1. ;;=2931116
  1. ;;^DD(399.0304,8,0)
  1. ;;=PLACE OF SERVICE^P353.1'^IBE(353.1,^0;9^Q
  1. ;;^DD(399.0304,8,3)
  1. ;;=Enter the Place of Service appropriate for this procedure.
  1. ;;^DD(399.0304,8,21,0)
  1. ;;=^^2^2^2930604^^
  1. ;;^DD(399.0304,8,21,1,0)
  1. ;;=This is the Place of Service appropriate for this Procedure. Used only
  1. ;;^DD(399.0304,8,21,2,0)
  1. ;;=for the HCFA 1500 claim form.
  1. ;;^DD(399.0304,8,"DT")
  1. ;;=2930604
  1. ;;^DD(399.0304,9,0)
  1. ;;=TYPE OF SERVICE^P353.2'^IBE(353.2,^0;10^Q
  1. ;;^DD(399.0304,9,3)
  1. ;;=Enter the Type of Service appropriate for this procedure.
  1. ;;^DD(399.0304,9,21,0)
  1. ;;=^^2^2^2930604^
  1. ;;^DD(399.0304,9,21,1,0)
  1. ;;=This is the Type of Service to be associated with this procedure. Applies
  1. ;;^DD(399.0304,9,21,2,0)
  1. ;;=only to the HCFA 1500 claim form.
  1. ;;^DD(399.0304,9,"DT")
  1. ;;=2930604
  1. ;;^DD(399.0304,10,0)
  1. ;;=ASSOCIATED DIAGNOSIS (1)^*P362.3'^IBA(362.3,^0;11^S DIC("S")="I +$P(^IBA(362.3,Y,0),U,2)=+$G(DA(1))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(399.0304,10,3)
  1. ;;=Enter the diagnosis related to this procedure.
  1. ;;^DD(399.0304,10,12)
  1. ;;=Only Diagnosis for this bill may be chosen.
  1. ;;^DD(399.0304,10,12.1)
  1. ;;=S DIC("S")="I +$P(^IBA(362.3,Y,0),U,2)=+$G(DA(1))"
  1. ;;^DD(399.0304,10,21,0)
  1. ;;=^^2^2^2931130^^^^
  1. ;;^DD(399.0304,10,21,1,0)
  1. ;;=The diagnosis most closely related to this procedure. Used only for the
  1. ;;^DD(399.0304,10,21,2,0)
  1. ;;=HCFA 1500, block 24e.
  1. ;;^DD(399.0304,10,23,0)
  1. ;;=^^1^1^2931130^^^^
  1. ;;^DD(399.0304,10,23,1,0)
  1. ;;=Converted from (399,304,7) with IB 2.0.
  1. ;;^DD(399.0304,10,"DT")
  1. ;;=2931130
  1. ;;^DD(399.0304,11,0)
  1. ;;=ASSOCIATED DIAGNOSIS (2)^*P362.3'^IBA(362.3,^0;12^S DIC("S")="I +$P(^IBA(362.3,Y,0),U,2)=+$G(DA(1))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(399.0304,11,3)
  1. ;;=Enter a diagnosis related to this procedure.
  1. ;;^DD(399.0304,11,12)
  1. ;;=Only Diagnosis for this bill may be chosen.
  1. ;;^DD(399.0304,11,12.1)
  1. ;;=S DIC("S")="I +$P(^IBA(362.3,Y,0),U,2)=+$G(DA(1))"