IBDEI1VW ; ; 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,30096,1,3,0)
 ;;=3^Victim of Terrorism or Torture
 ;;^UTILITY(U,$J,358.3,30096,1,4,0)
 ;;=4^Z65.4
 ;;^UTILITY(U,$J,358.3,30096,2)
 ;;=^5063183
 ;;^UTILITY(U,$J,358.3,30097,0)
 ;;=Z62.820^^120^1534^3
 ;;^UTILITY(U,$J,358.3,30097,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30097,1,3,0)
 ;;=3^Parent-Child Relational Problem
 ;;^UTILITY(U,$J,358.3,30097,1,4,0)
 ;;=4^Z62.820
 ;;^UTILITY(U,$J,358.3,30097,2)
 ;;=^5063157
 ;;^UTILITY(U,$J,358.3,30098,0)
 ;;=Z62.891^^120^1534^6
 ;;^UTILITY(U,$J,358.3,30098,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30098,1,3,0)
 ;;=3^Sibling Relational Problem
 ;;^UTILITY(U,$J,358.3,30098,1,4,0)
 ;;=4^Z62.891
 ;;^UTILITY(U,$J,358.3,30098,2)
 ;;=^5063161
 ;;^UTILITY(U,$J,358.3,30099,0)
 ;;=Z62.898^^120^1534^4
 ;;^UTILITY(U,$J,358.3,30099,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30099,1,3,0)
 ;;=3^Problems Related to Upbringing,Oth Spec
 ;;^UTILITY(U,$J,358.3,30099,1,4,0)
 ;;=4^Z62.898
 ;;^UTILITY(U,$J,358.3,30099,2)
 ;;=^5063162
 ;;^UTILITY(U,$J,358.3,30100,0)
 ;;=Z63.0^^120^1534^5
 ;;^UTILITY(U,$J,358.3,30100,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30100,1,3,0)
 ;;=3^Relationship Distress w/ Spouse/Partner
 ;;^UTILITY(U,$J,358.3,30100,1,4,0)
 ;;=4^Z63.0
 ;;^UTILITY(U,$J,358.3,30100,2)
 ;;=^5063164
 ;;^UTILITY(U,$J,358.3,30101,0)
 ;;=Z63.5^^120^1534^1
 ;;^UTILITY(U,$J,358.3,30101,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30101,1,3,0)
 ;;=3^Disruption of Family by Separation or Divorce
 ;;^UTILITY(U,$J,358.3,30101,1,4,0)
 ;;=4^Z63.5
 ;;^UTILITY(U,$J,358.3,30101,2)
 ;;=^5063169
 ;;^UTILITY(U,$J,358.3,30102,0)
 ;;=Z63.8^^120^1534^2
 ;;^UTILITY(U,$J,358.3,30102,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30102,1,3,0)
 ;;=3^High Expressed Emotion Level w/in Family
 ;;^UTILITY(U,$J,358.3,30102,1,4,0)
 ;;=4^Z63.8
 ;;^UTILITY(U,$J,358.3,30102,2)
 ;;=^5063174
 ;;^UTILITY(U,$J,358.3,30103,0)
 ;;=Z63.4^^120^1534^7
 ;;^UTILITY(U,$J,358.3,30103,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30103,1,3,0)
 ;;=3^Uncomplicated Bereavement
 ;;^UTILITY(U,$J,358.3,30103,1,4,0)
 ;;=4^Z63.4
 ;;^UTILITY(U,$J,358.3,30103,2)
 ;;=^5063168
 ;;^UTILITY(U,$J,358.3,30104,0)
 ;;=Z62.29^^120^1534^8
 ;;^UTILITY(U,$J,358.3,30104,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30104,1,3,0)
 ;;=3^Upbringing Away from Parents
 ;;^UTILITY(U,$J,358.3,30104,1,4,0)
 ;;=4^Z62.29
 ;;^UTILITY(U,$J,358.3,30104,2)
 ;;=^5063150
 ;;^UTILITY(U,$J,358.3,30105,0)
 ;;=F20.9^^120^1535^10
 ;;^UTILITY(U,$J,358.3,30105,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30105,1,3,0)
 ;;=3^Schizophrenia
 ;;^UTILITY(U,$J,358.3,30105,1,4,0)
 ;;=4^F20.9
 ;;^UTILITY(U,$J,358.3,30105,2)
 ;;=^5003476
 ;;^UTILITY(U,$J,358.3,30106,0)
 ;;=F20.81^^120^1535^13
 ;;^UTILITY(U,$J,358.3,30106,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30106,1,3,0)
 ;;=3^Schizophreniform D/O
 ;;^UTILITY(U,$J,358.3,30106,1,4,0)
 ;;=4^F20.81
 ;;^UTILITY(U,$J,358.3,30106,2)
 ;;=^5003474
 ;;^UTILITY(U,$J,358.3,30107,0)
 ;;=F22.^^120^1535^3
 ;;^UTILITY(U,$J,358.3,30107,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30107,1,3,0)
 ;;=3^Delusional D/O
 ;;^UTILITY(U,$J,358.3,30107,1,4,0)
 ;;=4^F22.
 ;;^UTILITY(U,$J,358.3,30107,2)
 ;;=^5003478
 ;;^UTILITY(U,$J,358.3,30108,0)
 ;;=F23.^^120^1535^1
 ;;^UTILITY(U,$J,358.3,30108,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,30108,1,3,0)
 ;;=3^Brief Psychotic D/O
 ;;^UTILITY(U,$J,358.3,30108,1,4,0)
 ;;=4^F23.
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1VW   3758     printed  Sep 23, 2025@19:52:50                                                                                                                                                                                                    Page 2
IBDEI1VW  ; ; 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,30096,1,3,0)
 +2       ;;=3^Victim of Terrorism or Torture
 +3       ;;^UTILITY(U,$J,358.3,30096,1,4,0)
 +4       ;;=4^Z65.4
 +5       ;;^UTILITY(U,$J,358.3,30096,2)
 +6       ;;=^5063183
 +7       ;;^UTILITY(U,$J,358.3,30097,0)
 +8       ;;=Z62.820^^120^1534^3
 +9       ;;^UTILITY(U,$J,358.3,30097,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,30097,1,3,0)
 +12      ;;=3^Parent-Child Relational Problem
 +13      ;;^UTILITY(U,$J,358.3,30097,1,4,0)
 +14      ;;=4^Z62.820
 +15      ;;^UTILITY(U,$J,358.3,30097,2)
 +16      ;;=^5063157
 +17      ;;^UTILITY(U,$J,358.3,30098,0)
 +18      ;;=Z62.891^^120^1534^6
 +19      ;;^UTILITY(U,$J,358.3,30098,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,30098,1,3,0)
 +22      ;;=3^Sibling Relational Problem
 +23      ;;^UTILITY(U,$J,358.3,30098,1,4,0)
 +24      ;;=4^Z62.891
 +25      ;;^UTILITY(U,$J,358.3,30098,2)
 +26      ;;=^5063161
 +27      ;;^UTILITY(U,$J,358.3,30099,0)
 +28      ;;=Z62.898^^120^1534^4
 +29      ;;^UTILITY(U,$J,358.3,30099,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,30099,1,3,0)
 +32      ;;=3^Problems Related to Upbringing,Oth Spec
 +33      ;;^UTILITY(U,$J,358.3,30099,1,4,0)
 +34      ;;=4^Z62.898
 +35      ;;^UTILITY(U,$J,358.3,30099,2)
 +36      ;;=^5063162
 +37      ;;^UTILITY(U,$J,358.3,30100,0)
 +38      ;;=Z63.0^^120^1534^5
 +39      ;;^UTILITY(U,$J,358.3,30100,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,30100,1,3,0)
 +42      ;;=3^Relationship Distress w/ Spouse/Partner
 +43      ;;^UTILITY(U,$J,358.3,30100,1,4,0)
 +44      ;;=4^Z63.0
 +45      ;;^UTILITY(U,$J,358.3,30100,2)
 +46      ;;=^5063164
 +47      ;;^UTILITY(U,$J,358.3,30101,0)
 +48      ;;=Z63.5^^120^1534^1
 +49      ;;^UTILITY(U,$J,358.3,30101,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,30101,1,3,0)
 +52      ;;=3^Disruption of Family by Separation or Divorce
 +53      ;;^UTILITY(U,$J,358.3,30101,1,4,0)
 +54      ;;=4^Z63.5
 +55      ;;^UTILITY(U,$J,358.3,30101,2)
 +56      ;;=^5063169
 +57      ;;^UTILITY(U,$J,358.3,30102,0)
 +58      ;;=Z63.8^^120^1534^2
 +59      ;;^UTILITY(U,$J,358.3,30102,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,30102,1,3,0)
 +62      ;;=3^High Expressed Emotion Level w/in Family
 +63      ;;^UTILITY(U,$J,358.3,30102,1,4,0)
 +64      ;;=4^Z63.8
 +65      ;;^UTILITY(U,$J,358.3,30102,2)
 +66      ;;=^5063174
 +67      ;;^UTILITY(U,$J,358.3,30103,0)
 +68      ;;=Z63.4^^120^1534^7
 +69      ;;^UTILITY(U,$J,358.3,30103,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,30103,1,3,0)
 +72      ;;=3^Uncomplicated Bereavement
 +73      ;;^UTILITY(U,$J,358.3,30103,1,4,0)
 +74      ;;=4^Z63.4
 +75      ;;^UTILITY(U,$J,358.3,30103,2)
 +76      ;;=^5063168
 +77      ;;^UTILITY(U,$J,358.3,30104,0)
 +78      ;;=Z62.29^^120^1534^8
 +79      ;;^UTILITY(U,$J,358.3,30104,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,30104,1,3,0)
 +82      ;;=3^Upbringing Away from Parents
 +83      ;;^UTILITY(U,$J,358.3,30104,1,4,0)
 +84      ;;=4^Z62.29
 +85      ;;^UTILITY(U,$J,358.3,30104,2)
 +86      ;;=^5063150
 +87      ;;^UTILITY(U,$J,358.3,30105,0)
 +88      ;;=F20.9^^120^1535^10
 +89      ;;^UTILITY(U,$J,358.3,30105,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,30105,1,3,0)
 +92      ;;=3^Schizophrenia
 +93      ;;^UTILITY(U,$J,358.3,30105,1,4,0)
 +94      ;;=4^F20.9
 +95      ;;^UTILITY(U,$J,358.3,30105,2)
 +96      ;;=^5003476
 +97      ;;^UTILITY(U,$J,358.3,30106,0)
 +98      ;;=F20.81^^120^1535^13
 +99      ;;^UTILITY(U,$J,358.3,30106,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,30106,1,3,0)
 +102     ;;=3^Schizophreniform D/O
 +103     ;;^UTILITY(U,$J,358.3,30106,1,4,0)
 +104     ;;=4^F20.81
 +105     ;;^UTILITY(U,$J,358.3,30106,2)
 +106     ;;=^5003474
 +107     ;;^UTILITY(U,$J,358.3,30107,0)
 +108     ;;=F22.^^120^1535^3
 +109     ;;^UTILITY(U,$J,358.3,30107,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,30107,1,3,0)
 +112     ;;=3^Delusional D/O
 +113     ;;^UTILITY(U,$J,358.3,30107,1,4,0)
 +114     ;;=4^F22.
 +115     ;;^UTILITY(U,$J,358.3,30107,2)
 +116     ;;=^5003478
 +117     ;;^UTILITY(U,$J,358.3,30108,0)
 +118     ;;=F23.^^120^1535^1
 +119     ;;^UTILITY(U,$J,358.3,30108,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,30108,1,3,0)
 +122     ;;=3^Brief Psychotic D/O
 +123     ;;^UTILITY(U,$J,358.3,30108,1,4,0)
 +124     ;;=4^F23.