IBDEI0H6 ; ; 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,7736,0)
 ;;=I65.21^^39^389^30
 ;;^UTILITY(U,$J,358.3,7736,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7736,1,3,0)
 ;;=3^Occlusion & Stenosis Right Carotid Artery
 ;;^UTILITY(U,$J,358.3,7736,1,4,0)
 ;;=4^I65.21
 ;;^UTILITY(U,$J,358.3,7736,2)
 ;;=^5007360
 ;;^UTILITY(U,$J,358.3,7737,0)
 ;;=I70.219^^39^389^7
 ;;^UTILITY(U,$J,358.3,7737,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7737,1,3,0)
 ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Unspec Extrm
 ;;^UTILITY(U,$J,358.3,7737,1,4,0)
 ;;=4^I70.219
 ;;^UTILITY(U,$J,358.3,7737,2)
 ;;=^5007582
 ;;^UTILITY(U,$J,358.3,7738,0)
 ;;=I70.213^^39^389^8
 ;;^UTILITY(U,$J,358.3,7738,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7738,1,3,0)
 ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Bilat Legs
 ;;^UTILITY(U,$J,358.3,7738,1,4,0)
 ;;=4^I70.213
 ;;^UTILITY(U,$J,358.3,7738,2)
 ;;=^5007580
 ;;^UTILITY(U,$J,358.3,7739,0)
 ;;=I70.212^^39^389^9
 ;;^UTILITY(U,$J,358.3,7739,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7739,1,3,0)
 ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Left Leg
 ;;^UTILITY(U,$J,358.3,7739,1,4,0)
 ;;=4^I70.212
 ;;^UTILITY(U,$J,358.3,7739,2)
 ;;=^5007579
 ;;^UTILITY(U,$J,358.3,7740,0)
 ;;=I70.211^^39^389^10
 ;;^UTILITY(U,$J,358.3,7740,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7740,1,3,0)
 ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Right Leg
 ;;^UTILITY(U,$J,358.3,7740,1,4,0)
 ;;=4^I70.211
 ;;^UTILITY(U,$J,358.3,7740,2)
 ;;=^5007578
 ;;^UTILITY(U,$J,358.3,7741,0)
 ;;=I70.25^^39^389^6
 ;;^UTILITY(U,$J,358.3,7741,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7741,1,3,0)
 ;;=3^Athscl Native Arteries of Extremitis w/ Ulceration
 ;;^UTILITY(U,$J,358.3,7741,1,4,0)
 ;;=4^I70.25
 ;;^UTILITY(U,$J,358.3,7741,2)
 ;;=^5007602
 ;;^UTILITY(U,$J,358.3,7742,0)
 ;;=I70.249^^39^389^11
 ;;^UTILITY(U,$J,358.3,7742,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7742,1,3,0)
 ;;=3^Athscl Natv Art of Lt Leg w/ Ulceration of Unspec Site
 ;;^UTILITY(U,$J,358.3,7742,1,4,0)
 ;;=4^I70.249
 ;;^UTILITY(U,$J,358.3,7742,2)
 ;;=^5007601
 ;;^UTILITY(U,$J,358.3,7743,0)
 ;;=I70.239^^39^389^12
 ;;^UTILITY(U,$J,358.3,7743,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7743,1,3,0)
 ;;=3^Athscl Natv Art of Rt Leg w/ Ulcer of Unspec Site
 ;;^UTILITY(U,$J,358.3,7743,1,4,0)
 ;;=4^I70.239
 ;;^UTILITY(U,$J,358.3,7743,2)
 ;;=^5007594
 ;;^UTILITY(U,$J,358.3,7744,0)
 ;;=I70.269^^39^389^13
 ;;^UTILITY(U,$J,358.3,7744,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7744,1,3,0)
 ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Unspec Extremity
 ;;^UTILITY(U,$J,358.3,7744,1,4,0)
 ;;=4^I70.269
 ;;^UTILITY(U,$J,358.3,7744,2)
 ;;=^5007607
 ;;^UTILITY(U,$J,358.3,7745,0)
 ;;=I70.263^^39^389^14
 ;;^UTILITY(U,$J,358.3,7745,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7745,1,3,0)
 ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Bilateral Legs
 ;;^UTILITY(U,$J,358.3,7745,1,4,0)
 ;;=4^I70.263
 ;;^UTILITY(U,$J,358.3,7745,2)
 ;;=^5007605
 ;;^UTILITY(U,$J,358.3,7746,0)
 ;;=I70.262^^39^389^15
 ;;^UTILITY(U,$J,358.3,7746,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7746,1,3,0)
 ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Left Leg
 ;;^UTILITY(U,$J,358.3,7746,1,4,0)
 ;;=4^I70.262
 ;;^UTILITY(U,$J,358.3,7746,2)
 ;;=^5007604
 ;;^UTILITY(U,$J,358.3,7747,0)
 ;;=I70.261^^39^389^16
 ;;^UTILITY(U,$J,358.3,7747,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,7747,1,3,0)
 ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Right Leg
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0H6   3791     printed  Sep 23, 2025@19:24:35                                                                                                                                                                                                    Page 2
IBDEI0H6  ; ; 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,7736,0)
 +2       ;;=I65.21^^39^389^30
 +3       ;;^UTILITY(U,$J,358.3,7736,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,7736,1,3,0)
 +6       ;;=3^Occlusion & Stenosis Right Carotid Artery
 +7       ;;^UTILITY(U,$J,358.3,7736,1,4,0)
 +8       ;;=4^I65.21
 +9       ;;^UTILITY(U,$J,358.3,7736,2)
 +10      ;;=^5007360
 +11      ;;^UTILITY(U,$J,358.3,7737,0)
 +12      ;;=I70.219^^39^389^7
 +13      ;;^UTILITY(U,$J,358.3,7737,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,7737,1,3,0)
 +16      ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Unspec Extrm
 +17      ;;^UTILITY(U,$J,358.3,7737,1,4,0)
 +18      ;;=4^I70.219
 +19      ;;^UTILITY(U,$J,358.3,7737,2)
 +20      ;;=^5007582
 +21      ;;^UTILITY(U,$J,358.3,7738,0)
 +22      ;;=I70.213^^39^389^8
 +23      ;;^UTILITY(U,$J,358.3,7738,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,7738,1,3,0)
 +26      ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Bilat Legs
 +27      ;;^UTILITY(U,$J,358.3,7738,1,4,0)
 +28      ;;=4^I70.213
 +29      ;;^UTILITY(U,$J,358.3,7738,2)
 +30      ;;=^5007580
 +31      ;;^UTILITY(U,$J,358.3,7739,0)
 +32      ;;=I70.212^^39^389^9
 +33      ;;^UTILITY(U,$J,358.3,7739,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,7739,1,3,0)
 +36      ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Left Leg
 +37      ;;^UTILITY(U,$J,358.3,7739,1,4,0)
 +38      ;;=4^I70.212
 +39      ;;^UTILITY(U,$J,358.3,7739,2)
 +40      ;;=^5007579
 +41      ;;^UTILITY(U,$J,358.3,7740,0)
 +42      ;;=I70.211^^39^389^10
 +43      ;;^UTILITY(U,$J,358.3,7740,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,7740,1,3,0)
 +46      ;;=3^Athscl Native Arteries of Extrm w/ Intrmt Claud,Right Leg
 +47      ;;^UTILITY(U,$J,358.3,7740,1,4,0)
 +48      ;;=4^I70.211
 +49      ;;^UTILITY(U,$J,358.3,7740,2)
 +50      ;;=^5007578
 +51      ;;^UTILITY(U,$J,358.3,7741,0)
 +52      ;;=I70.25^^39^389^6
 +53      ;;^UTILITY(U,$J,358.3,7741,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,7741,1,3,0)
 +56      ;;=3^Athscl Native Arteries of Extremitis w/ Ulceration
 +57      ;;^UTILITY(U,$J,358.3,7741,1,4,0)
 +58      ;;=4^I70.25
 +59      ;;^UTILITY(U,$J,358.3,7741,2)
 +60      ;;=^5007602
 +61      ;;^UTILITY(U,$J,358.3,7742,0)
 +62      ;;=I70.249^^39^389^11
 +63      ;;^UTILITY(U,$J,358.3,7742,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,7742,1,3,0)
 +66      ;;=3^Athscl Natv Art of Lt Leg w/ Ulceration of Unspec Site
 +67      ;;^UTILITY(U,$J,358.3,7742,1,4,0)
 +68      ;;=4^I70.249
 +69      ;;^UTILITY(U,$J,358.3,7742,2)
 +70      ;;=^5007601
 +71      ;;^UTILITY(U,$J,358.3,7743,0)
 +72      ;;=I70.239^^39^389^12
 +73      ;;^UTILITY(U,$J,358.3,7743,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,7743,1,3,0)
 +76      ;;=3^Athscl Natv Art of Rt Leg w/ Ulcer of Unspec Site
 +77      ;;^UTILITY(U,$J,358.3,7743,1,4,0)
 +78      ;;=4^I70.239
 +79      ;;^UTILITY(U,$J,358.3,7743,2)
 +80      ;;=^5007594
 +81      ;;^UTILITY(U,$J,358.3,7744,0)
 +82      ;;=I70.269^^39^389^13
 +83      ;;^UTILITY(U,$J,358.3,7744,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,7744,1,3,0)
 +86      ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Unspec Extremity
 +87      ;;^UTILITY(U,$J,358.3,7744,1,4,0)
 +88      ;;=4^I70.269
 +89      ;;^UTILITY(U,$J,358.3,7744,2)
 +90      ;;=^5007607
 +91      ;;^UTILITY(U,$J,358.3,7745,0)
 +92      ;;=I70.263^^39^389^14
 +93      ;;^UTILITY(U,$J,358.3,7745,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,7745,1,3,0)
 +96      ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Bilateral Legs
 +97      ;;^UTILITY(U,$J,358.3,7745,1,4,0)
 +98      ;;=4^I70.263
 +99      ;;^UTILITY(U,$J,358.3,7745,2)
 +100     ;;=^5007605
 +101     ;;^UTILITY(U,$J,358.3,7746,0)
 +102     ;;=I70.262^^39^389^15
 +103     ;;^UTILITY(U,$J,358.3,7746,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,7746,1,3,0)
 +106     ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Left Leg
 +107     ;;^UTILITY(U,$J,358.3,7746,1,4,0)
 +108     ;;=4^I70.262
 +109     ;;^UTILITY(U,$J,358.3,7746,2)
 +110     ;;=^5007604
 +111     ;;^UTILITY(U,$J,358.3,7747,0)
 +112     ;;=I70.261^^39^389^16
 +113     ;;^UTILITY(U,$J,358.3,7747,1,0)
 +114     ;;=^358.31IA^4^2
 +115     ;;^UTILITY(U,$J,358.3,7747,1,3,0)
 +116     ;;=3^Athscl Natv Arteries of Extrm w/ Gangrene,Right Leg