IBDEI0NU ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,10729,1,3,0)
;;=3^Personal Hx of Childhood Physical Abuse
;;^UTILITY(U,$J,358.3,10729,1,4,0)
;;=4^Z62.810
;;^UTILITY(U,$J,358.3,10729,2)
;;=^5063153
;;^UTILITY(U,$J,358.3,10730,0)
;;=Z91.83^^42^480^23
;;^UTILITY(U,$J,358.3,10730,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10730,1,3,0)
;;=3^Wandering Associated w/ a Mental Disorder
;;^UTILITY(U,$J,358.3,10730,1,4,0)
;;=4^Z91.83
;;^UTILITY(U,$J,358.3,10730,2)
;;=^5063627
;;^UTILITY(U,$J,358.3,10731,0)
;;=Z62.810^^42^480^10
;;^UTILITY(U,$J,358.3,10731,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10731,1,3,0)
;;=3^Personal Hx of Childhood Sexual Abuse
;;^UTILITY(U,$J,358.3,10731,1,4,0)
;;=4^Z62.810
;;^UTILITY(U,$J,358.3,10731,2)
;;=^5063153
;;^UTILITY(U,$J,358.3,10732,0)
;;=Z91.412^^42^480^15
;;^UTILITY(U,$J,358.3,10732,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10732,1,3,0)
;;=3^Personal Hx of Spouse or Partner Neglect
;;^UTILITY(U,$J,358.3,10732,1,4,0)
;;=4^Z91.412
;;^UTILITY(U,$J,358.3,10732,2)
;;=^5063621
;;^UTILITY(U,$J,358.3,10733,0)
;;=Z91.411^^42^480^16
;;^UTILITY(U,$J,358.3,10733,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10733,1,3,0)
;;=3^Personal Hx of Spouse or Partner Psychological Abuse
;;^UTILITY(U,$J,358.3,10733,1,4,0)
;;=4^Z91.411
;;^UTILITY(U,$J,358.3,10733,2)
;;=^5063620
;;^UTILITY(U,$J,358.3,10734,0)
;;=Z91.410^^42^480^17
;;^UTILITY(U,$J,358.3,10734,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10734,1,3,0)
;;=3^Personal Hx of Spouse or Partner Violence,Physical
;;^UTILITY(U,$J,358.3,10734,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,10734,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,10735,0)
;;=Z91.410^^42^480^18
;;^UTILITY(U,$J,358.3,10735,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10735,1,3,0)
;;=3^Personal Hx of Spouse or Partner Violence,Sexual
;;^UTILITY(U,$J,358.3,10735,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,10735,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,10736,0)
;;=Z75.3^^42^480^21
;;^UTILITY(U,$J,358.3,10736,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10736,1,3,0)
;;=3^Unavailability/Inaccessibility of Health Care Facilities
;;^UTILITY(U,$J,358.3,10736,1,4,0)
;;=4^Z75.3
;;^UTILITY(U,$J,358.3,10736,2)
;;=^5063292
;;^UTILITY(U,$J,358.3,10737,0)
;;=Z75.4^^42^480^22
;;^UTILITY(U,$J,358.3,10737,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10737,1,3,0)
;;=3^Unavailability/Inaccessibility of Other Helping Agencies
;;^UTILITY(U,$J,358.3,10737,1,4,0)
;;=4^Z75.4
;;^UTILITY(U,$J,358.3,10737,2)
;;=^5063293
;;^UTILITY(U,$J,358.3,10738,0)
;;=Z91.42^^42^480^11
;;^UTILITY(U,$J,358.3,10738,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10738,1,3,0)
;;=3^Personal Hx of Forced Labor/Sexual Exploitation
;;^UTILITY(U,$J,358.3,10738,1,4,0)
;;=4^Z91.42
;;^UTILITY(U,$J,358.3,10738,2)
;;=^5157633
;;^UTILITY(U,$J,358.3,10739,0)
;;=Z91.52^^42^480^13
;;^UTILITY(U,$J,358.3,10739,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10739,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,10739,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,10739,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,10740,0)
;;=Z70.9^^42^481^2
;;^UTILITY(U,$J,358.3,10740,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10740,1,3,0)
;;=3^Sex Counseling
;;^UTILITY(U,$J,358.3,10740,1,4,0)
;;=4^Z70.9
;;^UTILITY(U,$J,358.3,10740,2)
;;=^5063241
;;^UTILITY(U,$J,358.3,10741,0)
;;=Z71.9^^42^481^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0NU 3757 printed Dec 13, 2024@01:52:19 Page 2
IBDEI0NU ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,10729,1,3,0)
+2 ;;=3^Personal Hx of Childhood Physical Abuse
+3 ;;^UTILITY(U,$J,358.3,10729,1,4,0)
+4 ;;=4^Z62.810
+5 ;;^UTILITY(U,$J,358.3,10729,2)
+6 ;;=^5063153
+7 ;;^UTILITY(U,$J,358.3,10730,0)
+8 ;;=Z91.83^^42^480^23
+9 ;;^UTILITY(U,$J,358.3,10730,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,10730,1,3,0)
+12 ;;=3^Wandering Associated w/ a Mental Disorder
+13 ;;^UTILITY(U,$J,358.3,10730,1,4,0)
+14 ;;=4^Z91.83
+15 ;;^UTILITY(U,$J,358.3,10730,2)
+16 ;;=^5063627
+17 ;;^UTILITY(U,$J,358.3,10731,0)
+18 ;;=Z62.810^^42^480^10
+19 ;;^UTILITY(U,$J,358.3,10731,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,10731,1,3,0)
+22 ;;=3^Personal Hx of Childhood Sexual Abuse
+23 ;;^UTILITY(U,$J,358.3,10731,1,4,0)
+24 ;;=4^Z62.810
+25 ;;^UTILITY(U,$J,358.3,10731,2)
+26 ;;=^5063153
+27 ;;^UTILITY(U,$J,358.3,10732,0)
+28 ;;=Z91.412^^42^480^15
+29 ;;^UTILITY(U,$J,358.3,10732,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,10732,1,3,0)
+32 ;;=3^Personal Hx of Spouse or Partner Neglect
+33 ;;^UTILITY(U,$J,358.3,10732,1,4,0)
+34 ;;=4^Z91.412
+35 ;;^UTILITY(U,$J,358.3,10732,2)
+36 ;;=^5063621
+37 ;;^UTILITY(U,$J,358.3,10733,0)
+38 ;;=Z91.411^^42^480^16
+39 ;;^UTILITY(U,$J,358.3,10733,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,10733,1,3,0)
+42 ;;=3^Personal Hx of Spouse or Partner Psychological Abuse
+43 ;;^UTILITY(U,$J,358.3,10733,1,4,0)
+44 ;;=4^Z91.411
+45 ;;^UTILITY(U,$J,358.3,10733,2)
+46 ;;=^5063620
+47 ;;^UTILITY(U,$J,358.3,10734,0)
+48 ;;=Z91.410^^42^480^17
+49 ;;^UTILITY(U,$J,358.3,10734,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,10734,1,3,0)
+52 ;;=3^Personal Hx of Spouse or Partner Violence,Physical
+53 ;;^UTILITY(U,$J,358.3,10734,1,4,0)
+54 ;;=4^Z91.410
+55 ;;^UTILITY(U,$J,358.3,10734,2)
+56 ;;=^5063619
+57 ;;^UTILITY(U,$J,358.3,10735,0)
+58 ;;=Z91.410^^42^480^18
+59 ;;^UTILITY(U,$J,358.3,10735,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,10735,1,3,0)
+62 ;;=3^Personal Hx of Spouse or Partner Violence,Sexual
+63 ;;^UTILITY(U,$J,358.3,10735,1,4,0)
+64 ;;=4^Z91.410
+65 ;;^UTILITY(U,$J,358.3,10735,2)
+66 ;;=^5063619
+67 ;;^UTILITY(U,$J,358.3,10736,0)
+68 ;;=Z75.3^^42^480^21
+69 ;;^UTILITY(U,$J,358.3,10736,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,10736,1,3,0)
+72 ;;=3^Unavailability/Inaccessibility of Health Care Facilities
+73 ;;^UTILITY(U,$J,358.3,10736,1,4,0)
+74 ;;=4^Z75.3
+75 ;;^UTILITY(U,$J,358.3,10736,2)
+76 ;;=^5063292
+77 ;;^UTILITY(U,$J,358.3,10737,0)
+78 ;;=Z75.4^^42^480^22
+79 ;;^UTILITY(U,$J,358.3,10737,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,10737,1,3,0)
+82 ;;=3^Unavailability/Inaccessibility of Other Helping Agencies
+83 ;;^UTILITY(U,$J,358.3,10737,1,4,0)
+84 ;;=4^Z75.4
+85 ;;^UTILITY(U,$J,358.3,10737,2)
+86 ;;=^5063293
+87 ;;^UTILITY(U,$J,358.3,10738,0)
+88 ;;=Z91.42^^42^480^11
+89 ;;^UTILITY(U,$J,358.3,10738,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,10738,1,3,0)
+92 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
+93 ;;^UTILITY(U,$J,358.3,10738,1,4,0)
+94 ;;=4^Z91.42
+95 ;;^UTILITY(U,$J,358.3,10738,2)
+96 ;;=^5157633
+97 ;;^UTILITY(U,$J,358.3,10739,0)
+98 ;;=Z91.52^^42^480^13
+99 ;;^UTILITY(U,$J,358.3,10739,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,10739,1,3,0)
+102 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+103 ;;^UTILITY(U,$J,358.3,10739,1,4,0)
+104 ;;=4^Z91.52
+105 ;;^UTILITY(U,$J,358.3,10739,2)
+106 ;;=^5161318
+107 ;;^UTILITY(U,$J,358.3,10740,0)
+108 ;;=Z70.9^^42^481^2
+109 ;;^UTILITY(U,$J,358.3,10740,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,10740,1,3,0)
+112 ;;=3^Sex Counseling
+113 ;;^UTILITY(U,$J,358.3,10740,1,4,0)
+114 ;;=4^Z70.9
+115 ;;^UTILITY(U,$J,358.3,10740,2)
+116 ;;=^5063241
+117 ;;^UTILITY(U,$J,358.3,10741,0)
+118 ;;=Z71.9^^42^481^1