IBDEI2BU ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.3) 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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,37180,1,4,0)
;;=4^I70.634
;;^UTILITY(U,$J,358.3,37180,2)
;;=^5007743
;;^UTILITY(U,$J,358.3,37181,0)
;;=I70.742^^146^1912^88
;;^UTILITY(U,$J,358.3,37181,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37181,1,3,0)
;;=3^Athscl Type of Bypass,Left Leg w/ Calf Ulcer
;;^UTILITY(U,$J,358.3,37181,1,4,0)
;;=4^I70.742
;;^UTILITY(U,$J,358.3,37181,2)
;;=^5133602
;;^UTILITY(U,$J,358.3,37182,0)
;;=I70.745^^146^1912^89
;;^UTILITY(U,$J,358.3,37182,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37182,1,3,0)
;;=3^Athscl Type of Bypass,Left Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37182,1,4,0)
;;=4^I70.745
;;^UTILITY(U,$J,358.3,37182,2)
;;=^5133605
;;^UTILITY(U,$J,358.3,37183,0)
;;=I70.743^^146^1912^87
;;^UTILITY(U,$J,358.3,37183,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37183,1,3,0)
;;=3^Athscl Type of Bypass,Left Leg w/ Ankle Ulcer
;;^UTILITY(U,$J,358.3,37183,1,4,0)
;;=4^I70.743
;;^UTILITY(U,$J,358.3,37183,2)
;;=^5133603
;;^UTILITY(U,$J,358.3,37184,0)
;;=I70.744^^146^1912^90
;;^UTILITY(U,$J,358.3,37184,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37184,1,3,0)
;;=3^Athscl Type of Bypass,Left Leg w/ Heel/Midfoot Ulcer
;;^UTILITY(U,$J,358.3,37184,1,4,0)
;;=4^I70.744
;;^UTILITY(U,$J,358.3,37184,2)
;;=^5133604
;;^UTILITY(U,$J,358.3,37185,0)
;;=I70.735^^146^1912^92
;;^UTILITY(U,$J,358.3,37185,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37185,1,3,0)
;;=3^Athscl Type of Bypass,Right Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37185,1,4,0)
;;=4^I70.735
;;^UTILITY(U,$J,358.3,37185,2)
;;=^5007773
;;^UTILITY(U,$J,358.3,37186,0)
;;=I70.733^^146^1912^91
;;^UTILITY(U,$J,358.3,37186,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37186,1,3,0)
;;=3^Athscl Type of Bypass,Right Leg w/ Ankle Ulceration
;;^UTILITY(U,$J,358.3,37186,1,4,0)
;;=4^I70.733
;;^UTILITY(U,$J,358.3,37186,2)
;;=^5007771
;;^UTILITY(U,$J,358.3,37187,0)
;;=I70.734^^146^1912^93
;;^UTILITY(U,$J,358.3,37187,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37187,1,3,0)
;;=3^Athscl Type of Bypass,Right Leg w/ Heel/Midfoot Ulcer
;;^UTILITY(U,$J,358.3,37187,1,4,0)
;;=4^I70.734
;;^UTILITY(U,$J,358.3,37187,2)
;;=^5007772
;;^UTILITY(U,$J,358.3,37188,0)
;;=I70.345^^146^1912^94
;;^UTILITY(U,$J,358.3,37188,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37188,1,3,0)
;;=3^Athscl Unspec Type Bypasss,Left Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37188,1,4,0)
;;=4^I70.345
;;^UTILITY(U,$J,358.3,37188,2)
;;=^5007637
;;^UTILITY(U,$J,358.3,37189,0)
;;=I70.342^^146^1912^95
;;^UTILITY(U,$J,358.3,37189,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37189,1,3,0)
;;=3^Athscl Unspec Type Bypasss,Left Leg w/ Calf Ulceration
;;^UTILITY(U,$J,358.3,37189,1,4,0)
;;=4^I70.342
;;^UTILITY(U,$J,358.3,37189,2)
;;=^5007634
;;^UTILITY(U,$J,358.3,37190,0)
;;=I70.335^^146^1912^96
;;^UTILITY(U,$J,358.3,37190,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37190,1,3,0)
;;=3^Athscl Unspec Type Bypasss,Right Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37190,1,4,0)
;;=4^I70.335
;;^UTILITY(U,$J,358.3,37190,2)
;;=^5007630
;;^UTILITY(U,$J,358.3,37191,0)
;;=I70.332^^146^1912^97
;;^UTILITY(U,$J,358.3,37191,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37191,1,3,0)
;;=3^Athscl Unspec Type Bypasss,Right Leg w/ Calf Ulcer
;;^UTILITY(U,$J,358.3,37191,1,4,0)
;;=4^I70.332
;;^UTILITY(U,$J,358.3,37191,2)
;;=^5007627
;;^UTILITY(U,$J,358.3,37192,0)
;;=S91.251A^^146^1913^7
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2BU 3778 printed Oct 16, 2024@18:26:29 Page 2
IBDEI2BU ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.3)
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,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.3,37180,1,4,0)
+2 ;;=4^I70.634
+3 ;;^UTILITY(U,$J,358.3,37180,2)
+4 ;;=^5007743
+5 ;;^UTILITY(U,$J,358.3,37181,0)
+6 ;;=I70.742^^146^1912^88
+7 ;;^UTILITY(U,$J,358.3,37181,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,37181,1,3,0)
+10 ;;=3^Athscl Type of Bypass,Left Leg w/ Calf Ulcer
+11 ;;^UTILITY(U,$J,358.3,37181,1,4,0)
+12 ;;=4^I70.742
+13 ;;^UTILITY(U,$J,358.3,37181,2)
+14 ;;=^5133602
+15 ;;^UTILITY(U,$J,358.3,37182,0)
+16 ;;=I70.745^^146^1912^89
+17 ;;^UTILITY(U,$J,358.3,37182,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,37182,1,3,0)
+20 ;;=3^Athscl Type of Bypass,Left Leg w/ Foot Ulcer
+21 ;;^UTILITY(U,$J,358.3,37182,1,4,0)
+22 ;;=4^I70.745
+23 ;;^UTILITY(U,$J,358.3,37182,2)
+24 ;;=^5133605
+25 ;;^UTILITY(U,$J,358.3,37183,0)
+26 ;;=I70.743^^146^1912^87
+27 ;;^UTILITY(U,$J,358.3,37183,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,37183,1,3,0)
+30 ;;=3^Athscl Type of Bypass,Left Leg w/ Ankle Ulcer
+31 ;;^UTILITY(U,$J,358.3,37183,1,4,0)
+32 ;;=4^I70.743
+33 ;;^UTILITY(U,$J,358.3,37183,2)
+34 ;;=^5133603
+35 ;;^UTILITY(U,$J,358.3,37184,0)
+36 ;;=I70.744^^146^1912^90
+37 ;;^UTILITY(U,$J,358.3,37184,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,37184,1,3,0)
+40 ;;=3^Athscl Type of Bypass,Left Leg w/ Heel/Midfoot Ulcer
+41 ;;^UTILITY(U,$J,358.3,37184,1,4,0)
+42 ;;=4^I70.744
+43 ;;^UTILITY(U,$J,358.3,37184,2)
+44 ;;=^5133604
+45 ;;^UTILITY(U,$J,358.3,37185,0)
+46 ;;=I70.735^^146^1912^92
+47 ;;^UTILITY(U,$J,358.3,37185,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,37185,1,3,0)
+50 ;;=3^Athscl Type of Bypass,Right Leg w/ Foot Ulcer
+51 ;;^UTILITY(U,$J,358.3,37185,1,4,0)
+52 ;;=4^I70.735
+53 ;;^UTILITY(U,$J,358.3,37185,2)
+54 ;;=^5007773
+55 ;;^UTILITY(U,$J,358.3,37186,0)
+56 ;;=I70.733^^146^1912^91
+57 ;;^UTILITY(U,$J,358.3,37186,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,37186,1,3,0)
+60 ;;=3^Athscl Type of Bypass,Right Leg w/ Ankle Ulceration
+61 ;;^UTILITY(U,$J,358.3,37186,1,4,0)
+62 ;;=4^I70.733
+63 ;;^UTILITY(U,$J,358.3,37186,2)
+64 ;;=^5007771
+65 ;;^UTILITY(U,$J,358.3,37187,0)
+66 ;;=I70.734^^146^1912^93
+67 ;;^UTILITY(U,$J,358.3,37187,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,37187,1,3,0)
+70 ;;=3^Athscl Type of Bypass,Right Leg w/ Heel/Midfoot Ulcer
+71 ;;^UTILITY(U,$J,358.3,37187,1,4,0)
+72 ;;=4^I70.734
+73 ;;^UTILITY(U,$J,358.3,37187,2)
+74 ;;=^5007772
+75 ;;^UTILITY(U,$J,358.3,37188,0)
+76 ;;=I70.345^^146^1912^94
+77 ;;^UTILITY(U,$J,358.3,37188,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,37188,1,3,0)
+80 ;;=3^Athscl Unspec Type Bypasss,Left Leg w/ Foot Ulcer
+81 ;;^UTILITY(U,$J,358.3,37188,1,4,0)
+82 ;;=4^I70.345
+83 ;;^UTILITY(U,$J,358.3,37188,2)
+84 ;;=^5007637
+85 ;;^UTILITY(U,$J,358.3,37189,0)
+86 ;;=I70.342^^146^1912^95
+87 ;;^UTILITY(U,$J,358.3,37189,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,37189,1,3,0)
+90 ;;=3^Athscl Unspec Type Bypasss,Left Leg w/ Calf Ulceration
+91 ;;^UTILITY(U,$J,358.3,37189,1,4,0)
+92 ;;=4^I70.342
+93 ;;^UTILITY(U,$J,358.3,37189,2)
+94 ;;=^5007634
+95 ;;^UTILITY(U,$J,358.3,37190,0)
+96 ;;=I70.335^^146^1912^96
+97 ;;^UTILITY(U,$J,358.3,37190,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,37190,1,3,0)
+100 ;;=3^Athscl Unspec Type Bypasss,Right Leg w/ Foot Ulcer
+101 ;;^UTILITY(U,$J,358.3,37190,1,4,0)
+102 ;;=4^I70.335
+103 ;;^UTILITY(U,$J,358.3,37190,2)
+104 ;;=^5007630
+105 ;;^UTILITY(U,$J,358.3,37191,0)
+106 ;;=I70.332^^146^1912^97
+107 ;;^UTILITY(U,$J,358.3,37191,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,37191,1,3,0)
+110 ;;=3^Athscl Unspec Type Bypasss,Right Leg w/ Calf Ulcer
+111 ;;^UTILITY(U,$J,358.3,37191,1,4,0)
+112 ;;=4^I70.332
+113 ;;^UTILITY(U,$J,358.3,37191,2)
+114 ;;=^5007627
+115 ;;^UTILITY(U,$J,358.3,37192,0)
+116 ;;=S91.251A^^146^1913^7