IBDEI1SU ; ; 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,28730,2)
;;=^5019467
;;^UTILITY(U,$J,358.3,28731,0)
;;=R45.850^^115^1416^5
;;^UTILITY(U,$J,358.3,28731,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28731,1,3,0)
;;=3^Homicidal Ideations
;;^UTILITY(U,$J,358.3,28731,1,4,0)
;;=4^R45.850
;;^UTILITY(U,$J,358.3,28731,2)
;;=^5019473
;;^UTILITY(U,$J,358.3,28732,0)
;;=F98.0^^115^1417^2
;;^UTILITY(U,$J,358.3,28732,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28732,1,3,0)
;;=3^Enuresis
;;^UTILITY(U,$J,358.3,28732,1,4,0)
;;=4^F98.0
;;^UTILITY(U,$J,358.3,28732,2)
;;=^5003711
;;^UTILITY(U,$J,358.3,28733,0)
;;=F98.1^^115^1417^1
;;^UTILITY(U,$J,358.3,28733,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28733,1,3,0)
;;=3^Encopresis
;;^UTILITY(U,$J,358.3,28733,1,4,0)
;;=4^F98.1
;;^UTILITY(U,$J,358.3,28733,2)
;;=^5003712
;;^UTILITY(U,$J,358.3,28734,0)
;;=N39.498^^115^1417^4
;;^UTILITY(U,$J,358.3,28734,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28734,1,3,0)
;;=3^Urinary Incontinence,Oth Spec
;;^UTILITY(U,$J,358.3,28734,1,4,0)
;;=4^N39.498
;;^UTILITY(U,$J,358.3,28734,2)
;;=^5015686
;;^UTILITY(U,$J,358.3,28735,0)
;;=R15.9^^115^1417^3
;;^UTILITY(U,$J,358.3,28735,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28735,1,3,0)
;;=3^Full Incontinence of Feces
;;^UTILITY(U,$J,358.3,28735,1,4,0)
;;=4^R15.9
;;^UTILITY(U,$J,358.3,28735,2)
;;=^5019247
;;^UTILITY(U,$J,358.3,28736,0)
;;=R32.^^115^1417^5
;;^UTILITY(U,$J,358.3,28736,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28736,1,3,0)
;;=3^Urinary Incontinence,Unspec
;;^UTILITY(U,$J,358.3,28736,1,4,0)
;;=4^R32.
;;^UTILITY(U,$J,358.3,28736,2)
;;=^5019329
;;^UTILITY(U,$J,358.3,28737,0)
;;=F63.0^^115^1418^1
;;^UTILITY(U,$J,358.3,28737,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28737,1,3,0)
;;=3^Gambling Disorder
;;^UTILITY(U,$J,358.3,28737,1,4,0)
;;=4^F63.0
;;^UTILITY(U,$J,358.3,28737,2)
;;=^5003640
;;^UTILITY(U,$J,358.3,28738,0)
;;=F06.8^^115^1419^2
;;^UTILITY(U,$J,358.3,28738,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28738,1,3,0)
;;=3^Mental D/O,Oth Spec,d/t Anth Med Cond
;;^UTILITY(U,$J,358.3,28738,1,4,0)
;;=4^F06.8
;;^UTILITY(U,$J,358.3,28738,2)
;;=^5003062
;;^UTILITY(U,$J,358.3,28739,0)
;;=F09.^^115^1419^3
;;^UTILITY(U,$J,358.3,28739,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28739,1,3,0)
;;=3^Mental D/O,Unspec,d/t Anth Med Cond
;;^UTILITY(U,$J,358.3,28739,1,4,0)
;;=4^F09.
;;^UTILITY(U,$J,358.3,28739,2)
;;=^5003067
;;^UTILITY(U,$J,358.3,28740,0)
;;=F99.^^115^1419^1
;;^UTILITY(U,$J,358.3,28740,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28740,1,3,0)
;;=3^Mental D/O NOS
;;^UTILITY(U,$J,358.3,28740,1,4,0)
;;=4^F99.
;;^UTILITY(U,$J,358.3,28740,2)
;;=^5003720
;;^UTILITY(U,$J,358.3,28741,0)
;;=Z03.89^^115^1419^4
;;^UTILITY(U,$J,358.3,28741,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28741,1,3,0)
;;=3^Obs for Oth Suspect Dis/Cond R/O
;;^UTILITY(U,$J,358.3,28741,1,4,0)
;;=4^Z03.89
;;^UTILITY(U,$J,358.3,28741,2)
;;=^5062656
;;^UTILITY(U,$J,358.3,28742,0)
;;=F84.0^^115^1420^7
;;^UTILITY(U,$J,358.3,28742,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28742,1,3,0)
;;=3^Autistic D/O
;;^UTILITY(U,$J,358.3,28742,1,4,0)
;;=4^F84.0
;;^UTILITY(U,$J,358.3,28742,2)
;;=^5003684
;;^UTILITY(U,$J,358.3,28743,0)
;;=F80.9^^115^1420^10
;;^UTILITY(U,$J,358.3,28743,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28743,1,3,0)
;;=3^Communication D/O,Unspec
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1SU 3777 printed Dec 13, 2024@02:15:07 Page 2
IBDEI1SU ; ; 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,28730,2)
+2 ;;=^5019467
+3 ;;^UTILITY(U,$J,358.3,28731,0)
+4 ;;=R45.850^^115^1416^5
+5 ;;^UTILITY(U,$J,358.3,28731,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,28731,1,3,0)
+8 ;;=3^Homicidal Ideations
+9 ;;^UTILITY(U,$J,358.3,28731,1,4,0)
+10 ;;=4^R45.850
+11 ;;^UTILITY(U,$J,358.3,28731,2)
+12 ;;=^5019473
+13 ;;^UTILITY(U,$J,358.3,28732,0)
+14 ;;=F98.0^^115^1417^2
+15 ;;^UTILITY(U,$J,358.3,28732,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,28732,1,3,0)
+18 ;;=3^Enuresis
+19 ;;^UTILITY(U,$J,358.3,28732,1,4,0)
+20 ;;=4^F98.0
+21 ;;^UTILITY(U,$J,358.3,28732,2)
+22 ;;=^5003711
+23 ;;^UTILITY(U,$J,358.3,28733,0)
+24 ;;=F98.1^^115^1417^1
+25 ;;^UTILITY(U,$J,358.3,28733,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,28733,1,3,0)
+28 ;;=3^Encopresis
+29 ;;^UTILITY(U,$J,358.3,28733,1,4,0)
+30 ;;=4^F98.1
+31 ;;^UTILITY(U,$J,358.3,28733,2)
+32 ;;=^5003712
+33 ;;^UTILITY(U,$J,358.3,28734,0)
+34 ;;=N39.498^^115^1417^4
+35 ;;^UTILITY(U,$J,358.3,28734,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,28734,1,3,0)
+38 ;;=3^Urinary Incontinence,Oth Spec
+39 ;;^UTILITY(U,$J,358.3,28734,1,4,0)
+40 ;;=4^N39.498
+41 ;;^UTILITY(U,$J,358.3,28734,2)
+42 ;;=^5015686
+43 ;;^UTILITY(U,$J,358.3,28735,0)
+44 ;;=R15.9^^115^1417^3
+45 ;;^UTILITY(U,$J,358.3,28735,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,28735,1,3,0)
+48 ;;=3^Full Incontinence of Feces
+49 ;;^UTILITY(U,$J,358.3,28735,1,4,0)
+50 ;;=4^R15.9
+51 ;;^UTILITY(U,$J,358.3,28735,2)
+52 ;;=^5019247
+53 ;;^UTILITY(U,$J,358.3,28736,0)
+54 ;;=R32.^^115^1417^5
+55 ;;^UTILITY(U,$J,358.3,28736,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,28736,1,3,0)
+58 ;;=3^Urinary Incontinence,Unspec
+59 ;;^UTILITY(U,$J,358.3,28736,1,4,0)
+60 ;;=4^R32.
+61 ;;^UTILITY(U,$J,358.3,28736,2)
+62 ;;=^5019329
+63 ;;^UTILITY(U,$J,358.3,28737,0)
+64 ;;=F63.0^^115^1418^1
+65 ;;^UTILITY(U,$J,358.3,28737,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,28737,1,3,0)
+68 ;;=3^Gambling Disorder
+69 ;;^UTILITY(U,$J,358.3,28737,1,4,0)
+70 ;;=4^F63.0
+71 ;;^UTILITY(U,$J,358.3,28737,2)
+72 ;;=^5003640
+73 ;;^UTILITY(U,$J,358.3,28738,0)
+74 ;;=F06.8^^115^1419^2
+75 ;;^UTILITY(U,$J,358.3,28738,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,28738,1,3,0)
+78 ;;=3^Mental D/O,Oth Spec,d/t Anth Med Cond
+79 ;;^UTILITY(U,$J,358.3,28738,1,4,0)
+80 ;;=4^F06.8
+81 ;;^UTILITY(U,$J,358.3,28738,2)
+82 ;;=^5003062
+83 ;;^UTILITY(U,$J,358.3,28739,0)
+84 ;;=F09.^^115^1419^3
+85 ;;^UTILITY(U,$J,358.3,28739,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,28739,1,3,0)
+88 ;;=3^Mental D/O,Unspec,d/t Anth Med Cond
+89 ;;^UTILITY(U,$J,358.3,28739,1,4,0)
+90 ;;=4^F09.
+91 ;;^UTILITY(U,$J,358.3,28739,2)
+92 ;;=^5003067
+93 ;;^UTILITY(U,$J,358.3,28740,0)
+94 ;;=F99.^^115^1419^1
+95 ;;^UTILITY(U,$J,358.3,28740,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,28740,1,3,0)
+98 ;;=3^Mental D/O NOS
+99 ;;^UTILITY(U,$J,358.3,28740,1,4,0)
+100 ;;=4^F99.
+101 ;;^UTILITY(U,$J,358.3,28740,2)
+102 ;;=^5003720
+103 ;;^UTILITY(U,$J,358.3,28741,0)
+104 ;;=Z03.89^^115^1419^4
+105 ;;^UTILITY(U,$J,358.3,28741,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,28741,1,3,0)
+108 ;;=3^Obs for Oth Suspect Dis/Cond R/O
+109 ;;^UTILITY(U,$J,358.3,28741,1,4,0)
+110 ;;=4^Z03.89
+111 ;;^UTILITY(U,$J,358.3,28741,2)
+112 ;;=^5062656
+113 ;;^UTILITY(U,$J,358.3,28742,0)
+114 ;;=F84.0^^115^1420^7
+115 ;;^UTILITY(U,$J,358.3,28742,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,28742,1,3,0)
+118 ;;=3^Autistic D/O
+119 ;;^UTILITY(U,$J,358.3,28742,1,4,0)
+120 ;;=4^F84.0
+121 ;;^UTILITY(U,$J,358.3,28742,2)
+122 ;;=^5003684
+123 ;;^UTILITY(U,$J,358.3,28743,0)
+124 ;;=F80.9^^115^1420^10
+125 ;;^UTILITY(U,$J,358.3,28743,1,0)
+126 ;;=^358.31IA^4^2
+127 ;;^UTILITY(U,$J,358.3,28743,1,3,0)
+128 ;;=3^Communication D/O,Unspec