IBDEI2R5 ; ; 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,43896,1,4,0)
 ;;=4^Z62.810
 ;;^UTILITY(U,$J,358.3,43896,2)
 ;;=^5063153
 ;;^UTILITY(U,$J,358.3,43897,0)
 ;;=Z62.811^^164^2166^30
 ;;^UTILITY(U,$J,358.3,43897,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43897,1,3,0)
 ;;=3^Personal Hx of Childhood Psychological Abuse
 ;;^UTILITY(U,$J,358.3,43897,1,4,0)
 ;;=4^Z62.811
 ;;^UTILITY(U,$J,358.3,43897,2)
 ;;=^5063154
 ;;^UTILITY(U,$J,358.3,43898,0)
 ;;=T76.51XA^^164^2166^1
 ;;^UTILITY(U,$J,358.3,43898,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43898,1,3,0)
 ;;=3^Adult Forced Sexual Exploitation,Suspected,Init Enctr
 ;;^UTILITY(U,$J,358.3,43898,1,4,0)
 ;;=4^T76.51XA
 ;;^UTILITY(U,$J,358.3,43898,2)
 ;;=^5157572
 ;;^UTILITY(U,$J,358.3,43899,0)
 ;;=T76.51XD^^164^2166^2
 ;;^UTILITY(U,$J,358.3,43899,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43899,1,3,0)
 ;;=3^Adult Forced Sexual Exploitation,Suspected,Subs Enctr
 ;;^UTILITY(U,$J,358.3,43899,1,4,0)
 ;;=4^T76.51XD
 ;;^UTILITY(U,$J,358.3,43899,2)
 ;;=^5157573
 ;;^UTILITY(U,$J,358.3,43900,0)
 ;;=Z91.42^^164^2166^31
 ;;^UTILITY(U,$J,358.3,43900,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43900,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 ;;^UTILITY(U,$J,358.3,43900,1,4,0)
 ;;=4^Z91.42
 ;;^UTILITY(U,$J,358.3,43900,2)
 ;;=^5157633
 ;;^UTILITY(U,$J,358.3,43901,0)
 ;;=Z62.813^^164^2166^32
 ;;^UTILITY(U,$J,358.3,43901,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43901,1,3,0)
 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 ;;^UTILITY(U,$J,358.3,43901,1,4,0)
 ;;=4^Z62.813
 ;;^UTILITY(U,$J,358.3,43901,2)
 ;;=^5157627
 ;;^UTILITY(U,$J,358.3,43902,0)
 ;;=F06.4^^164^2167^3
 ;;^UTILITY(U,$J,358.3,43902,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43902,1,3,0)
 ;;=3^Anxiety Disorder d/t Another Medical Condition
 ;;^UTILITY(U,$J,358.3,43902,1,4,0)
 ;;=4^F06.4
 ;;^UTILITY(U,$J,358.3,43902,2)
 ;;=^5003061
 ;;^UTILITY(U,$J,358.3,43903,0)
 ;;=F41.0^^164^2167^12
 ;;^UTILITY(U,$J,358.3,43903,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43903,1,3,0)
 ;;=3^Panic Disorder
 ;;^UTILITY(U,$J,358.3,43903,1,4,0)
 ;;=4^F41.0
 ;;^UTILITY(U,$J,358.3,43903,2)
 ;;=^5003564
 ;;^UTILITY(U,$J,358.3,43904,0)
 ;;=F41.1^^164^2167^10
 ;;^UTILITY(U,$J,358.3,43904,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43904,1,3,0)
 ;;=3^Generalized Anxiety Disorder
 ;;^UTILITY(U,$J,358.3,43904,1,4,0)
 ;;=4^F41.1
 ;;^UTILITY(U,$J,358.3,43904,2)
 ;;=^50059
 ;;^UTILITY(U,$J,358.3,43905,0)
 ;;=F40.10^^164^2167^17
 ;;^UTILITY(U,$J,358.3,43905,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43905,1,3,0)
 ;;=3^Social Anxiety Disorder (Social Phobia)
 ;;^UTILITY(U,$J,358.3,43905,1,4,0)
 ;;=4^F40.10
 ;;^UTILITY(U,$J,358.3,43905,2)
 ;;=^5003544
 ;;^UTILITY(U,$J,358.3,43906,0)
 ;;=F40.218^^164^2167^2
 ;;^UTILITY(U,$J,358.3,43906,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43906,1,3,0)
 ;;=3^Animal Phobia
 ;;^UTILITY(U,$J,358.3,43906,1,4,0)
 ;;=4^F40.218
 ;;^UTILITY(U,$J,358.3,43906,2)
 ;;=^5003547
 ;;^UTILITY(U,$J,358.3,43907,0)
 ;;=F40.228^^164^2167^11
 ;;^UTILITY(U,$J,358.3,43907,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43907,1,3,0)
 ;;=3^Natural Environment Phobia
 ;;^UTILITY(U,$J,358.3,43907,1,4,0)
 ;;=4^F40.228
 ;;^UTILITY(U,$J,358.3,43907,2)
 ;;=^5003549
 ;;^UTILITY(U,$J,358.3,43908,0)
 ;;=F40.230^^164^2167^6
 ;;^UTILITY(U,$J,358.3,43908,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43908,1,3,0)
 ;;=3^Fear of Blood
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2R5   3757     printed  Sep 23, 2025@20:10:13                                                                                                                                                                                                    Page 2
IBDEI2R5  ; ; 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,43896,1,4,0)
 +2       ;;=4^Z62.810
 +3       ;;^UTILITY(U,$J,358.3,43896,2)
 +4       ;;=^5063153
 +5       ;;^UTILITY(U,$J,358.3,43897,0)
 +6       ;;=Z62.811^^164^2166^30
 +7       ;;^UTILITY(U,$J,358.3,43897,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,43897,1,3,0)
 +10      ;;=3^Personal Hx of Childhood Psychological Abuse
 +11      ;;^UTILITY(U,$J,358.3,43897,1,4,0)
 +12      ;;=4^Z62.811
 +13      ;;^UTILITY(U,$J,358.3,43897,2)
 +14      ;;=^5063154
 +15      ;;^UTILITY(U,$J,358.3,43898,0)
 +16      ;;=T76.51XA^^164^2166^1
 +17      ;;^UTILITY(U,$J,358.3,43898,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,43898,1,3,0)
 +20      ;;=3^Adult Forced Sexual Exploitation,Suspected,Init Enctr
 +21      ;;^UTILITY(U,$J,358.3,43898,1,4,0)
 +22      ;;=4^T76.51XA
 +23      ;;^UTILITY(U,$J,358.3,43898,2)
 +24      ;;=^5157572
 +25      ;;^UTILITY(U,$J,358.3,43899,0)
 +26      ;;=T76.51XD^^164^2166^2
 +27      ;;^UTILITY(U,$J,358.3,43899,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,43899,1,3,0)
 +30      ;;=3^Adult Forced Sexual Exploitation,Suspected,Subs Enctr
 +31      ;;^UTILITY(U,$J,358.3,43899,1,4,0)
 +32      ;;=4^T76.51XD
 +33      ;;^UTILITY(U,$J,358.3,43899,2)
 +34      ;;=^5157573
 +35      ;;^UTILITY(U,$J,358.3,43900,0)
 +36      ;;=Z91.42^^164^2166^31
 +37      ;;^UTILITY(U,$J,358.3,43900,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,43900,1,3,0)
 +40      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
 +41      ;;^UTILITY(U,$J,358.3,43900,1,4,0)
 +42      ;;=4^Z91.42
 +43      ;;^UTILITY(U,$J,358.3,43900,2)
 +44      ;;=^5157633
 +45      ;;^UTILITY(U,$J,358.3,43901,0)
 +46      ;;=Z62.813^^164^2166^32
 +47      ;;^UTILITY(U,$J,358.3,43901,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,43901,1,3,0)
 +50      ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
 +51      ;;^UTILITY(U,$J,358.3,43901,1,4,0)
 +52      ;;=4^Z62.813
 +53      ;;^UTILITY(U,$J,358.3,43901,2)
 +54      ;;=^5157627
 +55      ;;^UTILITY(U,$J,358.3,43902,0)
 +56      ;;=F06.4^^164^2167^3
 +57      ;;^UTILITY(U,$J,358.3,43902,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,43902,1,3,0)
 +60      ;;=3^Anxiety Disorder d/t Another Medical Condition
 +61      ;;^UTILITY(U,$J,358.3,43902,1,4,0)
 +62      ;;=4^F06.4
 +63      ;;^UTILITY(U,$J,358.3,43902,2)
 +64      ;;=^5003061
 +65      ;;^UTILITY(U,$J,358.3,43903,0)
 +66      ;;=F41.0^^164^2167^12
 +67      ;;^UTILITY(U,$J,358.3,43903,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,43903,1,3,0)
 +70      ;;=3^Panic Disorder
 +71      ;;^UTILITY(U,$J,358.3,43903,1,4,0)
 +72      ;;=4^F41.0
 +73      ;;^UTILITY(U,$J,358.3,43903,2)
 +74      ;;=^5003564
 +75      ;;^UTILITY(U,$J,358.3,43904,0)
 +76      ;;=F41.1^^164^2167^10
 +77      ;;^UTILITY(U,$J,358.3,43904,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,43904,1,3,0)
 +80      ;;=3^Generalized Anxiety Disorder
 +81      ;;^UTILITY(U,$J,358.3,43904,1,4,0)
 +82      ;;=4^F41.1
 +83      ;;^UTILITY(U,$J,358.3,43904,2)
 +84      ;;=^50059
 +85      ;;^UTILITY(U,$J,358.3,43905,0)
 +86      ;;=F40.10^^164^2167^17
 +87      ;;^UTILITY(U,$J,358.3,43905,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,43905,1,3,0)
 +90      ;;=3^Social Anxiety Disorder (Social Phobia)
 +91      ;;^UTILITY(U,$J,358.3,43905,1,4,0)
 +92      ;;=4^F40.10
 +93      ;;^UTILITY(U,$J,358.3,43905,2)
 +94      ;;=^5003544
 +95      ;;^UTILITY(U,$J,358.3,43906,0)
 +96      ;;=F40.218^^164^2167^2
 +97      ;;^UTILITY(U,$J,358.3,43906,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,43906,1,3,0)
 +100     ;;=3^Animal Phobia
 +101     ;;^UTILITY(U,$J,358.3,43906,1,4,0)
 +102     ;;=4^F40.218
 +103     ;;^UTILITY(U,$J,358.3,43906,2)
 +104     ;;=^5003547
 +105     ;;^UTILITY(U,$J,358.3,43907,0)
 +106     ;;=F40.228^^164^2167^11
 +107     ;;^UTILITY(U,$J,358.3,43907,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,43907,1,3,0)
 +110     ;;=3^Natural Environment Phobia
 +111     ;;^UTILITY(U,$J,358.3,43907,1,4,0)
 +112     ;;=4^F40.228
 +113     ;;^UTILITY(U,$J,358.3,43907,2)
 +114     ;;=^5003549
 +115     ;;^UTILITY(U,$J,358.3,43908,0)
 +116     ;;=F40.230^^164^2167^6
 +117     ;;^UTILITY(U,$J,358.3,43908,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,43908,1,3,0)
 +120     ;;=3^Fear of Blood