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