IBDEI37A ; ; 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,51099,2)
;;=^5003476
;;^UTILITY(U,$J,358.3,51100,0)
;;=F31.9^^193^2501^6
;;^UTILITY(U,$J,358.3,51100,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51100,1,3,0)
;;=3^Bipolar Disorder,Unspec
;;^UTILITY(U,$J,358.3,51100,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,51100,2)
;;=^331892
;;^UTILITY(U,$J,358.3,51101,0)
;;=F31.72^^193^2501^7
;;^UTILITY(U,$J,358.3,51101,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51101,1,3,0)
;;=3^Bipolr Disorder,Full Remis,Most Recent Episode Hypomanic
;;^UTILITY(U,$J,358.3,51101,1,4,0)
;;=4^F31.72
;;^UTILITY(U,$J,358.3,51101,2)
;;=^5003512
;;^UTILITY(U,$J,358.3,51102,0)
;;=F31.71^^193^2501^5
;;^UTILITY(U,$J,358.3,51102,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51102,1,3,0)
;;=3^Bipolar Disorder,Part Remis,Most Recent Episode Hypomanic
;;^UTILITY(U,$J,358.3,51102,1,4,0)
;;=4^F31.71
;;^UTILITY(U,$J,358.3,51102,2)
;;=^5003511
;;^UTILITY(U,$J,358.3,51103,0)
;;=F31.70^^193^2501^4
;;^UTILITY(U,$J,358.3,51103,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51103,1,3,0)
;;=3^Bipolar Disorder,In Remis,Most Recent Episode Unspec
;;^UTILITY(U,$J,358.3,51103,1,4,0)
;;=4^F31.70
;;^UTILITY(U,$J,358.3,51103,2)
;;=^5003510
;;^UTILITY(U,$J,358.3,51104,0)
;;=F29.^^193^2501^25
;;^UTILITY(U,$J,358.3,51104,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51104,1,3,0)
;;=3^Psychosis not d/t Substance/Known Physiol Cond,Unspec
;;^UTILITY(U,$J,358.3,51104,1,4,0)
;;=4^F29.
;;^UTILITY(U,$J,358.3,51104,2)
;;=^5003484
;;^UTILITY(U,$J,358.3,51105,0)
;;=F28.^^193^2501^26
;;^UTILITY(U,$J,358.3,51105,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51105,1,3,0)
;;=3^Psychosis not d/t Substance/Known Physiol Cond NEC
;;^UTILITY(U,$J,358.3,51105,1,4,0)
;;=4^F28.
;;^UTILITY(U,$J,358.3,51105,2)
;;=^5003483
;;^UTILITY(U,$J,358.3,51106,0)
;;=F41.9^^193^2501^3
;;^UTILITY(U,$J,358.3,51106,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51106,1,3,0)
;;=3^Anxiety Disorder,Unspec
;;^UTILITY(U,$J,358.3,51106,1,4,0)
;;=4^F41.9
;;^UTILITY(U,$J,358.3,51106,2)
;;=^5003567
;;^UTILITY(U,$J,358.3,51107,0)
;;=F45.0^^193^2501^29
;;^UTILITY(U,$J,358.3,51107,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51107,1,3,0)
;;=3^Somatization Disorder
;;^UTILITY(U,$J,358.3,51107,1,4,0)
;;=4^F45.0
;;^UTILITY(U,$J,358.3,51107,2)
;;=^112280
;;^UTILITY(U,$J,358.3,51108,0)
;;=F69.^^193^2501^2
;;^UTILITY(U,$J,358.3,51108,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51108,1,3,0)
;;=3^Adult Personality and Behavior Disorder,Unspec
;;^UTILITY(U,$J,358.3,51108,1,4,0)
;;=4^F69.
;;^UTILITY(U,$J,358.3,51108,2)
;;=^5003667
;;^UTILITY(U,$J,358.3,51109,0)
;;=F60.9^^193^2501^23
;;^UTILITY(U,$J,358.3,51109,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51109,1,3,0)
;;=3^Personality Disorder,Unspec
;;^UTILITY(U,$J,358.3,51109,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,51109,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,51110,0)
;;=F32.9^^193^2501^16
;;^UTILITY(U,$J,358.3,51110,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51110,1,3,0)
;;=3^MDD,Single Episode,Unspec
;;^UTILITY(U,$J,358.3,51110,1,4,0)
;;=4^F32.9
;;^UTILITY(U,$J,358.3,51110,2)
;;=^5003528
;;^UTILITY(U,$J,358.3,51111,0)
;;=F40.231^^193^2501^12
;;^UTILITY(U,$J,358.3,51111,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51111,1,3,0)
;;=3^Fear of Injections/Transfusions
;;^UTILITY(U,$J,358.3,51111,1,4,0)
;;=4^F40.231
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI37A 3752 printed Dec 13, 2024@02:43:11 Page 2
IBDEI37A ; ; 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,51099,2)
+2 ;;=^5003476
+3 ;;^UTILITY(U,$J,358.3,51100,0)
+4 ;;=F31.9^^193^2501^6
+5 ;;^UTILITY(U,$J,358.3,51100,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,51100,1,3,0)
+8 ;;=3^Bipolar Disorder,Unspec
+9 ;;^UTILITY(U,$J,358.3,51100,1,4,0)
+10 ;;=4^F31.9
+11 ;;^UTILITY(U,$J,358.3,51100,2)
+12 ;;=^331892
+13 ;;^UTILITY(U,$J,358.3,51101,0)
+14 ;;=F31.72^^193^2501^7
+15 ;;^UTILITY(U,$J,358.3,51101,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,51101,1,3,0)
+18 ;;=3^Bipolr Disorder,Full Remis,Most Recent Episode Hypomanic
+19 ;;^UTILITY(U,$J,358.3,51101,1,4,0)
+20 ;;=4^F31.72
+21 ;;^UTILITY(U,$J,358.3,51101,2)
+22 ;;=^5003512
+23 ;;^UTILITY(U,$J,358.3,51102,0)
+24 ;;=F31.71^^193^2501^5
+25 ;;^UTILITY(U,$J,358.3,51102,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,51102,1,3,0)
+28 ;;=3^Bipolar Disorder,Part Remis,Most Recent Episode Hypomanic
+29 ;;^UTILITY(U,$J,358.3,51102,1,4,0)
+30 ;;=4^F31.71
+31 ;;^UTILITY(U,$J,358.3,51102,2)
+32 ;;=^5003511
+33 ;;^UTILITY(U,$J,358.3,51103,0)
+34 ;;=F31.70^^193^2501^4
+35 ;;^UTILITY(U,$J,358.3,51103,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,51103,1,3,0)
+38 ;;=3^Bipolar Disorder,In Remis,Most Recent Episode Unspec
+39 ;;^UTILITY(U,$J,358.3,51103,1,4,0)
+40 ;;=4^F31.70
+41 ;;^UTILITY(U,$J,358.3,51103,2)
+42 ;;=^5003510
+43 ;;^UTILITY(U,$J,358.3,51104,0)
+44 ;;=F29.^^193^2501^25
+45 ;;^UTILITY(U,$J,358.3,51104,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,51104,1,3,0)
+48 ;;=3^Psychosis not d/t Substance/Known Physiol Cond,Unspec
+49 ;;^UTILITY(U,$J,358.3,51104,1,4,0)
+50 ;;=4^F29.
+51 ;;^UTILITY(U,$J,358.3,51104,2)
+52 ;;=^5003484
+53 ;;^UTILITY(U,$J,358.3,51105,0)
+54 ;;=F28.^^193^2501^26
+55 ;;^UTILITY(U,$J,358.3,51105,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,51105,1,3,0)
+58 ;;=3^Psychosis not d/t Substance/Known Physiol Cond NEC
+59 ;;^UTILITY(U,$J,358.3,51105,1,4,0)
+60 ;;=4^F28.
+61 ;;^UTILITY(U,$J,358.3,51105,2)
+62 ;;=^5003483
+63 ;;^UTILITY(U,$J,358.3,51106,0)
+64 ;;=F41.9^^193^2501^3
+65 ;;^UTILITY(U,$J,358.3,51106,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,51106,1,3,0)
+68 ;;=3^Anxiety Disorder,Unspec
+69 ;;^UTILITY(U,$J,358.3,51106,1,4,0)
+70 ;;=4^F41.9
+71 ;;^UTILITY(U,$J,358.3,51106,2)
+72 ;;=^5003567
+73 ;;^UTILITY(U,$J,358.3,51107,0)
+74 ;;=F45.0^^193^2501^29
+75 ;;^UTILITY(U,$J,358.3,51107,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,51107,1,3,0)
+78 ;;=3^Somatization Disorder
+79 ;;^UTILITY(U,$J,358.3,51107,1,4,0)
+80 ;;=4^F45.0
+81 ;;^UTILITY(U,$J,358.3,51107,2)
+82 ;;=^112280
+83 ;;^UTILITY(U,$J,358.3,51108,0)
+84 ;;=F69.^^193^2501^2
+85 ;;^UTILITY(U,$J,358.3,51108,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,51108,1,3,0)
+88 ;;=3^Adult Personality and Behavior Disorder,Unspec
+89 ;;^UTILITY(U,$J,358.3,51108,1,4,0)
+90 ;;=4^F69.
+91 ;;^UTILITY(U,$J,358.3,51108,2)
+92 ;;=^5003667
+93 ;;^UTILITY(U,$J,358.3,51109,0)
+94 ;;=F60.9^^193^2501^23
+95 ;;^UTILITY(U,$J,358.3,51109,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,51109,1,3,0)
+98 ;;=3^Personality Disorder,Unspec
+99 ;;^UTILITY(U,$J,358.3,51109,1,4,0)
+100 ;;=4^F60.9
+101 ;;^UTILITY(U,$J,358.3,51109,2)
+102 ;;=^5003639
+103 ;;^UTILITY(U,$J,358.3,51110,0)
+104 ;;=F32.9^^193^2501^16
+105 ;;^UTILITY(U,$J,358.3,51110,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,51110,1,3,0)
+108 ;;=3^MDD,Single Episode,Unspec
+109 ;;^UTILITY(U,$J,358.3,51110,1,4,0)
+110 ;;=4^F32.9
+111 ;;^UTILITY(U,$J,358.3,51110,2)
+112 ;;=^5003528
+113 ;;^UTILITY(U,$J,358.3,51111,0)
+114 ;;=F40.231^^193^2501^12
+115 ;;^UTILITY(U,$J,358.3,51111,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,51111,1,3,0)
+118 ;;=3^Fear of Injections/Transfusions
+119 ;;^UTILITY(U,$J,358.3,51111,1,4,0)
+120 ;;=4^F40.231