IBDEI32Q ; ; 04-FEB-2020
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
 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,49082,1,4,0)
 ;;=4^Z72.9
 ;;^UTILITY(U,$J,358.3,49082,2)
 ;;=^5063267
 ;;^UTILITY(U,$J,358.3,49083,0)
 ;;=Z73.6^^185^2428^124
 ;;^UTILITY(U,$J,358.3,49083,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49083,1,3,0)
 ;;=3^Problems Related to Activity Limitations d/t Disability
 ;;^UTILITY(U,$J,358.3,49083,1,4,0)
 ;;=4^Z73.6
 ;;^UTILITY(U,$J,358.3,49083,2)
 ;;=^5063274
 ;;^UTILITY(U,$J,358.3,49084,0)
 ;;=Z60.2^^185^2428^143
 ;;^UTILITY(U,$J,358.3,49084,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49084,1,3,0)
 ;;=3^Problems Related to Living Alone
 ;;^UTILITY(U,$J,358.3,49084,1,4,0)
 ;;=4^Z60.2
 ;;^UTILITY(U,$J,358.3,49084,2)
 ;;=^5063140
 ;;^UTILITY(U,$J,358.3,49085,0)
 ;;=Z59.3^^185^2428^144
 ;;^UTILITY(U,$J,358.3,49085,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49085,1,3,0)
 ;;=3^Problems Related to Living in Residential Institution
 ;;^UTILITY(U,$J,358.3,49085,1,4,0)
 ;;=4^Z59.3
 ;;^UTILITY(U,$J,358.3,49085,2)
 ;;=^5063132
 ;;^UTILITY(U,$J,358.3,49086,0)
 ;;=Z59.6^^185^2428^145
 ;;^UTILITY(U,$J,358.3,49086,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49086,1,3,0)
 ;;=3^Problems Related to Low Income
 ;;^UTILITY(U,$J,358.3,49086,1,4,0)
 ;;=4^Z59.6
 ;;^UTILITY(U,$J,358.3,49086,2)
 ;;=^5063135
 ;;^UTILITY(U,$J,358.3,49087,0)
 ;;=Z75.9^^185^2428^146
 ;;^UTILITY(U,$J,358.3,49087,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49087,1,3,0)
 ;;=3^Problems Related to Med Facilities/Health Care
 ;;^UTILITY(U,$J,358.3,49087,1,4,0)
 ;;=4^Z75.9
 ;;^UTILITY(U,$J,358.3,49087,2)
 ;;=^5063296
 ;;^UTILITY(U,$J,358.3,49088,0)
 ;;=Z75.0^^185^2428^147
 ;;^UTILITY(U,$J,358.3,49088,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49088,1,3,0)
 ;;=3^Problems Related to Med Services not Available in Home
 ;;^UTILITY(U,$J,358.3,49088,1,4,0)
 ;;=4^Z75.0
 ;;^UTILITY(U,$J,358.3,49088,2)
 ;;=^5063289
 ;;^UTILITY(U,$J,358.3,49089,0)
 ;;=Z74.2^^185^2428^149
 ;;^UTILITY(U,$J,358.3,49089,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49089,1,3,0)
 ;;=3^Problems Related to Need for Assistance at Home
 ;;^UTILITY(U,$J,358.3,49089,1,4,0)
 ;;=4^Z74.2
 ;;^UTILITY(U,$J,358.3,49089,2)
 ;;=^5063285
 ;;^UTILITY(U,$J,358.3,49090,0)
 ;;=Z74.1^^185^2428^150
 ;;^UTILITY(U,$J,358.3,49090,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49090,1,3,0)
 ;;=3^Problems Related to Need for Assistance w/ Personal Care
 ;;^UTILITY(U,$J,358.3,49090,1,4,0)
 ;;=4^Z74.1
 ;;^UTILITY(U,$J,358.3,49090,2)
 ;;=^5063284
 ;;^UTILITY(U,$J,358.3,49091,0)
 ;;=Z74.3^^185^2428^151
 ;;^UTILITY(U,$J,358.3,49091,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49091,1,3,0)
 ;;=3^Problems Related to Need for Continuous Supervision
 ;;^UTILITY(U,$J,358.3,49091,1,4,0)
 ;;=4^Z74.3
 ;;^UTILITY(U,$J,358.3,49091,2)
 ;;=^5063286
 ;;^UTILITY(U,$J,358.3,49092,0)
 ;;=Z75.1^^185^2428^126
 ;;^UTILITY(U,$J,358.3,49092,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49092,1,3,0)
 ;;=3^Problems Related to Awaiting Facility Admission
 ;;^UTILITY(U,$J,358.3,49092,1,4,0)
 ;;=4^Z75.1
 ;;^UTILITY(U,$J,358.3,49092,2)
 ;;=^5063290
 ;;^UTILITY(U,$J,358.3,49093,0)
 ;;=Z63.9^^185^2428^152
 ;;^UTILITY(U,$J,358.3,49093,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49093,1,3,0)
 ;;=3^Problems Related to Primary Support Group
 ;;^UTILITY(U,$J,358.3,49093,1,4,0)
 ;;=4^Z63.9
 ;;^UTILITY(U,$J,358.3,49093,2)
 ;;=^5063175
 ;;^UTILITY(U,$J,358.3,49094,0)
 ;;=Z74.09^^185^2428^154
 ;;^UTILITY(U,$J,358.3,49094,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32Q   3772     printed  Sep 23, 2025@20:16:40                                                                                                                                                                                                    Page 2
IBDEI32Q  ; ; 04-FEB-2020
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
 +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,49082,1,4,0)
 +2       ;;=4^Z72.9
 +3       ;;^UTILITY(U,$J,358.3,49082,2)
 +4       ;;=^5063267
 +5       ;;^UTILITY(U,$J,358.3,49083,0)
 +6       ;;=Z73.6^^185^2428^124
 +7       ;;^UTILITY(U,$J,358.3,49083,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,49083,1,3,0)
 +10      ;;=3^Problems Related to Activity Limitations d/t Disability
 +11      ;;^UTILITY(U,$J,358.3,49083,1,4,0)
 +12      ;;=4^Z73.6
 +13      ;;^UTILITY(U,$J,358.3,49083,2)
 +14      ;;=^5063274
 +15      ;;^UTILITY(U,$J,358.3,49084,0)
 +16      ;;=Z60.2^^185^2428^143
 +17      ;;^UTILITY(U,$J,358.3,49084,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,49084,1,3,0)
 +20      ;;=3^Problems Related to Living Alone
 +21      ;;^UTILITY(U,$J,358.3,49084,1,4,0)
 +22      ;;=4^Z60.2
 +23      ;;^UTILITY(U,$J,358.3,49084,2)
 +24      ;;=^5063140
 +25      ;;^UTILITY(U,$J,358.3,49085,0)
 +26      ;;=Z59.3^^185^2428^144
 +27      ;;^UTILITY(U,$J,358.3,49085,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,49085,1,3,0)
 +30      ;;=3^Problems Related to Living in Residential Institution
 +31      ;;^UTILITY(U,$J,358.3,49085,1,4,0)
 +32      ;;=4^Z59.3
 +33      ;;^UTILITY(U,$J,358.3,49085,2)
 +34      ;;=^5063132
 +35      ;;^UTILITY(U,$J,358.3,49086,0)
 +36      ;;=Z59.6^^185^2428^145
 +37      ;;^UTILITY(U,$J,358.3,49086,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,49086,1,3,0)
 +40      ;;=3^Problems Related to Low Income
 +41      ;;^UTILITY(U,$J,358.3,49086,1,4,0)
 +42      ;;=4^Z59.6
 +43      ;;^UTILITY(U,$J,358.3,49086,2)
 +44      ;;=^5063135
 +45      ;;^UTILITY(U,$J,358.3,49087,0)
 +46      ;;=Z75.9^^185^2428^146
 +47      ;;^UTILITY(U,$J,358.3,49087,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,49087,1,3,0)
 +50      ;;=3^Problems Related to Med Facilities/Health Care
 +51      ;;^UTILITY(U,$J,358.3,49087,1,4,0)
 +52      ;;=4^Z75.9
 +53      ;;^UTILITY(U,$J,358.3,49087,2)
 +54      ;;=^5063296
 +55      ;;^UTILITY(U,$J,358.3,49088,0)
 +56      ;;=Z75.0^^185^2428^147
 +57      ;;^UTILITY(U,$J,358.3,49088,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,49088,1,3,0)
 +60      ;;=3^Problems Related to Med Services not Available in Home
 +61      ;;^UTILITY(U,$J,358.3,49088,1,4,0)
 +62      ;;=4^Z75.0
 +63      ;;^UTILITY(U,$J,358.3,49088,2)
 +64      ;;=^5063289
 +65      ;;^UTILITY(U,$J,358.3,49089,0)
 +66      ;;=Z74.2^^185^2428^149
 +67      ;;^UTILITY(U,$J,358.3,49089,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,49089,1,3,0)
 +70      ;;=3^Problems Related to Need for Assistance at Home
 +71      ;;^UTILITY(U,$J,358.3,49089,1,4,0)
 +72      ;;=4^Z74.2
 +73      ;;^UTILITY(U,$J,358.3,49089,2)
 +74      ;;=^5063285
 +75      ;;^UTILITY(U,$J,358.3,49090,0)
 +76      ;;=Z74.1^^185^2428^150
 +77      ;;^UTILITY(U,$J,358.3,49090,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,49090,1,3,0)
 +80      ;;=3^Problems Related to Need for Assistance w/ Personal Care
 +81      ;;^UTILITY(U,$J,358.3,49090,1,4,0)
 +82      ;;=4^Z74.1
 +83      ;;^UTILITY(U,$J,358.3,49090,2)
 +84      ;;=^5063284
 +85      ;;^UTILITY(U,$J,358.3,49091,0)
 +86      ;;=Z74.3^^185^2428^151
 +87      ;;^UTILITY(U,$J,358.3,49091,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,49091,1,3,0)
 +90      ;;=3^Problems Related to Need for Continuous Supervision
 +91      ;;^UTILITY(U,$J,358.3,49091,1,4,0)
 +92      ;;=4^Z74.3
 +93      ;;^UTILITY(U,$J,358.3,49091,2)
 +94      ;;=^5063286
 +95      ;;^UTILITY(U,$J,358.3,49092,0)
 +96      ;;=Z75.1^^185^2428^126
 +97      ;;^UTILITY(U,$J,358.3,49092,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,49092,1,3,0)
 +100     ;;=3^Problems Related to Awaiting Facility Admission
 +101     ;;^UTILITY(U,$J,358.3,49092,1,4,0)
 +102     ;;=4^Z75.1
 +103     ;;^UTILITY(U,$J,358.3,49092,2)
 +104     ;;=^5063290
 +105     ;;^UTILITY(U,$J,358.3,49093,0)
 +106     ;;=Z63.9^^185^2428^152
 +107     ;;^UTILITY(U,$J,358.3,49093,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,49093,1,3,0)
 +110     ;;=3^Problems Related to Primary Support Group
 +111     ;;^UTILITY(U,$J,358.3,49093,1,4,0)
 +112     ;;=4^Z63.9
 +113     ;;^UTILITY(U,$J,358.3,49093,2)
 +114     ;;=^5063175
 +115     ;;^UTILITY(U,$J,358.3,49094,0)
 +116     ;;=Z74.09^^185^2428^154
 +117     ;;^UTILITY(U,$J,358.3,49094,1,0)
 +118     ;;=^358.31IA^4^2