IBINI08H ; ; 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,51,3)
;;=PATIENT TREATMENT QUESTIONS SERVICE CONNECTED EXPOSURE
;;^UTILITY(U,$J,357.6,51,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,357.6,51,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,51,8)
;;=^^^1^1
;;^UTILITY(U,$J,357.6,52,0)
;;=SD FUTURE APPTS, SAME DAY^SAMEDAY^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
;;^UTILITY(U,$J,357.6,52,1,0)
;;=^^8^8^2931105^^^
;;^UTILITY(U,$J,357.6,52,1,1,0)
;;=Returns a list of all the patient's future appointments for the same day.
;;^UTILITY(U,$J,357.6,52,1,2,0)
;;= Includes:
;;^UTILITY(U,$J,357.6,52,1,3,0)
;;= Appointment Date
;;^UTILITY(U,$J,357.6,52,1,4,0)
;;= Appointment Time
;;^UTILITY(U,$J,357.6,52,1,5,0)
;;= Appointment Date@Time
;;^UTILITY(U,$J,357.6,52,1,6,0)
;;= Clinic
;;^UTILITY(U,$J,357.6,52,1,7,0)
;;= Status
;;^UTILITY(U,$J,357.6,52,1,8,0)
;;= Appointment Type
;;^UTILITY(U,$J,357.6,52,2)
;;=DATE (MMM DD,YYYY)^11^TIME (HH:MM)^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
;;^UTILITY(U,$J,357.6,52,3)
;;=FUTURE APPOINTMENTS SCHEDULING
;;^UTILITY(U,$J,357.6,52,7,0)
;;=^357.67^2^2
;;^UTILITY(U,$J,357.6,52,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,52,7,2,0)
;;=IBAPPT
;;^UTILITY(U,$J,357.6,53,0)
;;=SD FUTURE APPTS, ALL^ALLFUTR^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
;;^UTILITY(U,$J,357.6,53,1,0)
;;=^^8^8^2931105^
;;^UTILITY(U,$J,357.6,53,1,1,0)
;;=Returns a list of all future appointments for the same day, all clinics.
;;^UTILITY(U,$J,357.6,53,1,2,0)
;;=Includes:
;;^UTILITY(U,$J,357.6,53,1,3,0)
;;= Appointment Date
;;^UTILITY(U,$J,357.6,53,1,4,0)
;;= Appointment Time
;;^UTILITY(U,$J,357.6,53,1,5,0)
;;= Appointment Date@Time
;;^UTILITY(U,$J,357.6,53,1,6,0)
;;= Clinic
;;^UTILITY(U,$J,357.6,53,1,7,0)
;;= Status
;;^UTILITY(U,$J,357.6,53,1,8,0)
;;= Appointment Type
;;^UTILITY(U,$J,357.6,53,2)
;;=DATE (MMM DD,YYYY)^11^TIME^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
;;^UTILITY(U,$J,357.6,53,3)
;;=FUTURE APPOINTMENTS SCHEDULING
;;^UTILITY(U,$J,357.6,53,7,0)
;;=^357.67^2^2
;;^UTILITY(U,$J,357.6,53,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,53,7,2,0)
;;=IBAPPT
;;^UTILITY(U,$J,357.6,54,0)
;;=SD FUTURE APPTS, SAME CLINIC^CLNCFUTR^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
;;^UTILITY(U,$J,357.6,54,1,0)
;;=^^8^8^2931105^
;;^UTILITY(U,$J,357.6,54,1,1,0)
;;=Returns a list of all the patient's future appointments for the same day
;;^UTILITY(U,$J,357.6,54,1,2,0)
;;=and clinic. Includes:
;;^UTILITY(U,$J,357.6,54,1,3,0)
;;= Appointment Date
;;^UTILITY(U,$J,357.6,54,1,4,0)
;;= Appointment Time
;;^UTILITY(U,$J,357.6,54,1,5,0)
;;= Appointment Date@Time
;;^UTILITY(U,$J,357.6,54,1,6,0)
;;= Clinic
;;^UTILITY(U,$J,357.6,54,1,7,0)
;;= Status
;;^UTILITY(U,$J,357.6,54,1,8,0)
;;= Appointment Type
;;^UTILITY(U,$J,357.6,54,2)
;;=DATE (MMM DD,YYYY)^11^TIME^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
;;^UTILITY(U,$J,357.6,54,3)
;;=FUTURE APPOINTMENTS SCHEDULING
;;^UTILITY(U,$J,357.6,54,7,0)
;;=^357.67^3^3
;;^UTILITY(U,$J,357.6,54,7,1,0)
;;=DFN
;;^UTILITY(U,$J,357.6,54,7,2,0)
;;=IBAPPT
;;^UTILITY(U,$J,357.6,54,7,3,0)
;;=IBCLINIC
;;^UTILITY(U,$J,357.6,55,0)
;;=DPT PATIENT'S INSURANCE - ALL^INSURANC^IBDFN6^PATIENT FILE^1^2^4^1^1^^^1
;;^UTILITY(U,$J,357.6,55,1,0)
;;=^^10^10^2931201^
;;^UTILITY(U,$J,357.6,55,1,1,0)
;;=For displaying information on the patient's health insurance. Returns
;;^UTILITY(U,$J,357.6,55,1,2,0)
;;=ALL insurance policies, including inactive ones.
;;^UTILITY(U,$J,357.6,55,1,3,0)
;;=Data returned:
;;^UTILITY(U,$J,357.6,55,1,4,0)
;;= insurance company
IBINI08H ; ; 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,51,3)
+2 ;;=PATIENT TREATMENT QUESTIONS SERVICE CONNECTED EXPOSURE
+3 ;;^UTILITY(U,$J,357.6,51,7,0)
+4 ;;=^357.67^1^1
+5 ;;^UTILITY(U,$J,357.6,51,7,1,0)
+6 ;;=DFN
+7 ;;^UTILITY(U,$J,357.6,51,8)
+8 ;;=^^^1^1
+9 ;;^UTILITY(U,$J,357.6,52,0)
+10 ;;=SD FUTURE APPTS, SAME DAY^SAMEDAY^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
+11 ;;^UTILITY(U,$J,357.6,52,1,0)
+12 ;;=^^8^8^2931105^^^
+13 ;;^UTILITY(U,$J,357.6,52,1,1,0)
+14 ;;=Returns a list of all the patient's future appointments for the same day.
+15 ;;^UTILITY(U,$J,357.6,52,1,2,0)
+16 ;;= Includes:
+17 ;;^UTILITY(U,$J,357.6,52,1,3,0)
+18 ;;= Appointment Date
+19 ;;^UTILITY(U,$J,357.6,52,1,4,0)
+20 ;;= Appointment Time
+21 ;;^UTILITY(U,$J,357.6,52,1,5,0)
+22 ;;= Appointment Date@Time
+23 ;;^UTILITY(U,$J,357.6,52,1,6,0)
+24 ;;= Clinic
+25 ;;^UTILITY(U,$J,357.6,52,1,7,0)
+26 ;;= Status
+27 ;;^UTILITY(U,$J,357.6,52,1,8,0)
+28 ;;= Appointment Type
+29 ;;^UTILITY(U,$J,357.6,52,2)
+30 ;;=DATE (MMM DD,YYYY)^11^TIME (HH:MM)^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
+31 ;;^UTILITY(U,$J,357.6,52,3)
+32 ;;=FUTURE APPOINTMENTS SCHEDULING
+33 ;;^UTILITY(U,$J,357.6,52,7,0)
+34 ;;=^357.67^2^2
+35 ;;^UTILITY(U,$J,357.6,52,7,1,0)
+36 ;;=DFN
+37 ;;^UTILITY(U,$J,357.6,52,7,2,0)
+38 ;;=IBAPPT
+39 ;;^UTILITY(U,$J,357.6,53,0)
+40 ;;=SD FUTURE APPTS, ALL^ALLFUTR^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
+41 ;;^UTILITY(U,$J,357.6,53,1,0)
+42 ;;=^^8^8^2931105^
+43 ;;^UTILITY(U,$J,357.6,53,1,1,0)
+44 ;;=Returns a list of all future appointments for the same day, all clinics.
+45 ;;^UTILITY(U,$J,357.6,53,1,2,0)
+46 ;;=Includes:
+47 ;;^UTILITY(U,$J,357.6,53,1,3,0)
+48 ;;= Appointment Date
+49 ;;^UTILITY(U,$J,357.6,53,1,4,0)
+50 ;;= Appointment Time
+51 ;;^UTILITY(U,$J,357.6,53,1,5,0)
+52 ;;= Appointment Date@Time
+53 ;;^UTILITY(U,$J,357.6,53,1,6,0)
+54 ;;= Clinic
+55 ;;^UTILITY(U,$J,357.6,53,1,7,0)
+56 ;;= Status
+57 ;;^UTILITY(U,$J,357.6,53,1,8,0)
+58 ;;= Appointment Type
+59 ;;^UTILITY(U,$J,357.6,53,2)
+60 ;;=DATE (MMM DD,YYYY)^11^TIME^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
+61 ;;^UTILITY(U,$J,357.6,53,3)
+62 ;;=FUTURE APPOINTMENTS SCHEDULING
+63 ;;^UTILITY(U,$J,357.6,53,7,0)
+64 ;;=^357.67^2^2
+65 ;;^UTILITY(U,$J,357.6,53,7,1,0)
+66 ;;=DFN
+67 ;;^UTILITY(U,$J,357.6,53,7,2,0)
+68 ;;=IBAPPT
+69 ;;^UTILITY(U,$J,357.6,54,0)
+70 ;;=SD FUTURE APPTS, SAME CLINIC^CLNCFUTR^IBDFN1^SCHEDULING^1^2^4^1^1^^^1
+71 ;;^UTILITY(U,$J,357.6,54,1,0)
+72 ;;=^^8^8^2931105^
+73 ;;^UTILITY(U,$J,357.6,54,1,1,0)
+74 ;;=Returns a list of all the patient's future appointments for the same day
+75 ;;^UTILITY(U,$J,357.6,54,1,2,0)
+76 ;;=and clinic. Includes:
+77 ;;^UTILITY(U,$J,357.6,54,1,3,0)
+78 ;;= Appointment Date
+79 ;;^UTILITY(U,$J,357.6,54,1,4,0)
+80 ;;= Appointment Time
+81 ;;^UTILITY(U,$J,357.6,54,1,5,0)
+82 ;;= Appointment Date@Time
+83 ;;^UTILITY(U,$J,357.6,54,1,6,0)
+84 ;;= Clinic
+85 ;;^UTILITY(U,$J,357.6,54,1,7,0)
+86 ;;= Status
+87 ;;^UTILITY(U,$J,357.6,54,1,8,0)
+88 ;;= Appointment Type
+89 ;;^UTILITY(U,$J,357.6,54,2)
+90 ;;=DATE (MMM DD,YYYY)^11^TIME^5^DATE@TIME^17^CLINIC^30^STATUS^35^APPOINTMENT TYPE^25
+91 ;;^UTILITY(U,$J,357.6,54,3)
+92 ;;=FUTURE APPOINTMENTS SCHEDULING
+93 ;;^UTILITY(U,$J,357.6,54,7,0)
+94 ;;=^357.67^3^3
+95 ;;^UTILITY(U,$J,357.6,54,7,1,0)
+96 ;;=DFN
+97 ;;^UTILITY(U,$J,357.6,54,7,2,0)
+98 ;;=IBAPPT
+99 ;;^UTILITY(U,$J,357.6,54,7,3,0)
+100 ;;=IBCLINIC
+101 ;;^UTILITY(U,$J,357.6,55,0)
+102 ;;=DPT PATIENT'S INSURANCE - ALL^INSURANC^IBDFN6^PATIENT FILE^1^2^4^1^1^^^1
+103 ;;^UTILITY(U,$J,357.6,55,1,0)
+104 ;;=^^10^10^2931201^
+105 ;;^UTILITY(U,$J,357.6,55,1,1,0)
+106 ;;=For displaying information on the patient's health insurance. Returns
+107 ;;^UTILITY(U,$J,357.6,55,1,2,0)
+108 ;;=ALL insurance policies, including inactive ones.
+109 ;;^UTILITY(U,$J,357.6,55,1,3,0)
+110 ;;=Data returned:
+111 ;;^UTILITY(U,$J,357.6,55,1,4,0)
+112 ;;= insurance company