IBDEI2G7 ; ; 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,39103,1,4,0)
 ;;=4^L97.419
 ;;^UTILITY(U,$J,358.3,39103,2)
 ;;=^5009534
 ;;^UTILITY(U,$J,358.3,39104,0)
 ;;=L97.421^^152^1990^201
 ;;^UTILITY(U,$J,358.3,39104,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39104,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Breakdown of Skin
 ;;^UTILITY(U,$J,358.3,39104,1,4,0)
 ;;=4^L97.421
 ;;^UTILITY(U,$J,358.3,39104,2)
 ;;=^5009535
 ;;^UTILITY(U,$J,358.3,39105,0)
 ;;=L97.422^^152^1990^202
 ;;^UTILITY(U,$J,358.3,39105,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39105,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Fat Layer Exposed
 ;;^UTILITY(U,$J,358.3,39105,1,4,0)
 ;;=4^L97.422
 ;;^UTILITY(U,$J,358.3,39105,2)
 ;;=^5009536
 ;;^UTILITY(U,$J,358.3,39106,0)
 ;;=L97.423^^152^1990^203
 ;;^UTILITY(U,$J,358.3,39106,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39106,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Muscle
 ;;^UTILITY(U,$J,358.3,39106,1,4,0)
 ;;=4^L97.423
 ;;^UTILITY(U,$J,358.3,39106,2)
 ;;=^5009537
 ;;^UTILITY(U,$J,358.3,39107,0)
 ;;=L97.424^^152^1990^204
 ;;^UTILITY(U,$J,358.3,39107,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39107,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Bone
 ;;^UTILITY(U,$J,358.3,39107,1,4,0)
 ;;=4^L97.424
 ;;^UTILITY(U,$J,358.3,39107,2)
 ;;=^5009538
 ;;^UTILITY(U,$J,358.3,39108,0)
 ;;=L97.429^^152^1990^205
 ;;^UTILITY(U,$J,358.3,39108,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39108,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Unspec Severity
 ;;^UTILITY(U,$J,358.3,39108,1,4,0)
 ;;=4^L97.429
 ;;^UTILITY(U,$J,358.3,39108,2)
 ;;=^5009539
 ;;^UTILITY(U,$J,358.3,39109,0)
 ;;=L97.511^^152^1990^238
 ;;^UTILITY(U,$J,358.3,39109,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39109,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Breakdown of Skin
 ;;^UTILITY(U,$J,358.3,39109,1,4,0)
 ;;=4^L97.511
 ;;^UTILITY(U,$J,358.3,39109,2)
 ;;=^5009545
 ;;^UTILITY(U,$J,358.3,39110,0)
 ;;=L97.512^^152^1990^239
 ;;^UTILITY(U,$J,358.3,39110,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39110,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Fat Layer Exposed
 ;;^UTILITY(U,$J,358.3,39110,1,4,0)
 ;;=4^L97.512
 ;;^UTILITY(U,$J,358.3,39110,2)
 ;;=^5009546
 ;;^UTILITY(U,$J,358.3,39111,0)
 ;;=L97.513^^152^1990^240
 ;;^UTILITY(U,$J,358.3,39111,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39111,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Muscle
 ;;^UTILITY(U,$J,358.3,39111,1,4,0)
 ;;=4^L97.513
 ;;^UTILITY(U,$J,358.3,39111,2)
 ;;=^5009547
 ;;^UTILITY(U,$J,358.3,39112,0)
 ;;=L97.514^^152^1990^241
 ;;^UTILITY(U,$J,358.3,39112,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39112,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Bone
 ;;^UTILITY(U,$J,358.3,39112,1,4,0)
 ;;=4^L97.514
 ;;^UTILITY(U,$J,358.3,39112,2)
 ;;=^5009548
 ;;^UTILITY(U,$J,358.3,39113,0)
 ;;=L97.519^^152^1990^242
 ;;^UTILITY(U,$J,358.3,39113,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39113,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Unspec Severity
 ;;^UTILITY(U,$J,358.3,39113,1,4,0)
 ;;=4^L97.519
 ;;^UTILITY(U,$J,358.3,39113,2)
 ;;=^5009549
 ;;^UTILITY(U,$J,358.3,39114,0)
 ;;=L97.521^^152^1990^193
 ;;^UTILITY(U,$J,358.3,39114,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39114,1,3,0)
 ;;=3^Non-Pressure Chr Ulcer of Left Foot w/ Breakdown of Skin
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2G7   3751     printed  Sep 23, 2025@20:04:08                                                                                                                                                                                                    Page 2
IBDEI2G7  ; ; 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,39103,1,4,0)
 +2       ;;=4^L97.419
 +3       ;;^UTILITY(U,$J,358.3,39103,2)
 +4       ;;=^5009534
 +5       ;;^UTILITY(U,$J,358.3,39104,0)
 +6       ;;=L97.421^^152^1990^201
 +7       ;;^UTILITY(U,$J,358.3,39104,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,39104,1,3,0)
 +10      ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Breakdown of Skin
 +11      ;;^UTILITY(U,$J,358.3,39104,1,4,0)
 +12      ;;=4^L97.421
 +13      ;;^UTILITY(U,$J,358.3,39104,2)
 +14      ;;=^5009535
 +15      ;;^UTILITY(U,$J,358.3,39105,0)
 +16      ;;=L97.422^^152^1990^202
 +17      ;;^UTILITY(U,$J,358.3,39105,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,39105,1,3,0)
 +20      ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Fat Layer Exposed
 +21      ;;^UTILITY(U,$J,358.3,39105,1,4,0)
 +22      ;;=4^L97.422
 +23      ;;^UTILITY(U,$J,358.3,39105,2)
 +24      ;;=^5009536
 +25      ;;^UTILITY(U,$J,358.3,39106,0)
 +26      ;;=L97.423^^152^1990^203
 +27      ;;^UTILITY(U,$J,358.3,39106,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,39106,1,3,0)
 +30      ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Muscle
 +31      ;;^UTILITY(U,$J,358.3,39106,1,4,0)
 +32      ;;=4^L97.423
 +33      ;;^UTILITY(U,$J,358.3,39106,2)
 +34      ;;=^5009537
 +35      ;;^UTILITY(U,$J,358.3,39107,0)
 +36      ;;=L97.424^^152^1990^204
 +37      ;;^UTILITY(U,$J,358.3,39107,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,39107,1,3,0)
 +40      ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Bone
 +41      ;;^UTILITY(U,$J,358.3,39107,1,4,0)
 +42      ;;=4^L97.424
 +43      ;;^UTILITY(U,$J,358.3,39107,2)
 +44      ;;=^5009538
 +45      ;;^UTILITY(U,$J,358.3,39108,0)
 +46      ;;=L97.429^^152^1990^205
 +47      ;;^UTILITY(U,$J,358.3,39108,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,39108,1,3,0)
 +50      ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Unspec Severity
 +51      ;;^UTILITY(U,$J,358.3,39108,1,4,0)
 +52      ;;=4^L97.429
 +53      ;;^UTILITY(U,$J,358.3,39108,2)
 +54      ;;=^5009539
 +55      ;;^UTILITY(U,$J,358.3,39109,0)
 +56      ;;=L97.511^^152^1990^238
 +57      ;;^UTILITY(U,$J,358.3,39109,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,39109,1,3,0)
 +60      ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Breakdown of Skin
 +61      ;;^UTILITY(U,$J,358.3,39109,1,4,0)
 +62      ;;=4^L97.511
 +63      ;;^UTILITY(U,$J,358.3,39109,2)
 +64      ;;=^5009545
 +65      ;;^UTILITY(U,$J,358.3,39110,0)
 +66      ;;=L97.512^^152^1990^239
 +67      ;;^UTILITY(U,$J,358.3,39110,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,39110,1,3,0)
 +70      ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Fat Layer Exposed
 +71      ;;^UTILITY(U,$J,358.3,39110,1,4,0)
 +72      ;;=4^L97.512
 +73      ;;^UTILITY(U,$J,358.3,39110,2)
 +74      ;;=^5009546
 +75      ;;^UTILITY(U,$J,358.3,39111,0)
 +76      ;;=L97.513^^152^1990^240
 +77      ;;^UTILITY(U,$J,358.3,39111,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,39111,1,3,0)
 +80      ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Muscle
 +81      ;;^UTILITY(U,$J,358.3,39111,1,4,0)
 +82      ;;=4^L97.513
 +83      ;;^UTILITY(U,$J,358.3,39111,2)
 +84      ;;=^5009547
 +85      ;;^UTILITY(U,$J,358.3,39112,0)
 +86      ;;=L97.514^^152^1990^241
 +87      ;;^UTILITY(U,$J,358.3,39112,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,39112,1,3,0)
 +90      ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Bone
 +91      ;;^UTILITY(U,$J,358.3,39112,1,4,0)
 +92      ;;=4^L97.514
 +93      ;;^UTILITY(U,$J,358.3,39112,2)
 +94      ;;=^5009548
 +95      ;;^UTILITY(U,$J,358.3,39113,0)
 +96      ;;=L97.519^^152^1990^242
 +97      ;;^UTILITY(U,$J,358.3,39113,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,39113,1,3,0)
 +100     ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Unspec Severity
 +101     ;;^UTILITY(U,$J,358.3,39113,1,4,0)
 +102     ;;=4^L97.519
 +103     ;;^UTILITY(U,$J,358.3,39113,2)
 +104     ;;=^5009549
 +105     ;;^UTILITY(U,$J,358.3,39114,0)
 +106     ;;=L97.521^^152^1990^193
 +107     ;;^UTILITY(U,$J,358.3,39114,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,39114,1,3,0)
 +110     ;;=3^Non-Pressure Chr Ulcer of Left Foot w/ Breakdown of Skin