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