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