IBDEI1RO ; ; 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,28223,1,3,0)
 ;;=3^MH SVC for Perpetrator of Spousal/Partner Abuse
 ;;^UTILITY(U,$J,358.3,28223,1,4,0)
 ;;=4^Z69.12
 ;;^UTILITY(U,$J,358.3,28223,2)
 ;;=^5063233
 ;;^UTILITY(U,$J,358.3,28224,0)
 ;;=Z62.812^^115^1383^28
 ;;^UTILITY(U,$J,358.3,28224,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28224,1,3,0)
 ;;=3^Personal Hx of Childhood Neglect
 ;;^UTILITY(U,$J,358.3,28224,1,4,0)
 ;;=4^Z62.812
 ;;^UTILITY(U,$J,358.3,28224,2)
 ;;=^5063155
 ;;^UTILITY(U,$J,358.3,28225,0)
 ;;=Z62.810^^115^1383^29
 ;;^UTILITY(U,$J,358.3,28225,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28225,1,3,0)
 ;;=3^Personal Hx of Childhood Physical & Sexual Abuse
 ;;^UTILITY(U,$J,358.3,28225,1,4,0)
 ;;=4^Z62.810
 ;;^UTILITY(U,$J,358.3,28225,2)
 ;;=^5063153
 ;;^UTILITY(U,$J,358.3,28226,0)
 ;;=Z62.811^^115^1383^30
 ;;^UTILITY(U,$J,358.3,28226,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28226,1,3,0)
 ;;=3^Personal Hx of Childhood Psychological Abuse
 ;;^UTILITY(U,$J,358.3,28226,1,4,0)
 ;;=4^Z62.811
 ;;^UTILITY(U,$J,358.3,28226,2)
 ;;=^5063154
 ;;^UTILITY(U,$J,358.3,28227,0)
 ;;=T76.51XA^^115^1383^1
 ;;^UTILITY(U,$J,358.3,28227,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28227,1,3,0)
 ;;=3^Adult Forced Sexual Exploitation,Suspected,Init Enctr
 ;;^UTILITY(U,$J,358.3,28227,1,4,0)
 ;;=4^T76.51XA
 ;;^UTILITY(U,$J,358.3,28227,2)
 ;;=^5157572
 ;;^UTILITY(U,$J,358.3,28228,0)
 ;;=T76.51XD^^115^1383^2
 ;;^UTILITY(U,$J,358.3,28228,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28228,1,3,0)
 ;;=3^Adult Forced Sexual Exploitation,Suspected,Subs Enctr
 ;;^UTILITY(U,$J,358.3,28228,1,4,0)
 ;;=4^T76.51XD
 ;;^UTILITY(U,$J,358.3,28228,2)
 ;;=^5157573
 ;;^UTILITY(U,$J,358.3,28229,0)
 ;;=Z91.42^^115^1383^31
 ;;^UTILITY(U,$J,358.3,28229,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28229,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 ;;^UTILITY(U,$J,358.3,28229,1,4,0)
 ;;=4^Z91.42
 ;;^UTILITY(U,$J,358.3,28229,2)
 ;;=^5157633
 ;;^UTILITY(U,$J,358.3,28230,0)
 ;;=Z62.813^^115^1383^32
 ;;^UTILITY(U,$J,358.3,28230,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28230,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 ;;^UTILITY(U,$J,358.3,28230,1,4,0)
 ;;=4^Z62.813
 ;;^UTILITY(U,$J,358.3,28230,2)
 ;;=^5157627
 ;;^UTILITY(U,$J,358.3,28231,0)
 ;;=F06.4^^115^1384^3
 ;;^UTILITY(U,$J,358.3,28231,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28231,1,3,0)
 ;;=3^Anxiety Disorder d/t Another Medical Condition
 ;;^UTILITY(U,$J,358.3,28231,1,4,0)
 ;;=4^F06.4
 ;;^UTILITY(U,$J,358.3,28231,2)
 ;;=^5003061
 ;;^UTILITY(U,$J,358.3,28232,0)
 ;;=F41.0^^115^1384^12
 ;;^UTILITY(U,$J,358.3,28232,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28232,1,3,0)
 ;;=3^Panic Disorder
 ;;^UTILITY(U,$J,358.3,28232,1,4,0)
 ;;=4^F41.0
 ;;^UTILITY(U,$J,358.3,28232,2)
 ;;=^5003564
 ;;^UTILITY(U,$J,358.3,28233,0)
 ;;=F41.1^^115^1384^10
 ;;^UTILITY(U,$J,358.3,28233,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28233,1,3,0)
 ;;=3^Generalized Anxiety Disorder
 ;;^UTILITY(U,$J,358.3,28233,1,4,0)
 ;;=4^F41.1
 ;;^UTILITY(U,$J,358.3,28233,2)
 ;;=^50059
 ;;^UTILITY(U,$J,358.3,28234,0)
 ;;=F40.10^^115^1384^17
 ;;^UTILITY(U,$J,358.3,28234,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28234,1,3,0)
 ;;=3^Social Anxiety Disorder (Social Phobia)
 ;;^UTILITY(U,$J,358.3,28234,1,4,0)
 ;;=4^F40.10
 ;;^UTILITY(U,$J,358.3,28234,2)
 ;;=^5003544
 ;;^UTILITY(U,$J,358.3,28235,0)
 ;;=F40.218^^115^1384^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RO   3778     printed  Sep 23, 2025@19:50:29                                                                                                                                                                                                    Page 2
IBDEI1RO  ; ; 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,28223,1,3,0)
 +2       ;;=3^MH SVC for Perpetrator of Spousal/Partner Abuse
 +3       ;;^UTILITY(U,$J,358.3,28223,1,4,0)
 +4       ;;=4^Z69.12
 +5       ;;^UTILITY(U,$J,358.3,28223,2)
 +6       ;;=^5063233
 +7       ;;^UTILITY(U,$J,358.3,28224,0)
 +8       ;;=Z62.812^^115^1383^28
 +9       ;;^UTILITY(U,$J,358.3,28224,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,28224,1,3,0)
 +12      ;;=3^Personal Hx of Childhood Neglect
 +13      ;;^UTILITY(U,$J,358.3,28224,1,4,0)
 +14      ;;=4^Z62.812
 +15      ;;^UTILITY(U,$J,358.3,28224,2)
 +16      ;;=^5063155
 +17      ;;^UTILITY(U,$J,358.3,28225,0)
 +18      ;;=Z62.810^^115^1383^29
 +19      ;;^UTILITY(U,$J,358.3,28225,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,28225,1,3,0)
 +22      ;;=3^Personal Hx of Childhood Physical & Sexual Abuse
 +23      ;;^UTILITY(U,$J,358.3,28225,1,4,0)
 +24      ;;=4^Z62.810
 +25      ;;^UTILITY(U,$J,358.3,28225,2)
 +26      ;;=^5063153
 +27      ;;^UTILITY(U,$J,358.3,28226,0)
 +28      ;;=Z62.811^^115^1383^30
 +29      ;;^UTILITY(U,$J,358.3,28226,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,28226,1,3,0)
 +32      ;;=3^Personal Hx of Childhood Psychological Abuse
 +33      ;;^UTILITY(U,$J,358.3,28226,1,4,0)
 +34      ;;=4^Z62.811
 +35      ;;^UTILITY(U,$J,358.3,28226,2)
 +36      ;;=^5063154
 +37      ;;^UTILITY(U,$J,358.3,28227,0)
 +38      ;;=T76.51XA^^115^1383^1
 +39      ;;^UTILITY(U,$J,358.3,28227,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,28227,1,3,0)
 +42      ;;=3^Adult Forced Sexual Exploitation,Suspected,Init Enctr
 +43      ;;^UTILITY(U,$J,358.3,28227,1,4,0)
 +44      ;;=4^T76.51XA
 +45      ;;^UTILITY(U,$J,358.3,28227,2)
 +46      ;;=^5157572
 +47      ;;^UTILITY(U,$J,358.3,28228,0)
 +48      ;;=T76.51XD^^115^1383^2
 +49      ;;^UTILITY(U,$J,358.3,28228,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,28228,1,3,0)
 +52      ;;=3^Adult Forced Sexual Exploitation,Suspected,Subs Enctr
 +53      ;;^UTILITY(U,$J,358.3,28228,1,4,0)
 +54      ;;=4^T76.51XD
 +55      ;;^UTILITY(U,$J,358.3,28228,2)
 +56      ;;=^5157573
 +57      ;;^UTILITY(U,$J,358.3,28229,0)
 +58      ;;=Z91.42^^115^1383^31
 +59      ;;^UTILITY(U,$J,358.3,28229,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,28229,1,3,0)
 +62      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 +63      ;;^UTILITY(U,$J,358.3,28229,1,4,0)
 +64      ;;=4^Z91.42
 +65      ;;^UTILITY(U,$J,358.3,28229,2)
 +66      ;;=^5157633
 +67      ;;^UTILITY(U,$J,358.3,28230,0)
 +68      ;;=Z62.813^^115^1383^32
 +69      ;;^UTILITY(U,$J,358.3,28230,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,28230,1,3,0)
 +72      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 +73      ;;^UTILITY(U,$J,358.3,28230,1,4,0)
 +74      ;;=4^Z62.813
 +75      ;;^UTILITY(U,$J,358.3,28230,2)
 +76      ;;=^5157627
 +77      ;;^UTILITY(U,$J,358.3,28231,0)
 +78      ;;=F06.4^^115^1384^3
 +79      ;;^UTILITY(U,$J,358.3,28231,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,28231,1,3,0)
 +82      ;;=3^Anxiety Disorder d/t Another Medical Condition
 +83      ;;^UTILITY(U,$J,358.3,28231,1,4,0)
 +84      ;;=4^F06.4
 +85      ;;^UTILITY(U,$J,358.3,28231,2)
 +86      ;;=^5003061
 +87      ;;^UTILITY(U,$J,358.3,28232,0)
 +88      ;;=F41.0^^115^1384^12
 +89      ;;^UTILITY(U,$J,358.3,28232,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,28232,1,3,0)
 +92      ;;=3^Panic Disorder
 +93      ;;^UTILITY(U,$J,358.3,28232,1,4,0)
 +94      ;;=4^F41.0
 +95      ;;^UTILITY(U,$J,358.3,28232,2)
 +96      ;;=^5003564
 +97      ;;^UTILITY(U,$J,358.3,28233,0)
 +98      ;;=F41.1^^115^1384^10
 +99      ;;^UTILITY(U,$J,358.3,28233,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,28233,1,3,0)
 +102     ;;=3^Generalized Anxiety Disorder
 +103     ;;^UTILITY(U,$J,358.3,28233,1,4,0)
 +104     ;;=4^F41.1
 +105     ;;^UTILITY(U,$J,358.3,28233,2)
 +106     ;;=^50059
 +107     ;;^UTILITY(U,$J,358.3,28234,0)
 +108     ;;=F40.10^^115^1384^17
 +109     ;;^UTILITY(U,$J,358.3,28234,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,28234,1,3,0)
 +112     ;;=3^Social Anxiety Disorder (Social Phobia)
 +113     ;;^UTILITY(U,$J,358.3,28234,1,4,0)
 +114     ;;=4^F40.10
 +115     ;;^UTILITY(U,$J,358.3,28234,2)
 +116     ;;=^5003544
 +117     ;;^UTILITY(U,$J,358.3,28235,0)
 +118     ;;=F40.218^^115^1384^2