IBDEI2GC ; ; 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,39159,2)
;;=^5151437
;;^UTILITY(U,$J,358.3,39160,0)
;;=L97.125^^152^1990^220
;;^UTILITY(U,$J,358.3,39160,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39160,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39160,1,4,0)
;;=4^L97.125
;;^UTILITY(U,$J,358.3,39160,2)
;;=^5151436
;;^UTILITY(U,$J,358.3,39161,0)
;;=L97.128^^152^1990^221
;;^UTILITY(U,$J,358.3,39161,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39161,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Oth Severity
;;^UTILITY(U,$J,358.3,39161,1,4,0)
;;=4^L97.128
;;^UTILITY(U,$J,358.3,39161,2)
;;=^5151438
;;^UTILITY(U,$J,358.3,39162,0)
;;=L97.316^^152^1990^227
;;^UTILITY(U,$J,358.3,39162,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39162,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Bone Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39162,1,4,0)
;;=4^L97.316
;;^UTILITY(U,$J,358.3,39162,2)
;;=^5151452
;;^UTILITY(U,$J,358.3,39163,0)
;;=L97.315^^152^1990^228
;;^UTILITY(U,$J,358.3,39163,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39163,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39163,1,4,0)
;;=4^L97.315
;;^UTILITY(U,$J,358.3,39163,2)
;;=^5151451
;;^UTILITY(U,$J,358.3,39164,0)
;;=L97.318^^152^1990^229
;;^UTILITY(U,$J,358.3,39164,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39164,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Oth Severity
;;^UTILITY(U,$J,358.3,39164,1,4,0)
;;=4^L97.318
;;^UTILITY(U,$J,358.3,39164,2)
;;=^5151453
;;^UTILITY(U,$J,358.3,39165,0)
;;=L97.216^^152^1990^235
;;^UTILITY(U,$J,358.3,39165,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39165,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Bone Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39165,1,4,0)
;;=4^L97.216
;;^UTILITY(U,$J,358.3,39165,2)
;;=^5151443
;;^UTILITY(U,$J,358.3,39166,0)
;;=L97.215^^152^1990^236
;;^UTILITY(U,$J,358.3,39166,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39166,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39166,1,4,0)
;;=4^L97.215
;;^UTILITY(U,$J,358.3,39166,2)
;;=^5151442
;;^UTILITY(U,$J,358.3,39167,0)
;;=L97.218^^152^1990^237
;;^UTILITY(U,$J,358.3,39167,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39167,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Oth Severity
;;^UTILITY(U,$J,358.3,39167,1,4,0)
;;=4^L97.218
;;^UTILITY(U,$J,358.3,39167,2)
;;=^5151444
;;^UTILITY(U,$J,358.3,39168,0)
;;=L97.516^^152^1990^243
;;^UTILITY(U,$J,358.3,39168,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39168,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Bone Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39168,1,4,0)
;;=4^L97.516
;;^UTILITY(U,$J,358.3,39168,2)
;;=^5151470
;;^UTILITY(U,$J,358.3,39169,0)
;;=L97.515^^152^1990^244
;;^UTILITY(U,$J,358.3,39169,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39169,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,39169,1,4,0)
;;=4^L97.515
;;^UTILITY(U,$J,358.3,39169,2)
;;=^5151469
;;^UTILITY(U,$J,358.3,39170,0)
;;=L97.518^^152^1990^245
;;^UTILITY(U,$J,358.3,39170,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39170,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Oth Severity
;;^UTILITY(U,$J,358.3,39170,1,4,0)
;;=4^L97.518
;;^UTILITY(U,$J,358.3,39170,2)
;;=^5151471
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2GC 3782 printed Dec 13, 2024@02:28:12 Page 2
IBDEI2GC ; ; 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,39159,2)
+2 ;;=^5151437
+3 ;;^UTILITY(U,$J,358.3,39160,0)
+4 ;;=L97.125^^152^1990^220
+5 ;;^UTILITY(U,$J,358.3,39160,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,39160,1,3,0)
+8 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Msl Invl w/o Necrosis
+9 ;;^UTILITY(U,$J,358.3,39160,1,4,0)
+10 ;;=4^L97.125
+11 ;;^UTILITY(U,$J,358.3,39160,2)
+12 ;;=^5151436
+13 ;;^UTILITY(U,$J,358.3,39161,0)
+14 ;;=L97.128^^152^1990^221
+15 ;;^UTILITY(U,$J,358.3,39161,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,39161,1,3,0)
+18 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Oth Severity
+19 ;;^UTILITY(U,$J,358.3,39161,1,4,0)
+20 ;;=4^L97.128
+21 ;;^UTILITY(U,$J,358.3,39161,2)
+22 ;;=^5151438
+23 ;;^UTILITY(U,$J,358.3,39162,0)
+24 ;;=L97.316^^152^1990^227
+25 ;;^UTILITY(U,$J,358.3,39162,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,39162,1,3,0)
+28 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Bone Invl w/o Necrosis
+29 ;;^UTILITY(U,$J,358.3,39162,1,4,0)
+30 ;;=4^L97.316
+31 ;;^UTILITY(U,$J,358.3,39162,2)
+32 ;;=^5151452
+33 ;;^UTILITY(U,$J,358.3,39163,0)
+34 ;;=L97.315^^152^1990^228
+35 ;;^UTILITY(U,$J,358.3,39163,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,39163,1,3,0)
+38 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Msl Invl w/o Necrosis
+39 ;;^UTILITY(U,$J,358.3,39163,1,4,0)
+40 ;;=4^L97.315
+41 ;;^UTILITY(U,$J,358.3,39163,2)
+42 ;;=^5151451
+43 ;;^UTILITY(U,$J,358.3,39164,0)
+44 ;;=L97.318^^152^1990^229
+45 ;;^UTILITY(U,$J,358.3,39164,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,39164,1,3,0)
+48 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Oth Severity
+49 ;;^UTILITY(U,$J,358.3,39164,1,4,0)
+50 ;;=4^L97.318
+51 ;;^UTILITY(U,$J,358.3,39164,2)
+52 ;;=^5151453
+53 ;;^UTILITY(U,$J,358.3,39165,0)
+54 ;;=L97.216^^152^1990^235
+55 ;;^UTILITY(U,$J,358.3,39165,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,39165,1,3,0)
+58 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Bone Invl w/o Necrosis
+59 ;;^UTILITY(U,$J,358.3,39165,1,4,0)
+60 ;;=4^L97.216
+61 ;;^UTILITY(U,$J,358.3,39165,2)
+62 ;;=^5151443
+63 ;;^UTILITY(U,$J,358.3,39166,0)
+64 ;;=L97.215^^152^1990^236
+65 ;;^UTILITY(U,$J,358.3,39166,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,39166,1,3,0)
+68 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Msl Invl w/o Necrosis
+69 ;;^UTILITY(U,$J,358.3,39166,1,4,0)
+70 ;;=4^L97.215
+71 ;;^UTILITY(U,$J,358.3,39166,2)
+72 ;;=^5151442
+73 ;;^UTILITY(U,$J,358.3,39167,0)
+74 ;;=L97.218^^152^1990^237
+75 ;;^UTILITY(U,$J,358.3,39167,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,39167,1,3,0)
+78 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Oth Severity
+79 ;;^UTILITY(U,$J,358.3,39167,1,4,0)
+80 ;;=4^L97.218
+81 ;;^UTILITY(U,$J,358.3,39167,2)
+82 ;;=^5151444
+83 ;;^UTILITY(U,$J,358.3,39168,0)
+84 ;;=L97.516^^152^1990^243
+85 ;;^UTILITY(U,$J,358.3,39168,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,39168,1,3,0)
+88 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Bone Invl w/o Necrosis
+89 ;;^UTILITY(U,$J,358.3,39168,1,4,0)
+90 ;;=4^L97.516
+91 ;;^UTILITY(U,$J,358.3,39168,2)
+92 ;;=^5151470
+93 ;;^UTILITY(U,$J,358.3,39169,0)
+94 ;;=L97.515^^152^1990^244
+95 ;;^UTILITY(U,$J,358.3,39169,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,39169,1,3,0)
+98 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Msl Invl w/o Necrosis
+99 ;;^UTILITY(U,$J,358.3,39169,1,4,0)
+100 ;;=4^L97.515
+101 ;;^UTILITY(U,$J,358.3,39169,2)
+102 ;;=^5151469
+103 ;;^UTILITY(U,$J,358.3,39170,0)
+104 ;;=L97.518^^152^1990^245
+105 ;;^UTILITY(U,$J,358.3,39170,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,39170,1,3,0)
+108 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Oth Severity
+109 ;;^UTILITY(U,$J,358.3,39170,1,4,0)
+110 ;;=4^L97.518
+111 ;;^UTILITY(U,$J,358.3,39170,2)
+112 ;;=^5151471