IBDEI2RC ; ; 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,43981,1,3,0)
;;=3^MDD,Single Episode,Moderate
;;^UTILITY(U,$J,358.3,43981,1,4,0)
;;=4^F32.1
;;^UTILITY(U,$J,358.3,43981,2)
;;=^5003522
;;^UTILITY(U,$J,358.3,43982,0)
;;=F32.2^^164^2170^19
;;^UTILITY(U,$J,358.3,43982,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43982,1,3,0)
;;=3^MDD,Single Episode,Severe
;;^UTILITY(U,$J,358.3,43982,1,4,0)
;;=4^F32.2
;;^UTILITY(U,$J,358.3,43982,2)
;;=^5003523
;;^UTILITY(U,$J,358.3,43983,0)
;;=F32.3^^164^2170^14
;;^UTILITY(U,$J,358.3,43983,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43983,1,3,0)
;;=3^MDD,Single Episode w/ Psychotic Feat
;;^UTILITY(U,$J,358.3,43983,1,4,0)
;;=4^F32.3
;;^UTILITY(U,$J,358.3,43983,2)
;;=^5003524
;;^UTILITY(U,$J,358.3,43984,0)
;;=F32.4^^164^2170^16
;;^UTILITY(U,$J,358.3,43984,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43984,1,3,0)
;;=3^MDD,Single Episode,In Partial Remission
;;^UTILITY(U,$J,358.3,43984,1,4,0)
;;=4^F32.4
;;^UTILITY(U,$J,358.3,43984,2)
;;=^5003525
;;^UTILITY(U,$J,358.3,43985,0)
;;=F32.5^^164^2170^15
;;^UTILITY(U,$J,358.3,43985,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43985,1,3,0)
;;=3^MDD,Single Episode,In Full Remission
;;^UTILITY(U,$J,358.3,43985,1,4,0)
;;=4^F32.5
;;^UTILITY(U,$J,358.3,43985,2)
;;=^5003526
;;^UTILITY(U,$J,358.3,43986,0)
;;=F33.9^^164^2170^13
;;^UTILITY(U,$J,358.3,43986,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43986,1,3,0)
;;=3^MDD,Recurrent Episode,Unspec
;;^UTILITY(U,$J,358.3,43986,1,4,0)
;;=4^F33.9
;;^UTILITY(U,$J,358.3,43986,2)
;;=^5003537
;;^UTILITY(U,$J,358.3,43987,0)
;;=F33.0^^164^2170^10
;;^UTILITY(U,$J,358.3,43987,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43987,1,3,0)
;;=3^MDD,Recurrent Episode,Mild
;;^UTILITY(U,$J,358.3,43987,1,4,0)
;;=4^F33.0
;;^UTILITY(U,$J,358.3,43987,2)
;;=^5003529
;;^UTILITY(U,$J,358.3,43988,0)
;;=F33.1^^164^2170^11
;;^UTILITY(U,$J,358.3,43988,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43988,1,3,0)
;;=3^MDD,Recurrent Episode,Moderate
;;^UTILITY(U,$J,358.3,43988,1,4,0)
;;=4^F33.1
;;^UTILITY(U,$J,358.3,43988,2)
;;=^5003530
;;^UTILITY(U,$J,358.3,43989,0)
;;=F33.2^^164^2170^12
;;^UTILITY(U,$J,358.3,43989,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43989,1,3,0)
;;=3^MDD,Recurrent Episode,Severe
;;^UTILITY(U,$J,358.3,43989,1,4,0)
;;=4^F33.2
;;^UTILITY(U,$J,358.3,43989,2)
;;=^5003531
;;^UTILITY(U,$J,358.3,43990,0)
;;=F33.3^^164^2170^7
;;^UTILITY(U,$J,358.3,43990,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43990,1,3,0)
;;=3^MDD,Recurrent Episode w/ Psychotic Feat
;;^UTILITY(U,$J,358.3,43990,1,4,0)
;;=4^F33.3
;;^UTILITY(U,$J,358.3,43990,2)
;;=^5003532
;;^UTILITY(U,$J,358.3,43991,0)
;;=F33.41^^164^2170^9
;;^UTILITY(U,$J,358.3,43991,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43991,1,3,0)
;;=3^MDD,Recurrent Episode,In Partial Remission
;;^UTILITY(U,$J,358.3,43991,1,4,0)
;;=4^F33.41
;;^UTILITY(U,$J,358.3,43991,2)
;;=^5003534
;;^UTILITY(U,$J,358.3,43992,0)
;;=F33.42^^164^2170^8
;;^UTILITY(U,$J,358.3,43992,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43992,1,3,0)
;;=3^MDD,Recurrent Episode,In Full Remission
;;^UTILITY(U,$J,358.3,43992,1,4,0)
;;=4^F33.42
;;^UTILITY(U,$J,358.3,43992,2)
;;=^5003535
;;^UTILITY(U,$J,358.3,43993,0)
;;=F34.1^^164^2170^20
;;^UTILITY(U,$J,358.3,43993,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43993,1,3,0)
;;=3^Persistent Depressive Disorder (Dysthmia)
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2RC 3774 printed Dec 13, 2024@02:34:19 Page 2
IBDEI2RC ; ; 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,43981,1,3,0)
+2 ;;=3^MDD,Single Episode,Moderate
+3 ;;^UTILITY(U,$J,358.3,43981,1,4,0)
+4 ;;=4^F32.1
+5 ;;^UTILITY(U,$J,358.3,43981,2)
+6 ;;=^5003522
+7 ;;^UTILITY(U,$J,358.3,43982,0)
+8 ;;=F32.2^^164^2170^19
+9 ;;^UTILITY(U,$J,358.3,43982,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,43982,1,3,0)
+12 ;;=3^MDD,Single Episode,Severe
+13 ;;^UTILITY(U,$J,358.3,43982,1,4,0)
+14 ;;=4^F32.2
+15 ;;^UTILITY(U,$J,358.3,43982,2)
+16 ;;=^5003523
+17 ;;^UTILITY(U,$J,358.3,43983,0)
+18 ;;=F32.3^^164^2170^14
+19 ;;^UTILITY(U,$J,358.3,43983,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,43983,1,3,0)
+22 ;;=3^MDD,Single Episode w/ Psychotic Feat
+23 ;;^UTILITY(U,$J,358.3,43983,1,4,0)
+24 ;;=4^F32.3
+25 ;;^UTILITY(U,$J,358.3,43983,2)
+26 ;;=^5003524
+27 ;;^UTILITY(U,$J,358.3,43984,0)
+28 ;;=F32.4^^164^2170^16
+29 ;;^UTILITY(U,$J,358.3,43984,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,43984,1,3,0)
+32 ;;=3^MDD,Single Episode,In Partial Remission
+33 ;;^UTILITY(U,$J,358.3,43984,1,4,0)
+34 ;;=4^F32.4
+35 ;;^UTILITY(U,$J,358.3,43984,2)
+36 ;;=^5003525
+37 ;;^UTILITY(U,$J,358.3,43985,0)
+38 ;;=F32.5^^164^2170^15
+39 ;;^UTILITY(U,$J,358.3,43985,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,43985,1,3,0)
+42 ;;=3^MDD,Single Episode,In Full Remission
+43 ;;^UTILITY(U,$J,358.3,43985,1,4,0)
+44 ;;=4^F32.5
+45 ;;^UTILITY(U,$J,358.3,43985,2)
+46 ;;=^5003526
+47 ;;^UTILITY(U,$J,358.3,43986,0)
+48 ;;=F33.9^^164^2170^13
+49 ;;^UTILITY(U,$J,358.3,43986,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,43986,1,3,0)
+52 ;;=3^MDD,Recurrent Episode,Unspec
+53 ;;^UTILITY(U,$J,358.3,43986,1,4,0)
+54 ;;=4^F33.9
+55 ;;^UTILITY(U,$J,358.3,43986,2)
+56 ;;=^5003537
+57 ;;^UTILITY(U,$J,358.3,43987,0)
+58 ;;=F33.0^^164^2170^10
+59 ;;^UTILITY(U,$J,358.3,43987,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,43987,1,3,0)
+62 ;;=3^MDD,Recurrent Episode,Mild
+63 ;;^UTILITY(U,$J,358.3,43987,1,4,0)
+64 ;;=4^F33.0
+65 ;;^UTILITY(U,$J,358.3,43987,2)
+66 ;;=^5003529
+67 ;;^UTILITY(U,$J,358.3,43988,0)
+68 ;;=F33.1^^164^2170^11
+69 ;;^UTILITY(U,$J,358.3,43988,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,43988,1,3,0)
+72 ;;=3^MDD,Recurrent Episode,Moderate
+73 ;;^UTILITY(U,$J,358.3,43988,1,4,0)
+74 ;;=4^F33.1
+75 ;;^UTILITY(U,$J,358.3,43988,2)
+76 ;;=^5003530
+77 ;;^UTILITY(U,$J,358.3,43989,0)
+78 ;;=F33.2^^164^2170^12
+79 ;;^UTILITY(U,$J,358.3,43989,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,43989,1,3,0)
+82 ;;=3^MDD,Recurrent Episode,Severe
+83 ;;^UTILITY(U,$J,358.3,43989,1,4,0)
+84 ;;=4^F33.2
+85 ;;^UTILITY(U,$J,358.3,43989,2)
+86 ;;=^5003531
+87 ;;^UTILITY(U,$J,358.3,43990,0)
+88 ;;=F33.3^^164^2170^7
+89 ;;^UTILITY(U,$J,358.3,43990,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,43990,1,3,0)
+92 ;;=3^MDD,Recurrent Episode w/ Psychotic Feat
+93 ;;^UTILITY(U,$J,358.3,43990,1,4,0)
+94 ;;=4^F33.3
+95 ;;^UTILITY(U,$J,358.3,43990,2)
+96 ;;=^5003532
+97 ;;^UTILITY(U,$J,358.3,43991,0)
+98 ;;=F33.41^^164^2170^9
+99 ;;^UTILITY(U,$J,358.3,43991,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,43991,1,3,0)
+102 ;;=3^MDD,Recurrent Episode,In Partial Remission
+103 ;;^UTILITY(U,$J,358.3,43991,1,4,0)
+104 ;;=4^F33.41
+105 ;;^UTILITY(U,$J,358.3,43991,2)
+106 ;;=^5003534
+107 ;;^UTILITY(U,$J,358.3,43992,0)
+108 ;;=F33.42^^164^2170^8
+109 ;;^UTILITY(U,$J,358.3,43992,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,43992,1,3,0)
+112 ;;=3^MDD,Recurrent Episode,In Full Remission
+113 ;;^UTILITY(U,$J,358.3,43992,1,4,0)
+114 ;;=4^F33.42
+115 ;;^UTILITY(U,$J,358.3,43992,2)
+116 ;;=^5003535
+117 ;;^UTILITY(U,$J,358.3,43993,0)
+118 ;;=F34.1^^164^2170^20
+119 ;;^UTILITY(U,$J,358.3,43993,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,43993,1,3,0)
+122 ;;=3^Persistent Depressive Disorder (Dysthmia)