IBDEI1U0 ; ; 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,29264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29264,1,3,0)
;;=3^Wandering Associated w/ a Mental Disorder
;;^UTILITY(U,$J,358.3,29264,1,4,0)
;;=4^Z91.83
;;^UTILITY(U,$J,358.3,29264,2)
;;=^5063627
;;^UTILITY(U,$J,358.3,29265,0)
;;=Z91.412^^118^1473^7
;;^UTILITY(U,$J,358.3,29265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29265,1,3,0)
;;=3^Personal Hx of Adult Neglect
;;^UTILITY(U,$J,358.3,29265,1,4,0)
;;=4^Z91.412
;;^UTILITY(U,$J,358.3,29265,2)
;;=^5063621
;;^UTILITY(U,$J,358.3,29266,0)
;;=Z91.411^^118^1473^9
;;^UTILITY(U,$J,358.3,29266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29266,1,3,0)
;;=3^Personal Hx of Adult Psych Abuse
;;^UTILITY(U,$J,358.3,29266,1,4,0)
;;=4^Z91.411
;;^UTILITY(U,$J,358.3,29266,2)
;;=^5063620
;;^UTILITY(U,$J,358.3,29267,0)
;;=Z91.410^^118^1473^8
;;^UTILITY(U,$J,358.3,29267,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29267,1,3,0)
;;=3^Personal Hx of Adult Phys/Sexual Abuse
;;^UTILITY(U,$J,358.3,29267,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,29267,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,29268,0)
;;=Z75.3^^118^1473^20
;;^UTILITY(U,$J,358.3,29268,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29268,1,3,0)
;;=3^Unavailable/Inaccessible to Health Care Facilities
;;^UTILITY(U,$J,358.3,29268,1,4,0)
;;=4^Z75.3
;;^UTILITY(U,$J,358.3,29268,2)
;;=^5063292
;;^UTILITY(U,$J,358.3,29269,0)
;;=Z75.4^^118^1473^21
;;^UTILITY(U,$J,358.3,29269,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29269,1,3,0)
;;=3^Unavailable/Inaccessible to Other Helping Agencies
;;^UTILITY(U,$J,358.3,29269,1,4,0)
;;=4^Z75.4
;;^UTILITY(U,$J,358.3,29269,2)
;;=^5063293
;;^UTILITY(U,$J,358.3,29270,0)
;;=Z62.813^^118^1473^13
;;^UTILITY(U,$J,358.3,29270,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29270,1,3,0)
;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
;;^UTILITY(U,$J,358.3,29270,1,4,0)
;;=4^Z62.813
;;^UTILITY(U,$J,358.3,29270,2)
;;=^5157627
;;^UTILITY(U,$J,358.3,29271,0)
;;=Z91.42^^118^1473^14
;;^UTILITY(U,$J,358.3,29271,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29271,1,3,0)
;;=3^Personal Hx of Forced Labor/Sexual Exploitation
;;^UTILITY(U,$J,358.3,29271,1,4,0)
;;=4^Z91.42
;;^UTILITY(U,$J,358.3,29271,2)
;;=^5157633
;;^UTILITY(U,$J,358.3,29272,0)
;;=Z02.89^^118^1473^1
;;^UTILITY(U,$J,358.3,29272,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29272,1,3,0)
;;=3^Administrative Exams,Other
;;^UTILITY(U,$J,358.3,29272,1,4,0)
;;=4^Z02.89
;;^UTILITY(U,$J,358.3,29272,2)
;;=^5062645
;;^UTILITY(U,$J,358.3,29273,0)
;;=Z70.9^^118^1474^2
;;^UTILITY(U,$J,358.3,29273,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29273,1,3,0)
;;=3^Sex Counseling
;;^UTILITY(U,$J,358.3,29273,1,4,0)
;;=4^Z70.9
;;^UTILITY(U,$J,358.3,29273,2)
;;=^5063241
;;^UTILITY(U,$J,358.3,29274,0)
;;=Z71.9^^118^1474^1
;;^UTILITY(U,$J,358.3,29274,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29274,1,3,0)
;;=3^Counseling,Unspec
;;^UTILITY(U,$J,358.3,29274,1,4,0)
;;=4^Z71.9
;;^UTILITY(U,$J,358.3,29274,2)
;;=^5063254
;;^UTILITY(U,$J,358.3,29275,0)
;;=Z60.0^^118^1475^2
;;^UTILITY(U,$J,358.3,29275,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29275,1,3,0)
;;=3^Phase of Life Problem
;;^UTILITY(U,$J,358.3,29275,1,4,0)
;;=4^Z60.0
;;^UTILITY(U,$J,358.3,29275,2)
;;=^5063139
;;^UTILITY(U,$J,358.3,29276,0)
;;=Z60.2^^118^1475^3
;;^UTILITY(U,$J,358.3,29276,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1U0 3783 printed Nov 22, 2024@17:25:57 Page 2
IBDEI1U0 ; ; 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,29264,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,29264,1,3,0)
+4 ;;=3^Wandering Associated w/ a Mental Disorder
+5 ;;^UTILITY(U,$J,358.3,29264,1,4,0)
+6 ;;=4^Z91.83
+7 ;;^UTILITY(U,$J,358.3,29264,2)
+8 ;;=^5063627
+9 ;;^UTILITY(U,$J,358.3,29265,0)
+10 ;;=Z91.412^^118^1473^7
+11 ;;^UTILITY(U,$J,358.3,29265,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,29265,1,3,0)
+14 ;;=3^Personal Hx of Adult Neglect
+15 ;;^UTILITY(U,$J,358.3,29265,1,4,0)
+16 ;;=4^Z91.412
+17 ;;^UTILITY(U,$J,358.3,29265,2)
+18 ;;=^5063621
+19 ;;^UTILITY(U,$J,358.3,29266,0)
+20 ;;=Z91.411^^118^1473^9
+21 ;;^UTILITY(U,$J,358.3,29266,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,29266,1,3,0)
+24 ;;=3^Personal Hx of Adult Psych Abuse
+25 ;;^UTILITY(U,$J,358.3,29266,1,4,0)
+26 ;;=4^Z91.411
+27 ;;^UTILITY(U,$J,358.3,29266,2)
+28 ;;=^5063620
+29 ;;^UTILITY(U,$J,358.3,29267,0)
+30 ;;=Z91.410^^118^1473^8
+31 ;;^UTILITY(U,$J,358.3,29267,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,29267,1,3,0)
+34 ;;=3^Personal Hx of Adult Phys/Sexual Abuse
+35 ;;^UTILITY(U,$J,358.3,29267,1,4,0)
+36 ;;=4^Z91.410
+37 ;;^UTILITY(U,$J,358.3,29267,2)
+38 ;;=^5063619
+39 ;;^UTILITY(U,$J,358.3,29268,0)
+40 ;;=Z75.3^^118^1473^20
+41 ;;^UTILITY(U,$J,358.3,29268,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,29268,1,3,0)
+44 ;;=3^Unavailable/Inaccessible to Health Care Facilities
+45 ;;^UTILITY(U,$J,358.3,29268,1,4,0)
+46 ;;=4^Z75.3
+47 ;;^UTILITY(U,$J,358.3,29268,2)
+48 ;;=^5063292
+49 ;;^UTILITY(U,$J,358.3,29269,0)
+50 ;;=Z75.4^^118^1473^21
+51 ;;^UTILITY(U,$J,358.3,29269,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,29269,1,3,0)
+54 ;;=3^Unavailable/Inaccessible to Other Helping Agencies
+55 ;;^UTILITY(U,$J,358.3,29269,1,4,0)
+56 ;;=4^Z75.4
+57 ;;^UTILITY(U,$J,358.3,29269,2)
+58 ;;=^5063293
+59 ;;^UTILITY(U,$J,358.3,29270,0)
+60 ;;=Z62.813^^118^1473^13
+61 ;;^UTILITY(U,$J,358.3,29270,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,29270,1,3,0)
+64 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
+65 ;;^UTILITY(U,$J,358.3,29270,1,4,0)
+66 ;;=4^Z62.813
+67 ;;^UTILITY(U,$J,358.3,29270,2)
+68 ;;=^5157627
+69 ;;^UTILITY(U,$J,358.3,29271,0)
+70 ;;=Z91.42^^118^1473^14
+71 ;;^UTILITY(U,$J,358.3,29271,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,29271,1,3,0)
+74 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
+75 ;;^UTILITY(U,$J,358.3,29271,1,4,0)
+76 ;;=4^Z91.42
+77 ;;^UTILITY(U,$J,358.3,29271,2)
+78 ;;=^5157633
+79 ;;^UTILITY(U,$J,358.3,29272,0)
+80 ;;=Z02.89^^118^1473^1
+81 ;;^UTILITY(U,$J,358.3,29272,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,29272,1,3,0)
+84 ;;=3^Administrative Exams,Other
+85 ;;^UTILITY(U,$J,358.3,29272,1,4,0)
+86 ;;=4^Z02.89
+87 ;;^UTILITY(U,$J,358.3,29272,2)
+88 ;;=^5062645
+89 ;;^UTILITY(U,$J,358.3,29273,0)
+90 ;;=Z70.9^^118^1474^2
+91 ;;^UTILITY(U,$J,358.3,29273,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,29273,1,3,0)
+94 ;;=3^Sex Counseling
+95 ;;^UTILITY(U,$J,358.3,29273,1,4,0)
+96 ;;=4^Z70.9
+97 ;;^UTILITY(U,$J,358.3,29273,2)
+98 ;;=^5063241
+99 ;;^UTILITY(U,$J,358.3,29274,0)
+100 ;;=Z71.9^^118^1474^1
+101 ;;^UTILITY(U,$J,358.3,29274,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,29274,1,3,0)
+104 ;;=3^Counseling,Unspec
+105 ;;^UTILITY(U,$J,358.3,29274,1,4,0)
+106 ;;=4^Z71.9
+107 ;;^UTILITY(U,$J,358.3,29274,2)
+108 ;;=^5063254
+109 ;;^UTILITY(U,$J,358.3,29275,0)
+110 ;;=Z60.0^^118^1475^2
+111 ;;^UTILITY(U,$J,358.3,29275,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,29275,1,3,0)
+114 ;;=3^Phase of Life Problem
+115 ;;^UTILITY(U,$J,358.3,29275,1,4,0)
+116 ;;=4^Z60.0
+117 ;;^UTILITY(U,$J,358.3,29275,2)
+118 ;;=^5063139
+119 ;;^UTILITY(U,$J,358.3,29276,0)
+120 ;;=Z60.2^^118^1475^3
+121 ;;^UTILITY(U,$J,358.3,29276,1,0)
+122 ;;=^358.31IA^4^2