IBDEI0VW ; ; 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,14371,2)
 ;;=^5063567
 ;;^UTILITY(U,$J,358.3,14372,0)
 ;;=Z89.212^^55^677^8
 ;;^UTILITY(U,$J,358.3,14372,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14372,1,3,0)
 ;;=3^Acquired absence of left upper limb below elbow
 ;;^UTILITY(U,$J,358.3,14372,1,4,0)
 ;;=4^Z89.212
 ;;^UTILITY(U,$J,358.3,14372,2)
 ;;=^5063546
 ;;^UTILITY(U,$J,358.3,14373,0)
 ;;=Z89.422^^55^677^9
 ;;^UTILITY(U,$J,358.3,14373,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14373,1,3,0)
 ;;=3^Acquired absence of other left toe(s)
 ;;^UTILITY(U,$J,358.3,14373,1,4,0)
 ;;=4^Z89.422
 ;;^UTILITY(U,$J,358.3,14373,2)
 ;;=^5063558
 ;;^UTILITY(U,$J,358.3,14374,0)
 ;;=Z89.421^^55^677^10
 ;;^UTILITY(U,$J,358.3,14374,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14374,1,3,0)
 ;;=3^Acquired absence of other right toe(s)
 ;;^UTILITY(U,$J,358.3,14374,1,4,0)
 ;;=4^Z89.421
 ;;^UTILITY(U,$J,358.3,14374,2)
 ;;=^5063557
 ;;^UTILITY(U,$J,358.3,14375,0)
 ;;=Z89.441^^55^677^11
 ;;^UTILITY(U,$J,358.3,14375,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14375,1,3,0)
 ;;=3^Acquired absence of right ankle
 ;;^UTILITY(U,$J,358.3,14375,1,4,0)
 ;;=4^Z89.441
 ;;^UTILITY(U,$J,358.3,14375,2)
 ;;=^5063563
 ;;^UTILITY(U,$J,358.3,14376,0)
 ;;=Z89.431^^55^677^12
 ;;^UTILITY(U,$J,358.3,14376,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14376,1,3,0)
 ;;=3^Acquired absence of right foot
 ;;^UTILITY(U,$J,358.3,14376,1,4,0)
 ;;=4^Z89.431
 ;;^UTILITY(U,$J,358.3,14376,2)
 ;;=^5063560
 ;;^UTILITY(U,$J,358.3,14377,0)
 ;;=Z89.411^^55^677^13
 ;;^UTILITY(U,$J,358.3,14377,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14377,1,3,0)
 ;;=3^Acquired absence of right great toe
 ;;^UTILITY(U,$J,358.3,14377,1,4,0)
 ;;=4^Z89.411
 ;;^UTILITY(U,$J,358.3,14377,2)
 ;;=^5063554
 ;;^UTILITY(U,$J,358.3,14378,0)
 ;;=Z89.111^^55^677^14
 ;;^UTILITY(U,$J,358.3,14378,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14378,1,3,0)
 ;;=3^Acquired absence of right hand
 ;;^UTILITY(U,$J,358.3,14378,1,4,0)
 ;;=4^Z89.111
 ;;^UTILITY(U,$J,358.3,14378,2)
 ;;=^5063537
 ;;^UTILITY(U,$J,358.3,14379,0)
 ;;=Z89.621^^55^677^15
 ;;^UTILITY(U,$J,358.3,14379,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14379,1,3,0)
 ;;=3^Acquired absence of right hip joint
 ;;^UTILITY(U,$J,358.3,14379,1,4,0)
 ;;=4^Z89.621
 ;;^UTILITY(U,$J,358.3,14379,2)
 ;;=^5063575
 ;;^UTILITY(U,$J,358.3,14380,0)
 ;;=Z89.611^^55^677^16
 ;;^UTILITY(U,$J,358.3,14380,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14380,1,3,0)
 ;;=3^Acquired absence of right leg above knee
 ;;^UTILITY(U,$J,358.3,14380,1,4,0)
 ;;=4^Z89.611
 ;;^UTILITY(U,$J,358.3,14380,2)
 ;;=^5063572
 ;;^UTILITY(U,$J,358.3,14381,0)
 ;;=Z89.511^^55^677^17
 ;;^UTILITY(U,$J,358.3,14381,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14381,1,3,0)
 ;;=3^Acquired absence of right leg below knee
 ;;^UTILITY(U,$J,358.3,14381,1,4,0)
 ;;=4^Z89.511
 ;;^UTILITY(U,$J,358.3,14381,2)
 ;;=^5063566
 ;;^UTILITY(U,$J,358.3,14382,0)
 ;;=Z89.211^^55^677^18
 ;;^UTILITY(U,$J,358.3,14382,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14382,1,3,0)
 ;;=3^Acquired absence of right upper limb below elbow
 ;;^UTILITY(U,$J,358.3,14382,1,4,0)
 ;;=4^Z89.211
 ;;^UTILITY(U,$J,358.3,14382,2)
 ;;=^5063545
 ;;^UTILITY(U,$J,358.3,14383,0)
 ;;=M14.60^^55^678^1
 ;;^UTILITY(U,$J,358.3,14383,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14383,1,3,0)
 ;;=3^Charcot's Joint,Unspec Site
 ;;^UTILITY(U,$J,358.3,14383,1,4,0)
 ;;=4^M14.60
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VW   3749     printed  Sep 23, 2025@19:32:47                                                                                                                                                                                                    Page 2
IBDEI0VW  ; ; 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,14371,2)
 +2       ;;=^5063567
 +3       ;;^UTILITY(U,$J,358.3,14372,0)
 +4       ;;=Z89.212^^55^677^8
 +5       ;;^UTILITY(U,$J,358.3,14372,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,14372,1,3,0)
 +8       ;;=3^Acquired absence of left upper limb below elbow
 +9       ;;^UTILITY(U,$J,358.3,14372,1,4,0)
 +10      ;;=4^Z89.212
 +11      ;;^UTILITY(U,$J,358.3,14372,2)
 +12      ;;=^5063546
 +13      ;;^UTILITY(U,$J,358.3,14373,0)
 +14      ;;=Z89.422^^55^677^9
 +15      ;;^UTILITY(U,$J,358.3,14373,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,14373,1,3,0)
 +18      ;;=3^Acquired absence of other left toe(s)
 +19      ;;^UTILITY(U,$J,358.3,14373,1,4,0)
 +20      ;;=4^Z89.422
 +21      ;;^UTILITY(U,$J,358.3,14373,2)
 +22      ;;=^5063558
 +23      ;;^UTILITY(U,$J,358.3,14374,0)
 +24      ;;=Z89.421^^55^677^10
 +25      ;;^UTILITY(U,$J,358.3,14374,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,14374,1,3,0)
 +28      ;;=3^Acquired absence of other right toe(s)
 +29      ;;^UTILITY(U,$J,358.3,14374,1,4,0)
 +30      ;;=4^Z89.421
 +31      ;;^UTILITY(U,$J,358.3,14374,2)
 +32      ;;=^5063557
 +33      ;;^UTILITY(U,$J,358.3,14375,0)
 +34      ;;=Z89.441^^55^677^11
 +35      ;;^UTILITY(U,$J,358.3,14375,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,14375,1,3,0)
 +38      ;;=3^Acquired absence of right ankle
 +39      ;;^UTILITY(U,$J,358.3,14375,1,4,0)
 +40      ;;=4^Z89.441
 +41      ;;^UTILITY(U,$J,358.3,14375,2)
 +42      ;;=^5063563
 +43      ;;^UTILITY(U,$J,358.3,14376,0)
 +44      ;;=Z89.431^^55^677^12
 +45      ;;^UTILITY(U,$J,358.3,14376,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,14376,1,3,0)
 +48      ;;=3^Acquired absence of right foot
 +49      ;;^UTILITY(U,$J,358.3,14376,1,4,0)
 +50      ;;=4^Z89.431
 +51      ;;^UTILITY(U,$J,358.3,14376,2)
 +52      ;;=^5063560
 +53      ;;^UTILITY(U,$J,358.3,14377,0)
 +54      ;;=Z89.411^^55^677^13
 +55      ;;^UTILITY(U,$J,358.3,14377,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,14377,1,3,0)
 +58      ;;=3^Acquired absence of right great toe
 +59      ;;^UTILITY(U,$J,358.3,14377,1,4,0)
 +60      ;;=4^Z89.411
 +61      ;;^UTILITY(U,$J,358.3,14377,2)
 +62      ;;=^5063554
 +63      ;;^UTILITY(U,$J,358.3,14378,0)
 +64      ;;=Z89.111^^55^677^14
 +65      ;;^UTILITY(U,$J,358.3,14378,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,14378,1,3,0)
 +68      ;;=3^Acquired absence of right hand
 +69      ;;^UTILITY(U,$J,358.3,14378,1,4,0)
 +70      ;;=4^Z89.111
 +71      ;;^UTILITY(U,$J,358.3,14378,2)
 +72      ;;=^5063537
 +73      ;;^UTILITY(U,$J,358.3,14379,0)
 +74      ;;=Z89.621^^55^677^15
 +75      ;;^UTILITY(U,$J,358.3,14379,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,14379,1,3,0)
 +78      ;;=3^Acquired absence of right hip joint
 +79      ;;^UTILITY(U,$J,358.3,14379,1,4,0)
 +80      ;;=4^Z89.621
 +81      ;;^UTILITY(U,$J,358.3,14379,2)
 +82      ;;=^5063575
 +83      ;;^UTILITY(U,$J,358.3,14380,0)
 +84      ;;=Z89.611^^55^677^16
 +85      ;;^UTILITY(U,$J,358.3,14380,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,14380,1,3,0)
 +88      ;;=3^Acquired absence of right leg above knee
 +89      ;;^UTILITY(U,$J,358.3,14380,1,4,0)
 +90      ;;=4^Z89.611
 +91      ;;^UTILITY(U,$J,358.3,14380,2)
 +92      ;;=^5063572
 +93      ;;^UTILITY(U,$J,358.3,14381,0)
 +94      ;;=Z89.511^^55^677^17
 +95      ;;^UTILITY(U,$J,358.3,14381,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,14381,1,3,0)
 +98      ;;=3^Acquired absence of right leg below knee
 +99      ;;^UTILITY(U,$J,358.3,14381,1,4,0)
 +100     ;;=4^Z89.511
 +101     ;;^UTILITY(U,$J,358.3,14381,2)
 +102     ;;=^5063566
 +103     ;;^UTILITY(U,$J,358.3,14382,0)
 +104     ;;=Z89.211^^55^677^18
 +105     ;;^UTILITY(U,$J,358.3,14382,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,14382,1,3,0)
 +108     ;;=3^Acquired absence of right upper limb below elbow
 +109     ;;^UTILITY(U,$J,358.3,14382,1,4,0)
 +110     ;;=4^Z89.211
 +111     ;;^UTILITY(U,$J,358.3,14382,2)
 +112     ;;=^5063545
 +113     ;;^UTILITY(U,$J,358.3,14383,0)
 +114     ;;=M14.60^^55^678^1
 +115     ;;^UTILITY(U,$J,358.3,14383,1,0)
 +116     ;;=^358.31IA^4^2
 +117     ;;^UTILITY(U,$J,358.3,14383,1,3,0)
 +118     ;;=3^Charcot's Joint,Unspec Site
 +119     ;;^UTILITY(U,$J,358.3,14383,1,4,0)
 +120     ;;=4^M14.60