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