IBDEI1OO ; ; 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,26908,1,3,0)
 ;;=3^Unavailable/Inaccessible to Other Helping Agencies
 ;;^UTILITY(U,$J,358.3,26908,1,4,0)
 ;;=4^Z75.4
 ;;^UTILITY(U,$J,358.3,26908,2)
 ;;=^5063293
 ;;^UTILITY(U,$J,358.3,26909,0)
 ;;=Z62.813^^110^1295^13
 ;;^UTILITY(U,$J,358.3,26909,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26909,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 ;;^UTILITY(U,$J,358.3,26909,1,4,0)
 ;;=4^Z62.813
 ;;^UTILITY(U,$J,358.3,26909,2)
 ;;=^5157627
 ;;^UTILITY(U,$J,358.3,26910,0)
 ;;=Z91.42^^110^1295^14
 ;;^UTILITY(U,$J,358.3,26910,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26910,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 ;;^UTILITY(U,$J,358.3,26910,1,4,0)
 ;;=4^Z91.42
 ;;^UTILITY(U,$J,358.3,26910,2)
 ;;=^5157633
 ;;^UTILITY(U,$J,358.3,26911,0)
 ;;=Z02.89^^110^1295^1
 ;;^UTILITY(U,$J,358.3,26911,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26911,1,3,0)
 ;;=3^Administrative Exams,Other
 ;;^UTILITY(U,$J,358.3,26911,1,4,0)
 ;;=4^Z02.89
 ;;^UTILITY(U,$J,358.3,26911,2)
 ;;=^5062645
 ;;^UTILITY(U,$J,358.3,26912,0)
 ;;=Z70.9^^110^1296^2
 ;;^UTILITY(U,$J,358.3,26912,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26912,1,3,0)
 ;;=3^Sex Counseling
 ;;^UTILITY(U,$J,358.3,26912,1,4,0)
 ;;=4^Z70.9
 ;;^UTILITY(U,$J,358.3,26912,2)
 ;;=^5063241
 ;;^UTILITY(U,$J,358.3,26913,0)
 ;;=Z71.9^^110^1296^1
 ;;^UTILITY(U,$J,358.3,26913,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26913,1,3,0)
 ;;=3^Counseling,Unspec
 ;;^UTILITY(U,$J,358.3,26913,1,4,0)
 ;;=4^Z71.9
 ;;^UTILITY(U,$J,358.3,26913,2)
 ;;=^5063254
 ;;^UTILITY(U,$J,358.3,26914,0)
 ;;=Z60.0^^110^1297^2
 ;;^UTILITY(U,$J,358.3,26914,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26914,1,3,0)
 ;;=3^Phase of Life Problem
 ;;^UTILITY(U,$J,358.3,26914,1,4,0)
 ;;=4^Z60.0
 ;;^UTILITY(U,$J,358.3,26914,2)
 ;;=^5063139
 ;;^UTILITY(U,$J,358.3,26915,0)
 ;;=Z60.2^^110^1297^3
 ;;^UTILITY(U,$J,358.3,26915,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26915,1,3,0)
 ;;=3^Problem Related to Living Alone
 ;;^UTILITY(U,$J,358.3,26915,1,4,0)
 ;;=4^Z60.2
 ;;^UTILITY(U,$J,358.3,26915,2)
 ;;=^5063140
 ;;^UTILITY(U,$J,358.3,26916,0)
 ;;=Z60.3^^110^1297^1
 ;;^UTILITY(U,$J,358.3,26916,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26916,1,3,0)
 ;;=3^Acculturation Difficulty
 ;;^UTILITY(U,$J,358.3,26916,1,4,0)
 ;;=4^Z60.3
 ;;^UTILITY(U,$J,358.3,26916,2)
 ;;=^5063141
 ;;^UTILITY(U,$J,358.3,26917,0)
 ;;=Z60.4^^110^1297^5
 ;;^UTILITY(U,$J,358.3,26917,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26917,1,3,0)
 ;;=3^Social Exclusion or Rejection
 ;;^UTILITY(U,$J,358.3,26917,1,4,0)
 ;;=4^Z60.4
 ;;^UTILITY(U,$J,358.3,26917,2)
 ;;=^5063142
 ;;^UTILITY(U,$J,358.3,26918,0)
 ;;=Z60.5^^110^1297^6
 ;;^UTILITY(U,$J,358.3,26918,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26918,1,3,0)
 ;;=3^Target (Perceived) Adverse Discrimination/Persecution
 ;;^UTILITY(U,$J,358.3,26918,1,4,0)
 ;;=4^Z60.5
 ;;^UTILITY(U,$J,358.3,26918,2)
 ;;=^5063143
 ;;^UTILITY(U,$J,358.3,26919,0)
 ;;=Z60.9^^110^1297^4
 ;;^UTILITY(U,$J,358.3,26919,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26919,1,3,0)
 ;;=3^Problem Related to Social Environment,Unspec
 ;;^UTILITY(U,$J,358.3,26919,1,4,0)
 ;;=4^Z60.9
 ;;^UTILITY(U,$J,358.3,26919,2)
 ;;=^5063145
 ;;^UTILITY(U,$J,358.3,26920,0)
 ;;=F65.4^^110^1298^6
 ;;^UTILITY(U,$J,358.3,26920,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,26920,1,3,0)
 ;;=3^Pedophilic D/O
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1OO   3765     printed  Sep 23, 2025@19:48:49                                                                                                                                                                                                    Page 2
IBDEI1OO  ; ; 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,26908,1,3,0)
 +2       ;;=3^Unavailable/Inaccessible to Other Helping Agencies
 +3       ;;^UTILITY(U,$J,358.3,26908,1,4,0)
 +4       ;;=4^Z75.4
 +5       ;;^UTILITY(U,$J,358.3,26908,2)
 +6       ;;=^5063293
 +7       ;;^UTILITY(U,$J,358.3,26909,0)
 +8       ;;=Z62.813^^110^1295^13
 +9       ;;^UTILITY(U,$J,358.3,26909,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,26909,1,3,0)
 +12      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 +13      ;;^UTILITY(U,$J,358.3,26909,1,4,0)
 +14      ;;=4^Z62.813
 +15      ;;^UTILITY(U,$J,358.3,26909,2)
 +16      ;;=^5157627
 +17      ;;^UTILITY(U,$J,358.3,26910,0)
 +18      ;;=Z91.42^^110^1295^14
 +19      ;;^UTILITY(U,$J,358.3,26910,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,26910,1,3,0)
 +22      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 +23      ;;^UTILITY(U,$J,358.3,26910,1,4,0)
 +24      ;;=4^Z91.42
 +25      ;;^UTILITY(U,$J,358.3,26910,2)
 +26      ;;=^5157633
 +27      ;;^UTILITY(U,$J,358.3,26911,0)
 +28      ;;=Z02.89^^110^1295^1
 +29      ;;^UTILITY(U,$J,358.3,26911,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,26911,1,3,0)
 +32      ;;=3^Administrative Exams,Other
 +33      ;;^UTILITY(U,$J,358.3,26911,1,4,0)
 +34      ;;=4^Z02.89
 +35      ;;^UTILITY(U,$J,358.3,26911,2)
 +36      ;;=^5062645
 +37      ;;^UTILITY(U,$J,358.3,26912,0)
 +38      ;;=Z70.9^^110^1296^2
 +39      ;;^UTILITY(U,$J,358.3,26912,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,26912,1,3,0)
 +42      ;;=3^Sex Counseling
 +43      ;;^UTILITY(U,$J,358.3,26912,1,4,0)
 +44      ;;=4^Z70.9
 +45      ;;^UTILITY(U,$J,358.3,26912,2)
 +46      ;;=^5063241
 +47      ;;^UTILITY(U,$J,358.3,26913,0)
 +48      ;;=Z71.9^^110^1296^1
 +49      ;;^UTILITY(U,$J,358.3,26913,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,26913,1,3,0)
 +52      ;;=3^Counseling,Unspec
 +53      ;;^UTILITY(U,$J,358.3,26913,1,4,0)
 +54      ;;=4^Z71.9
 +55      ;;^UTILITY(U,$J,358.3,26913,2)
 +56      ;;=^5063254
 +57      ;;^UTILITY(U,$J,358.3,26914,0)
 +58      ;;=Z60.0^^110^1297^2
 +59      ;;^UTILITY(U,$J,358.3,26914,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,26914,1,3,0)
 +62      ;;=3^Phase of Life Problem
 +63      ;;^UTILITY(U,$J,358.3,26914,1,4,0)
 +64      ;;=4^Z60.0
 +65      ;;^UTILITY(U,$J,358.3,26914,2)
 +66      ;;=^5063139
 +67      ;;^UTILITY(U,$J,358.3,26915,0)
 +68      ;;=Z60.2^^110^1297^3
 +69      ;;^UTILITY(U,$J,358.3,26915,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,26915,1,3,0)
 +72      ;;=3^Problem Related to Living Alone
 +73      ;;^UTILITY(U,$J,358.3,26915,1,4,0)
 +74      ;;=4^Z60.2
 +75      ;;^UTILITY(U,$J,358.3,26915,2)
 +76      ;;=^5063140
 +77      ;;^UTILITY(U,$J,358.3,26916,0)
 +78      ;;=Z60.3^^110^1297^1
 +79      ;;^UTILITY(U,$J,358.3,26916,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,26916,1,3,0)
 +82      ;;=3^Acculturation Difficulty
 +83      ;;^UTILITY(U,$J,358.3,26916,1,4,0)
 +84      ;;=4^Z60.3
 +85      ;;^UTILITY(U,$J,358.3,26916,2)
 +86      ;;=^5063141
 +87      ;;^UTILITY(U,$J,358.3,26917,0)
 +88      ;;=Z60.4^^110^1297^5
 +89      ;;^UTILITY(U,$J,358.3,26917,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,26917,1,3,0)
 +92      ;;=3^Social Exclusion or Rejection
 +93      ;;^UTILITY(U,$J,358.3,26917,1,4,0)
 +94      ;;=4^Z60.4
 +95      ;;^UTILITY(U,$J,358.3,26917,2)
 +96      ;;=^5063142
 +97      ;;^UTILITY(U,$J,358.3,26918,0)
 +98      ;;=Z60.5^^110^1297^6
 +99      ;;^UTILITY(U,$J,358.3,26918,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,26918,1,3,0)
 +102     ;;=3^Target (Perceived) Adverse Discrimination/Persecution
 +103     ;;^UTILITY(U,$J,358.3,26918,1,4,0)
 +104     ;;=4^Z60.5
 +105     ;;^UTILITY(U,$J,358.3,26918,2)
 +106     ;;=^5063143
 +107     ;;^UTILITY(U,$J,358.3,26919,0)
 +108     ;;=Z60.9^^110^1297^4
 +109     ;;^UTILITY(U,$J,358.3,26919,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,26919,1,3,0)
 +112     ;;=3^Problem Related to Social Environment,Unspec
 +113     ;;^UTILITY(U,$J,358.3,26919,1,4,0)
 +114     ;;=4^Z60.9
 +115     ;;^UTILITY(U,$J,358.3,26919,2)
 +116     ;;=^5063145
 +117     ;;^UTILITY(U,$J,358.3,26920,0)
 +118     ;;=F65.4^^110^1298^6
 +119     ;;^UTILITY(U,$J,358.3,26920,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,26920,1,3,0)
 +122     ;;=3^Pedophilic D/O