IBDEI1RV ; ; 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,28308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28308,1,3,0)
;;=3^Depress D/O d/t Anth Med Cond w/ Maj Dep-Like Ep
;;^UTILITY(U,$J,358.3,28308,1,4,0)
;;=4^F06.32
;;^UTILITY(U,$J,358.3,28308,2)
;;=^5003058
;;^UTILITY(U,$J,358.3,28309,0)
;;=F32.0^^115^1387^17
;;^UTILITY(U,$J,358.3,28309,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28309,1,3,0)
;;=3^MDD,Single Episode,Mild
;;^UTILITY(U,$J,358.3,28309,1,4,0)
;;=4^F32.0
;;^UTILITY(U,$J,358.3,28309,2)
;;=^5003521
;;^UTILITY(U,$J,358.3,28310,0)
;;=F32.1^^115^1387^18
;;^UTILITY(U,$J,358.3,28310,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28310,1,3,0)
;;=3^MDD,Single Episode,Moderate
;;^UTILITY(U,$J,358.3,28310,1,4,0)
;;=4^F32.1
;;^UTILITY(U,$J,358.3,28310,2)
;;=^5003522
;;^UTILITY(U,$J,358.3,28311,0)
;;=F32.2^^115^1387^19
;;^UTILITY(U,$J,358.3,28311,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28311,1,3,0)
;;=3^MDD,Single Episode,Severe
;;^UTILITY(U,$J,358.3,28311,1,4,0)
;;=4^F32.2
;;^UTILITY(U,$J,358.3,28311,2)
;;=^5003523
;;^UTILITY(U,$J,358.3,28312,0)
;;=F32.3^^115^1387^14
;;^UTILITY(U,$J,358.3,28312,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28312,1,3,0)
;;=3^MDD,Single Episode w/ Psychotic Feat
;;^UTILITY(U,$J,358.3,28312,1,4,0)
;;=4^F32.3
;;^UTILITY(U,$J,358.3,28312,2)
;;=^5003524
;;^UTILITY(U,$J,358.3,28313,0)
;;=F32.4^^115^1387^16
;;^UTILITY(U,$J,358.3,28313,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28313,1,3,0)
;;=3^MDD,Single Episode,In Partial Remission
;;^UTILITY(U,$J,358.3,28313,1,4,0)
;;=4^F32.4
;;^UTILITY(U,$J,358.3,28313,2)
;;=^5003525
;;^UTILITY(U,$J,358.3,28314,0)
;;=F32.5^^115^1387^15
;;^UTILITY(U,$J,358.3,28314,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28314,1,3,0)
;;=3^MDD,Single Episode,In Full Remission
;;^UTILITY(U,$J,358.3,28314,1,4,0)
;;=4^F32.5
;;^UTILITY(U,$J,358.3,28314,2)
;;=^5003526
;;^UTILITY(U,$J,358.3,28315,0)
;;=F33.9^^115^1387^13
;;^UTILITY(U,$J,358.3,28315,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28315,1,3,0)
;;=3^MDD,Recurrent Episode,Unspec
;;^UTILITY(U,$J,358.3,28315,1,4,0)
;;=4^F33.9
;;^UTILITY(U,$J,358.3,28315,2)
;;=^5003537
;;^UTILITY(U,$J,358.3,28316,0)
;;=F33.0^^115^1387^10
;;^UTILITY(U,$J,358.3,28316,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28316,1,3,0)
;;=3^MDD,Recurrent Episode,Mild
;;^UTILITY(U,$J,358.3,28316,1,4,0)
;;=4^F33.0
;;^UTILITY(U,$J,358.3,28316,2)
;;=^5003529
;;^UTILITY(U,$J,358.3,28317,0)
;;=F33.1^^115^1387^11
;;^UTILITY(U,$J,358.3,28317,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28317,1,3,0)
;;=3^MDD,Recurrent Episode,Moderate
;;^UTILITY(U,$J,358.3,28317,1,4,0)
;;=4^F33.1
;;^UTILITY(U,$J,358.3,28317,2)
;;=^5003530
;;^UTILITY(U,$J,358.3,28318,0)
;;=F33.2^^115^1387^12
;;^UTILITY(U,$J,358.3,28318,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28318,1,3,0)
;;=3^MDD,Recurrent Episode,Severe
;;^UTILITY(U,$J,358.3,28318,1,4,0)
;;=4^F33.2
;;^UTILITY(U,$J,358.3,28318,2)
;;=^5003531
;;^UTILITY(U,$J,358.3,28319,0)
;;=F33.3^^115^1387^7
;;^UTILITY(U,$J,358.3,28319,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28319,1,3,0)
;;=3^MDD,Recurrent Episode w/ Psychotic Feat
;;^UTILITY(U,$J,358.3,28319,1,4,0)
;;=4^F33.3
;;^UTILITY(U,$J,358.3,28319,2)
;;=^5003532
;;^UTILITY(U,$J,358.3,28320,0)
;;=F33.41^^115^1387^9
;;^UTILITY(U,$J,358.3,28320,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28320,1,3,0)
;;=3^MDD,Recurrent Episode,In Partial Remission
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RV 3818 printed Dec 13, 2024@02:14:35 Page 2
IBDEI1RV ; ; 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,28308,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,28308,1,3,0)
+4 ;;=3^Depress D/O d/t Anth Med Cond w/ Maj Dep-Like Ep
+5 ;;^UTILITY(U,$J,358.3,28308,1,4,0)
+6 ;;=4^F06.32
+7 ;;^UTILITY(U,$J,358.3,28308,2)
+8 ;;=^5003058
+9 ;;^UTILITY(U,$J,358.3,28309,0)
+10 ;;=F32.0^^115^1387^17
+11 ;;^UTILITY(U,$J,358.3,28309,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,28309,1,3,0)
+14 ;;=3^MDD,Single Episode,Mild
+15 ;;^UTILITY(U,$J,358.3,28309,1,4,0)
+16 ;;=4^F32.0
+17 ;;^UTILITY(U,$J,358.3,28309,2)
+18 ;;=^5003521
+19 ;;^UTILITY(U,$J,358.3,28310,0)
+20 ;;=F32.1^^115^1387^18
+21 ;;^UTILITY(U,$J,358.3,28310,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,28310,1,3,0)
+24 ;;=3^MDD,Single Episode,Moderate
+25 ;;^UTILITY(U,$J,358.3,28310,1,4,0)
+26 ;;=4^F32.1
+27 ;;^UTILITY(U,$J,358.3,28310,2)
+28 ;;=^5003522
+29 ;;^UTILITY(U,$J,358.3,28311,0)
+30 ;;=F32.2^^115^1387^19
+31 ;;^UTILITY(U,$J,358.3,28311,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,28311,1,3,0)
+34 ;;=3^MDD,Single Episode,Severe
+35 ;;^UTILITY(U,$J,358.3,28311,1,4,0)
+36 ;;=4^F32.2
+37 ;;^UTILITY(U,$J,358.3,28311,2)
+38 ;;=^5003523
+39 ;;^UTILITY(U,$J,358.3,28312,0)
+40 ;;=F32.3^^115^1387^14
+41 ;;^UTILITY(U,$J,358.3,28312,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,28312,1,3,0)
+44 ;;=3^MDD,Single Episode w/ Psychotic Feat
+45 ;;^UTILITY(U,$J,358.3,28312,1,4,0)
+46 ;;=4^F32.3
+47 ;;^UTILITY(U,$J,358.3,28312,2)
+48 ;;=^5003524
+49 ;;^UTILITY(U,$J,358.3,28313,0)
+50 ;;=F32.4^^115^1387^16
+51 ;;^UTILITY(U,$J,358.3,28313,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,28313,1,3,0)
+54 ;;=3^MDD,Single Episode,In Partial Remission
+55 ;;^UTILITY(U,$J,358.3,28313,1,4,0)
+56 ;;=4^F32.4
+57 ;;^UTILITY(U,$J,358.3,28313,2)
+58 ;;=^5003525
+59 ;;^UTILITY(U,$J,358.3,28314,0)
+60 ;;=F32.5^^115^1387^15
+61 ;;^UTILITY(U,$J,358.3,28314,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,28314,1,3,0)
+64 ;;=3^MDD,Single Episode,In Full Remission
+65 ;;^UTILITY(U,$J,358.3,28314,1,4,0)
+66 ;;=4^F32.5
+67 ;;^UTILITY(U,$J,358.3,28314,2)
+68 ;;=^5003526
+69 ;;^UTILITY(U,$J,358.3,28315,0)
+70 ;;=F33.9^^115^1387^13
+71 ;;^UTILITY(U,$J,358.3,28315,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,28315,1,3,0)
+74 ;;=3^MDD,Recurrent Episode,Unspec
+75 ;;^UTILITY(U,$J,358.3,28315,1,4,0)
+76 ;;=4^F33.9
+77 ;;^UTILITY(U,$J,358.3,28315,2)
+78 ;;=^5003537
+79 ;;^UTILITY(U,$J,358.3,28316,0)
+80 ;;=F33.0^^115^1387^10
+81 ;;^UTILITY(U,$J,358.3,28316,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,28316,1,3,0)
+84 ;;=3^MDD,Recurrent Episode,Mild
+85 ;;^UTILITY(U,$J,358.3,28316,1,4,0)
+86 ;;=4^F33.0
+87 ;;^UTILITY(U,$J,358.3,28316,2)
+88 ;;=^5003529
+89 ;;^UTILITY(U,$J,358.3,28317,0)
+90 ;;=F33.1^^115^1387^11
+91 ;;^UTILITY(U,$J,358.3,28317,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,28317,1,3,0)
+94 ;;=3^MDD,Recurrent Episode,Moderate
+95 ;;^UTILITY(U,$J,358.3,28317,1,4,0)
+96 ;;=4^F33.1
+97 ;;^UTILITY(U,$J,358.3,28317,2)
+98 ;;=^5003530
+99 ;;^UTILITY(U,$J,358.3,28318,0)
+100 ;;=F33.2^^115^1387^12
+101 ;;^UTILITY(U,$J,358.3,28318,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,28318,1,3,0)
+104 ;;=3^MDD,Recurrent Episode,Severe
+105 ;;^UTILITY(U,$J,358.3,28318,1,4,0)
+106 ;;=4^F33.2
+107 ;;^UTILITY(U,$J,358.3,28318,2)
+108 ;;=^5003531
+109 ;;^UTILITY(U,$J,358.3,28319,0)
+110 ;;=F33.3^^115^1387^7
+111 ;;^UTILITY(U,$J,358.3,28319,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,28319,1,3,0)
+114 ;;=3^MDD,Recurrent Episode w/ Psychotic Feat
+115 ;;^UTILITY(U,$J,358.3,28319,1,4,0)
+116 ;;=4^F33.3
+117 ;;^UTILITY(U,$J,358.3,28319,2)
+118 ;;=^5003532
+119 ;;^UTILITY(U,$J,358.3,28320,0)
+120 ;;=F33.41^^115^1387^9
+121 ;;^UTILITY(U,$J,358.3,28320,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,28320,1,3,0)
+124 ;;=3^MDD,Recurrent Episode,In Partial Remission