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