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

IBINI030.m

Go to the documentation of this file.
  1. IBINI030 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(351) 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(351,.04,1,1,"%D",6,0)
  1. ;;=killed whenever the patient field is defined. The "ACT" cross-reference
  1. ;;^DD(351,.04,1,1,"%D",7,0)
  1. ;;=on the patient field is the companion to this cross-reference.
  1. ;;^DD(351,.04,1,1,"DT")
  1. ;;=2911106
  1. ;;^DD(351,.04,3)
  1. ;;=Enter the present status for this billing clock.
  1. ;;^DD(351,.04,21,0)
  1. ;;=^^7^7^2920415^^^^
  1. ;;^DD(351,.04,21,1,0)
  1. ;;=The status of the billing clock will be CURRENT if charges are being
  1. ;;^DD(351,.04,21,2,0)
  1. ;;=created for that clock. The clock will be CLOSED after 365 days or
  1. ;;^DD(351,.04,21,3,0)
  1. ;;=the date on which the patient is no longer Category C, whichever is
  1. ;;^DD(351,.04,21,4,0)
  1. ;;=earlier. Billing clocks which may have been "left open" due to a lack
  1. ;;^DD(351,.04,21,5,0)
  1. ;;=of billable activity will be closed during the nightly compilation
  1. ;;^DD(351,.04,21,6,0)
  1. ;;=job. Billing clocks which must be deleted for any reason will
  1. ;;^DD(351,.04,21,7,0)
  1. ;;=have a status of CANCELLED.
  1. ;;^DD(351,.04,"DT")
  1. ;;=2911106
  1. ;;^DD(351,.05,0)
  1. ;;=1ST 90 DAY INPATIENT AMOUNT^NJ7,2^^0;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999.99)!(X<0) X
  1. ;;^DD(351,.05,3)
  1. ;;=Type a Dollar Amount between 0 and 9999.99, 2 Decimal Digits
  1. ;;^DD(351,.05,21,0)
  1. ;;=^^3^3^2920415^^^^
  1. ;;^DD(351,.05,21,1,0)
  1. ;;=This field represents the total co-payment (not including the per diem
  1. ;;^DD(351,.05,21,2,0)
  1. ;;=charge) amount which has been billed to the patient for his first 90 days
  1. ;;^DD(351,.05,21,3,0)
  1. ;;=of Hospital or Nursing Home care.
  1. ;;^DD(351,.05,"DT")
  1. ;;=2911009
  1. ;;^DD(351,.06,0)
  1. ;;=2ND 90 DAY INPATIENT AMOUNT^NJ7,2^^0;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999.99)!(X<0) X
  1. ;;^DD(351,.06,3)
  1. ;;=Type a Dollar Amount between 0 and 9999.99, 2 Decimal Digits
  1. ;;^DD(351,.06,21,0)
  1. ;;=^^3^3^2920415^^^
  1. ;;^DD(351,.06,21,1,0)
  1. ;;=This field represents the total co-payment (not including the per diem
  1. ;;^DD(351,.06,21,2,0)
  1. ;;=charge) amount which has been billed to the patient for his second 90 days
  1. ;;^DD(351,.06,21,3,0)
  1. ;;=of Hospital or Nursing Home care.
  1. ;;^DD(351,.06,"DT")
  1. ;;=2911009
  1. ;;^DD(351,.07,0)
  1. ;;=3RD 90 DAY INPATIENT AMOUNT^NJ7,2^^0;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999.99)!(X<0) X
  1. ;;^DD(351,.07,3)
  1. ;;=Type a Dollar Amount between 0 and 9999.99, 2 Decimal Digits
  1. ;;^DD(351,.07,21,0)
  1. ;;=^^3^3^2920415^^^
  1. ;;^DD(351,.07,21,1,0)
  1. ;;=This field represents the total co-payment (not including the per diem
  1. ;;^DD(351,.07,21,2,0)
  1. ;;=charge) amount which has been billed to the patient for his third 90 days
  1. ;;^DD(351,.07,21,3,0)
  1. ;;=of Hospital or Nursing Home care.
  1. ;;^DD(351,.07,"DT")
  1. ;;=2911009
  1. ;;^DD(351,.08,0)
  1. ;;=4TH 90 DAY INPATIENT AMOUNT^NJ7,2^^0;8^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999.99)!(X<0) X
  1. ;;^DD(351,.08,3)
  1. ;;=Type a Dollar Amount between 0 and 9999.99, 2 Decimal Digits
  1. ;;^DD(351,.08,21,0)
  1. ;;=^^3^3^2920415^^^
  1. ;;^DD(351,.08,21,1,0)
  1. ;;=This field represents the total co-payment (not including the per diem
  1. ;;^DD(351,.08,21,2,0)
  1. ;;=charge) amount which has been billed to the patient for his fourth 90 days
  1. ;;^DD(351,.08,21,3,0)
  1. ;;=of Hospital or Nursing Home care.
  1. ;;^DD(351,.08,"DT")
  1. ;;=2911009
  1. ;;^DD(351,.09,0)
  1. ;;=NUMBER INPATIENT DAYS^NJ3,0^^0;9^K:+X'=X!(X>365)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(351,.09,3)
  1. ;;=Type a Number between 0 and 365, 0 Decimal Digits
  1. ;;^DD(351,.09,21,0)
  1. ;;=^^4^4^2920225^^^
  1. ;;^DD(351,.09,21,1,0)
  1. ;;=This field represents the total number of days that the patient has
  1. ;;^DD(351,.09,21,2,0)
  1. ;;=spent in the Hospital or Nursing Home since the Clock Begin Date.