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