IBDEI1Q4 ; ; 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,27548,1,4,0)
;;=4^F31.31
;;^UTILITY(U,$J,358.3,27548,2)
;;=^5003501
;;^UTILITY(U,$J,358.3,27549,0)
;;=F31.32^^113^1339^14
;;^UTILITY(U,$J,358.3,27549,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27549,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mod
;;^UTILITY(U,$J,358.3,27549,1,4,0)
;;=4^F31.32
;;^UTILITY(U,$J,358.3,27549,2)
;;=^5003502
;;^UTILITY(U,$J,358.3,27550,0)
;;=F31.4^^113^1339^15
;;^UTILITY(U,$J,358.3,27550,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27550,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,Sev
;;^UTILITY(U,$J,358.3,27550,1,4,0)
;;=4^F31.4
;;^UTILITY(U,$J,358.3,27550,2)
;;=^5003503
;;^UTILITY(U,$J,358.3,27551,0)
;;=F31.5^^113^1339^10
;;^UTILITY(U,$J,358.3,27551,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27551,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep w/ Psych Feat
;;^UTILITY(U,$J,358.3,27551,1,4,0)
;;=4^F31.5
;;^UTILITY(U,$J,358.3,27551,2)
;;=^5003504
;;^UTILITY(U,$J,358.3,27552,0)
;;=F31.75^^113^1339^11
;;^UTILITY(U,$J,358.3,27552,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27552,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
;;^UTILITY(U,$J,358.3,27552,1,4,0)
;;=4^F31.75
;;^UTILITY(U,$J,358.3,27552,2)
;;=^5003515
;;^UTILITY(U,$J,358.3,27553,0)
;;=F31.76^^113^1339^12
;;^UTILITY(U,$J,358.3,27553,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27553,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
;;^UTILITY(U,$J,358.3,27553,1,4,0)
;;=4^F31.76
;;^UTILITY(U,$J,358.3,27553,2)
;;=^5003516
;;^UTILITY(U,$J,358.3,27554,0)
;;=F31.81^^113^1339^25
;;^UTILITY(U,$J,358.3,27554,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27554,1,3,0)
;;=3^Bipolar II Disorder
;;^UTILITY(U,$J,358.3,27554,1,4,0)
;;=4^F31.81
;;^UTILITY(U,$J,358.3,27554,2)
;;=^5003519
;;^UTILITY(U,$J,358.3,27555,0)
;;=F34.0^^113^1339^26
;;^UTILITY(U,$J,358.3,27555,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27555,1,3,0)
;;=3^Cyclothymic Disorder
;;^UTILITY(U,$J,358.3,27555,1,4,0)
;;=4^F34.0
;;^UTILITY(U,$J,358.3,27555,2)
;;=^5003538
;;^UTILITY(U,$J,358.3,27556,0)
;;=F31.0^^113^1339^16
;;^UTILITY(U,$J,358.3,27556,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27556,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic
;;^UTILITY(U,$J,358.3,27556,1,4,0)
;;=4^F31.0
;;^UTILITY(U,$J,358.3,27556,2)
;;=^5003494
;;^UTILITY(U,$J,358.3,27557,0)
;;=F31.71^^113^1339^17
;;^UTILITY(U,$J,358.3,27557,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27557,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Part Remiss
;;^UTILITY(U,$J,358.3,27557,1,4,0)
;;=4^F31.71
;;^UTILITY(U,$J,358.3,27557,2)
;;=^5003511
;;^UTILITY(U,$J,358.3,27558,0)
;;=F31.72^^113^1339^18
;;^UTILITY(U,$J,358.3,27558,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27558,1,3,0)
;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Full Remiss
;;^UTILITY(U,$J,358.3,27558,1,4,0)
;;=4^F31.72
;;^UTILITY(U,$J,358.3,27558,2)
;;=^5003512
;;^UTILITY(U,$J,358.3,27559,0)
;;=F31.89^^113^1339^3
;;^UTILITY(U,$J,358.3,27559,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27559,1,3,0)
;;=3^Bipolar & Rel D/O,Other Specified
;;^UTILITY(U,$J,358.3,27559,1,4,0)
;;=4^F31.89
;;^UTILITY(U,$J,358.3,27559,2)
;;=^5003520
;;^UTILITY(U,$J,358.3,27560,0)
;;=F31.9^^113^1339^4
;;^UTILITY(U,$J,358.3,27560,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27560,1,3,0)
;;=3^Bipolar & Rel D/O,Unsp
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1Q4 3779 printed Dec 13, 2024@02:13:37 Page 2
IBDEI1Q4 ; ; 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,27548,1,4,0)
+2 ;;=4^F31.31
+3 ;;^UTILITY(U,$J,358.3,27548,2)
+4 ;;=^5003501
+5 ;;^UTILITY(U,$J,358.3,27549,0)
+6 ;;=F31.32^^113^1339^14
+7 ;;^UTILITY(U,$J,358.3,27549,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,27549,1,3,0)
+10 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,Mod
+11 ;;^UTILITY(U,$J,358.3,27549,1,4,0)
+12 ;;=4^F31.32
+13 ;;^UTILITY(U,$J,358.3,27549,2)
+14 ;;=^5003502
+15 ;;^UTILITY(U,$J,358.3,27550,0)
+16 ;;=F31.4^^113^1339^15
+17 ;;^UTILITY(U,$J,358.3,27550,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,27550,1,3,0)
+20 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,Sev
+21 ;;^UTILITY(U,$J,358.3,27550,1,4,0)
+22 ;;=4^F31.4
+23 ;;^UTILITY(U,$J,358.3,27550,2)
+24 ;;=^5003503
+25 ;;^UTILITY(U,$J,358.3,27551,0)
+26 ;;=F31.5^^113^1339^10
+27 ;;^UTILITY(U,$J,358.3,27551,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,27551,1,3,0)
+30 ;;=3^Bipolar I D/O,Current/Recent Ep Dep w/ Psych Feat
+31 ;;^UTILITY(U,$J,358.3,27551,1,4,0)
+32 ;;=4^F31.5
+33 ;;^UTILITY(U,$J,358.3,27551,2)
+34 ;;=^5003504
+35 ;;^UTILITY(U,$J,358.3,27552,0)
+36 ;;=F31.75^^113^1339^11
+37 ;;^UTILITY(U,$J,358.3,27552,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,27552,1,3,0)
+40 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Part Remiss
+41 ;;^UTILITY(U,$J,358.3,27552,1,4,0)
+42 ;;=4^F31.75
+43 ;;^UTILITY(U,$J,358.3,27552,2)
+44 ;;=^5003515
+45 ;;^UTILITY(U,$J,358.3,27553,0)
+46 ;;=F31.76^^113^1339^12
+47 ;;^UTILITY(U,$J,358.3,27553,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,27553,1,3,0)
+50 ;;=3^Bipolar I D/O,Current/Recent Ep Dep,In Full Remiss
+51 ;;^UTILITY(U,$J,358.3,27553,1,4,0)
+52 ;;=4^F31.76
+53 ;;^UTILITY(U,$J,358.3,27553,2)
+54 ;;=^5003516
+55 ;;^UTILITY(U,$J,358.3,27554,0)
+56 ;;=F31.81^^113^1339^25
+57 ;;^UTILITY(U,$J,358.3,27554,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,27554,1,3,0)
+60 ;;=3^Bipolar II Disorder
+61 ;;^UTILITY(U,$J,358.3,27554,1,4,0)
+62 ;;=4^F31.81
+63 ;;^UTILITY(U,$J,358.3,27554,2)
+64 ;;=^5003519
+65 ;;^UTILITY(U,$J,358.3,27555,0)
+66 ;;=F34.0^^113^1339^26
+67 ;;^UTILITY(U,$J,358.3,27555,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,27555,1,3,0)
+70 ;;=3^Cyclothymic Disorder
+71 ;;^UTILITY(U,$J,358.3,27555,1,4,0)
+72 ;;=4^F34.0
+73 ;;^UTILITY(U,$J,358.3,27555,2)
+74 ;;=^5003538
+75 ;;^UTILITY(U,$J,358.3,27556,0)
+76 ;;=F31.0^^113^1339^16
+77 ;;^UTILITY(U,$J,358.3,27556,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,27556,1,3,0)
+80 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic
+81 ;;^UTILITY(U,$J,358.3,27556,1,4,0)
+82 ;;=4^F31.0
+83 ;;^UTILITY(U,$J,358.3,27556,2)
+84 ;;=^5003494
+85 ;;^UTILITY(U,$J,358.3,27557,0)
+86 ;;=F31.71^^113^1339^17
+87 ;;^UTILITY(U,$J,358.3,27557,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,27557,1,3,0)
+90 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Part Remiss
+91 ;;^UTILITY(U,$J,358.3,27557,1,4,0)
+92 ;;=4^F31.71
+93 ;;^UTILITY(U,$J,358.3,27557,2)
+94 ;;=^5003511
+95 ;;^UTILITY(U,$J,358.3,27558,0)
+96 ;;=F31.72^^113^1339^18
+97 ;;^UTILITY(U,$J,358.3,27558,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,27558,1,3,0)
+100 ;;=3^Bipolar I D/O,Current/Recent Ep Hypomanic,In Full Remiss
+101 ;;^UTILITY(U,$J,358.3,27558,1,4,0)
+102 ;;=4^F31.72
+103 ;;^UTILITY(U,$J,358.3,27558,2)
+104 ;;=^5003512
+105 ;;^UTILITY(U,$J,358.3,27559,0)
+106 ;;=F31.89^^113^1339^3
+107 ;;^UTILITY(U,$J,358.3,27559,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,27559,1,3,0)
+110 ;;=3^Bipolar & Rel D/O,Other Specified
+111 ;;^UTILITY(U,$J,358.3,27559,1,4,0)
+112 ;;=4^F31.89
+113 ;;^UTILITY(U,$J,358.3,27559,2)
+114 ;;=^5003520
+115 ;;^UTILITY(U,$J,358.3,27560,0)
+116 ;;=F31.9^^113^1339^4
+117 ;;^UTILITY(U,$J,358.3,27560,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,27560,1,3,0)
+120 ;;=3^Bipolar & Rel D/O,Unsp