IBDEI0P9 ; ; 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,11337,1,3,0)
 ;;=3^Unavailability/Inaccessibility of Health-Care Facilities
 ;;^UTILITY(U,$J,358.3,11337,1,4,0)
 ;;=4^Z75.3
 ;;^UTILITY(U,$J,358.3,11337,2)
 ;;=^5063292
 ;;^UTILITY(U,$J,358.3,11338,0)
 ;;=Z75.0^^42^527^3
 ;;^UTILITY(U,$J,358.3,11338,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11338,1,3,0)
 ;;=3^Medical Services Not Available in Home
 ;;^UTILITY(U,$J,358.3,11338,1,4,0)
 ;;=4^Z75.0
 ;;^UTILITY(U,$J,358.3,11338,2)
 ;;=^5063289
 ;;^UTILITY(U,$J,358.3,11339,0)
 ;;=Z75.1^^42^527^4
 ;;^UTILITY(U,$J,358.3,11339,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11339,1,3,0)
 ;;=3^Pt Awaiting Admission to Adequate Facility Elsewhere
 ;;^UTILITY(U,$J,358.3,11339,1,4,0)
 ;;=4^Z75.1
 ;;^UTILITY(U,$J,358.3,11339,2)
 ;;=^5063290
 ;;^UTILITY(U,$J,358.3,11340,0)
 ;;=Z75.4^^42^527^6
 ;;^UTILITY(U,$J,358.3,11340,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11340,1,3,0)
 ;;=3^Unavailability/Inaccessibility of Helping Agencies
 ;;^UTILITY(U,$J,358.3,11340,1,4,0)
 ;;=4^Z75.4
 ;;^UTILITY(U,$J,358.3,11340,2)
 ;;=^5063293
 ;;^UTILITY(U,$J,358.3,11341,0)
 ;;=Z75.8^^42^527^2
 ;;^UTILITY(U,$J,358.3,11341,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11341,1,3,0)
 ;;=3^Medical Facilities/Health Care Problems
 ;;^UTILITY(U,$J,358.3,11341,1,4,0)
 ;;=4^Z75.8
 ;;^UTILITY(U,$J,358.3,11341,2)
 ;;=^5063295
 ;;^UTILITY(U,$J,358.3,11342,0)
 ;;=Z71.9^^42^527^1
 ;;^UTILITY(U,$J,358.3,11342,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11342,1,3,0)
 ;;=3^Counseling,Unspec
 ;;^UTILITY(U,$J,358.3,11342,1,4,0)
 ;;=4^Z71.9
 ;;^UTILITY(U,$J,358.3,11342,2)
 ;;=^5063254
 ;;^UTILITY(U,$J,358.3,11343,0)
 ;;=Z89.201^^42^528^10
 ;;^UTILITY(U,$J,358.3,11343,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11343,1,3,0)
 ;;=3^Acquired Absence of Right Upper Limb,Unspec Level
 ;;^UTILITY(U,$J,358.3,11343,1,4,0)
 ;;=4^Z89.201
 ;;^UTILITY(U,$J,358.3,11343,2)
 ;;=^5063543
 ;;^UTILITY(U,$J,358.3,11344,0)
 ;;=Z89.202^^42^528^4
 ;;^UTILITY(U,$J,358.3,11344,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11344,1,3,0)
 ;;=3^Acquired Absence of Left Upper Limb,Unspec Level
 ;;^UTILITY(U,$J,358.3,11344,1,4,0)
 ;;=4^Z89.202
 ;;^UTILITY(U,$J,358.3,11344,2)
 ;;=^5063544
 ;;^UTILITY(U,$J,358.3,11345,0)
 ;;=Z89.111^^42^528^6
 ;;^UTILITY(U,$J,358.3,11345,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11345,1,3,0)
 ;;=3^Acquired Absence of Right Hand
 ;;^UTILITY(U,$J,358.3,11345,1,4,0)
 ;;=4^Z89.111
 ;;^UTILITY(U,$J,358.3,11345,2)
 ;;=^5063537
 ;;^UTILITY(U,$J,358.3,11346,0)
 ;;=Z89.112^^42^528^1
 ;;^UTILITY(U,$J,358.3,11346,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11346,1,3,0)
 ;;=3^Acquired Absence of Left Hand
 ;;^UTILITY(U,$J,358.3,11346,1,4,0)
 ;;=4^Z89.112
 ;;^UTILITY(U,$J,358.3,11346,2)
 ;;=^5063538
 ;;^UTILITY(U,$J,358.3,11347,0)
 ;;=Z89.121^^42^528^11
 ;;^UTILITY(U,$J,358.3,11347,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11347,1,3,0)
 ;;=3^Acquired Absence of Right Wrist
 ;;^UTILITY(U,$J,358.3,11347,1,4,0)
 ;;=4^Z89.121
 ;;^UTILITY(U,$J,358.3,11347,2)
 ;;=^5063540
 ;;^UTILITY(U,$J,358.3,11348,0)
 ;;=Z89.122^^42^528^5
 ;;^UTILITY(U,$J,358.3,11348,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11348,1,3,0)
 ;;=3^Acquired Absence of Left Wrist
 ;;^UTILITY(U,$J,358.3,11348,1,4,0)
 ;;=4^Z89.122
 ;;^UTILITY(U,$J,358.3,11348,2)
 ;;=^5063541
 ;;^UTILITY(U,$J,358.3,11349,0)
 ;;=Z89.211^^42^528^9
 ;;^UTILITY(U,$J,358.3,11349,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0P9   3753     printed  Sep 23, 2025@19:29:05                                                                                                                                                                                                    Page 2
IBDEI0P9  ; ; 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,11337,1,3,0)
 +2       ;;=3^Unavailability/Inaccessibility of Health-Care Facilities
 +3       ;;^UTILITY(U,$J,358.3,11337,1,4,0)
 +4       ;;=4^Z75.3
 +5       ;;^UTILITY(U,$J,358.3,11337,2)
 +6       ;;=^5063292
 +7       ;;^UTILITY(U,$J,358.3,11338,0)
 +8       ;;=Z75.0^^42^527^3
 +9       ;;^UTILITY(U,$J,358.3,11338,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,11338,1,3,0)
 +12      ;;=3^Medical Services Not Available in Home
 +13      ;;^UTILITY(U,$J,358.3,11338,1,4,0)
 +14      ;;=4^Z75.0
 +15      ;;^UTILITY(U,$J,358.3,11338,2)
 +16      ;;=^5063289
 +17      ;;^UTILITY(U,$J,358.3,11339,0)
 +18      ;;=Z75.1^^42^527^4
 +19      ;;^UTILITY(U,$J,358.3,11339,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,11339,1,3,0)
 +22      ;;=3^Pt Awaiting Admission to Adequate Facility Elsewhere
 +23      ;;^UTILITY(U,$J,358.3,11339,1,4,0)
 +24      ;;=4^Z75.1
 +25      ;;^UTILITY(U,$J,358.3,11339,2)
 +26      ;;=^5063290
 +27      ;;^UTILITY(U,$J,358.3,11340,0)
 +28      ;;=Z75.4^^42^527^6
 +29      ;;^UTILITY(U,$J,358.3,11340,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,11340,1,3,0)
 +32      ;;=3^Unavailability/Inaccessibility of Helping Agencies
 +33      ;;^UTILITY(U,$J,358.3,11340,1,4,0)
 +34      ;;=4^Z75.4
 +35      ;;^UTILITY(U,$J,358.3,11340,2)
 +36      ;;=^5063293
 +37      ;;^UTILITY(U,$J,358.3,11341,0)
 +38      ;;=Z75.8^^42^527^2
 +39      ;;^UTILITY(U,$J,358.3,11341,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,11341,1,3,0)
 +42      ;;=3^Medical Facilities/Health Care Problems
 +43      ;;^UTILITY(U,$J,358.3,11341,1,4,0)
 +44      ;;=4^Z75.8
 +45      ;;^UTILITY(U,$J,358.3,11341,2)
 +46      ;;=^5063295
 +47      ;;^UTILITY(U,$J,358.3,11342,0)
 +48      ;;=Z71.9^^42^527^1
 +49      ;;^UTILITY(U,$J,358.3,11342,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,11342,1,3,0)
 +52      ;;=3^Counseling,Unspec
 +53      ;;^UTILITY(U,$J,358.3,11342,1,4,0)
 +54      ;;=4^Z71.9
 +55      ;;^UTILITY(U,$J,358.3,11342,2)
 +56      ;;=^5063254
 +57      ;;^UTILITY(U,$J,358.3,11343,0)
 +58      ;;=Z89.201^^42^528^10
 +59      ;;^UTILITY(U,$J,358.3,11343,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,11343,1,3,0)
 +62      ;;=3^Acquired Absence of Right Upper Limb,Unspec Level
 +63      ;;^UTILITY(U,$J,358.3,11343,1,4,0)
 +64      ;;=4^Z89.201
 +65      ;;^UTILITY(U,$J,358.3,11343,2)
 +66      ;;=^5063543
 +67      ;;^UTILITY(U,$J,358.3,11344,0)
 +68      ;;=Z89.202^^42^528^4
 +69      ;;^UTILITY(U,$J,358.3,11344,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,11344,1,3,0)
 +72      ;;=3^Acquired Absence of Left Upper Limb,Unspec Level
 +73      ;;^UTILITY(U,$J,358.3,11344,1,4,0)
 +74      ;;=4^Z89.202
 +75      ;;^UTILITY(U,$J,358.3,11344,2)
 +76      ;;=^5063544
 +77      ;;^UTILITY(U,$J,358.3,11345,0)
 +78      ;;=Z89.111^^42^528^6
 +79      ;;^UTILITY(U,$J,358.3,11345,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,11345,1,3,0)
 +82      ;;=3^Acquired Absence of Right Hand
 +83      ;;^UTILITY(U,$J,358.3,11345,1,4,0)
 +84      ;;=4^Z89.111
 +85      ;;^UTILITY(U,$J,358.3,11345,2)
 +86      ;;=^5063537
 +87      ;;^UTILITY(U,$J,358.3,11346,0)
 +88      ;;=Z89.112^^42^528^1
 +89      ;;^UTILITY(U,$J,358.3,11346,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,11346,1,3,0)
 +92      ;;=3^Acquired Absence of Left Hand
 +93      ;;^UTILITY(U,$J,358.3,11346,1,4,0)
 +94      ;;=4^Z89.112
 +95      ;;^UTILITY(U,$J,358.3,11346,2)
 +96      ;;=^5063538
 +97      ;;^UTILITY(U,$J,358.3,11347,0)
 +98      ;;=Z89.121^^42^528^11
 +99      ;;^UTILITY(U,$J,358.3,11347,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,11347,1,3,0)
 +102     ;;=3^Acquired Absence of Right Wrist
 +103     ;;^UTILITY(U,$J,358.3,11347,1,4,0)
 +104     ;;=4^Z89.121
 +105     ;;^UTILITY(U,$J,358.3,11347,2)
 +106     ;;=^5063540
 +107     ;;^UTILITY(U,$J,358.3,11348,0)
 +108     ;;=Z89.122^^42^528^5
 +109     ;;^UTILITY(U,$J,358.3,11348,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,11348,1,3,0)
 +112     ;;=3^Acquired Absence of Left Wrist
 +113     ;;^UTILITY(U,$J,358.3,11348,1,4,0)
 +114     ;;=4^Z89.122
 +115     ;;^UTILITY(U,$J,358.3,11348,2)
 +116     ;;=^5063541
 +117     ;;^UTILITY(U,$J,358.3,11349,0)
 +118     ;;=Z89.211^^42^528^9
 +119     ;;^UTILITY(U,$J,358.3,11349,1,0)
 +120     ;;=^358.31IA^4^2