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