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