IBDEI0NG ; ; 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,10560,2)
;;=^5003503
;;^UTILITY(U,$J,358.3,10561,0)
;;=F31.5^^42^471^16
;;^UTILITY(U,$J,358.3,10561,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10561,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,w/ Psychotic Features
;;^UTILITY(U,$J,358.3,10561,1,4,0)
;;=4^F31.5
;;^UTILITY(U,$J,358.3,10561,2)
;;=^5003504
;;^UTILITY(U,$J,358.3,10562,0)
;;=F31.75^^42^471^18
;;^UTILITY(U,$J,358.3,10562,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10562,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,In Partial Remission
;;^UTILITY(U,$J,358.3,10562,1,4,0)
;;=4^F31.75
;;^UTILITY(U,$J,358.3,10562,2)
;;=^5003515
;;^UTILITY(U,$J,358.3,10563,0)
;;=F31.76^^42^471^17
;;^UTILITY(U,$J,358.3,10563,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10563,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,In Full Remission
;;^UTILITY(U,$J,358.3,10563,1,4,0)
;;=4^F31.76
;;^UTILITY(U,$J,358.3,10563,2)
;;=^5003516
;;^UTILITY(U,$J,358.3,10564,0)
;;=F31.81^^42^471^23
;;^UTILITY(U,$J,358.3,10564,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10564,1,3,0)
;;=3^Bipolar II Disorder
;;^UTILITY(U,$J,358.3,10564,1,4,0)
;;=4^F31.81
;;^UTILITY(U,$J,358.3,10564,2)
;;=^5003519
;;^UTILITY(U,$J,358.3,10565,0)
;;=F34.0^^42^471^24
;;^UTILITY(U,$J,358.3,10565,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10565,1,3,0)
;;=3^Cyclothymic Disorder
;;^UTILITY(U,$J,358.3,10565,1,4,0)
;;=4^F34.0
;;^UTILITY(U,$J,358.3,10565,2)
;;=^5003538
;;^UTILITY(U,$J,358.3,10566,0)
;;=F31.0^^42^471^20
;;^UTILITY(U,$J,358.3,10566,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10566,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic
;;^UTILITY(U,$J,358.3,10566,1,4,0)
;;=4^F31.0
;;^UTILITY(U,$J,358.3,10566,2)
;;=^5003494
;;^UTILITY(U,$J,358.3,10567,0)
;;=F31.71^^42^471^22
;;^UTILITY(U,$J,358.3,10567,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10567,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic,In Partial Remission
;;^UTILITY(U,$J,358.3,10567,1,4,0)
;;=4^F31.71
;;^UTILITY(U,$J,358.3,10567,2)
;;=^5003511
;;^UTILITY(U,$J,358.3,10568,0)
;;=F31.72^^42^471^21
;;^UTILITY(U,$J,358.3,10568,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10568,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic,In Full Remission
;;^UTILITY(U,$J,358.3,10568,1,4,0)
;;=4^F31.72
;;^UTILITY(U,$J,358.3,10568,2)
;;=^5003512
;;^UTILITY(U,$J,358.3,10569,0)
;;=F06.33^^42^471^3
;;^UTILITY(U,$J,358.3,10569,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10569,1,3,0)
;;=3^Bipolar & Related Disorder d/t Med Cond w/ Manic/Hypomanic-Like Episode
;;^UTILITY(U,$J,358.3,10569,1,4,0)
;;=4^F06.33
;;^UTILITY(U,$J,358.3,10569,2)
;;=^5003059
;;^UTILITY(U,$J,358.3,10570,0)
;;=F31.9^^42^471^12
;;^UTILITY(U,$J,358.3,10570,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10570,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Manic,Unsp
;;^UTILITY(U,$J,358.3,10570,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,10570,2)
;;=^331892
;;^UTILITY(U,$J,358.3,10571,0)
;;=F31.9^^42^471^19
;;^UTILITY(U,$J,358.3,10571,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10571,1,3,0)
;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,Unsp
;;^UTILITY(U,$J,358.3,10571,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,10571,2)
;;=^331892
;;^UTILITY(U,$J,358.3,10572,0)
;;=F31.89^^42^471^4
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0NG 3752 printed Nov 22, 2024@17:02:18 Page 2
IBDEI0NG ; ; 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,10560,2)
+2 ;;=^5003503
+3 ;;^UTILITY(U,$J,358.3,10561,0)
+4 ;;=F31.5^^42^471^16
+5 ;;^UTILITY(U,$J,358.3,10561,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,10561,1,3,0)
+8 ;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,w/ Psychotic Features
+9 ;;^UTILITY(U,$J,358.3,10561,1,4,0)
+10 ;;=4^F31.5
+11 ;;^UTILITY(U,$J,358.3,10561,2)
+12 ;;=^5003504
+13 ;;^UTILITY(U,$J,358.3,10562,0)
+14 ;;=F31.75^^42^471^18
+15 ;;^UTILITY(U,$J,358.3,10562,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,10562,1,3,0)
+18 ;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,In Partial Remission
+19 ;;^UTILITY(U,$J,358.3,10562,1,4,0)
+20 ;;=4^F31.75
+21 ;;^UTILITY(U,$J,358.3,10562,2)
+22 ;;=^5003515
+23 ;;^UTILITY(U,$J,358.3,10563,0)
+24 ;;=F31.76^^42^471^17
+25 ;;^UTILITY(U,$J,358.3,10563,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,10563,1,3,0)
+28 ;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,In Full Remission
+29 ;;^UTILITY(U,$J,358.3,10563,1,4,0)
+30 ;;=4^F31.76
+31 ;;^UTILITY(U,$J,358.3,10563,2)
+32 ;;=^5003516
+33 ;;^UTILITY(U,$J,358.3,10564,0)
+34 ;;=F31.81^^42^471^23
+35 ;;^UTILITY(U,$J,358.3,10564,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,10564,1,3,0)
+38 ;;=3^Bipolar II Disorder
+39 ;;^UTILITY(U,$J,358.3,10564,1,4,0)
+40 ;;=4^F31.81
+41 ;;^UTILITY(U,$J,358.3,10564,2)
+42 ;;=^5003519
+43 ;;^UTILITY(U,$J,358.3,10565,0)
+44 ;;=F34.0^^42^471^24
+45 ;;^UTILITY(U,$J,358.3,10565,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,10565,1,3,0)
+48 ;;=3^Cyclothymic Disorder
+49 ;;^UTILITY(U,$J,358.3,10565,1,4,0)
+50 ;;=4^F34.0
+51 ;;^UTILITY(U,$J,358.3,10565,2)
+52 ;;=^5003538
+53 ;;^UTILITY(U,$J,358.3,10566,0)
+54 ;;=F31.0^^42^471^20
+55 ;;^UTILITY(U,$J,358.3,10566,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,10566,1,3,0)
+58 ;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic
+59 ;;^UTILITY(U,$J,358.3,10566,1,4,0)
+60 ;;=4^F31.0
+61 ;;^UTILITY(U,$J,358.3,10566,2)
+62 ;;=^5003494
+63 ;;^UTILITY(U,$J,358.3,10567,0)
+64 ;;=F31.71^^42^471^22
+65 ;;^UTILITY(U,$J,358.3,10567,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,10567,1,3,0)
+68 ;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic,In Partial Remission
+69 ;;^UTILITY(U,$J,358.3,10567,1,4,0)
+70 ;;=4^F31.71
+71 ;;^UTILITY(U,$J,358.3,10567,2)
+72 ;;=^5003511
+73 ;;^UTILITY(U,$J,358.3,10568,0)
+74 ;;=F31.72^^42^471^21
+75 ;;^UTILITY(U,$J,358.3,10568,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,10568,1,3,0)
+78 ;;=3^Bipolar I Disorder,Current/Recent Episode Hypomanic,In Full Remission
+79 ;;^UTILITY(U,$J,358.3,10568,1,4,0)
+80 ;;=4^F31.72
+81 ;;^UTILITY(U,$J,358.3,10568,2)
+82 ;;=^5003512
+83 ;;^UTILITY(U,$J,358.3,10569,0)
+84 ;;=F06.33^^42^471^3
+85 ;;^UTILITY(U,$J,358.3,10569,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,10569,1,3,0)
+88 ;;=3^Bipolar & Related Disorder d/t Med Cond w/ Manic/Hypomanic-Like Episode
+89 ;;^UTILITY(U,$J,358.3,10569,1,4,0)
+90 ;;=4^F06.33
+91 ;;^UTILITY(U,$J,358.3,10569,2)
+92 ;;=^5003059
+93 ;;^UTILITY(U,$J,358.3,10570,0)
+94 ;;=F31.9^^42^471^12
+95 ;;^UTILITY(U,$J,358.3,10570,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,10570,1,3,0)
+98 ;;=3^Bipolar I Disorder,Current/Recent Episode Manic,Unsp
+99 ;;^UTILITY(U,$J,358.3,10570,1,4,0)
+100 ;;=4^F31.9
+101 ;;^UTILITY(U,$J,358.3,10570,2)
+102 ;;=^331892
+103 ;;^UTILITY(U,$J,358.3,10571,0)
+104 ;;=F31.9^^42^471^19
+105 ;;^UTILITY(U,$J,358.3,10571,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,10571,1,3,0)
+108 ;;=3^Bipolar I Disorder,Current/Recent Episode Depressed,Unsp
+109 ;;^UTILITY(U,$J,358.3,10571,1,4,0)
+110 ;;=4^F31.9
+111 ;;^UTILITY(U,$J,358.3,10571,2)
+112 ;;=^331892
+113 ;;^UTILITY(U,$J,358.3,10572,0)
+114 ;;=F31.89^^42^471^4