IBDEI2ZF ; ; 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,47619,2)
;;=^5003519
;;^UTILITY(U,$J,358.3,47620,0)
;;=F34.1^^185^2409^9
;;^UTILITY(U,$J,358.3,47620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47620,1,3,0)
;;=3^Dysthymic Disorder
;;^UTILITY(U,$J,358.3,47620,1,4,0)
;;=4^F34.1
;;^UTILITY(U,$J,358.3,47620,2)
;;=^331913
;;^UTILITY(U,$J,358.3,47621,0)
;;=F41.1^^185^2409^5
;;^UTILITY(U,$J,358.3,47621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47621,1,3,0)
;;=3^Anxiety Disorder,Generalized
;;^UTILITY(U,$J,358.3,47621,1,4,0)
;;=4^F41.1
;;^UTILITY(U,$J,358.3,47621,2)
;;=^50059
;;^UTILITY(U,$J,358.3,47622,0)
;;=F33.1^^185^2409^11
;;^UTILITY(U,$J,358.3,47622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47622,1,3,0)
;;=3^MDD,Recurrent,Moderate
;;^UTILITY(U,$J,358.3,47622,1,4,0)
;;=4^F33.1
;;^UTILITY(U,$J,358.3,47622,2)
;;=^5003530
;;^UTILITY(U,$J,358.3,47623,0)
;;=F06.8^^185^2409^13
;;^UTILITY(U,$J,358.3,47623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47623,1,3,0)
;;=3^Mental Disorders d/t Physiological Condition
;;^UTILITY(U,$J,358.3,47623,1,4,0)
;;=4^F06.8
;;^UTILITY(U,$J,358.3,47623,2)
;;=^5003062
;;^UTILITY(U,$J,358.3,47624,0)
;;=F43.12^^185^2409^32
;;^UTILITY(U,$J,358.3,47624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47624,1,3,0)
;;=3^PTSD,Chronic
;;^UTILITY(U,$J,358.3,47624,1,4,0)
;;=4^F43.12
;;^UTILITY(U,$J,358.3,47624,2)
;;=^5003572
;;^UTILITY(U,$J,358.3,47625,0)
;;=F43.10^^185^2409^33
;;^UTILITY(U,$J,358.3,47625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47625,1,3,0)
;;=3^PTSD,Unspec
;;^UTILITY(U,$J,358.3,47625,1,4,0)
;;=4^F43.10
;;^UTILITY(U,$J,358.3,47625,2)
;;=^5003570
;;^UTILITY(U,$J,358.3,47626,0)
;;=F06.0^^185^2409^37
;;^UTILITY(U,$J,358.3,47626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47626,1,3,0)
;;=3^Psychotic Disorder w/ Hallucin d/t Physiol Condition
;;^UTILITY(U,$J,358.3,47626,1,4,0)
;;=4^F06.0
;;^UTILITY(U,$J,358.3,47626,2)
;;=^5003053
;;^UTILITY(U,$J,358.3,47627,0)
;;=F20.9^^185^2409^39
;;^UTILITY(U,$J,358.3,47627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47627,1,3,0)
;;=3^Schizophrenia,Unspec
;;^UTILITY(U,$J,358.3,47627,1,4,0)
;;=4^F20.9
;;^UTILITY(U,$J,358.3,47627,2)
;;=^5003476
;;^UTILITY(U,$J,358.3,47628,0)
;;=F29.^^185^2409^36
;;^UTILITY(U,$J,358.3,47628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47628,1,3,0)
;;=3^Psychosis Not d/t Substance/Physiol Condition
;;^UTILITY(U,$J,358.3,47628,1,4,0)
;;=4^F29.
;;^UTILITY(U,$J,358.3,47628,2)
;;=^5003484
;;^UTILITY(U,$J,358.3,47629,0)
;;=F41.9^^185^2409^6
;;^UTILITY(U,$J,358.3,47629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47629,1,3,0)
;;=3^Anxiety Disorder,Unspec
;;^UTILITY(U,$J,358.3,47629,1,4,0)
;;=4^F41.9
;;^UTILITY(U,$J,358.3,47629,2)
;;=^5003567
;;^UTILITY(U,$J,358.3,47630,0)
;;=F31.9^^185^2409^7
;;^UTILITY(U,$J,358.3,47630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47630,1,3,0)
;;=3^Bipolar Disorder,Unspec
;;^UTILITY(U,$J,358.3,47630,1,4,0)
;;=4^F31.9
;;^UTILITY(U,$J,358.3,47630,2)
;;=^331892
;;^UTILITY(U,$J,358.3,47631,0)
;;=F32.9^^185^2409^12
;;^UTILITY(U,$J,358.3,47631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47631,1,3,0)
;;=3^MDD,Single Episode,Unspec
;;^UTILITY(U,$J,358.3,47631,1,4,0)
;;=4^F32.9
;;^UTILITY(U,$J,358.3,47631,2)
;;=^5003528
;;^UTILITY(U,$J,358.3,47632,0)
;;=R46.0^^185^2409^10
;;^UTILITY(U,$J,358.3,47632,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2ZF 3767 printed Dec 13, 2024@02:38:49 Page 2
IBDEI2ZF ; ; 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,47619,2)
+2 ;;=^5003519
+3 ;;^UTILITY(U,$J,358.3,47620,0)
+4 ;;=F34.1^^185^2409^9
+5 ;;^UTILITY(U,$J,358.3,47620,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,47620,1,3,0)
+8 ;;=3^Dysthymic Disorder
+9 ;;^UTILITY(U,$J,358.3,47620,1,4,0)
+10 ;;=4^F34.1
+11 ;;^UTILITY(U,$J,358.3,47620,2)
+12 ;;=^331913
+13 ;;^UTILITY(U,$J,358.3,47621,0)
+14 ;;=F41.1^^185^2409^5
+15 ;;^UTILITY(U,$J,358.3,47621,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,47621,1,3,0)
+18 ;;=3^Anxiety Disorder,Generalized
+19 ;;^UTILITY(U,$J,358.3,47621,1,4,0)
+20 ;;=4^F41.1
+21 ;;^UTILITY(U,$J,358.3,47621,2)
+22 ;;=^50059
+23 ;;^UTILITY(U,$J,358.3,47622,0)
+24 ;;=F33.1^^185^2409^11
+25 ;;^UTILITY(U,$J,358.3,47622,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,47622,1,3,0)
+28 ;;=3^MDD,Recurrent,Moderate
+29 ;;^UTILITY(U,$J,358.3,47622,1,4,0)
+30 ;;=4^F33.1
+31 ;;^UTILITY(U,$J,358.3,47622,2)
+32 ;;=^5003530
+33 ;;^UTILITY(U,$J,358.3,47623,0)
+34 ;;=F06.8^^185^2409^13
+35 ;;^UTILITY(U,$J,358.3,47623,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,47623,1,3,0)
+38 ;;=3^Mental Disorders d/t Physiological Condition
+39 ;;^UTILITY(U,$J,358.3,47623,1,4,0)
+40 ;;=4^F06.8
+41 ;;^UTILITY(U,$J,358.3,47623,2)
+42 ;;=^5003062
+43 ;;^UTILITY(U,$J,358.3,47624,0)
+44 ;;=F43.12^^185^2409^32
+45 ;;^UTILITY(U,$J,358.3,47624,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,47624,1,3,0)
+48 ;;=3^PTSD,Chronic
+49 ;;^UTILITY(U,$J,358.3,47624,1,4,0)
+50 ;;=4^F43.12
+51 ;;^UTILITY(U,$J,358.3,47624,2)
+52 ;;=^5003572
+53 ;;^UTILITY(U,$J,358.3,47625,0)
+54 ;;=F43.10^^185^2409^33
+55 ;;^UTILITY(U,$J,358.3,47625,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,47625,1,3,0)
+58 ;;=3^PTSD,Unspec
+59 ;;^UTILITY(U,$J,358.3,47625,1,4,0)
+60 ;;=4^F43.10
+61 ;;^UTILITY(U,$J,358.3,47625,2)
+62 ;;=^5003570
+63 ;;^UTILITY(U,$J,358.3,47626,0)
+64 ;;=F06.0^^185^2409^37
+65 ;;^UTILITY(U,$J,358.3,47626,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,47626,1,3,0)
+68 ;;=3^Psychotic Disorder w/ Hallucin d/t Physiol Condition
+69 ;;^UTILITY(U,$J,358.3,47626,1,4,0)
+70 ;;=4^F06.0
+71 ;;^UTILITY(U,$J,358.3,47626,2)
+72 ;;=^5003053
+73 ;;^UTILITY(U,$J,358.3,47627,0)
+74 ;;=F20.9^^185^2409^39
+75 ;;^UTILITY(U,$J,358.3,47627,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,47627,1,3,0)
+78 ;;=3^Schizophrenia,Unspec
+79 ;;^UTILITY(U,$J,358.3,47627,1,4,0)
+80 ;;=4^F20.9
+81 ;;^UTILITY(U,$J,358.3,47627,2)
+82 ;;=^5003476
+83 ;;^UTILITY(U,$J,358.3,47628,0)
+84 ;;=F29.^^185^2409^36
+85 ;;^UTILITY(U,$J,358.3,47628,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,47628,1,3,0)
+88 ;;=3^Psychosis Not d/t Substance/Physiol Condition
+89 ;;^UTILITY(U,$J,358.3,47628,1,4,0)
+90 ;;=4^F29.
+91 ;;^UTILITY(U,$J,358.3,47628,2)
+92 ;;=^5003484
+93 ;;^UTILITY(U,$J,358.3,47629,0)
+94 ;;=F41.9^^185^2409^6
+95 ;;^UTILITY(U,$J,358.3,47629,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,47629,1,3,0)
+98 ;;=3^Anxiety Disorder,Unspec
+99 ;;^UTILITY(U,$J,358.3,47629,1,4,0)
+100 ;;=4^F41.9
+101 ;;^UTILITY(U,$J,358.3,47629,2)
+102 ;;=^5003567
+103 ;;^UTILITY(U,$J,358.3,47630,0)
+104 ;;=F31.9^^185^2409^7
+105 ;;^UTILITY(U,$J,358.3,47630,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,47630,1,3,0)
+108 ;;=3^Bipolar Disorder,Unspec
+109 ;;^UTILITY(U,$J,358.3,47630,1,4,0)
+110 ;;=4^F31.9
+111 ;;^UTILITY(U,$J,358.3,47630,2)
+112 ;;=^331892
+113 ;;^UTILITY(U,$J,358.3,47631,0)
+114 ;;=F32.9^^185^2409^12
+115 ;;^UTILITY(U,$J,358.3,47631,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,47631,1,3,0)
+118 ;;=3^MDD,Single Episode,Unspec
+119 ;;^UTILITY(U,$J,358.3,47631,1,4,0)
+120 ;;=4^F32.9
+121 ;;^UTILITY(U,$J,358.3,47631,2)
+122 ;;=^5003528
+123 ;;^UTILITY(U,$J,358.3,47632,0)
+124 ;;=R46.0^^185^2409^10
+125 ;;^UTILITY(U,$J,358.3,47632,1,0)
+126 ;;=^358.31IA^4^2