IBDEI2R2 ; ; 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,43859,1,3,0)
 ;;=3^Train & Ed Svcs R/T Care & Tx of Disabling MH Problem 45+ min
 ;;^UTILITY(U,$J,358.3,43860,0)
 ;;=S9454^^163^2163^3^^^^1
 ;;^UTILITY(U,$J,358.3,43860,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43860,1,2,0)
 ;;=2^S9454
 ;;^UTILITY(U,$J,358.3,43860,1,3,0)
 ;;=3^Stress Mgmt Class
 ;;^UTILITY(U,$J,358.3,43861,0)
 ;;=99366^^163^2164^1^^^^1
 ;;^UTILITY(U,$J,358.3,43861,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43861,1,2,0)
 ;;=2^99366
 ;;^UTILITY(U,$J,358.3,43861,1,3,0)
 ;;=3^Non-Phy Team Conf w/ Pt &/or Fam,30 min+
 ;;^UTILITY(U,$J,358.3,43862,0)
 ;;=99368^^163^2164^2^^^^1
 ;;^UTILITY(U,$J,358.3,43862,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43862,1,2,0)
 ;;=2^99368
 ;;^UTILITY(U,$J,358.3,43862,1,3,0)
 ;;=3^Non-Phy Team Conf w/o Pt Present,30 min+
 ;;^UTILITY(U,$J,358.3,43863,0)
 ;;=99367^^163^2164^55^^^^1
 ;;^UTILITY(U,$J,358.3,43863,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43863,1,2,0)
 ;;=2^99367
 ;;^UTILITY(U,$J,358.3,43863,1,3,0)
 ;;=3^Team Conf w/o Pt or Fam,MD Prim,30+ min
 ;;^UTILITY(U,$J,358.3,43864,0)
 ;;=G0396^^163^2165^6^^^^1
 ;;^UTILITY(U,$J,358.3,43864,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43864,1,2,0)
 ;;=2^G0396
 ;;^UTILITY(U,$J,358.3,43864,1,3,0)
 ;;=3^Substance Use Intervention,15-30 min
 ;;^UTILITY(U,$J,358.3,43865,0)
 ;;=G0397^^163^2165^5^^^^1
 ;;^UTILITY(U,$J,358.3,43865,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43865,1,2,0)
 ;;=2^G0397
 ;;^UTILITY(U,$J,358.3,43865,1,3,0)
 ;;=3^Substance Use Intervention > 30 min
 ;;^UTILITY(U,$J,358.3,43866,0)
 ;;=H0004^^163^2165^4^^^^1
 ;;^UTILITY(U,$J,358.3,43866,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43866,1,2,0)
 ;;=2^H0004
 ;;^UTILITY(U,$J,358.3,43866,1,3,0)
 ;;=3^Behav Hlth Counseling/Tx,per 15 min
 ;;^UTILITY(U,$J,358.3,43867,0)
 ;;=H0001^^163^2165^1^^^^1
 ;;^UTILITY(U,$J,358.3,43867,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43867,1,2,0)
 ;;=2^H0001
 ;;^UTILITY(U,$J,358.3,43867,1,3,0)
 ;;=3^Alcohol and/or Drug Assessment
 ;;^UTILITY(U,$J,358.3,43868,0)
 ;;=H0005^^163^2165^3^^^^1
 ;;^UTILITY(U,$J,358.3,43868,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43868,1,2,0)
 ;;=2^H0005
 ;;^UTILITY(U,$J,358.3,43868,1,3,0)
 ;;=3^Alcohol/Drug Counseling,Group
 ;;^UTILITY(U,$J,358.3,43869,0)
 ;;=H0006^^163^2165^2^^^^1
 ;;^UTILITY(U,$J,358.3,43869,1,0)
 ;;=^358.31IA^3^2
 ;;^UTILITY(U,$J,358.3,43869,1,2,0)
 ;;=2^H0006
 ;;^UTILITY(U,$J,358.3,43869,1,3,0)
 ;;=3^Alcohol/Drug Case Management
 ;;^UTILITY(U,$J,358.3,43870,0)
 ;;=T74.11XA^^164^2166^7
 ;;^UTILITY(U,$J,358.3,43870,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43870,1,3,0)
 ;;=3^Adult Physical Abuse,Confirmed,Init Enctr
 ;;^UTILITY(U,$J,358.3,43870,1,4,0)
 ;;=4^T74.11XA
 ;;^UTILITY(U,$J,358.3,43870,2)
 ;;=^5054146
 ;;^UTILITY(U,$J,358.3,43871,0)
 ;;=T74.11XD^^164^2166^8
 ;;^UTILITY(U,$J,358.3,43871,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43871,1,3,0)
 ;;=3^Adult Physical Abuse,Confirmed,Subs Enctr
 ;;^UTILITY(U,$J,358.3,43871,1,4,0)
 ;;=4^T74.11XD
 ;;^UTILITY(U,$J,358.3,43871,2)
 ;;=^5054147
 ;;^UTILITY(U,$J,358.3,43872,0)
 ;;=T76.11XA^^164^2166^9
 ;;^UTILITY(U,$J,358.3,43872,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,43872,1,3,0)
 ;;=3^Adult Physical Abuse,Suspected,Init Enctr
 ;;^UTILITY(U,$J,358.3,43872,1,4,0)
 ;;=4^T76.11XA
 ;;^UTILITY(U,$J,358.3,43872,2)
 ;;=^5054221
 ;;^UTILITY(U,$J,358.3,43873,0)
 ;;=T76.11XD^^164^2166^10
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2R2   3749     printed  Sep 23, 2025@20:10:11                                                                                                                                                                                                    Page 2
IBDEI2R2  ; ; 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,43859,1,3,0)
 +2       ;;=3^Train & Ed Svcs R/T Care & Tx of Disabling MH Problem 45+ min
 +3       ;;^UTILITY(U,$J,358.3,43860,0)
 +4       ;;=S9454^^163^2163^3^^^^1
 +5       ;;^UTILITY(U,$J,358.3,43860,1,0)
 +6       ;;=^358.31IA^3^2
 +7       ;;^UTILITY(U,$J,358.3,43860,1,2,0)
 +8       ;;=2^S9454
 +9       ;;^UTILITY(U,$J,358.3,43860,1,3,0)
 +10      ;;=3^Stress Mgmt Class
 +11      ;;^UTILITY(U,$J,358.3,43861,0)
 +12      ;;=99366^^163^2164^1^^^^1
 +13      ;;^UTILITY(U,$J,358.3,43861,1,0)
 +14      ;;=^358.31IA^3^2
 +15      ;;^UTILITY(U,$J,358.3,43861,1,2,0)
 +16      ;;=2^99366
 +17      ;;^UTILITY(U,$J,358.3,43861,1,3,0)
 +18      ;;=3^Non-Phy Team Conf w/ Pt &/or Fam,30 min+
 +19      ;;^UTILITY(U,$J,358.3,43862,0)
 +20      ;;=99368^^163^2164^2^^^^1
 +21      ;;^UTILITY(U,$J,358.3,43862,1,0)
 +22      ;;=^358.31IA^3^2
 +23      ;;^UTILITY(U,$J,358.3,43862,1,2,0)
 +24      ;;=2^99368
 +25      ;;^UTILITY(U,$J,358.3,43862,1,3,0)
 +26      ;;=3^Non-Phy Team Conf w/o Pt Present,30 min+
 +27      ;;^UTILITY(U,$J,358.3,43863,0)
 +28      ;;=99367^^163^2164^55^^^^1
 +29      ;;^UTILITY(U,$J,358.3,43863,1,0)
 +30      ;;=^358.31IA^3^2
 +31      ;;^UTILITY(U,$J,358.3,43863,1,2,0)
 +32      ;;=2^99367
 +33      ;;^UTILITY(U,$J,358.3,43863,1,3,0)
 +34      ;;=3^Team Conf w/o Pt or Fam,MD Prim,30+ min
 +35      ;;^UTILITY(U,$J,358.3,43864,0)
 +36      ;;=G0396^^163^2165^6^^^^1
 +37      ;;^UTILITY(U,$J,358.3,43864,1,0)
 +38      ;;=^358.31IA^3^2
 +39      ;;^UTILITY(U,$J,358.3,43864,1,2,0)
 +40      ;;=2^G0396
 +41      ;;^UTILITY(U,$J,358.3,43864,1,3,0)
 +42      ;;=3^Substance Use Intervention,15-30 min
 +43      ;;^UTILITY(U,$J,358.3,43865,0)
 +44      ;;=G0397^^163^2165^5^^^^1
 +45      ;;^UTILITY(U,$J,358.3,43865,1,0)
 +46      ;;=^358.31IA^3^2
 +47      ;;^UTILITY(U,$J,358.3,43865,1,2,0)
 +48      ;;=2^G0397
 +49      ;;^UTILITY(U,$J,358.3,43865,1,3,0)
 +50      ;;=3^Substance Use Intervention > 30 min
 +51      ;;^UTILITY(U,$J,358.3,43866,0)
 +52      ;;=H0004^^163^2165^4^^^^1
 +53      ;;^UTILITY(U,$J,358.3,43866,1,0)
 +54      ;;=^358.31IA^3^2
 +55      ;;^UTILITY(U,$J,358.3,43866,1,2,0)
 +56      ;;=2^H0004
 +57      ;;^UTILITY(U,$J,358.3,43866,1,3,0)
 +58      ;;=3^Behav Hlth Counseling/Tx,per 15 min
 +59      ;;^UTILITY(U,$J,358.3,43867,0)
 +60      ;;=H0001^^163^2165^1^^^^1
 +61      ;;^UTILITY(U,$J,358.3,43867,1,0)
 +62      ;;=^358.31IA^3^2
 +63      ;;^UTILITY(U,$J,358.3,43867,1,2,0)
 +64      ;;=2^H0001
 +65      ;;^UTILITY(U,$J,358.3,43867,1,3,0)
 +66      ;;=3^Alcohol and/or Drug Assessment
 +67      ;;^UTILITY(U,$J,358.3,43868,0)
 +68      ;;=H0005^^163^2165^3^^^^1
 +69      ;;^UTILITY(U,$J,358.3,43868,1,0)
 +70      ;;=^358.31IA^3^2
 +71      ;;^UTILITY(U,$J,358.3,43868,1,2,0)
 +72      ;;=2^H0005
 +73      ;;^UTILITY(U,$J,358.3,43868,1,3,0)
 +74      ;;=3^Alcohol/Drug Counseling,Group
 +75      ;;^UTILITY(U,$J,358.3,43869,0)
 +76      ;;=H0006^^163^2165^2^^^^1
 +77      ;;^UTILITY(U,$J,358.3,43869,1,0)
 +78      ;;=^358.31IA^3^2
 +79      ;;^UTILITY(U,$J,358.3,43869,1,2,0)
 +80      ;;=2^H0006
 +81      ;;^UTILITY(U,$J,358.3,43869,1,3,0)
 +82      ;;=3^Alcohol/Drug Case Management
 +83      ;;^UTILITY(U,$J,358.3,43870,0)
 +84      ;;=T74.11XA^^164^2166^7
 +85      ;;^UTILITY(U,$J,358.3,43870,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,43870,1,3,0)
 +88      ;;=3^Adult Physical Abuse,Confirmed,Init Enctr
 +89      ;;^UTILITY(U,$J,358.3,43870,1,4,0)
 +90      ;;=4^T74.11XA
 +91      ;;^UTILITY(U,$J,358.3,43870,2)
 +92      ;;=^5054146
 +93      ;;^UTILITY(U,$J,358.3,43871,0)
 +94      ;;=T74.11XD^^164^2166^8
 +95      ;;^UTILITY(U,$J,358.3,43871,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,43871,1,3,0)
 +98      ;;=3^Adult Physical Abuse,Confirmed,Subs Enctr
 +99      ;;^UTILITY(U,$J,358.3,43871,1,4,0)
 +100     ;;=4^T74.11XD
 +101     ;;^UTILITY(U,$J,358.3,43871,2)
 +102     ;;=^5054147
 +103     ;;^UTILITY(U,$J,358.3,43872,0)
 +104     ;;=T76.11XA^^164^2166^9
 +105     ;;^UTILITY(U,$J,358.3,43872,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,43872,1,3,0)
 +108     ;;=3^Adult Physical Abuse,Suspected,Init Enctr
 +109     ;;^UTILITY(U,$J,358.3,43872,1,4,0)
 +110     ;;=4^T76.11XA
 +111     ;;^UTILITY(U,$J,358.3,43872,2)
 +112     ;;=^5054221
 +113     ;;^UTILITY(U,$J,358.3,43873,0)
 +114     ;;=T76.11XD^^164^2166^10