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

IBDEI01L.m

Go to the documentation of this file.
  1. IBDEI01L ; ; 18-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQR(358.6) 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. ;;^UTILITY(U,$J,358.6,8,1,3,0)
  1. ;;= period of service
  1. ;;^UTILITY(U,$J,358.6,8,1,4,0)
  1. ;;= service connected? YES/NO
  1. ;;^UTILITY(U,$J,358.6,8,1,5,0)
  1. ;;= veteran? YES/NO
  1. ;;^UTILITY(U,$J,358.6,8,1,6,0)
  1. ;;= eligible for care? YES/NO
  1. ;;^UTILITY(U,$J,358.6,8,1,7,0)
  1. ;;= type of patient
  1. ;;^UTILITY(U,$J,358.6,8,1,8,0)
  1. ;;= SC%
  1. ;;^UTILITY(U,$J,358.6,8,2)
  1. ;;=ELIGIBILTY CODE/EXTERNAL FORM^30^PERIOD OF SERVICE^25^SERVICE CONNECTED?^3^VETERAN?^3^ELIGIBLE FOR CARE?^3^TYPE OF PATIENT^20^SC %^3
  1. ;;^UTILITY(U,$J,358.6,8,3)
  1. ;;=ELIGIBLE ELIGIBILITY PATIENT PERIOD SERVICE CONNECTED VETERAN STATUS
  1. ;;^UTILITY(U,$J,358.6,8,7,0)
  1. ;;=^357.67^1^1
  1. ;;^UTILITY(U,$J,358.6,8,7,1,0)
  1. ;;=DFN
  1. ;;^UTILITY(U,$J,358.6,9,0)
  1. ;;=DPT PATIENT ADDRESS LINES^ADDRESS^IBDFN6^PATIENT FILE^1^2^3^1^1^^^1^^
  1. ;;^UTILITY(U,$J,358.6,9,1,0)
  1. ;;=^^1^1^2930128^
  1. ;;^UTILITY(U,$J,358.6,9,1,1,0)
  1. ;;=Outputs the patient's address, up to 4 lines of 45 characters each.
  1. ;;^UTILITY(U,$J,358.6,9,2)
  1. ;;=ADDRESS LINE^45
  1. ;;^UTILITY(U,$J,358.6,9,3)
  1. ;;=PATIENT ADDRESS MAS
  1. ;;^UTILITY(U,$J,358.6,9,7,0)
  1. ;;=^357.67^1^1
  1. ;;^UTILITY(U,$J,358.6,9,7,1,0)
  1. ;;=DFN
  1. ;;^UTILITY(U,$J,358.6,10,0)
  1. ;;=IB CURRENT DATE^NOW^IBDFN2^INTEGRATED BILLING^1^2^1^0^1^^^1^^
  1. ;;^UTILITY(U,$J,358.6,10,1,0)
  1. ;;=^^1^1^2930528^^
  1. ;;^UTILITY(U,$J,358.6,10,1,1,0)
  1. ;;=Prints the current date in MMM DD,YYYY format.
  1. ;;^UTILITY(U,$J,358.6,10,2)
  1. ;;=CURRENT DATE (MMM DD, YYYY)^12
  1. ;;^UTILITY(U,$J,358.6,10,3)
  1. ;;=TODAY CURRENT DATE DAY
  1. ;;^UTILITY(U,$J,358.6,11,0)
  1. ;;=DPT PATIENT'S SC CONDITIONS^ELIG^IBDFN^PATIENT FILE^1^2^4^1^1^^^1^^
  1. ;;^UTILITY(U,$J,358.6,11,1,0)
  1. ;;=^^7^7^2931015^^^^
  1. ;;^UTILITY(U,$J,358.6,11,1,1,0)
  1. ;;=Used to output a list of the patients service connected conditons, along with
  1. ;;^UTILITY(U,$J,358.6,11,1,2,0)
  1. ;;=the percentage ratings. Data returned:
  1. ;;^UTILITY(U,$J,358.6,11,1,3,0)
  1. ;;= disability name
  1. ;;^UTILITY(U,$J,358.6,11,1,4,0)
  1. ;;= disability percentage
  1. ;;^UTILITY(U,$J,358.6,11,1,5,0)
  1. ;;= disability percentage with the label "%"
  1. ;;^UTILITY(U,$J,358.6,11,1,6,0)
  1. ;;= disabilty percentage with the label "%SC"
  1. ;;^UTILITY(U,$J,358.6,11,1,7,0)
  1. ;;= disability percentage with the label "% - SERVICE CONNECTED"
  1. ;;^UTILITY(U,$J,358.6,11,2)
  1. ;;=Disability Name^45^Disability % (number only)^3^Disability % (label=%)^4^Disabilty % (label=%SC)^6^Dis.%_"% - SERVICE CONNECTED"^24
  1. ;;^UTILITY(U,$J,358.6,11,3)
  1. ;;=CONDITIONS PATIENT MAS PIMS DISABILITY DISABILITIES
  1. ;;^UTILITY(U,$J,358.6,11,7,0)
  1. ;;=^357.67^1^1
  1. ;;^UTILITY(U,$J,358.6,11,7,1,0)
  1. ;;=DFN
  1. ;;^UTILITY(U,$J,358.6,12,0)
  1. ;;=DPT IS PATIENT INSURED?^INSURED^IBDFN6^PATIENT FILE^1^2^1^^1^^^1^^
  1. ;;^UTILITY(U,$J,358.6,12,1,0)
  1. ;;=^^2^2^2931130^^^^
  1. ;;^UTILITY(U,$J,358.6,12,1,1,0)
  1. ;;=Prints 'YES','NO', or 'UNKNOWN' based on the field COVERED BY INSURANCE?
  1. ;;^UTILITY(U,$J,358.6,12,1,2,0)
  1. ;;=from the patient file.
  1. ;;^UTILITY(U,$J,358.6,12,2)
  1. ;;=Covered by Ins?^7
  1. ;;^UTILITY(U,$J,358.6,12,3)
  1. ;;=PATIENT INSURANCE MAS
  1. ;;^UTILITY(U,$J,358.6,12,7,0)
  1. ;;=^357.67^1^1
  1. ;;^UTILITY(U,$J,358.6,12,7,1,0)
  1. ;;=DFN
  1. ;;^UTILITY(U,$J,358.6,13,0)
  1. ;;=DPT PATIENT'S INSURANCE POLICIES^INSURANC^IBDFN6^PATIENT FILE^1^2^4^1^1^^^1^^
  1. ;;^UTILITY(U,$J,358.6,13,1,0)
  1. ;;=^^10^10^2931201^
  1. ;;^UTILITY(U,$J,358.6,13,1,1,0)
  1. ;;=For displaying information on the patient's health insurance. Returns
  1. ;;^UTILITY(U,$J,358.6,13,1,2,0)
  1. ;;=active insurance policies and policies that do not reimburse (Medicare).
  1. ;;^UTILITY(U,$J,358.6,13,1,3,0)
  1. ;;=Data returned:
  1. ;;^UTILITY(U,$J,358.6,13,1,4,0)
  1. ;;= insurance company