IBDEI2QS ; ; 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,43730,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43730,1,3,0)
;;=3^Disappearance/Death of Family Member
;;^UTILITY(U,$J,358.3,43730,1,4,0)
;;=4^Z63.4
;;^UTILITY(U,$J,358.3,43730,2)
;;=^5063168
;;^UTILITY(U,$J,358.3,43731,0)
;;=Z69.021^^162^2143^10
;;^UTILITY(U,$J,358.3,43731,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43731,1,3,0)
;;=3^Mental Hlth Svc for Perpetrator of Non-Parental Child Abuse
;;^UTILITY(U,$J,358.3,43731,1,4,0)
;;=4^Z69.021
;;^UTILITY(U,$J,358.3,43731,2)
;;=^5063231
;;^UTILITY(U,$J,358.3,43732,0)
;;=Z69.82^^162^2143^9
;;^UTILITY(U,$J,358.3,43732,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43732,1,3,0)
;;=3^Mental Hlth Svc for Perpetrator of Abuse
;;^UTILITY(U,$J,358.3,43732,1,4,0)
;;=4^Z69.82
;;^UTILITY(U,$J,358.3,43732,2)
;;=^5063235
;;^UTILITY(U,$J,358.3,43733,0)
;;=R45.851^^162^2143^13
;;^UTILITY(U,$J,358.3,43733,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43733,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,43733,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,43733,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,43734,0)
;;=Z65.9^^162^2143^12
;;^UTILITY(U,$J,358.3,43734,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43734,1,3,0)
;;=3^Psychosocial Circumstance Problems,Unspec
;;^UTILITY(U,$J,358.3,43734,1,4,0)
;;=4^Z65.9
;;^UTILITY(U,$J,358.3,43734,2)
;;=^5063186
;;^UTILITY(U,$J,358.3,43735,0)
;;=Z56.9^^162^2143^6
;;^UTILITY(U,$J,358.3,43735,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43735,1,3,0)
;;=3^Employment Problems,Unspec
;;^UTILITY(U,$J,358.3,43735,1,4,0)
;;=4^Z56.9
;;^UTILITY(U,$J,358.3,43735,2)
;;=^5063117
;;^UTILITY(U,$J,358.3,43736,0)
;;=R45.850^^162^2143^7
;;^UTILITY(U,$J,358.3,43736,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43736,1,3,0)
;;=3^Homicidal Ideations
;;^UTILITY(U,$J,358.3,43736,1,4,0)
;;=4^R45.850
;;^UTILITY(U,$J,358.3,43736,2)
;;=^5019473
;;^UTILITY(U,$J,358.3,43737,0)
;;=Z92.3^^162^2144^9
;;^UTILITY(U,$J,358.3,43737,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43737,1,3,0)
;;=3^Personal Hx of Irradiation
;;^UTILITY(U,$J,358.3,43737,1,4,0)
;;=4^Z92.3
;;^UTILITY(U,$J,358.3,43737,2)
;;=^5063637
;;^UTILITY(U,$J,358.3,43738,0)
;;=Z91.410^^162^2144^7
;;^UTILITY(U,$J,358.3,43738,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43738,1,3,0)
;;=3^Personal Hx of Adult Physical/Sexual Abuse
;;^UTILITY(U,$J,358.3,43738,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,43738,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,43739,0)
;;=Z91.411^^162^2144^8
;;^UTILITY(U,$J,358.3,43739,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43739,1,3,0)
;;=3^Personal Hx of Adult Psychological Abuse
;;^UTILITY(U,$J,358.3,43739,1,4,0)
;;=4^Z91.411
;;^UTILITY(U,$J,358.3,43739,2)
;;=^5063620
;;^UTILITY(U,$J,358.3,43740,0)
;;=Z91.49^^162^2144^11
;;^UTILITY(U,$J,358.3,43740,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43740,1,3,0)
;;=3^Personal Hx of Psychological Trauma NEC
;;^UTILITY(U,$J,358.3,43740,1,4,0)
;;=4^Z91.49
;;^UTILITY(U,$J,358.3,43740,2)
;;=^5063623
;;^UTILITY(U,$J,358.3,43741,0)
;;=Z91.19^^162^2144^5
;;^UTILITY(U,$J,358.3,43741,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43741,1,3,0)
;;=3^Noncompliance w/ Medical Treatment/Regimen
;;^UTILITY(U,$J,358.3,43741,1,4,0)
;;=4^Z91.19
;;^UTILITY(U,$J,358.3,43741,2)
;;=^5063618
;;^UTILITY(U,$J,358.3,43742,0)
;;=Z87.891^^162^2144^10
;;^UTILITY(U,$J,358.3,43742,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2QS 3795 printed Nov 22, 2024@17:44:10 Page 2
IBDEI2QS ; ; 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,43730,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,43730,1,3,0)
+4 ;;=3^Disappearance/Death of Family Member
+5 ;;^UTILITY(U,$J,358.3,43730,1,4,0)
+6 ;;=4^Z63.4
+7 ;;^UTILITY(U,$J,358.3,43730,2)
+8 ;;=^5063168
+9 ;;^UTILITY(U,$J,358.3,43731,0)
+10 ;;=Z69.021^^162^2143^10
+11 ;;^UTILITY(U,$J,358.3,43731,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,43731,1,3,0)
+14 ;;=3^Mental Hlth Svc for Perpetrator of Non-Parental Child Abuse
+15 ;;^UTILITY(U,$J,358.3,43731,1,4,0)
+16 ;;=4^Z69.021
+17 ;;^UTILITY(U,$J,358.3,43731,2)
+18 ;;=^5063231
+19 ;;^UTILITY(U,$J,358.3,43732,0)
+20 ;;=Z69.82^^162^2143^9
+21 ;;^UTILITY(U,$J,358.3,43732,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,43732,1,3,0)
+24 ;;=3^Mental Hlth Svc for Perpetrator of Abuse
+25 ;;^UTILITY(U,$J,358.3,43732,1,4,0)
+26 ;;=4^Z69.82
+27 ;;^UTILITY(U,$J,358.3,43732,2)
+28 ;;=^5063235
+29 ;;^UTILITY(U,$J,358.3,43733,0)
+30 ;;=R45.851^^162^2143^13
+31 ;;^UTILITY(U,$J,358.3,43733,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,43733,1,3,0)
+34 ;;=3^Suicidal Ideations
+35 ;;^UTILITY(U,$J,358.3,43733,1,4,0)
+36 ;;=4^R45.851
+37 ;;^UTILITY(U,$J,358.3,43733,2)
+38 ;;=^5019474
+39 ;;^UTILITY(U,$J,358.3,43734,0)
+40 ;;=Z65.9^^162^2143^12
+41 ;;^UTILITY(U,$J,358.3,43734,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,43734,1,3,0)
+44 ;;=3^Psychosocial Circumstance Problems,Unspec
+45 ;;^UTILITY(U,$J,358.3,43734,1,4,0)
+46 ;;=4^Z65.9
+47 ;;^UTILITY(U,$J,358.3,43734,2)
+48 ;;=^5063186
+49 ;;^UTILITY(U,$J,358.3,43735,0)
+50 ;;=Z56.9^^162^2143^6
+51 ;;^UTILITY(U,$J,358.3,43735,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,43735,1,3,0)
+54 ;;=3^Employment Problems,Unspec
+55 ;;^UTILITY(U,$J,358.3,43735,1,4,0)
+56 ;;=4^Z56.9
+57 ;;^UTILITY(U,$J,358.3,43735,2)
+58 ;;=^5063117
+59 ;;^UTILITY(U,$J,358.3,43736,0)
+60 ;;=R45.850^^162^2143^7
+61 ;;^UTILITY(U,$J,358.3,43736,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,43736,1,3,0)
+64 ;;=3^Homicidal Ideations
+65 ;;^UTILITY(U,$J,358.3,43736,1,4,0)
+66 ;;=4^R45.850
+67 ;;^UTILITY(U,$J,358.3,43736,2)
+68 ;;=^5019473
+69 ;;^UTILITY(U,$J,358.3,43737,0)
+70 ;;=Z92.3^^162^2144^9
+71 ;;^UTILITY(U,$J,358.3,43737,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,43737,1,3,0)
+74 ;;=3^Personal Hx of Irradiation
+75 ;;^UTILITY(U,$J,358.3,43737,1,4,0)
+76 ;;=4^Z92.3
+77 ;;^UTILITY(U,$J,358.3,43737,2)
+78 ;;=^5063637
+79 ;;^UTILITY(U,$J,358.3,43738,0)
+80 ;;=Z91.410^^162^2144^7
+81 ;;^UTILITY(U,$J,358.3,43738,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,43738,1,3,0)
+84 ;;=3^Personal Hx of Adult Physical/Sexual Abuse
+85 ;;^UTILITY(U,$J,358.3,43738,1,4,0)
+86 ;;=4^Z91.410
+87 ;;^UTILITY(U,$J,358.3,43738,2)
+88 ;;=^5063619
+89 ;;^UTILITY(U,$J,358.3,43739,0)
+90 ;;=Z91.411^^162^2144^8
+91 ;;^UTILITY(U,$J,358.3,43739,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,43739,1,3,0)
+94 ;;=3^Personal Hx of Adult Psychological Abuse
+95 ;;^UTILITY(U,$J,358.3,43739,1,4,0)
+96 ;;=4^Z91.411
+97 ;;^UTILITY(U,$J,358.3,43739,2)
+98 ;;=^5063620
+99 ;;^UTILITY(U,$J,358.3,43740,0)
+100 ;;=Z91.49^^162^2144^11
+101 ;;^UTILITY(U,$J,358.3,43740,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,43740,1,3,0)
+104 ;;=3^Personal Hx of Psychological Trauma NEC
+105 ;;^UTILITY(U,$J,358.3,43740,1,4,0)
+106 ;;=4^Z91.49
+107 ;;^UTILITY(U,$J,358.3,43740,2)
+108 ;;=^5063623
+109 ;;^UTILITY(U,$J,358.3,43741,0)
+110 ;;=Z91.19^^162^2144^5
+111 ;;^UTILITY(U,$J,358.3,43741,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,43741,1,3,0)
+114 ;;=3^Noncompliance w/ Medical Treatment/Regimen
+115 ;;^UTILITY(U,$J,358.3,43741,1,4,0)
+116 ;;=4^Z91.19
+117 ;;^UTILITY(U,$J,358.3,43741,2)
+118 ;;=^5063618
+119 ;;^UTILITY(U,$J,358.3,43742,0)
+120 ;;=Z87.891^^162^2144^10
+121 ;;^UTILITY(U,$J,358.3,43742,1,0)
+122 ;;=^358.31IA^4^2