IBDEI2BS ; ; 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,37157,1,4,0)
;;=4^I70.333
;;^UTILITY(U,$J,358.3,37157,2)
;;=^5007628
;;^UTILITY(U,$J,358.3,37158,0)
;;=I70.242^^146^1912^65
;;^UTILITY(U,$J,358.3,37158,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37158,1,3,0)
;;=3^Athscl Native Arteries,Left Leg w/ Calf Ulcer
;;^UTILITY(U,$J,358.3,37158,1,4,0)
;;=4^I70.242
;;^UTILITY(U,$J,358.3,37158,2)
;;=^5007596
;;^UTILITY(U,$J,358.3,37159,0)
;;=I70.232^^146^1912^69
;;^UTILITY(U,$J,358.3,37159,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37159,1,3,0)
;;=3^Athscl Native Arteries,Right Leg w/ Calf Ulcer
;;^UTILITY(U,$J,358.3,37159,1,4,0)
;;=4^I70.232
;;^UTILITY(U,$J,358.3,37159,2)
;;=^5007589
;;^UTILITY(U,$J,358.3,37160,0)
;;=I70.245^^146^1912^66
;;^UTILITY(U,$J,358.3,37160,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37160,1,3,0)
;;=3^Athscl Native Arteries,Left Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37160,1,4,0)
;;=4^I70.245
;;^UTILITY(U,$J,358.3,37160,2)
;;=^5007599
;;^UTILITY(U,$J,358.3,37161,0)
;;=I70.244^^146^1912^67
;;^UTILITY(U,$J,358.3,37161,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37161,1,3,0)
;;=3^Athscl Native Arteries,Left Leg w/ Heel/Midfoot Ulcer
;;^UTILITY(U,$J,358.3,37161,1,4,0)
;;=4^I70.244
;;^UTILITY(U,$J,358.3,37161,2)
;;=^5007598
;;^UTILITY(U,$J,358.3,37162,0)
;;=I70.243^^146^1912^64
;;^UTILITY(U,$J,358.3,37162,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37162,1,3,0)
;;=3^Athscl Native Arteries,Left Leg w/ Ankle Ulcer
;;^UTILITY(U,$J,358.3,37162,1,4,0)
;;=4^I70.243
;;^UTILITY(U,$J,358.3,37162,2)
;;=^5007597
;;^UTILITY(U,$J,358.3,37163,0)
;;=I70.233^^146^1912^68
;;^UTILITY(U,$J,358.3,37163,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37163,1,3,0)
;;=3^Athscl Native Arteries,Right Leg w/ Ankle Ulcer
;;^UTILITY(U,$J,358.3,37163,1,4,0)
;;=4^I70.233
;;^UTILITY(U,$J,358.3,37163,2)
;;=^5007590
;;^UTILITY(U,$J,358.3,37164,0)
;;=I70.235^^146^1912^70
;;^UTILITY(U,$J,358.3,37164,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37164,1,3,0)
;;=3^Athscl Native Arteries,Right Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37164,1,4,0)
;;=4^I70.235
;;^UTILITY(U,$J,358.3,37164,2)
;;=^5007592
;;^UTILITY(U,$J,358.3,37165,0)
;;=I70.234^^146^1912^71
;;^UTILITY(U,$J,358.3,37165,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37165,1,3,0)
;;=3^Athscl Native Arteries,Right Leg w/ Heel/Midfoot Ulcer
;;^UTILITY(U,$J,358.3,37165,1,4,0)
;;=4^I70.234
;;^UTILITY(U,$J,358.3,37165,2)
;;=^5007591
;;^UTILITY(U,$J,358.3,37166,0)
;;=I70.543^^146^1912^72
;;^UTILITY(U,$J,358.3,37166,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37166,1,3,0)
;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Ankle Ulcer
;;^UTILITY(U,$J,358.3,37166,1,4,0)
;;=4^I70.543
;;^UTILITY(U,$J,358.3,37166,2)
;;=^5007711
;;^UTILITY(U,$J,358.3,37167,0)
;;=I70.545^^146^1912^73
;;^UTILITY(U,$J,358.3,37167,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37167,1,3,0)
;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,37167,1,4,0)
;;=4^I70.545
;;^UTILITY(U,$J,358.3,37167,2)
;;=^5007713
;;^UTILITY(U,$J,358.3,37168,0)
;;=I70.544^^146^1912^74
;;^UTILITY(U,$J,358.3,37168,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37168,1,3,0)
;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Heel/Midfoot Ulcer
;;^UTILITY(U,$J,358.3,37168,1,4,0)
;;=4^I70.544
;;^UTILITY(U,$J,358.3,37168,2)
;;=^5007712
;;^UTILITY(U,$J,358.3,37169,0)
;;=I70.533^^146^1912^75
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2BS 3773 printed Oct 16, 2024@18:26:27 Page 2
IBDEI2BS ; ; 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,37157,1,4,0)
+2 ;;=4^I70.333
+3 ;;^UTILITY(U,$J,358.3,37157,2)
+4 ;;=^5007628
+5 ;;^UTILITY(U,$J,358.3,37158,0)
+6 ;;=I70.242^^146^1912^65
+7 ;;^UTILITY(U,$J,358.3,37158,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,37158,1,3,0)
+10 ;;=3^Athscl Native Arteries,Left Leg w/ Calf Ulcer
+11 ;;^UTILITY(U,$J,358.3,37158,1,4,0)
+12 ;;=4^I70.242
+13 ;;^UTILITY(U,$J,358.3,37158,2)
+14 ;;=^5007596
+15 ;;^UTILITY(U,$J,358.3,37159,0)
+16 ;;=I70.232^^146^1912^69
+17 ;;^UTILITY(U,$J,358.3,37159,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,37159,1,3,0)
+20 ;;=3^Athscl Native Arteries,Right Leg w/ Calf Ulcer
+21 ;;^UTILITY(U,$J,358.3,37159,1,4,0)
+22 ;;=4^I70.232
+23 ;;^UTILITY(U,$J,358.3,37159,2)
+24 ;;=^5007589
+25 ;;^UTILITY(U,$J,358.3,37160,0)
+26 ;;=I70.245^^146^1912^66
+27 ;;^UTILITY(U,$J,358.3,37160,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,37160,1,3,0)
+30 ;;=3^Athscl Native Arteries,Left Leg w/ Foot Ulcer
+31 ;;^UTILITY(U,$J,358.3,37160,1,4,0)
+32 ;;=4^I70.245
+33 ;;^UTILITY(U,$J,358.3,37160,2)
+34 ;;=^5007599
+35 ;;^UTILITY(U,$J,358.3,37161,0)
+36 ;;=I70.244^^146^1912^67
+37 ;;^UTILITY(U,$J,358.3,37161,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,37161,1,3,0)
+40 ;;=3^Athscl Native Arteries,Left Leg w/ Heel/Midfoot Ulcer
+41 ;;^UTILITY(U,$J,358.3,37161,1,4,0)
+42 ;;=4^I70.244
+43 ;;^UTILITY(U,$J,358.3,37161,2)
+44 ;;=^5007598
+45 ;;^UTILITY(U,$J,358.3,37162,0)
+46 ;;=I70.243^^146^1912^64
+47 ;;^UTILITY(U,$J,358.3,37162,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,37162,1,3,0)
+50 ;;=3^Athscl Native Arteries,Left Leg w/ Ankle Ulcer
+51 ;;^UTILITY(U,$J,358.3,37162,1,4,0)
+52 ;;=4^I70.243
+53 ;;^UTILITY(U,$J,358.3,37162,2)
+54 ;;=^5007597
+55 ;;^UTILITY(U,$J,358.3,37163,0)
+56 ;;=I70.233^^146^1912^68
+57 ;;^UTILITY(U,$J,358.3,37163,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,37163,1,3,0)
+60 ;;=3^Athscl Native Arteries,Right Leg w/ Ankle Ulcer
+61 ;;^UTILITY(U,$J,358.3,37163,1,4,0)
+62 ;;=4^I70.233
+63 ;;^UTILITY(U,$J,358.3,37163,2)
+64 ;;=^5007590
+65 ;;^UTILITY(U,$J,358.3,37164,0)
+66 ;;=I70.235^^146^1912^70
+67 ;;^UTILITY(U,$J,358.3,37164,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,37164,1,3,0)
+70 ;;=3^Athscl Native Arteries,Right Leg w/ Foot Ulcer
+71 ;;^UTILITY(U,$J,358.3,37164,1,4,0)
+72 ;;=4^I70.235
+73 ;;^UTILITY(U,$J,358.3,37164,2)
+74 ;;=^5007592
+75 ;;^UTILITY(U,$J,358.3,37165,0)
+76 ;;=I70.234^^146^1912^71
+77 ;;^UTILITY(U,$J,358.3,37165,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,37165,1,3,0)
+80 ;;=3^Athscl Native Arteries,Right Leg w/ Heel/Midfoot Ulcer
+81 ;;^UTILITY(U,$J,358.3,37165,1,4,0)
+82 ;;=4^I70.234
+83 ;;^UTILITY(U,$J,358.3,37165,2)
+84 ;;=^5007591
+85 ;;^UTILITY(U,$J,358.3,37166,0)
+86 ;;=I70.543^^146^1912^72
+87 ;;^UTILITY(U,$J,358.3,37166,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,37166,1,3,0)
+90 ;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Ankle Ulcer
+91 ;;^UTILITY(U,$J,358.3,37166,1,4,0)
+92 ;;=4^I70.543
+93 ;;^UTILITY(U,$J,358.3,37166,2)
+94 ;;=^5007711
+95 ;;^UTILITY(U,$J,358.3,37167,0)
+96 ;;=I70.545^^146^1912^73
+97 ;;^UTILITY(U,$J,358.3,37167,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,37167,1,3,0)
+100 ;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Foot Ulcer
+101 ;;^UTILITY(U,$J,358.3,37167,1,4,0)
+102 ;;=4^I70.545
+103 ;;^UTILITY(U,$J,358.3,37167,2)
+104 ;;=^5007713
+105 ;;^UTILITY(U,$J,358.3,37168,0)
+106 ;;=I70.544^^146^1912^74
+107 ;;^UTILITY(U,$J,358.3,37168,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,37168,1,3,0)
+110 ;;=3^Athscl Nonaut Bio Bypass,Left Leg w/ Heel/Midfoot Ulcer
+111 ;;^UTILITY(U,$J,358.3,37168,1,4,0)
+112 ;;=4^I70.544
+113 ;;^UTILITY(U,$J,358.3,37168,2)
+114 ;;=^5007712
+115 ;;^UTILITY(U,$J,358.3,37169,0)
+116 ;;=I70.533^^146^1912^75