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