IBDEI1WJ ; ; 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,30369,1,4,0)
;;=4^F91.3
;;^UTILITY(U,$J,358.3,30369,2)
;;=^331955
;;^UTILITY(U,$J,358.3,30370,0)
;;=F63.1^^120^1548^9
;;^UTILITY(U,$J,358.3,30370,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30370,1,3,0)
;;=3^Pyromania
;;^UTILITY(U,$J,358.3,30370,1,4,0)
;;=4^F63.1
;;^UTILITY(U,$J,358.3,30370,2)
;;=^5003641
;;^UTILITY(U,$J,358.3,30371,0)
;;=F91.8^^120^1548^4
;;^UTILITY(U,$J,358.3,30371,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30371,1,3,0)
;;=3^Disruptive,Impulse-Control & Conduct D/O,Oth
;;^UTILITY(U,$J,358.3,30371,1,4,0)
;;=4^F91.8
;;^UTILITY(U,$J,358.3,30371,2)
;;=^5003700
;;^UTILITY(U,$J,358.3,30372,0)
;;=R45.6^^120^1548^10
;;^UTILITY(U,$J,358.3,30372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30372,1,3,0)
;;=3^Violent Behavior
;;^UTILITY(U,$J,358.3,30372,1,4,0)
;;=4^R45.6
;;^UTILITY(U,$J,358.3,30372,2)
;;=^5019467
;;^UTILITY(U,$J,358.3,30373,0)
;;=R45.850^^120^1548^5
;;^UTILITY(U,$J,358.3,30373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30373,1,3,0)
;;=3^Homicidal Ideations
;;^UTILITY(U,$J,358.3,30373,1,4,0)
;;=4^R45.850
;;^UTILITY(U,$J,358.3,30373,2)
;;=^5019473
;;^UTILITY(U,$J,358.3,30374,0)
;;=F98.0^^120^1549^2
;;^UTILITY(U,$J,358.3,30374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30374,1,3,0)
;;=3^Enuresis
;;^UTILITY(U,$J,358.3,30374,1,4,0)
;;=4^F98.0
;;^UTILITY(U,$J,358.3,30374,2)
;;=^5003711
;;^UTILITY(U,$J,358.3,30375,0)
;;=F98.1^^120^1549^1
;;^UTILITY(U,$J,358.3,30375,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30375,1,3,0)
;;=3^Encopresis
;;^UTILITY(U,$J,358.3,30375,1,4,0)
;;=4^F98.1
;;^UTILITY(U,$J,358.3,30375,2)
;;=^5003712
;;^UTILITY(U,$J,358.3,30376,0)
;;=N39.498^^120^1549^4
;;^UTILITY(U,$J,358.3,30376,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30376,1,3,0)
;;=3^Urinary Incontinence,Oth Spec
;;^UTILITY(U,$J,358.3,30376,1,4,0)
;;=4^N39.498
;;^UTILITY(U,$J,358.3,30376,2)
;;=^5015686
;;^UTILITY(U,$J,358.3,30377,0)
;;=R15.9^^120^1549^3
;;^UTILITY(U,$J,358.3,30377,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30377,1,3,0)
;;=3^Full Incontinence of Feces
;;^UTILITY(U,$J,358.3,30377,1,4,0)
;;=4^R15.9
;;^UTILITY(U,$J,358.3,30377,2)
;;=^5019247
;;^UTILITY(U,$J,358.3,30378,0)
;;=R32.^^120^1549^5
;;^UTILITY(U,$J,358.3,30378,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30378,1,3,0)
;;=3^Urinary Incontinence,Unspec
;;^UTILITY(U,$J,358.3,30378,1,4,0)
;;=4^R32.
;;^UTILITY(U,$J,358.3,30378,2)
;;=^5019329
;;^UTILITY(U,$J,358.3,30379,0)
;;=F63.0^^120^1550^1
;;^UTILITY(U,$J,358.3,30379,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30379,1,3,0)
;;=3^Gambling Disorder
;;^UTILITY(U,$J,358.3,30379,1,4,0)
;;=4^F63.0
;;^UTILITY(U,$J,358.3,30379,2)
;;=^5003640
;;^UTILITY(U,$J,358.3,30380,0)
;;=F06.8^^120^1551^2
;;^UTILITY(U,$J,358.3,30380,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30380,1,3,0)
;;=3^Mental D/O,Oth Spec,d/t Anth Med Cond
;;^UTILITY(U,$J,358.3,30380,1,4,0)
;;=4^F06.8
;;^UTILITY(U,$J,358.3,30380,2)
;;=^5003062
;;^UTILITY(U,$J,358.3,30381,0)
;;=F09.^^120^1551^3
;;^UTILITY(U,$J,358.3,30381,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30381,1,3,0)
;;=3^Mental D/O,Unspec,d/t Anth Med Cond
;;^UTILITY(U,$J,358.3,30381,1,4,0)
;;=4^F09.
;;^UTILITY(U,$J,358.3,30381,2)
;;=^5003067
;;^UTILITY(U,$J,358.3,30382,0)
;;=F99.^^120^1551^1
;;^UTILITY(U,$J,358.3,30382,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1WJ 3768 printed Dec 13, 2024@02:17:11 Page 2
IBDEI1WJ ; ; 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,30369,1,4,0)
+2 ;;=4^F91.3
+3 ;;^UTILITY(U,$J,358.3,30369,2)
+4 ;;=^331955
+5 ;;^UTILITY(U,$J,358.3,30370,0)
+6 ;;=F63.1^^120^1548^9
+7 ;;^UTILITY(U,$J,358.3,30370,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,30370,1,3,0)
+10 ;;=3^Pyromania
+11 ;;^UTILITY(U,$J,358.3,30370,1,4,0)
+12 ;;=4^F63.1
+13 ;;^UTILITY(U,$J,358.3,30370,2)
+14 ;;=^5003641
+15 ;;^UTILITY(U,$J,358.3,30371,0)
+16 ;;=F91.8^^120^1548^4
+17 ;;^UTILITY(U,$J,358.3,30371,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,30371,1,3,0)
+20 ;;=3^Disruptive,Impulse-Control & Conduct D/O,Oth
+21 ;;^UTILITY(U,$J,358.3,30371,1,4,0)
+22 ;;=4^F91.8
+23 ;;^UTILITY(U,$J,358.3,30371,2)
+24 ;;=^5003700
+25 ;;^UTILITY(U,$J,358.3,30372,0)
+26 ;;=R45.6^^120^1548^10
+27 ;;^UTILITY(U,$J,358.3,30372,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,30372,1,3,0)
+30 ;;=3^Violent Behavior
+31 ;;^UTILITY(U,$J,358.3,30372,1,4,0)
+32 ;;=4^R45.6
+33 ;;^UTILITY(U,$J,358.3,30372,2)
+34 ;;=^5019467
+35 ;;^UTILITY(U,$J,358.3,30373,0)
+36 ;;=R45.850^^120^1548^5
+37 ;;^UTILITY(U,$J,358.3,30373,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,30373,1,3,0)
+40 ;;=3^Homicidal Ideations
+41 ;;^UTILITY(U,$J,358.3,30373,1,4,0)
+42 ;;=4^R45.850
+43 ;;^UTILITY(U,$J,358.3,30373,2)
+44 ;;=^5019473
+45 ;;^UTILITY(U,$J,358.3,30374,0)
+46 ;;=F98.0^^120^1549^2
+47 ;;^UTILITY(U,$J,358.3,30374,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,30374,1,3,0)
+50 ;;=3^Enuresis
+51 ;;^UTILITY(U,$J,358.3,30374,1,4,0)
+52 ;;=4^F98.0
+53 ;;^UTILITY(U,$J,358.3,30374,2)
+54 ;;=^5003711
+55 ;;^UTILITY(U,$J,358.3,30375,0)
+56 ;;=F98.1^^120^1549^1
+57 ;;^UTILITY(U,$J,358.3,30375,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,30375,1,3,0)
+60 ;;=3^Encopresis
+61 ;;^UTILITY(U,$J,358.3,30375,1,4,0)
+62 ;;=4^F98.1
+63 ;;^UTILITY(U,$J,358.3,30375,2)
+64 ;;=^5003712
+65 ;;^UTILITY(U,$J,358.3,30376,0)
+66 ;;=N39.498^^120^1549^4
+67 ;;^UTILITY(U,$J,358.3,30376,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,30376,1,3,0)
+70 ;;=3^Urinary Incontinence,Oth Spec
+71 ;;^UTILITY(U,$J,358.3,30376,1,4,0)
+72 ;;=4^N39.498
+73 ;;^UTILITY(U,$J,358.3,30376,2)
+74 ;;=^5015686
+75 ;;^UTILITY(U,$J,358.3,30377,0)
+76 ;;=R15.9^^120^1549^3
+77 ;;^UTILITY(U,$J,358.3,30377,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,30377,1,3,0)
+80 ;;=3^Full Incontinence of Feces
+81 ;;^UTILITY(U,$J,358.3,30377,1,4,0)
+82 ;;=4^R15.9
+83 ;;^UTILITY(U,$J,358.3,30377,2)
+84 ;;=^5019247
+85 ;;^UTILITY(U,$J,358.3,30378,0)
+86 ;;=R32.^^120^1549^5
+87 ;;^UTILITY(U,$J,358.3,30378,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,30378,1,3,0)
+90 ;;=3^Urinary Incontinence,Unspec
+91 ;;^UTILITY(U,$J,358.3,30378,1,4,0)
+92 ;;=4^R32.
+93 ;;^UTILITY(U,$J,358.3,30378,2)
+94 ;;=^5019329
+95 ;;^UTILITY(U,$J,358.3,30379,0)
+96 ;;=F63.0^^120^1550^1
+97 ;;^UTILITY(U,$J,358.3,30379,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,30379,1,3,0)
+100 ;;=3^Gambling Disorder
+101 ;;^UTILITY(U,$J,358.3,30379,1,4,0)
+102 ;;=4^F63.0
+103 ;;^UTILITY(U,$J,358.3,30379,2)
+104 ;;=^5003640
+105 ;;^UTILITY(U,$J,358.3,30380,0)
+106 ;;=F06.8^^120^1551^2
+107 ;;^UTILITY(U,$J,358.3,30380,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,30380,1,3,0)
+110 ;;=3^Mental D/O,Oth Spec,d/t Anth Med Cond
+111 ;;^UTILITY(U,$J,358.3,30380,1,4,0)
+112 ;;=4^F06.8
+113 ;;^UTILITY(U,$J,358.3,30380,2)
+114 ;;=^5003062
+115 ;;^UTILITY(U,$J,358.3,30381,0)
+116 ;;=F09.^^120^1551^3
+117 ;;^UTILITY(U,$J,358.3,30381,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,30381,1,3,0)
+120 ;;=3^Mental D/O,Unspec,d/t Anth Med Cond
+121 ;;^UTILITY(U,$J,358.3,30381,1,4,0)
+122 ;;=4^F09.
+123 ;;^UTILITY(U,$J,358.3,30381,2)
+124 ;;=^5003067
+125 ;;^UTILITY(U,$J,358.3,30382,0)
+126 ;;=F99.^^120^1551^1
+127 ;;^UTILITY(U,$J,358.3,30382,1,0)
+128 ;;=^358.31IA^4^2