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