IBINI08D ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(357.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,357.6,20,1,2,0)
;;=of a list of address lines each up to 30 characters long. The number of lines
;;^UTILITY(U,$J,357.6,20,1,3,0)
;;=is variable, up to 4.
;;^UTILITY(U,$J,357.6,20,2)
;;=ADDRESS LINE^45
;;^UTILITY(U,$J,357.6,20,3)
;;=PATIENT EMPLOYER ADDRESS MAS
;;^UTILITY(U,$J,357.6,20,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,20,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,21,0)
;;=DPT PATIENT'S EMPLOYER TELEPHONE^EMPLOYER^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,21,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,357.6,21,1,1,0)
;;=For displaying the patient's employer's telephone number.
;;^UTILITY(U,$J,357.6,21,2)
;;=telephone number^20
;;^UTILITY(U,$J,357.6,21,3)
;;=PATIENT EMPLOYER TELEPHONE MAS
;;^UTILITY(U,$J,357.6,21,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,21,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,22,0)
;;=DPT SPOUSE'S EMPLOYER NAME^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,22,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,357.6,22,1,1,0)
;;=For displaying the spouse's employer.
;;^UTILITY(U,$J,357.6,22,2)
;;=employer name^45
;;^UTILITY(U,$J,357.6,22,3)
;;=PATIENT SPOUSE EMPLOYER MAS
;;^UTILITY(U,$J,357.6,22,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,22,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,23,0)
;;=DPT SPOUSE'S EMPLOYER ADDRESS LINES^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^4^^1^^^1^^
;;^UTILITY(U,$J,357.6,23,1,0)
;;=^^3^3^2930217^
;;^UTILITY(U,$J,357.6,23,1,1,0)
;;=For displaying the patient's spouse's employer's address. The address is in the form
;;^UTILITY(U,$J,357.6,23,1,2,0)
;;=of a list of address liness each up to 30 characters long. The number of line
;;^UTILITY(U,$J,357.6,23,1,3,0)
;;=is variable, up to 4.
;;^UTILITY(U,$J,357.6,23,2)
;;=address line^45
;;^UTILITY(U,$J,357.6,23,3)
;;=PATIENT SPOUSE EMPLOYER ADDRESS MAS
;;^UTILITY(U,$J,357.6,23,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,23,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,24,0)
;;=DPT SPOUSE'S EMPLOYER TELEPHONE^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,24,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,357.6,24,1,1,0)
;;=For displaying the telephone number of the spouse's employer.
;;^UTILITY(U,$J,357.6,24,2)
;;=telephone number^20
;;^UTILITY(U,$J,357.6,24,3)
;;=PATIENT SPOUSE EMPLOYER TELEPHONE MAS
;;^UTILITY(U,$J,357.6,24,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,24,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,25,0)
;;=DPT PATIENT'S MARITAL STATUS^VADPT^IBDFN^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,25,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,357.6,25,1,1,0)
;;=For displaying the patient's marital status.
;;^UTILITY(U,$J,357.6,25,2)
;;=MARITAL STATUS^15
;;^UTILITY(U,$J,357.6,25,3)
;;=PATIENT MARITAL STATUS MAS
;;^UTILITY(U,$J,357.6,25,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,25,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,26,0)
;;=DPT PATIENT'S EMPLOYMENT STATUS^EMPLMNT^IBDFN^PATIENT FILE^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,26,1,0)
;;=^^1^1^2930217^
;;^UTILITY(U,$J,357.6,26,1,1,0)
;;=For displaying the employment status of the patient.
;;^UTILITY(U,$J,357.6,26,2)
;;=EMPLOYMENT STATUS^20
;;^UTILITY(U,$J,357.6,26,3)
;;=PATIENT EMPLOYER EMPLOYMENT MAS
;;^UTILITY(U,$J,357.6,26,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,26,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,27,0)
;;=SD CLINIC NAME^CLINIC^IBDFN1^SCHEDULING^1^2^1^^1^^^1^^
;;^UTILITY(U,$J,357.6,27,1,0)
;;=^^2^2^2930616^^
;;^UTILITY(U,$J,357.6,27,1,1,0)
;;=
;;^UTILITY(U,$J,357.6,27,1,2,0)
;;=Outputs the name of the clinic.
;;^UTILITY(U,$J,357.6,27,2)
;;=CLINIC NAME^30
IBINI08D ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(357.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,357.6,20,1,2,0)
+2 ;;=of a list of address lines each up to 30 characters long. The number of lines
+3 ;;^UTILITY(U,$J,357.6,20,1,3,0)
+4 ;;=is variable, up to 4.
+5 ;;^UTILITY(U,$J,357.6,20,2)
+6 ;;=ADDRESS LINE^45
+7 ;;^UTILITY(U,$J,357.6,20,3)
+8 ;;=PATIENT EMPLOYER ADDRESS MAS
+9 ;;^UTILITY(U,$J,357.6,20,7,0)
+10 ;;=^357.67^1^1
+11 ;;^UTILITY(U,$J,357.6,20,7,1,0)
+12 ;;=DFN
+13 ;;^UTILITY(U,$J,357.6,21,0)
+14 ;;=DPT PATIENT'S EMPLOYER TELEPHONE^EMPLOYER^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
+15 ;;^UTILITY(U,$J,357.6,21,1,0)
+16 ;;=^^1^1^2930217^
+17 ;;^UTILITY(U,$J,357.6,21,1,1,0)
+18 ;;=For displaying the patient's employer's telephone number.
+19 ;;^UTILITY(U,$J,357.6,21,2)
+20 ;;=telephone number^20
+21 ;;^UTILITY(U,$J,357.6,21,3)
+22 ;;=PATIENT EMPLOYER TELEPHONE MAS
+23 ;;^UTILITY(U,$J,357.6,21,7,0)
+24 ;;=^357.67^1^1
+25 ;;^UTILITY(U,$J,357.6,21,7,1,0)
+26 ;;=DFN
+27 ;;^UTILITY(U,$J,357.6,22,0)
+28 ;;=DPT SPOUSE'S EMPLOYER NAME^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
+29 ;;^UTILITY(U,$J,357.6,22,1,0)
+30 ;;=^^1^1^2930217^
+31 ;;^UTILITY(U,$J,357.6,22,1,1,0)
+32 ;;=For displaying the spouse's employer.
+33 ;;^UTILITY(U,$J,357.6,22,2)
+34 ;;=employer name^45
+35 ;;^UTILITY(U,$J,357.6,22,3)
+36 ;;=PATIENT SPOUSE EMPLOYER MAS
+37 ;;^UTILITY(U,$J,357.6,22,7,0)
+38 ;;=^357.67^1^1
+39 ;;^UTILITY(U,$J,357.6,22,7,1,0)
+40 ;;=DFN
+41 ;;^UTILITY(U,$J,357.6,23,0)
+42 ;;=DPT SPOUSE'S EMPLOYER ADDRESS LINES^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^4^^1^^^1^^
+43 ;;^UTILITY(U,$J,357.6,23,1,0)
+44 ;;=^^3^3^2930217^
+45 ;;^UTILITY(U,$J,357.6,23,1,1,0)
+46 ;;=For displaying the patient's spouse's employer's address. The address is in the form
+47 ;;^UTILITY(U,$J,357.6,23,1,2,0)
+48 ;;=of a list of address liness each up to 30 characters long. The number of line
+49 ;;^UTILITY(U,$J,357.6,23,1,3,0)
+50 ;;=is variable, up to 4.
+51 ;;^UTILITY(U,$J,357.6,23,2)
+52 ;;=address line^45
+53 ;;^UTILITY(U,$J,357.6,23,3)
+54 ;;=PATIENT SPOUSE EMPLOYER ADDRESS MAS
+55 ;;^UTILITY(U,$J,357.6,23,7,0)
+56 ;;=^357.67^1^1
+57 ;;^UTILITY(U,$J,357.6,23,7,1,0)
+58 ;;=DFN
+59 ;;^UTILITY(U,$J,357.6,24,0)
+60 ;;=DPT SPOUSE'S EMPLOYER TELEPHONE^SPSEMPLR^IBDFN2^PATIENT FILE^1^2^1^^1^^^1^^
+61 ;;^UTILITY(U,$J,357.6,24,1,0)
+62 ;;=^^1^1^2930217^
+63 ;;^UTILITY(U,$J,357.6,24,1,1,0)
+64 ;;=For displaying the telephone number of the spouse's employer.
+65 ;;^UTILITY(U,$J,357.6,24,2)
+66 ;;=telephone number^20
+67 ;;^UTILITY(U,$J,357.6,24,3)
+68 ;;=PATIENT SPOUSE EMPLOYER TELEPHONE MAS
+69 ;;^UTILITY(U,$J,357.6,24,7,0)
+70 ;;=^357.67^1^1
+71 ;;^UTILITY(U,$J,357.6,24,7,1,0)
+72 ;;=DFN
+73 ;;^UTILITY(U,$J,357.6,25,0)
+74 ;;=DPT PATIENT'S MARITAL STATUS^VADPT^IBDFN^PATIENT FILE^1^2^1^^1^^^1^^
+75 ;;^UTILITY(U,$J,357.6,25,1,0)
+76 ;;=^^1^1^2930217^
+77 ;;^UTILITY(U,$J,357.6,25,1,1,0)
+78 ;;=For displaying the patient's marital status.
+79 ;;^UTILITY(U,$J,357.6,25,2)
+80 ;;=MARITAL STATUS^15
+81 ;;^UTILITY(U,$J,357.6,25,3)
+82 ;;=PATIENT MARITAL STATUS MAS
+83 ;;^UTILITY(U,$J,357.6,25,7,0)
+84 ;;=^357.67^1^1
+85 ;;^UTILITY(U,$J,357.6,25,7,1,0)
+86 ;;=DFN
+87 ;;^UTILITY(U,$J,357.6,26,0)
+88 ;;=DPT PATIENT'S EMPLOYMENT STATUS^EMPLMNT^IBDFN^PATIENT FILE^1^2^1^^1^^^1^^
+89 ;;^UTILITY(U,$J,357.6,26,1,0)
+90 ;;=^^1^1^2930217^
+91 ;;^UTILITY(U,$J,357.6,26,1,1,0)
+92 ;;=For displaying the employment status of the patient.
+93 ;;^UTILITY(U,$J,357.6,26,2)
+94 ;;=EMPLOYMENT STATUS^20
+95 ;;^UTILITY(U,$J,357.6,26,3)
+96 ;;=PATIENT EMPLOYER EMPLOYMENT MAS
+97 ;;^UTILITY(U,$J,357.6,26,7,0)
+98 ;;=^357.67^1^1
+99 ;;^UTILITY(U,$J,357.6,26,7,1,0)
+100 ;;=DFN
+101 ;;^UTILITY(U,$J,357.6,27,0)
+102 ;;=SD CLINIC NAME^CLINIC^IBDFN1^SCHEDULING^1^2^1^^1^^^1^^
+103 ;;^UTILITY(U,$J,357.6,27,1,0)
+104 ;;=^^2^2^2930616^^
+105 ;;^UTILITY(U,$J,357.6,27,1,1,0)
+106 ;;=
+107 ;;^UTILITY(U,$J,357.6,27,1,2,0)
+108 ;;=Outputs the name of the clinic.
+109 ;;^UTILITY(U,$J,357.6,27,2)
+110 ;;=CLINIC NAME^30