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

IBINI0AI.m

Go to the documentation of this file.
  1. IBINI0AI ; ; 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,155,2)
  1. ;;=S Y(0)=Y S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,155,2.1)
  1. ;;=S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,155,3)
  1. ;;=Enter 'Yes' or '1' if this record contains sensitive information pertaining to, but not limited to, drugs, alcohol, and/or sickle cell anemia, 'No' or '0' if it does not.
  1. ;;^DD(399,155,21,0)
  1. ;;=^^3^3^2880921^^
  1. ;;^DD(399,155,21,1,0)
  1. ;;=This indicates whether or not this record contains information pertaining
  1. ;;^DD(399,155,21,2,0)
  1. ;;=to, but not limited to, drugs, alcohol, or sickle cell anemia, and if so,
  1. ;;^DD(399,155,21,3,0)
  1. ;;=allows the user to identify this record as "sensitive".
  1. ;;^DD(399,155,"DT")
  1. ;;=2880607
  1. ;;^DD(399,156,0)
  1. ;;=ASSIGNMENT OF BENEFITS^RFOX^^U;6^I $D(X) D YN^IBCU I $D(X) X:X=0 ^DD(399,156,9.3) K IBRATY
  1. ;;^DD(399,156,2)
  1. ;;=S Y(0)=Y S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,156,2.1)
  1. ;;=S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,156,3)
  1. ;;=Enter the code which indicates whether or not a third party is authorized to pay the provider for services covered by this bill.
  1. ;;^DD(399,156,5,1,0)
  1. ;;=399^.07^1
  1. ;;^DD(399,156,9.3)
  1. ;;=S IBRATY=$P(^DGCR(399,DA,0),"^",7) I $D(^DGCR(399.3,IBRATY,0)),$P(^(0),"^",5)=1 K X W !?4,"Answer must be YES for this 'Third Party' billing episode!",*7
  1. ;;^DD(399,156,21,0)
  1. ;;=^^2^2^2880901^
  1. ;;^DD(399,156,21,1,0)
  1. ;;=This indicates whether or not a third party is authorized to pay the
  1. ;;^DD(399,156,21,2,0)
  1. ;;=provider for services covered by this bill.
  1. ;;^DD(399,156,"DT")
  1. ;;=2881025
  1. ;;^DD(399,157,0)
  1. ;;=R.O.I. FORM(S) COMPLETED?^FOX^^U;7^I $D(X) D YN^IBCU
  1. ;;^DD(399,157,2)
  1. ;;=S Y(0)=Y S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,157,2.1)
  1. ;;=S Y=$S(Y:"YES",Y=0:"NO",1:"")
  1. ;;^DD(399,157,3)
  1. ;;=Enter 'Yes' or '1' if Release Of Information form(s) are completed, 'No' or '0' if Release Of Information form(s) are not completed.
  1. ;;^DD(399,157,21,0)
  1. ;;=^^2^2^2880901^
  1. ;;^DD(399,157,21,1,0)
  1. ;;=This allows the user to indicate if the Release of Information forms (if
  1. ;;^DD(399,157,21,2,0)
  1. ;;=necessary) have been signed.
  1. ;;^DD(399,157,"DT")
  1. ;;=2880607
  1. ;;^DD(399,158,0)
  1. ;;=TYPE OF ADMISSION^S^1:EMERGENCY;2:URGENT;3:ELECTIVE;^U;8^Q
  1. ;;^DD(399,158,3)
  1. ;;=Enter a code indicating the priority of this admission.
  1. ;;^DD(399,158,5,1,0)
  1. ;;=399^.08^2
  1. ;;^DD(399,158,21,0)
  1. ;;=^^1^1^2880901^
  1. ;;^DD(399,158,21,1,0)
  1. ;;=This indicates the priority of this admission.
  1. ;;^DD(399,158,"DT")
  1. ;;=2880523
  1. ;;^DD(399,159,0)
  1. ;;~SOURCE OF ADMISSION^S^1:PHYSICIAN REFERRAL;2:CLINIC REFERRAL;3:HMO REFERRAL;4:TRANSFER FROM HOSPITAL;5:TRANSFER FROM SKILLED NURSING FAC.;6:TRANSFER FROM OTHER
  1. ;;=HEALTH CARE FAC.;7:EMERGENCY ROOM;8:COURT/LAW ENFORCEMENT;9:INFO NOT AVAILABLE;^U;9^Q
  1. ;;^DD(399,159,3)
  1. ;;=Enter the code which indicates the source of this admission.
  1. ;;^DD(399,159,5,1,0)
  1. ;;=399^.08^1
  1. ;;^DD(399,159,21,0)
  1. ;;=^^1^1^2890405^^^
  1. ;;^DD(399,159,21,1,0)
  1. ;;=This indicates the source of this admission.
  1. ;;^DD(399,159,"DT")
  1. ;;=2890403
  1. ;;^DD(399,160,0)
  1. ;;=ACCIDENT HOUR^F^^U;10^K:$L(X)>3!($L(X)<1) X
  1. ;;^DD(399,160,3)
  1. ;;=Enter the time at which an accident took place if this bill is related to an accident.
  1. ;;^DD(399,160,5,1,0)
  1. ;;=399^.08^3
  1. ;;^DD(399,160,21,0)
  1. ;;=^^2^2^2880901^
  1. ;;^DD(399,160,21,1,0)
  1. ;;=This indicates the time at which an accident occurred if this episode
  1. ;;^DD(399,160,21,2,0)
  1. ;;=of care is related to an accident.
  1. ;;^DD(399,160,"DT")
  1. ;;=2880523
  1. ;;^DD(399,161,0)
  1. ;;=DISCHARGE BEDSECTION^*P399.1'^DGCR(399.1,^U;11^S DIC("S")="I $P(^DGCR(399.1,+Y,0),""^"",5)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X