IBDEI2E3 ; ; 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,38128,0)
 ;;=L97.318^^146^1929^35
 ;;^UTILITY(U,$J,358.3,38128,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38128,1,3,0)
 ;;=3^Non-pressure chr ulcer rt ankle w/ other specified severity
 ;;^UTILITY(U,$J,358.3,38128,1,4,0)
 ;;=4^L97.318
 ;;^UTILITY(U,$J,358.3,38128,2)
 ;;=^5151453
 ;;^UTILITY(U,$J,358.3,38129,0)
 ;;=L97.215^^146^1929^39
 ;;^UTILITY(U,$J,358.3,38129,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38129,1,3,0)
 ;;=3^Non-pressure chr ulcer rt calf w/ msl invlv w/o necrosis
 ;;^UTILITY(U,$J,358.3,38129,1,4,0)
 ;;=4^L97.215
 ;;^UTILITY(U,$J,358.3,38129,2)
 ;;=^5151442
 ;;^UTILITY(U,$J,358.3,38130,0)
 ;;=L97.216^^146^1929^37
 ;;^UTILITY(U,$J,358.3,38130,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38130,1,3,0)
 ;;=3^Non-pressure chr ulcer rt calf w/ bone invlv w/o necrosis
 ;;^UTILITY(U,$J,358.3,38130,1,4,0)
 ;;=4^L97.216
 ;;^UTILITY(U,$J,358.3,38130,2)
 ;;=^5151443
 ;;^UTILITY(U,$J,358.3,38131,0)
 ;;=L97.218^^146^1929^42
 ;;^UTILITY(U,$J,358.3,38131,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38131,1,3,0)
 ;;=3^Non-pressure chr ulcer rt calf w/ other specified severity
 ;;^UTILITY(U,$J,358.3,38131,1,4,0)
 ;;=4^L97.218
 ;;^UTILITY(U,$J,358.3,38131,2)
 ;;=^5151444
 ;;^UTILITY(U,$J,358.3,38132,0)
 ;;=L97.515^^146^1929^46
 ;;^UTILITY(U,$J,358.3,38132,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38132,1,3,0)
 ;;=3^Non-pressure chr ulcer rt ft w/ msl invlv w/o necrosis,oth prt
 ;;^UTILITY(U,$J,358.3,38132,1,4,0)
 ;;=4^L97.515
 ;;^UTILITY(U,$J,358.3,38132,2)
 ;;=^5151469
 ;;^UTILITY(U,$J,358.3,38133,0)
 ;;=L97.516^^146^1929^44
 ;;^UTILITY(U,$J,358.3,38133,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38133,1,3,0)
 ;;=3^Non-pressure chr ulcer rt ft w/ bone invlv w/o necrosis,oth prt
 ;;^UTILITY(U,$J,358.3,38133,1,4,0)
 ;;=4^L97.516
 ;;^UTILITY(U,$J,358.3,38133,2)
 ;;=^5151470
 ;;^UTILITY(U,$J,358.3,38134,0)
 ;;=L97.518^^146^1929^49
 ;;^UTILITY(U,$J,358.3,38134,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38134,1,3,0)
 ;;=3^Non-pressure chr ulcer rt ft w/ other specified severity,oth prt
 ;;^UTILITY(U,$J,358.3,38134,1,4,0)
 ;;=4^L97.518
 ;;^UTILITY(U,$J,358.3,38134,2)
 ;;=^5151471
 ;;^UTILITY(U,$J,358.3,38135,0)
 ;;=L97.415^^146^1929^54
 ;;^UTILITY(U,$J,358.3,38135,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38135,1,3,0)
 ;;=3^Non-pressure chr ulcer rt heel/midft w/ msl invlv w/o necrosis
 ;;^UTILITY(U,$J,358.3,38135,1,4,0)
 ;;=4^L97.415
 ;;^UTILITY(U,$J,358.3,38135,2)
 ;;=^5151460
 ;;^UTILITY(U,$J,358.3,38136,0)
 ;;=L97.416^^146^1929^55
 ;;^UTILITY(U,$J,358.3,38136,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38136,1,3,0)
 ;;=3^Non-pressure chr ulcer rt heel/midft w/ bone invlv w/o necrosis
 ;;^UTILITY(U,$J,358.3,38136,1,4,0)
 ;;=4^L97.416
 ;;^UTILITY(U,$J,358.3,38136,2)
 ;;=^5151461
 ;;^UTILITY(U,$J,358.3,38137,0)
 ;;=L97.418^^146^1929^56
 ;;^UTILITY(U,$J,358.3,38137,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38137,1,3,0)
 ;;=3^Non-pressure chr ulcer rt heel/midft w/ other specified severity
 ;;^UTILITY(U,$J,358.3,38137,1,4,0)
 ;;=4^L97.418
 ;;^UTILITY(U,$J,358.3,38137,2)
 ;;=^5151462
 ;;^UTILITY(U,$J,358.3,38138,0)
 ;;=E53.8^^146^1930^28
 ;;^UTILITY(U,$J,358.3,38138,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38138,1,3,0)
 ;;=3^Vitamin B Group Deficiency NEC
 ;;^UTILITY(U,$J,358.3,38138,1,4,0)
 ;;=4^E53.8
 ;;^UTILITY(U,$J,358.3,38138,2)
 ;;=^5002797
 ;;^UTILITY(U,$J,358.3,38139,0)
 ;;=M21.171^^146^1930^24
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2E3   3776     printed  Sep 23, 2025@20:02:58                                                                                                                                                                                                    Page 2
IBDEI2E3  ; ; 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,38128,0)
 +2       ;;=L97.318^^146^1929^35
 +3       ;;^UTILITY(U,$J,358.3,38128,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,38128,1,3,0)
 +6       ;;=3^Non-pressure chr ulcer rt ankle w/ other specified severity
 +7       ;;^UTILITY(U,$J,358.3,38128,1,4,0)
 +8       ;;=4^L97.318
 +9       ;;^UTILITY(U,$J,358.3,38128,2)
 +10      ;;=^5151453
 +11      ;;^UTILITY(U,$J,358.3,38129,0)
 +12      ;;=L97.215^^146^1929^39
 +13      ;;^UTILITY(U,$J,358.3,38129,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,38129,1,3,0)
 +16      ;;=3^Non-pressure chr ulcer rt calf w/ msl invlv w/o necrosis
 +17      ;;^UTILITY(U,$J,358.3,38129,1,4,0)
 +18      ;;=4^L97.215
 +19      ;;^UTILITY(U,$J,358.3,38129,2)
 +20      ;;=^5151442
 +21      ;;^UTILITY(U,$J,358.3,38130,0)
 +22      ;;=L97.216^^146^1929^37
 +23      ;;^UTILITY(U,$J,358.3,38130,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,38130,1,3,0)
 +26      ;;=3^Non-pressure chr ulcer rt calf w/ bone invlv w/o necrosis
 +27      ;;^UTILITY(U,$J,358.3,38130,1,4,0)
 +28      ;;=4^L97.216
 +29      ;;^UTILITY(U,$J,358.3,38130,2)
 +30      ;;=^5151443
 +31      ;;^UTILITY(U,$J,358.3,38131,0)
 +32      ;;=L97.218^^146^1929^42
 +33      ;;^UTILITY(U,$J,358.3,38131,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,38131,1,3,0)
 +36      ;;=3^Non-pressure chr ulcer rt calf w/ other specified severity
 +37      ;;^UTILITY(U,$J,358.3,38131,1,4,0)
 +38      ;;=4^L97.218
 +39      ;;^UTILITY(U,$J,358.3,38131,2)
 +40      ;;=^5151444
 +41      ;;^UTILITY(U,$J,358.3,38132,0)
 +42      ;;=L97.515^^146^1929^46
 +43      ;;^UTILITY(U,$J,358.3,38132,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,38132,1,3,0)
 +46      ;;=3^Non-pressure chr ulcer rt ft w/ msl invlv w/o necrosis,oth prt
 +47      ;;^UTILITY(U,$J,358.3,38132,1,4,0)
 +48      ;;=4^L97.515
 +49      ;;^UTILITY(U,$J,358.3,38132,2)
 +50      ;;=^5151469
 +51      ;;^UTILITY(U,$J,358.3,38133,0)
 +52      ;;=L97.516^^146^1929^44
 +53      ;;^UTILITY(U,$J,358.3,38133,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,38133,1,3,0)
 +56      ;;=3^Non-pressure chr ulcer rt ft w/ bone invlv w/o necrosis,oth prt
 +57      ;;^UTILITY(U,$J,358.3,38133,1,4,0)
 +58      ;;=4^L97.516
 +59      ;;^UTILITY(U,$J,358.3,38133,2)
 +60      ;;=^5151470
 +61      ;;^UTILITY(U,$J,358.3,38134,0)
 +62      ;;=L97.518^^146^1929^49
 +63      ;;^UTILITY(U,$J,358.3,38134,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,38134,1,3,0)
 +66      ;;=3^Non-pressure chr ulcer rt ft w/ other specified severity,oth prt
 +67      ;;^UTILITY(U,$J,358.3,38134,1,4,0)
 +68      ;;=4^L97.518
 +69      ;;^UTILITY(U,$J,358.3,38134,2)
 +70      ;;=^5151471
 +71      ;;^UTILITY(U,$J,358.3,38135,0)
 +72      ;;=L97.415^^146^1929^54
 +73      ;;^UTILITY(U,$J,358.3,38135,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,38135,1,3,0)
 +76      ;;=3^Non-pressure chr ulcer rt heel/midft w/ msl invlv w/o necrosis
 +77      ;;^UTILITY(U,$J,358.3,38135,1,4,0)
 +78      ;;=4^L97.415
 +79      ;;^UTILITY(U,$J,358.3,38135,2)
 +80      ;;=^5151460
 +81      ;;^UTILITY(U,$J,358.3,38136,0)
 +82      ;;=L97.416^^146^1929^55
 +83      ;;^UTILITY(U,$J,358.3,38136,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,38136,1,3,0)
 +86      ;;=3^Non-pressure chr ulcer rt heel/midft w/ bone invlv w/o necrosis
 +87      ;;^UTILITY(U,$J,358.3,38136,1,4,0)
 +88      ;;=4^L97.416
 +89      ;;^UTILITY(U,$J,358.3,38136,2)
 +90      ;;=^5151461
 +91      ;;^UTILITY(U,$J,358.3,38137,0)
 +92      ;;=L97.418^^146^1929^56
 +93      ;;^UTILITY(U,$J,358.3,38137,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,38137,1,3,0)
 +96      ;;=3^Non-pressure chr ulcer rt heel/midft w/ other specified severity
 +97      ;;^UTILITY(U,$J,358.3,38137,1,4,0)
 +98      ;;=4^L97.418
 +99      ;;^UTILITY(U,$J,358.3,38137,2)
 +100     ;;=^5151462
 +101     ;;^UTILITY(U,$J,358.3,38138,0)
 +102     ;;=E53.8^^146^1930^28
 +103     ;;^UTILITY(U,$J,358.3,38138,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,38138,1,3,0)
 +106     ;;=3^Vitamin B Group Deficiency NEC
 +107     ;;^UTILITY(U,$J,358.3,38138,1,4,0)
 +108     ;;=4^E53.8
 +109     ;;^UTILITY(U,$J,358.3,38138,2)
 +110     ;;=^5002797
 +111     ;;^UTILITY(U,$J,358.3,38139,0)
 +112     ;;=M21.171^^146^1930^24