IBDEI1RR ; ; 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,28259,1,4,0)
;;=4^F31.5
;;^UTILITY(U,$J,358.3,28259,2)
;;=^5003504
;;^UTILITY(U,$J,358.3,28260,0)
;;=F31.75^^115^1385^11
;;^UTILITY(U,$J,358.3,28260,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28260,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
;;^UTILITY(U,$J,358.3,28260,1,4,0)
;;=4^F31.75
;;^UTILITY(U,$J,358.3,28260,2)
;;=^5003515
;;^UTILITY(U,$J,358.3,28261,0)
;;=F31.76^^115^1385^12
;;^UTILITY(U,$J,358.3,28261,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28261,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
;;^UTILITY(U,$J,358.3,28261,1,4,0)
;;=4^F31.76
;;^UTILITY(U,$J,358.3,28261,2)
;;=^5003516
;;^UTILITY(U,$J,358.3,28262,0)
;;=F31.81^^115^1385^25
;;^UTILITY(U,$J,358.3,28262,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28262,1,3,0)
;;=3^Bipolar II Disorder
;;^UTILITY(U,$J,358.3,28262,1,4,0)
;;=4^F31.81
;;^UTILITY(U,$J,358.3,28262,2)
;;=^5003519
;;^UTILITY(U,$J,358.3,28263,0)
;;=F34.0^^115^1385^26
;;^UTILITY(U,$J,358.3,28263,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28263,1,3,0)
;;=3^Cyclothymic Disorder
;;^UTILITY(U,$J,358.3,28263,1,4,0)
;;=4^F34.0
;;^UTILITY(U,$J,358.3,28263,2)
;;=^5003538
;;^UTILITY(U,$J,358.3,28264,0)
;;=F31.0^^115^1385^16
;;^UTILITY(U,$J,358.3,28264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28264,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic
;;^UTILITY(U,$J,358.3,28264,1,4,0)
;;=4^F31.0
;;^UTILITY(U,$J,358.3,28264,2)
;;=^5003494
;;^UTILITY(U,$J,358.3,28265,0)
;;=F31.71^^115^1385^17
;;^UTILITY(U,$J,358.3,28265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28265,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Part Remiss
;;^UTILITY(U,$J,358.3,28265,1,4,0)
;;=4^F31.71
;;^UTILITY(U,$J,358.3,28265,2)
;;=^5003511
;;^UTILITY(U,$J,358.3,28266,0)
;;=F31.72^^115^1385^18
;;^UTILITY(U,$J,358.3,28266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28266,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Full Remiss
;;^UTILITY(U,$J,358.3,28266,1,4,0)
;;=4^F31.72
;;^UTILITY(U,$J,358.3,28266,2)
;;=^5003512
;;^UTILITY(U,$J,358.3,28267,0)
;;=F31.89^^115^1385^3
;;^UTILITY(U,$J,358.3,28267,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28267,1,3,0)
;;=3^Bipolar & Rel D/O,Other Specified
;;^UTILITY(U,$J,358.3,28267,1,4,0)
;;=4^F31.89
;;^UTILITY(U,$J,358.3,28267,2)
;;=^5003520
;;^UTILITY(U,$J,358.3,28268,0)
;;=F31.9^^115^1385^4
;;^UTILITY(U,$J,358.3,28268,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28268,1,3,0)
;;=3^Bipolar & Rel D/O,Unsp
;;^UTILITY(U,$J,358.3,28268,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,28268,2)
;;=^331892
;;^UTILITY(U,$J,358.3,28269,0)
;;=F31.60^^115^1385^9
;;^UTILITY(U,$J,358.3,28269,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28269,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Unspec
;;^UTILITY(U,$J,358.3,28269,1,4,0)
;;=4^F31.60
;;^UTILITY(U,$J,358.3,28269,2)
;;=^5003505
;;^UTILITY(U,$J,358.3,28270,0)
;;=F31.61^^115^1385^5
;;^UTILITY(U,$J,358.3,28270,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28270,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Mild
;;^UTILITY(U,$J,358.3,28270,1,4,0)
;;=4^F31.61
;;^UTILITY(U,$J,358.3,28270,2)
;;=^5003506
;;^UTILITY(U,$J,358.3,28271,0)
;;=F31.62^^115^1385^6
;;^UTILITY(U,$J,358.3,28271,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28271,1,3,0)
;;=3^Bipolar D/O,Current Episode Mixed,Moderate
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RR 3770 printed Dec 13, 2024@02:14:31 Page 2
IBDEI1RR ; ; 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,28259,1,4,0)
+2 ;;=4^F31.5
+3 ;;^UTILITY(U,$J,358.3,28259,2)
+4 ;;=^5003504
+5 ;;^UTILITY(U,$J,358.3,28260,0)
+6 ;;=F31.75^^115^1385^11
+7 ;;^UTILITY(U,$J,358.3,28260,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,28260,1,3,0)
+10 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
+11 ;;^UTILITY(U,$J,358.3,28260,1,4,0)
+12 ;;=4^F31.75
+13 ;;^UTILITY(U,$J,358.3,28260,2)
+14 ;;=^5003515
+15 ;;^UTILITY(U,$J,358.3,28261,0)
+16 ;;=F31.76^^115^1385^12
+17 ;;^UTILITY(U,$J,358.3,28261,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,28261,1,3,0)
+20 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
+21 ;;^UTILITY(U,$J,358.3,28261,1,4,0)
+22 ;;=4^F31.76
+23 ;;^UTILITY(U,$J,358.3,28261,2)
+24 ;;=^5003516
+25 ;;^UTILITY(U,$J,358.3,28262,0)
+26 ;;=F31.81^^115^1385^25
+27 ;;^UTILITY(U,$J,358.3,28262,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,28262,1,3,0)
+30 ;;=3^Bipolar II Disorder
+31 ;;^UTILITY(U,$J,358.3,28262,1,4,0)
+32 ;;=4^F31.81
+33 ;;^UTILITY(U,$J,358.3,28262,2)
+34 ;;=^5003519
+35 ;;^UTILITY(U,$J,358.3,28263,0)
+36 ;;=F34.0^^115^1385^26
+37 ;;^UTILITY(U,$J,358.3,28263,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,28263,1,3,0)
+40 ;;=3^Cyclothymic Disorder
+41 ;;^UTILITY(U,$J,358.3,28263,1,4,0)
+42 ;;=4^F34.0
+43 ;;^UTILITY(U,$J,358.3,28263,2)
+44 ;;=^5003538
+45 ;;^UTILITY(U,$J,358.3,28264,0)
+46 ;;=F31.0^^115^1385^16
+47 ;;^UTILITY(U,$J,358.3,28264,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,28264,1,3,0)
+50 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic
+51 ;;^UTILITY(U,$J,358.3,28264,1,4,0)
+52 ;;=4^F31.0
+53 ;;^UTILITY(U,$J,358.3,28264,2)
+54 ;;=^5003494
+55 ;;^UTILITY(U,$J,358.3,28265,0)
+56 ;;=F31.71^^115^1385^17
+57 ;;^UTILITY(U,$J,358.3,28265,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,28265,1,3,0)
+60 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Part Remiss
+61 ;;^UTILITY(U,$J,358.3,28265,1,4,0)
+62 ;;=4^F31.71
+63 ;;^UTILITY(U,$J,358.3,28265,2)
+64 ;;=^5003511
+65 ;;^UTILITY(U,$J,358.3,28266,0)
+66 ;;=F31.72^^115^1385^18
+67 ;;^UTILITY(U,$J,358.3,28266,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,28266,1,3,0)
+70 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Full Remiss
+71 ;;^UTILITY(U,$J,358.3,28266,1,4,0)
+72 ;;=4^F31.72
+73 ;;^UTILITY(U,$J,358.3,28266,2)
+74 ;;=^5003512
+75 ;;^UTILITY(U,$J,358.3,28267,0)
+76 ;;=F31.89^^115^1385^3
+77 ;;^UTILITY(U,$J,358.3,28267,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,28267,1,3,0)
+80 ;;=3^Bipolar & Rel D/O,Other Specified
+81 ;;^UTILITY(U,$J,358.3,28267,1,4,0)
+82 ;;=4^F31.89
+83 ;;^UTILITY(U,$J,358.3,28267,2)
+84 ;;=^5003520
+85 ;;^UTILITY(U,$J,358.3,28268,0)
+86 ;;=F31.9^^115^1385^4
+87 ;;^UTILITY(U,$J,358.3,28268,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,28268,1,3,0)
+90 ;;=3^Bipolar & Rel D/O,Unsp
+91 ;;^UTILITY(U,$J,358.3,28268,1,4,0)
+92 ;;=4^F31.9
+93 ;;^UTILITY(U,$J,358.3,28268,2)
+94 ;;=^331892
+95 ;;^UTILITY(U,$J,358.3,28269,0)
+96 ;;=F31.60^^115^1385^9
+97 ;;^UTILITY(U,$J,358.3,28269,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,28269,1,3,0)
+100 ;;=3^Bipolar D/O,Current Episode Mixed,Unspec
+101 ;;^UTILITY(U,$J,358.3,28269,1,4,0)
+102 ;;=4^F31.60
+103 ;;^UTILITY(U,$J,358.3,28269,2)
+104 ;;=^5003505
+105 ;;^UTILITY(U,$J,358.3,28270,0)
+106 ;;=F31.61^^115^1385^5
+107 ;;^UTILITY(U,$J,358.3,28270,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,28270,1,3,0)
+110 ;;=3^Bipolar D/O,Current Episode Mixed,Mild
+111 ;;^UTILITY(U,$J,358.3,28270,1,4,0)
+112 ;;=4^F31.61
+113 ;;^UTILITY(U,$J,358.3,28270,2)
+114 ;;=^5003506
+115 ;;^UTILITY(U,$J,358.3,28271,0)
+116 ;;=F31.62^^115^1385^6
+117 ;;^UTILITY(U,$J,358.3,28271,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,28271,1,3,0)
+120 ;;=3^Bipolar D/O,Current Episode Mixed,Moderate