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