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