IBDEI01N ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
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
Q Q
;;^UTILITY(U,$J,358.6,19,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,358.6,19,1,1,0)
;;=For displaying the employment status of the patient.
;;^UTILITY(U,$J,358.6,19,2)
;;=EMPLOYMENT STATUS^20
;;^UTILITY(U,$J,358.6,19,3)
;;=PATIENT EMPLOYER EMPLOYMENT MAS
;;^UTILITY(U,$J,358.6,19,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,19,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,20,0)
;;=DPT SPOUSE'S EMPLOYER NAME^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,358.6,20,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,358.6,20,1,1,0)
;;=For displaying the spouse's employer.
;;^UTILITY(U,$J,358.6,20,2)
;;=employer name^45
;;^UTILITY(U,$J,358.6,20,3)
;;=PATIENT SPOUSE EMPLOYER MAS
;;^UTILITY(U,$J,358.6,20,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,20,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,21,0)
;;=DG SELECT ICD-9 DIAGNOSIS CODES^ICD9^IBDFN4^MAS^^3^2^^1^^^1^^
;;^UTILITY(U,$J,358.6,21,1,0)
;;=^^3^3^2930126^
;;^UTILITY(U,$J,358.6,21,1,1,0)
;;=Allows the user to select ICD-9 diagnosis codes from the ICD Diagnosis file.
;;^UTILITY(U,$J,358.6,21,1,2,0)
;;=Allows the user to select from a particular Major Diagnosis Category if
;;^UTILITY(U,$J,358.6,21,1,3,0)
;;=desired. Allows only active codes to be selected.
;;^UTILITY(U,$J,358.6,21,2)
;;=CODE^7^DIAGNOSIS^30^DESCRIPTION^200^^^^^^^^^^^1^1
;;^UTILITY(U,$J,358.6,21,3)
;;=SELECT ICD-9 CODES DX DIAGNOSIS
;;^UTILITY(U,$J,358.6,22,0)
;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^PATIENT FILE^1^2^2^^1^^^1^^
;;^UTILITY(U,$J,358.6,22,1,0)
;;=^^2^2^2930726^^
;;^UTILITY(U,$J,358.6,22,1,1,0)
;;=Patient's DOB in MMM DD, YYYY format
;;^UTILITY(U,$J,358.6,22,1,2,0)
;;=Patient's age in years.
;;^UTILITY(U,$J,358.6,22,2)
;;=Patient's DOB^12^Patient's Age^3
;;^UTILITY(U,$J,358.6,22,3)
;;=PATIENT DOB AGE MAS PIMS
;;^UTILITY(U,$J,358.6,22,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,22,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,23,0)
;;=DPT PATIENT'S SEX^VADPT^IBDFN^PATIENT FILE^1^2^2^^1^^^1^^
;;^UTILITY(U,$J,358.6,23,1,0)
;;=^^1^1^2931015^^^^
;;^UTILITY(U,$J,358.6,23,1,1,0)
;;=Patient's sex, either 'MALE' or 'FEMALE', or "M" or "F".
;;^UTILITY(U,$J,358.6,23,2)
;;=Patient's Sex^6^Patient's Sex (Code)^1
;;^UTILITY(U,$J,358.6,23,3)
;;=PATIENT SEX MAS
;;^UTILITY(U,$J,358.6,23,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,23,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,24,0)
;;=DPT PATIENT'S MEANS TEST DATA^MT^IBDFN2^MAS^1^2^2^^1^^^1^^
;;^UTILITY(U,$J,358.6,24,1,0)
;;=^^5^5^2931015^^^
;;^UTILITY(U,$J,358.6,24,1,1,0)
;;=Returns the patient's current means test category and the date of the most
;;^UTILITY(U,$J,358.6,24,1,2,0)
;;=recent means test. Data returned:
;;^UTILITY(U,$J,358.6,24,1,3,0)
;;= means test category
;;^UTILITY(U,$J,358.6,24,1,4,0)
;;= means test code
;;^UTILITY(U,$J,358.6,24,1,5,0)
;;= date of last means test
;;^UTILITY(U,$J,358.6,24,2)
;;=MEANS TEST CATEGORY^20^DATE OF LAST MEANS TEST^12^MEANS TEST CODE^1
;;^UTILITY(U,$J,358.6,24,3)
;;=MEANS TEST CATEGORY PATIENT MAS
;;^UTILITY(U,$J,358.6,24,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,24,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,25,0)
;;=DPT SERVICE HISTORY RELATED DATA^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^^^1^^
;;^UTILITY(U,$J,358.6,25,1,0)
;;=^^7^7^2931015^^^^
;;^UTILITY(U,$J,358.6,25,1,1,0)
;;=For displaying service history data. Data returned:
;;^UTILITY(U,$J,358.6,25,1,2,0)
;;= Vietnam service? YES/NO
;;^UTILITY(U,$J,358.6,25,1,3,0)
;;= Agent Orange exposure? YES/NO
;;^UTILITY(U,$J,358.6,25,1,4,0)
;;= radiation exposure? YES/NO
;;^UTILITY(U,$J,358.6,25,1,5,0)
;;= combat service? YES/NO
IBDEI01N ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358.6)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.6,19,1,0)
+2 ;;=^^1^1^2930217^
+3 ;;^UTILITY(U,$J,358.6,19,1,1,0)
+4 ;;=For displaying the employment status of the patient.
+5 ;;^UTILITY(U,$J,358.6,19,2)
+6 ;;=EMPLOYMENT STATUS^20
+7 ;;^UTILITY(U,$J,358.6,19,3)
+8 ;;=PATIENT EMPLOYER EMPLOYMENT MAS
+9 ;;^UTILITY(U,$J,358.6,19,7,0)
+10 ;;=^357.67^1^1
+11 ;;^UTILITY(U,$J,358.6,19,7,1,0)
+12 ;;=DFN
+13 ;;^UTILITY(U,$J,358.6,20,0)
+14 ;;=DPT SPOUSE'S EMPLOYER NAME^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
+15 ;;^UTILITY(U,$J,358.6,20,1,0)
+16 ;;=^^1^1^2930217^
+17 ;;^UTILITY(U,$J,358.6,20,1,1,0)
+18 ;;=For displaying the spouse's employer.
+19 ;;^UTILITY(U,$J,358.6,20,2)
+20 ;;=employer name^45
+21 ;;^UTILITY(U,$J,358.6,20,3)
+22 ;;=PATIENT SPOUSE EMPLOYER MAS
+23 ;;^UTILITY(U,$J,358.6,20,7,0)
+24 ;;=^357.67^1^1
+25 ;;^UTILITY(U,$J,358.6,20,7,1,0)
+26 ;;=DFN
+27 ;;^UTILITY(U,$J,358.6,21,0)
+28 ;;=DG SELECT ICD-9 DIAGNOSIS CODES^ICD9^IBDFN4^MAS^^3^2^^1^^^1^^
+29 ;;^UTILITY(U,$J,358.6,21,1,0)
+30 ;;=^^3^3^2930126^
+31 ;;^UTILITY(U,$J,358.6,21,1,1,0)
+32 ;;=Allows the user to select ICD-9 diagnosis codes from the ICD Diagnosis file.
+33 ;;^UTILITY(U,$J,358.6,21,1,2,0)
+34 ;;=Allows the user to select from a particular Major Diagnosis Category if
+35 ;;^UTILITY(U,$J,358.6,21,1,3,0)
+36 ;;=desired. Allows only active codes to be selected.
+37 ;;^UTILITY(U,$J,358.6,21,2)
+38 ;;=CODE^7^DIAGNOSIS^30^DESCRIPTION^200^^^^^^^^^^^1^1
+39 ;;^UTILITY(U,$J,358.6,21,3)
+40 ;;=SELECT ICD-9 CODES DX DIAGNOSIS
+41 ;;^UTILITY(U,$J,358.6,22,0)
+42 ;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^PATIENT FILE^1^2^2^^1^^^1^^
+43 ;;^UTILITY(U,$J,358.6,22,1,0)
+44 ;;=^^2^2^2930726^^
+45 ;;^UTILITY(U,$J,358.6,22,1,1,0)
+46 ;;=Patient's DOB in MMM DD, YYYY format
+47 ;;^UTILITY(U,$J,358.6,22,1,2,0)
+48 ;;=Patient's age in years.
+49 ;;^UTILITY(U,$J,358.6,22,2)
+50 ;;=Patient's DOB^12^Patient's Age^3
+51 ;;^UTILITY(U,$J,358.6,22,3)
+52 ;;=PATIENT DOB AGE MAS PIMS
+53 ;;^UTILITY(U,$J,358.6,22,7,0)
+54 ;;=^357.67^1^1
+55 ;;^UTILITY(U,$J,358.6,22,7,1,0)
+56 ;;=DFN
+57 ;;^UTILITY(U,$J,358.6,23,0)
+58 ;;=DPT PATIENT'S SEX^VADPT^IBDFN^PATIENT FILE^1^2^2^^1^^^1^^
+59 ;;^UTILITY(U,$J,358.6,23,1,0)
+60 ;;=^^1^1^2931015^^^^
+61 ;;^UTILITY(U,$J,358.6,23,1,1,0)
+62 ;;=Patient's sex, either 'MALE' or 'FEMALE', or "M" or "F".
+63 ;;^UTILITY(U,$J,358.6,23,2)
+64 ;;=Patient's Sex^6^Patient's Sex (Code)^1
+65 ;;^UTILITY(U,$J,358.6,23,3)
+66 ;;=PATIENT SEX MAS
+67 ;;^UTILITY(U,$J,358.6,23,7,0)
+68 ;;=^357.67^1^1
+69 ;;^UTILITY(U,$J,358.6,23,7,1,0)
+70 ;;=DFN
+71 ;;^UTILITY(U,$J,358.6,24,0)
+72 ;;=DPT PATIENT'S MEANS TEST DATA^MT^IBDFN2^MAS^1^2^2^^1^^^1^^
+73 ;;^UTILITY(U,$J,358.6,24,1,0)
+74 ;;=^^5^5^2931015^^^
+75 ;;^UTILITY(U,$J,358.6,24,1,1,0)
+76 ;;=Returns the patient's current means test category and the date of the most
+77 ;;^UTILITY(U,$J,358.6,24,1,2,0)
+78 ;;=recent means test. Data returned:
+79 ;;^UTILITY(U,$J,358.6,24,1,3,0)
+80 ;;= means test category
+81 ;;^UTILITY(U,$J,358.6,24,1,4,0)
+82 ;;= means test code
+83 ;;^UTILITY(U,$J,358.6,24,1,5,0)
+84 ;;= date of last means test
+85 ;;^UTILITY(U,$J,358.6,24,2)
+86 ;;=MEANS TEST CATEGORY^20^DATE OF LAST MEANS TEST^12^MEANS TEST CODE^1
+87 ;;^UTILITY(U,$J,358.6,24,3)
+88 ;;=MEANS TEST CATEGORY PATIENT MAS
+89 ;;^UTILITY(U,$J,358.6,24,7,0)
+90 ;;=^357.67^1^1
+91 ;;^UTILITY(U,$J,358.6,24,7,1,0)
+92 ;;=DFN
+93 ;;^UTILITY(U,$J,358.6,25,0)
+94 ;;=DPT SERVICE HISTORY RELATED DATA^ELIG^IBDFN^PATIENT FILE^1^2^2^0^1^^^1^^
+95 ;;^UTILITY(U,$J,358.6,25,1,0)
+96 ;;=^^7^7^2931015^^^^
+97 ;;^UTILITY(U,$J,358.6,25,1,1,0)
+98 ;;=For displaying service history data. Data returned:
+99 ;;^UTILITY(U,$J,358.6,25,1,2,0)
+100 ;;= Vietnam service? YES/NO
+101 ;;^UTILITY(U,$J,358.6,25,1,3,0)
+102 ;;= Agent Orange exposure? YES/NO
+103 ;;^UTILITY(U,$J,358.6,25,1,4,0)
+104 ;;= radiation exposure? YES/NO
+105 ;;^UTILITY(U,$J,358.6,25,1,5,0)
+106 ;;= combat service? YES/NO