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