IBDEI0YZ ; ; 01-FEB-2022
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
 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,15792,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15792,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Ankle
 ;;^UTILITY(U,$J,358.3,15792,1,4,0)
 ;;=4^I70.533
 ;;^UTILITY(U,$J,358.3,15792,2)
 ;;=^5007704
 ;;^UTILITY(U,$J,358.3,15793,0)
 ;;=I70.534^^61^765^64
 ;;^UTILITY(U,$J,358.3,15793,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15793,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Heel/Midfoot
 ;;^UTILITY(U,$J,358.3,15793,1,4,0)
 ;;=4^I70.534
 ;;^UTILITY(U,$J,358.3,15793,2)
 ;;=^5007705
 ;;^UTILITY(U,$J,358.3,15794,0)
 ;;=I70.535^^61^765^65
 ;;^UTILITY(U,$J,358.3,15794,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15794,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Oth Part of Foot
 ;;^UTILITY(U,$J,358.3,15794,1,4,0)
 ;;=4^I70.535
 ;;^UTILITY(U,$J,358.3,15794,2)
 ;;=^5007706
 ;;^UTILITY(U,$J,358.3,15795,0)
 ;;=I70.541^^61^765^56
 ;;^UTILITY(U,$J,358.3,15795,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15795,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Thigh
 ;;^UTILITY(U,$J,358.3,15795,1,4,0)
 ;;=4^I70.541
 ;;^UTILITY(U,$J,358.3,15795,2)
 ;;=^5007709
 ;;^UTILITY(U,$J,358.3,15796,0)
 ;;=I70.542^^61^765^57
 ;;^UTILITY(U,$J,358.3,15796,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15796,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Calf
 ;;^UTILITY(U,$J,358.3,15796,1,4,0)
 ;;=4^I70.542
 ;;^UTILITY(U,$J,358.3,15796,2)
 ;;=^5007710
 ;;^UTILITY(U,$J,358.3,15797,0)
 ;;=I70.543^^61^765^58
 ;;^UTILITY(U,$J,358.3,15797,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15797,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Ankle
 ;;^UTILITY(U,$J,358.3,15797,1,4,0)
 ;;=4^I70.543
 ;;^UTILITY(U,$J,358.3,15797,2)
 ;;=^5007711
 ;;^UTILITY(U,$J,358.3,15798,0)
 ;;=I70.544^^61^765^59
 ;;^UTILITY(U,$J,358.3,15798,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15798,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Heel/Midfoot
 ;;^UTILITY(U,$J,358.3,15798,1,4,0)
 ;;=4^I70.544
 ;;^UTILITY(U,$J,358.3,15798,2)
 ;;=^5007712
 ;;^UTILITY(U,$J,358.3,15799,0)
 ;;=I70.545^^61^765^60
 ;;^UTILITY(U,$J,358.3,15799,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15799,1,3,0)
 ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Oth Part of Foot
 ;;^UTILITY(U,$J,358.3,15799,1,4,0)
 ;;=4^I70.545
 ;;^UTILITY(U,$J,358.3,15799,2)
 ;;=^5007713
 ;;^UTILITY(U,$J,358.3,15800,0)
 ;;=I70.631^^61^765^71
 ;;^UTILITY(U,$J,358.3,15800,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15800,1,3,0)
 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Thigh
 ;;^UTILITY(U,$J,358.3,15800,1,4,0)
 ;;=4^I70.631
 ;;^UTILITY(U,$J,358.3,15800,2)
 ;;=^5007740
 ;;^UTILITY(U,$J,358.3,15801,0)
 ;;=I70.632^^61^765^72
 ;;^UTILITY(U,$J,358.3,15801,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15801,1,3,0)
 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Calf
 ;;^UTILITY(U,$J,358.3,15801,1,4,0)
 ;;=4^I70.632
 ;;^UTILITY(U,$J,358.3,15801,2)
 ;;=^5007741
 ;;^UTILITY(U,$J,358.3,15802,0)
 ;;=I70.633^^61^765^73
 ;;^UTILITY(U,$J,358.3,15802,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15802,1,3,0)
 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Ankle
 ;;^UTILITY(U,$J,358.3,15802,1,4,0)
 ;;=4^I70.633
 ;;^UTILITY(U,$J,358.3,15802,2)
 ;;=^5007742
 ;;^UTILITY(U,$J,358.3,15803,0)
 ;;=I70.634^^61^765^74
 ;;^UTILITY(U,$J,358.3,15803,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,15803,1,3,0)
 ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Heel/Midfoot
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0YZ   3844     printed  Sep 23, 2025@19:34:30                                                                                                                                                                                                    Page 2
IBDEI0YZ  ; ; 01-FEB-2022
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
 +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,15792,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,15792,1,3,0)
 +4       ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Ankle
 +5       ;;^UTILITY(U,$J,358.3,15792,1,4,0)
 +6       ;;=4^I70.533
 +7       ;;^UTILITY(U,$J,358.3,15792,2)
 +8       ;;=^5007704
 +9       ;;^UTILITY(U,$J,358.3,15793,0)
 +10      ;;=I70.534^^61^765^64
 +11      ;;^UTILITY(U,$J,358.3,15793,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,15793,1,3,0)
 +14      ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Heel/Midfoot
 +15      ;;^UTILITY(U,$J,358.3,15793,1,4,0)
 +16      ;;=4^I70.534
 +17      ;;^UTILITY(U,$J,358.3,15793,2)
 +18      ;;=^5007705
 +19      ;;^UTILITY(U,$J,358.3,15794,0)
 +20      ;;=I70.535^^61^765^65
 +21      ;;^UTILITY(U,$J,358.3,15794,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,15794,1,3,0)
 +24      ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Oth Part of Foot
 +25      ;;^UTILITY(U,$J,358.3,15794,1,4,0)
 +26      ;;=4^I70.535
 +27      ;;^UTILITY(U,$J,358.3,15794,2)
 +28      ;;=^5007706
 +29      ;;^UTILITY(U,$J,358.3,15795,0)
 +30      ;;=I70.541^^61^765^56
 +31      ;;^UTILITY(U,$J,358.3,15795,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,15795,1,3,0)
 +34      ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Thigh
 +35      ;;^UTILITY(U,$J,358.3,15795,1,4,0)
 +36      ;;=4^I70.541
 +37      ;;^UTILITY(U,$J,358.3,15795,2)
 +38      ;;=^5007709
 +39      ;;^UTILITY(U,$J,358.3,15796,0)
 +40      ;;=I70.542^^61^765^57
 +41      ;;^UTILITY(U,$J,358.3,15796,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,15796,1,3,0)
 +44      ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Calf
 +45      ;;^UTILITY(U,$J,358.3,15796,1,4,0)
 +46      ;;=4^I70.542
 +47      ;;^UTILITY(U,$J,358.3,15796,2)
 +48      ;;=^5007710
 +49      ;;^UTILITY(U,$J,358.3,15797,0)
 +50      ;;=I70.543^^61^765^58
 +51      ;;^UTILITY(U,$J,358.3,15797,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,15797,1,3,0)
 +54      ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Ankle
 +55      ;;^UTILITY(U,$J,358.3,15797,1,4,0)
 +56      ;;=4^I70.543
 +57      ;;^UTILITY(U,$J,358.3,15797,2)
 +58      ;;=^5007711
 +59      ;;^UTILITY(U,$J,358.3,15798,0)
 +60      ;;=I70.544^^61^765^59
 +61      ;;^UTILITY(U,$J,358.3,15798,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,15798,1,3,0)
 +64      ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Heel/Midfoot
 +65      ;;^UTILITY(U,$J,358.3,15798,1,4,0)
 +66      ;;=4^I70.544
 +67      ;;^UTILITY(U,$J,358.3,15798,2)
 +68      ;;=^5007712
 +69      ;;^UTILITY(U,$J,358.3,15799,0)
 +70      ;;=I70.545^^61^765^60
 +71      ;;^UTILITY(U,$J,358.3,15799,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,15799,1,3,0)
 +74      ;;=3^Athscl Nonaut Bio Bypass of Left Leg w/ Ulcer of Oth Part of Foot
 +75      ;;^UTILITY(U,$J,358.3,15799,1,4,0)
 +76      ;;=4^I70.545
 +77      ;;^UTILITY(U,$J,358.3,15799,2)
 +78      ;;=^5007713
 +79      ;;^UTILITY(U,$J,358.3,15800,0)
 +80      ;;=I70.631^^61^765^71
 +81      ;;^UTILITY(U,$J,358.3,15800,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,15800,1,3,0)
 +84      ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Thigh
 +85      ;;^UTILITY(U,$J,358.3,15800,1,4,0)
 +86      ;;=4^I70.631
 +87      ;;^UTILITY(U,$J,358.3,15800,2)
 +88      ;;=^5007740
 +89      ;;^UTILITY(U,$J,358.3,15801,0)
 +90      ;;=I70.632^^61^765^72
 +91      ;;^UTILITY(U,$J,358.3,15801,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,15801,1,3,0)
 +94      ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Calf
 +95      ;;^UTILITY(U,$J,358.3,15801,1,4,0)
 +96      ;;=4^I70.632
 +97      ;;^UTILITY(U,$J,358.3,15801,2)
 +98      ;;=^5007741
 +99      ;;^UTILITY(U,$J,358.3,15802,0)
 +100     ;;=I70.633^^61^765^73
 +101     ;;^UTILITY(U,$J,358.3,15802,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,15802,1,3,0)
 +104     ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Ankle
 +105     ;;^UTILITY(U,$J,358.3,15802,1,4,0)
 +106     ;;=4^I70.633
 +107     ;;^UTILITY(U,$J,358.3,15802,2)
 +108     ;;=^5007742
 +109     ;;^UTILITY(U,$J,358.3,15803,0)
 +110     ;;=I70.634^^61^765^74
 +111     ;;^UTILITY(U,$J,358.3,15803,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,15803,1,3,0)
 +114     ;;=3^Athscl Nonbiol Bypass of Right Leg w/ Ulcer of Heel/Midfoot