IBDEI2FQ ; ; 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,38897,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38897,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,38897,1,4,0)
;;=4^I70.543
;;^UTILITY(U,$J,358.3,38897,2)
;;=^5007711
;;^UTILITY(U,$J,358.3,38898,0)
;;=I70.544^^152^1990^59
;;^UTILITY(U,$J,358.3,38898,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38898,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,38898,1,4,0)
;;=4^I70.544
;;^UTILITY(U,$J,358.3,38898,2)
;;=^5007712
;;^UTILITY(U,$J,358.3,38899,0)
;;=I70.545^^152^1990^60
;;^UTILITY(U,$J,358.3,38899,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38899,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,38899,1,4,0)
;;=4^I70.545
;;^UTILITY(U,$J,358.3,38899,2)
;;=^5007713
;;^UTILITY(U,$J,358.3,38900,0)
;;=I70.631^^152^1990^71
;;^UTILITY(U,$J,358.3,38900,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38900,1,3,0)
;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,38900,1,4,0)
;;=4^I70.631
;;^UTILITY(U,$J,358.3,38900,2)
;;=^5007740
;;^UTILITY(U,$J,358.3,38901,0)
;;=I70.632^^152^1990^72
;;^UTILITY(U,$J,358.3,38901,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38901,1,3,0)
;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,38901,1,4,0)
;;=4^I70.632
;;^UTILITY(U,$J,358.3,38901,2)
;;=^5007741
;;^UTILITY(U,$J,358.3,38902,0)
;;=I70.633^^152^1990^73
;;^UTILITY(U,$J,358.3,38902,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38902,1,3,0)
;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,38902,1,4,0)
;;=4^I70.633
;;^UTILITY(U,$J,358.3,38902,2)
;;=^5007742
;;^UTILITY(U,$J,358.3,38903,0)
;;=I70.634^^152^1990^74
;;^UTILITY(U,$J,358.3,38903,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38903,1,3,0)
;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,38903,1,4,0)
;;=4^I70.634
;;^UTILITY(U,$J,358.3,38903,2)
;;=^5007743
;;^UTILITY(U,$J,358.3,38904,0)
;;=I70.635^^152^1990^75
;;^UTILITY(U,$J,358.3,38904,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38904,1,3,0)
;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,38904,1,4,0)
;;=4^I70.635
;;^UTILITY(U,$J,358.3,38904,2)
;;=^5007744
;;^UTILITY(U,$J,358.3,38905,0)
;;=I70.641^^152^1990^66
;;^UTILITY(U,$J,358.3,38905,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38905,1,3,0)
;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,38905,1,4,0)
;;=4^I70.641
;;^UTILITY(U,$J,358.3,38905,2)
;;=^5007747
;;^UTILITY(U,$J,358.3,38906,0)
;;=I70.642^^152^1990^67
;;^UTILITY(U,$J,358.3,38906,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38906,1,3,0)
;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,38906,1,4,0)
;;=4^I70.642
;;^UTILITY(U,$J,358.3,38906,2)
;;=^5007748
;;^UTILITY(U,$J,358.3,38907,0)
;;=I70.643^^152^1990^68
;;^UTILITY(U,$J,358.3,38907,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38907,1,3,0)
;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,38907,1,4,0)
;;=4^I70.643
;;^UTILITY(U,$J,358.3,38907,2)
;;=^5007749
;;^UTILITY(U,$J,358.3,38908,0)
;;=I70.644^^152^1990^69
;;^UTILITY(U,$J,358.3,38908,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2FQ 3746 printed Dec 13, 2024@02:27:51 Page 2
IBDEI2FQ ; ; 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,38897,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,38897,1,3,0)
+4 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Ankle
+5 ;;^UTILITY(U,$J,358.3,38897,1,4,0)
+6 ;;=4^I70.543
+7 ;;^UTILITY(U,$J,358.3,38897,2)
+8 ;;=^5007711
+9 ;;^UTILITY(U,$J,358.3,38898,0)
+10 ;;=I70.544^^152^1990^59
+11 ;;^UTILITY(U,$J,358.3,38898,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,38898,1,3,0)
+14 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Heel/Midfoot
+15 ;;^UTILITY(U,$J,358.3,38898,1,4,0)
+16 ;;=4^I70.544
+17 ;;^UTILITY(U,$J,358.3,38898,2)
+18 ;;=^5007712
+19 ;;^UTILITY(U,$J,358.3,38899,0)
+20 ;;=I70.545^^152^1990^60
+21 ;;^UTILITY(U,$J,358.3,38899,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,38899,1,3,0)
+24 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Oth Part of Foot
+25 ;;^UTILITY(U,$J,358.3,38899,1,4,0)
+26 ;;=4^I70.545
+27 ;;^UTILITY(U,$J,358.3,38899,2)
+28 ;;=^5007713
+29 ;;^UTILITY(U,$J,358.3,38900,0)
+30 ;;=I70.631^^152^1990^71
+31 ;;^UTILITY(U,$J,358.3,38900,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,38900,1,3,0)
+34 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Thigh
+35 ;;^UTILITY(U,$J,358.3,38900,1,4,0)
+36 ;;=4^I70.631
+37 ;;^UTILITY(U,$J,358.3,38900,2)
+38 ;;=^5007740
+39 ;;^UTILITY(U,$J,358.3,38901,0)
+40 ;;=I70.632^^152^1990^72
+41 ;;^UTILITY(U,$J,358.3,38901,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,38901,1,3,0)
+44 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Calf
+45 ;;^UTILITY(U,$J,358.3,38901,1,4,0)
+46 ;;=4^I70.632
+47 ;;^UTILITY(U,$J,358.3,38901,2)
+48 ;;=^5007741
+49 ;;^UTILITY(U,$J,358.3,38902,0)
+50 ;;=I70.633^^152^1990^73
+51 ;;^UTILITY(U,$J,358.3,38902,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,38902,1,3,0)
+54 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Ankle
+55 ;;^UTILITY(U,$J,358.3,38902,1,4,0)
+56 ;;=4^I70.633
+57 ;;^UTILITY(U,$J,358.3,38902,2)
+58 ;;=^5007742
+59 ;;^UTILITY(U,$J,358.3,38903,0)
+60 ;;=I70.634^^152^1990^74
+61 ;;^UTILITY(U,$J,358.3,38903,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,38903,1,3,0)
+64 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Heel/Midfoot
+65 ;;^UTILITY(U,$J,358.3,38903,1,4,0)
+66 ;;=4^I70.634
+67 ;;^UTILITY(U,$J,358.3,38903,2)
+68 ;;=^5007743
+69 ;;^UTILITY(U,$J,358.3,38904,0)
+70 ;;=I70.635^^152^1990^75
+71 ;;^UTILITY(U,$J,358.3,38904,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,38904,1,3,0)
+74 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Oth Part of Foot
+75 ;;^UTILITY(U,$J,358.3,38904,1,4,0)
+76 ;;=4^I70.635
+77 ;;^UTILITY(U,$J,358.3,38904,2)
+78 ;;=^5007744
+79 ;;^UTILITY(U,$J,358.3,38905,0)
+80 ;;=I70.641^^152^1990^66
+81 ;;^UTILITY(U,$J,358.3,38905,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,38905,1,3,0)
+84 ;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Thigh
+85 ;;^UTILITY(U,$J,358.3,38905,1,4,0)
+86 ;;=4^I70.641
+87 ;;^UTILITY(U,$J,358.3,38905,2)
+88 ;;=^5007747
+89 ;;^UTILITY(U,$J,358.3,38906,0)
+90 ;;=I70.642^^152^1990^67
+91 ;;^UTILITY(U,$J,358.3,38906,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,38906,1,3,0)
+94 ;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Calf
+95 ;;^UTILITY(U,$J,358.3,38906,1,4,0)
+96 ;;=4^I70.642
+97 ;;^UTILITY(U,$J,358.3,38906,2)
+98 ;;=^5007748
+99 ;;^UTILITY(U,$J,358.3,38907,0)
+100 ;;=I70.643^^152^1990^68
+101 ;;^UTILITY(U,$J,358.3,38907,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,38907,1,3,0)
+104 ;;=3^Athscl Nonbiol Bypass of Left Leg w/ Ulcer of Ankle
+105 ;;^UTILITY(U,$J,358.3,38907,1,4,0)
+106 ;;=4^I70.643
+107 ;;^UTILITY(U,$J,358.3,38907,2)
+108 ;;=^5007749
+109 ;;^UTILITY(U,$J,358.3,38908,0)
+110 ;;=I70.644^^152^1990^69
+111 ;;^UTILITY(U,$J,358.3,38908,1,0)
+112 ;;=^358.31IA^4^2