IBDEI11N ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,16965,1,3,0)
;;=3^Undifferentiated/Atypical Schizophrenia
;;^UTILITY(U,$J,358.3,16965,1,4,0)
;;=4^F20.3
;;^UTILITY(U,$J,358.3,16965,2)
;;=^5003472
;;^UTILITY(U,$J,358.3,16966,0)
;;=F20.9^^61^779^27
;;^UTILITY(U,$J,358.3,16966,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16966,1,3,0)
;;=3^Schizophrenia,Unspec
;;^UTILITY(U,$J,358.3,16966,1,4,0)
;;=4^F20.9
;;^UTILITY(U,$J,358.3,16966,2)
;;=^5003476
;;^UTILITY(U,$J,358.3,16967,0)
;;=F31.9^^61^779^6
;;^UTILITY(U,$J,358.3,16967,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16967,1,3,0)
;;=3^Bipolar Disorder,Unspec
;;^UTILITY(U,$J,358.3,16967,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,16967,2)
;;=^331892
;;^UTILITY(U,$J,358.3,16968,0)
;;=F31.72^^61^779^7
;;^UTILITY(U,$J,358.3,16968,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16968,1,3,0)
;;=3^Bipolr Disorder,Full Remis,Most Recent Episode Hypomanic
;;^UTILITY(U,$J,358.3,16968,1,4,0)
;;=4^F31.72
;;^UTILITY(U,$J,358.3,16968,2)
;;=^5003512
;;^UTILITY(U,$J,358.3,16969,0)
;;=F31.71^^61^779^5
;;^UTILITY(U,$J,358.3,16969,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16969,1,3,0)
;;=3^Bipolar Disorder,Part Remis,Most Recent Episode Hypomanic
;;^UTILITY(U,$J,358.3,16969,1,4,0)
;;=4^F31.71
;;^UTILITY(U,$J,358.3,16969,2)
;;=^5003511
;;^UTILITY(U,$J,358.3,16970,0)
;;=F31.70^^61^779^4
;;^UTILITY(U,$J,358.3,16970,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16970,1,3,0)
;;=3^Bipolar Disorder,In Remis,Most Recent Episode Unspec
;;^UTILITY(U,$J,358.3,16970,1,4,0)
;;=4^F31.70
;;^UTILITY(U,$J,358.3,16970,2)
;;=^5003510
;;^UTILITY(U,$J,358.3,16971,0)
;;=F29.^^61^779^25
;;^UTILITY(U,$J,358.3,16971,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16971,1,3,0)
;;=3^Psychosis not d/t Substance/Known Physiol Cond,Unspec
;;^UTILITY(U,$J,358.3,16971,1,4,0)
;;=4^F29.
;;^UTILITY(U,$J,358.3,16971,2)
;;=^5003484
;;^UTILITY(U,$J,358.3,16972,0)
;;=F28.^^61^779^26
;;^UTILITY(U,$J,358.3,16972,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16972,1,3,0)
;;=3^Psychosis not d/t Substance/Known Physiol Cond NEC
;;^UTILITY(U,$J,358.3,16972,1,4,0)
;;=4^F28.
;;^UTILITY(U,$J,358.3,16972,2)
;;=^5003483
;;^UTILITY(U,$J,358.3,16973,0)
;;=F41.9^^61^779^3
;;^UTILITY(U,$J,358.3,16973,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16973,1,3,0)
;;=3^Anxiety Disorder,Unspec
;;^UTILITY(U,$J,358.3,16973,1,4,0)
;;=4^F41.9
;;^UTILITY(U,$J,358.3,16973,2)
;;=^5003567
;;^UTILITY(U,$J,358.3,16974,0)
;;=F45.0^^61^779^29
;;^UTILITY(U,$J,358.3,16974,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16974,1,3,0)
;;=3^Somatization Disorder
;;^UTILITY(U,$J,358.3,16974,1,4,0)
;;=4^F45.0
;;^UTILITY(U,$J,358.3,16974,2)
;;=^112280
;;^UTILITY(U,$J,358.3,16975,0)
;;=F69.^^61^779^2
;;^UTILITY(U,$J,358.3,16975,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16975,1,3,0)
;;=3^Adult Personality and Behavior Disorder,Unspec
;;^UTILITY(U,$J,358.3,16975,1,4,0)
;;=4^F69.
;;^UTILITY(U,$J,358.3,16975,2)
;;=^5003667
;;^UTILITY(U,$J,358.3,16976,0)
;;=F60.9^^61^779^23
;;^UTILITY(U,$J,358.3,16976,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16976,1,3,0)
;;=3^Personality Disorder,Unspec
;;^UTILITY(U,$J,358.3,16976,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,16976,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,16977,0)
;;=F32.9^^61^779^16
;;^UTILITY(U,$J,358.3,16977,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16977,1,3,0)
;;=3^MDD,Single Episode,Unspec
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI11N 3797 printed Nov 22, 2024@17:10:11 Page 2
IBDEI11N ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,16965,1,3,0)
+2 ;;=3^Undifferentiated/Atypical Schizophrenia
+3 ;;^UTILITY(U,$J,358.3,16965,1,4,0)
+4 ;;=4^F20.3
+5 ;;^UTILITY(U,$J,358.3,16965,2)
+6 ;;=^5003472
+7 ;;^UTILITY(U,$J,358.3,16966,0)
+8 ;;=F20.9^^61^779^27
+9 ;;^UTILITY(U,$J,358.3,16966,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,16966,1,3,0)
+12 ;;=3^Schizophrenia,Unspec
+13 ;;^UTILITY(U,$J,358.3,16966,1,4,0)
+14 ;;=4^F20.9
+15 ;;^UTILITY(U,$J,358.3,16966,2)
+16 ;;=^5003476
+17 ;;^UTILITY(U,$J,358.3,16967,0)
+18 ;;=F31.9^^61^779^6
+19 ;;^UTILITY(U,$J,358.3,16967,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,16967,1,3,0)
+22 ;;=3^Bipolar Disorder,Unspec
+23 ;;^UTILITY(U,$J,358.3,16967,1,4,0)
+24 ;;=4^F31.9
+25 ;;^UTILITY(U,$J,358.3,16967,2)
+26 ;;=^331892
+27 ;;^UTILITY(U,$J,358.3,16968,0)
+28 ;;=F31.72^^61^779^7
+29 ;;^UTILITY(U,$J,358.3,16968,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,16968,1,3,0)
+32 ;;=3^Bipolr Disorder,Full Remis,Most Recent Episode Hypomanic
+33 ;;^UTILITY(U,$J,358.3,16968,1,4,0)
+34 ;;=4^F31.72
+35 ;;^UTILITY(U,$J,358.3,16968,2)
+36 ;;=^5003512
+37 ;;^UTILITY(U,$J,358.3,16969,0)
+38 ;;=F31.71^^61^779^5
+39 ;;^UTILITY(U,$J,358.3,16969,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,16969,1,3,0)
+42 ;;=3^Bipolar Disorder,Part Remis,Most Recent Episode Hypomanic
+43 ;;^UTILITY(U,$J,358.3,16969,1,4,0)
+44 ;;=4^F31.71
+45 ;;^UTILITY(U,$J,358.3,16969,2)
+46 ;;=^5003511
+47 ;;^UTILITY(U,$J,358.3,16970,0)
+48 ;;=F31.70^^61^779^4
+49 ;;^UTILITY(U,$J,358.3,16970,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,16970,1,3,0)
+52 ;;=3^Bipolar Disorder,In Remis,Most Recent Episode Unspec
+53 ;;^UTILITY(U,$J,358.3,16970,1,4,0)
+54 ;;=4^F31.70
+55 ;;^UTILITY(U,$J,358.3,16970,2)
+56 ;;=^5003510
+57 ;;^UTILITY(U,$J,358.3,16971,0)
+58 ;;=F29.^^61^779^25
+59 ;;^UTILITY(U,$J,358.3,16971,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,16971,1,3,0)
+62 ;;=3^Psychosis not d/t Substance/Known Physiol Cond,Unspec
+63 ;;^UTILITY(U,$J,358.3,16971,1,4,0)
+64 ;;=4^F29.
+65 ;;^UTILITY(U,$J,358.3,16971,2)
+66 ;;=^5003484
+67 ;;^UTILITY(U,$J,358.3,16972,0)
+68 ;;=F28.^^61^779^26
+69 ;;^UTILITY(U,$J,358.3,16972,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,16972,1,3,0)
+72 ;;=3^Psychosis not d/t Substance/Known Physiol Cond NEC
+73 ;;^UTILITY(U,$J,358.3,16972,1,4,0)
+74 ;;=4^F28.
+75 ;;^UTILITY(U,$J,358.3,16972,2)
+76 ;;=^5003483
+77 ;;^UTILITY(U,$J,358.3,16973,0)
+78 ;;=F41.9^^61^779^3
+79 ;;^UTILITY(U,$J,358.3,16973,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,16973,1,3,0)
+82 ;;=3^Anxiety Disorder,Unspec
+83 ;;^UTILITY(U,$J,358.3,16973,1,4,0)
+84 ;;=4^F41.9
+85 ;;^UTILITY(U,$J,358.3,16973,2)
+86 ;;=^5003567
+87 ;;^UTILITY(U,$J,358.3,16974,0)
+88 ;;=F45.0^^61^779^29
+89 ;;^UTILITY(U,$J,358.3,16974,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,16974,1,3,0)
+92 ;;=3^Somatization Disorder
+93 ;;^UTILITY(U,$J,358.3,16974,1,4,0)
+94 ;;=4^F45.0
+95 ;;^UTILITY(U,$J,358.3,16974,2)
+96 ;;=^112280
+97 ;;^UTILITY(U,$J,358.3,16975,0)
+98 ;;=F69.^^61^779^2
+99 ;;^UTILITY(U,$J,358.3,16975,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,16975,1,3,0)
+102 ;;=3^Adult Personality and Behavior Disorder,Unspec
+103 ;;^UTILITY(U,$J,358.3,16975,1,4,0)
+104 ;;=4^F69.
+105 ;;^UTILITY(U,$J,358.3,16975,2)
+106 ;;=^5003667
+107 ;;^UTILITY(U,$J,358.3,16976,0)
+108 ;;=F60.9^^61^779^23
+109 ;;^UTILITY(U,$J,358.3,16976,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,16976,1,3,0)
+112 ;;=3^Personality Disorder,Unspec
+113 ;;^UTILITY(U,$J,358.3,16976,1,4,0)
+114 ;;=4^F60.9
+115 ;;^UTILITY(U,$J,358.3,16976,2)
+116 ;;=^5003639
+117 ;;^UTILITY(U,$J,358.3,16977,0)
+118 ;;=F32.9^^61^779^16
+119 ;;^UTILITY(U,$J,358.3,16977,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,16977,1,3,0)
+122 ;;=3^MDD,Single Episode,Unspec