IBDEI259 ; ; 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,34245,1,3,0)
 ;;=3^Personal Hx of Adult Neglect
 ;;^UTILITY(U,$J,358.3,34245,1,4,0)
 ;;=4^Z91.412
 ;;^UTILITY(U,$J,358.3,34245,2)
 ;;=^5063621
 ;;^UTILITY(U,$J,358.3,34246,0)
 ;;=Z91.411^^134^1733^9
 ;;^UTILITY(U,$J,358.3,34246,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34246,1,3,0)
 ;;=3^Personal Hx of Adult Psych Abuse
 ;;^UTILITY(U,$J,358.3,34246,1,4,0)
 ;;=4^Z91.411
 ;;^UTILITY(U,$J,358.3,34246,2)
 ;;=^5063620
 ;;^UTILITY(U,$J,358.3,34247,0)
 ;;=Z91.410^^134^1733^8
 ;;^UTILITY(U,$J,358.3,34247,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34247,1,3,0)
 ;;=3^Personal Hx of Adult Phys/Sexual Abuse
 ;;^UTILITY(U,$J,358.3,34247,1,4,0)
 ;;=4^Z91.410
 ;;^UTILITY(U,$J,358.3,34247,2)
 ;;=^5063619
 ;;^UTILITY(U,$J,358.3,34248,0)
 ;;=Z75.3^^134^1733^20
 ;;^UTILITY(U,$J,358.3,34248,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34248,1,3,0)
 ;;=3^Unavailable/Inaccessible to Health Care Facilities
 ;;^UTILITY(U,$J,358.3,34248,1,4,0)
 ;;=4^Z75.3
 ;;^UTILITY(U,$J,358.3,34248,2)
 ;;=^5063292
 ;;^UTILITY(U,$J,358.3,34249,0)
 ;;=Z75.4^^134^1733^21
 ;;^UTILITY(U,$J,358.3,34249,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34249,1,3,0)
 ;;=3^Unavailable/Inaccessible to Other Helping Agencies
 ;;^UTILITY(U,$J,358.3,34249,1,4,0)
 ;;=4^Z75.4
 ;;^UTILITY(U,$J,358.3,34249,2)
 ;;=^5063293
 ;;^UTILITY(U,$J,358.3,34250,0)
 ;;=Z62.813^^134^1733^13
 ;;^UTILITY(U,$J,358.3,34250,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34250,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 ;;^UTILITY(U,$J,358.3,34250,1,4,0)
 ;;=4^Z62.813
 ;;^UTILITY(U,$J,358.3,34250,2)
 ;;=^5157627
 ;;^UTILITY(U,$J,358.3,34251,0)
 ;;=Z91.42^^134^1733^14
 ;;^UTILITY(U,$J,358.3,34251,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34251,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 ;;^UTILITY(U,$J,358.3,34251,1,4,0)
 ;;=4^Z91.42
 ;;^UTILITY(U,$J,358.3,34251,2)
 ;;=^5157633
 ;;^UTILITY(U,$J,358.3,34252,0)
 ;;=Z02.89^^134^1733^1
 ;;^UTILITY(U,$J,358.3,34252,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34252,1,3,0)
 ;;=3^Administrative Exams,Other
 ;;^UTILITY(U,$J,358.3,34252,1,4,0)
 ;;=4^Z02.89
 ;;^UTILITY(U,$J,358.3,34252,2)
 ;;=^5062645
 ;;^UTILITY(U,$J,358.3,34253,0)
 ;;=Z70.9^^134^1734^2
 ;;^UTILITY(U,$J,358.3,34253,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34253,1,3,0)
 ;;=3^Sex Counseling
 ;;^UTILITY(U,$J,358.3,34253,1,4,0)
 ;;=4^Z70.9
 ;;^UTILITY(U,$J,358.3,34253,2)
 ;;=^5063241
 ;;^UTILITY(U,$J,358.3,34254,0)
 ;;=Z71.9^^134^1734^1
 ;;^UTILITY(U,$J,358.3,34254,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34254,1,3,0)
 ;;=3^Counseling,Unspec
 ;;^UTILITY(U,$J,358.3,34254,1,4,0)
 ;;=4^Z71.9
 ;;^UTILITY(U,$J,358.3,34254,2)
 ;;=^5063254
 ;;^UTILITY(U,$J,358.3,34255,0)
 ;;=Z60.0^^134^1735^2
 ;;^UTILITY(U,$J,358.3,34255,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34255,1,3,0)
 ;;=3^Phase of Life Problem
 ;;^UTILITY(U,$J,358.3,34255,1,4,0)
 ;;=4^Z60.0
 ;;^UTILITY(U,$J,358.3,34255,2)
 ;;=^5063139
 ;;^UTILITY(U,$J,358.3,34256,0)
 ;;=Z60.2^^134^1735^3
 ;;^UTILITY(U,$J,358.3,34256,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34256,1,3,0)
 ;;=3^Problem Related to Living Alone
 ;;^UTILITY(U,$J,358.3,34256,1,4,0)
 ;;=4^Z60.2
 ;;^UTILITY(U,$J,358.3,34256,2)
 ;;=^5063140
 ;;^UTILITY(U,$J,358.3,34257,0)
 ;;=Z60.3^^134^1735^1
 ;;^UTILITY(U,$J,358.3,34257,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,34257,1,3,0)
 ;;=3^Acculturation Difficulty
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI259   3785     printed  Sep 23, 2025@19:58:03                                                                                                                                                                                                    Page 2
IBDEI259  ; ; 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,34245,1,3,0)
 +2       ;;=3^Personal Hx of Adult Neglect
 +3       ;;^UTILITY(U,$J,358.3,34245,1,4,0)
 +4       ;;=4^Z91.412
 +5       ;;^UTILITY(U,$J,358.3,34245,2)
 +6       ;;=^5063621
 +7       ;;^UTILITY(U,$J,358.3,34246,0)
 +8       ;;=Z91.411^^134^1733^9
 +9       ;;^UTILITY(U,$J,358.3,34246,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,34246,1,3,0)
 +12      ;;=3^Personal Hx of Adult Psych Abuse
 +13      ;;^UTILITY(U,$J,358.3,34246,1,4,0)
 +14      ;;=4^Z91.411
 +15      ;;^UTILITY(U,$J,358.3,34246,2)
 +16      ;;=^5063620
 +17      ;;^UTILITY(U,$J,358.3,34247,0)
 +18      ;;=Z91.410^^134^1733^8
 +19      ;;^UTILITY(U,$J,358.3,34247,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,34247,1,3,0)
 +22      ;;=3^Personal Hx of Adult Phys/Sexual Abuse
 +23      ;;^UTILITY(U,$J,358.3,34247,1,4,0)
 +24      ;;=4^Z91.410
 +25      ;;^UTILITY(U,$J,358.3,34247,2)
 +26      ;;=^5063619
 +27      ;;^UTILITY(U,$J,358.3,34248,0)
 +28      ;;=Z75.3^^134^1733^20
 +29      ;;^UTILITY(U,$J,358.3,34248,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,34248,1,3,0)
 +32      ;;=3^Unavailable/Inaccessible to Health Care Facilities
 +33      ;;^UTILITY(U,$J,358.3,34248,1,4,0)
 +34      ;;=4^Z75.3
 +35      ;;^UTILITY(U,$J,358.3,34248,2)
 +36      ;;=^5063292
 +37      ;;^UTILITY(U,$J,358.3,34249,0)
 +38      ;;=Z75.4^^134^1733^21
 +39      ;;^UTILITY(U,$J,358.3,34249,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,34249,1,3,0)
 +42      ;;=3^Unavailable/Inaccessible to Other Helping Agencies
 +43      ;;^UTILITY(U,$J,358.3,34249,1,4,0)
 +44      ;;=4^Z75.4
 +45      ;;^UTILITY(U,$J,358.3,34249,2)
 +46      ;;=^5063293
 +47      ;;^UTILITY(U,$J,358.3,34250,0)
 +48      ;;=Z62.813^^134^1733^13
 +49      ;;^UTILITY(U,$J,358.3,34250,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,34250,1,3,0)
 +52      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 +53      ;;^UTILITY(U,$J,358.3,34250,1,4,0)
 +54      ;;=4^Z62.813
 +55      ;;^UTILITY(U,$J,358.3,34250,2)
 +56      ;;=^5157627
 +57      ;;^UTILITY(U,$J,358.3,34251,0)
 +58      ;;=Z91.42^^134^1733^14
 +59      ;;^UTILITY(U,$J,358.3,34251,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,34251,1,3,0)
 +62      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 +63      ;;^UTILITY(U,$J,358.3,34251,1,4,0)
 +64      ;;=4^Z91.42
 +65      ;;^UTILITY(U,$J,358.3,34251,2)
 +66      ;;=^5157633
 +67      ;;^UTILITY(U,$J,358.3,34252,0)
 +68      ;;=Z02.89^^134^1733^1
 +69      ;;^UTILITY(U,$J,358.3,34252,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,34252,1,3,0)
 +72      ;;=3^Administrative Exams,Other
 +73      ;;^UTILITY(U,$J,358.3,34252,1,4,0)
 +74      ;;=4^Z02.89
 +75      ;;^UTILITY(U,$J,358.3,34252,2)
 +76      ;;=^5062645
 +77      ;;^UTILITY(U,$J,358.3,34253,0)
 +78      ;;=Z70.9^^134^1734^2
 +79      ;;^UTILITY(U,$J,358.3,34253,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,34253,1,3,0)
 +82      ;;=3^Sex Counseling
 +83      ;;^UTILITY(U,$J,358.3,34253,1,4,0)
 +84      ;;=4^Z70.9
 +85      ;;^UTILITY(U,$J,358.3,34253,2)
 +86      ;;=^5063241
 +87      ;;^UTILITY(U,$J,358.3,34254,0)
 +88      ;;=Z71.9^^134^1734^1
 +89      ;;^UTILITY(U,$J,358.3,34254,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,34254,1,3,0)
 +92      ;;=3^Counseling,Unspec
 +93      ;;^UTILITY(U,$J,358.3,34254,1,4,0)
 +94      ;;=4^Z71.9
 +95      ;;^UTILITY(U,$J,358.3,34254,2)
 +96      ;;=^5063254
 +97      ;;^UTILITY(U,$J,358.3,34255,0)
 +98      ;;=Z60.0^^134^1735^2
 +99      ;;^UTILITY(U,$J,358.3,34255,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,34255,1,3,0)
 +102     ;;=3^Phase of Life Problem
 +103     ;;^UTILITY(U,$J,358.3,34255,1,4,0)
 +104     ;;=4^Z60.0
 +105     ;;^UTILITY(U,$J,358.3,34255,2)
 +106     ;;=^5063139
 +107     ;;^UTILITY(U,$J,358.3,34256,0)
 +108     ;;=Z60.2^^134^1735^3
 +109     ;;^UTILITY(U,$J,358.3,34256,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,34256,1,3,0)
 +112     ;;=3^Problem Related to Living Alone
 +113     ;;^UTILITY(U,$J,358.3,34256,1,4,0)
 +114     ;;=4^Z60.2
 +115     ;;^UTILITY(U,$J,358.3,34256,2)
 +116     ;;=^5063140
 +117     ;;^UTILITY(U,$J,358.3,34257,0)
 +118     ;;=Z60.3^^134^1735^1
 +119     ;;^UTILITY(U,$J,358.3,34257,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,34257,1,3,0)
 +122     ;;=3^Acculturation Difficulty