IBDEI25C ; ; 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,34283,0)
;;=F07.0^^134^1737^9
;;^UTILITY(U,$J,358.3,34283,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34283,1,3,0)
;;=3^Personality Change d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,34283,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,34283,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,34284,0)
;;=Z65.4^^134^1738^5
;;^UTILITY(U,$J,358.3,34284,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34284,1,3,0)
;;=3^Victim of Crime
;;^UTILITY(U,$J,358.3,34284,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,34284,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,34285,0)
;;=Z65.0^^134^1738^1
;;^UTILITY(U,$J,358.3,34285,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34285,1,3,0)
;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
;;^UTILITY(U,$J,358.3,34285,1,4,0)
;;=4^Z65.0
;;^UTILITY(U,$J,358.3,34285,2)
;;=^5063179
;;^UTILITY(U,$J,358.3,34286,0)
;;=Z65.2^^134^1738^4
;;^UTILITY(U,$J,358.3,34286,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34286,1,3,0)
;;=3^Problems Related to Release from Prison
;;^UTILITY(U,$J,358.3,34286,1,4,0)
;;=4^Z65.2
;;^UTILITY(U,$J,358.3,34286,2)
;;=^5063181
;;^UTILITY(U,$J,358.3,34287,0)
;;=Z65.3^^134^1738^3
;;^UTILITY(U,$J,358.3,34287,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34287,1,3,0)
;;=3^Problems Related to Other Legal Circumstances
;;^UTILITY(U,$J,358.3,34287,1,4,0)
;;=4^Z65.3
;;^UTILITY(U,$J,358.3,34287,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,34288,0)
;;=Z65.1^^134^1738^2
;;^UTILITY(U,$J,358.3,34288,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34288,1,3,0)
;;=3^Imprisonment or Other Incarceration
;;^UTILITY(U,$J,358.3,34288,1,4,0)
;;=4^Z65.1
;;^UTILITY(U,$J,358.3,34288,2)
;;=^5063180
;;^UTILITY(U,$J,358.3,34289,0)
;;=Z64.0^^134^1739^6
;;^UTILITY(U,$J,358.3,34289,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34289,1,3,0)
;;=3^Problems Related to Unwanted Pregnancy
;;^UTILITY(U,$J,358.3,34289,1,4,0)
;;=4^Z64.0
;;^UTILITY(U,$J,358.3,34289,2)
;;=^5063176
;;^UTILITY(U,$J,358.3,34290,0)
;;=Z64.1^^134^1739^3
;;^UTILITY(U,$J,358.3,34290,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34290,1,3,0)
;;=3^Problems Related to Multiparity
;;^UTILITY(U,$J,358.3,34290,1,4,0)
;;=4^Z64.1
;;^UTILITY(U,$J,358.3,34290,2)
;;=^5063177
;;^UTILITY(U,$J,358.3,34291,0)
;;=Z64.4^^134^1739^1
;;^UTILITY(U,$J,358.3,34291,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34291,1,3,0)
;;=3^Discord w/ Counselors
;;^UTILITY(U,$J,358.3,34291,1,4,0)
;;=4^Z64.4
;;^UTILITY(U,$J,358.3,34291,2)
;;=^5063178
;;^UTILITY(U,$J,358.3,34292,0)
;;=Z65.5^^134^1739^2
;;^UTILITY(U,$J,358.3,34292,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34292,1,3,0)
;;=3^Exposure to Disaster,War or Other Hostilities
;;^UTILITY(U,$J,358.3,34292,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,34292,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,34293,0)
;;=Z65.8^^134^1739^4
;;^UTILITY(U,$J,358.3,34293,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34293,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Other
;;^UTILITY(U,$J,358.3,34293,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,34293,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,34294,0)
;;=Z65.9^^134^1739^5
;;^UTILITY(U,$J,358.3,34294,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34294,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Unspec
;;^UTILITY(U,$J,358.3,34294,1,4,0)
;;=4^Z65.9
;;^UTILITY(U,$J,358.3,34294,2)
;;=^5063186
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI25C 3759 printed Dec 13, 2024@02:22:05 Page 2
IBDEI25C ; ; 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,34283,0)
+2 ;;=F07.0^^134^1737^9
+3 ;;^UTILITY(U,$J,358.3,34283,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,34283,1,3,0)
+6 ;;=3^Personality Change d/t Another Medical Condition
+7 ;;^UTILITY(U,$J,358.3,34283,1,4,0)
+8 ;;=4^F07.0
+9 ;;^UTILITY(U,$J,358.3,34283,2)
+10 ;;=^5003063
+11 ;;^UTILITY(U,$J,358.3,34284,0)
+12 ;;=Z65.4^^134^1738^5
+13 ;;^UTILITY(U,$J,358.3,34284,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,34284,1,3,0)
+16 ;;=3^Victim of Crime
+17 ;;^UTILITY(U,$J,358.3,34284,1,4,0)
+18 ;;=4^Z65.4
+19 ;;^UTILITY(U,$J,358.3,34284,2)
+20 ;;=^5063183
+21 ;;^UTILITY(U,$J,358.3,34285,0)
+22 ;;=Z65.0^^134^1738^1
+23 ;;^UTILITY(U,$J,358.3,34285,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,34285,1,3,0)
+26 ;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
+27 ;;^UTILITY(U,$J,358.3,34285,1,4,0)
+28 ;;=4^Z65.0
+29 ;;^UTILITY(U,$J,358.3,34285,2)
+30 ;;=^5063179
+31 ;;^UTILITY(U,$J,358.3,34286,0)
+32 ;;=Z65.2^^134^1738^4
+33 ;;^UTILITY(U,$J,358.3,34286,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,34286,1,3,0)
+36 ;;=3^Problems Related to Release from Prison
+37 ;;^UTILITY(U,$J,358.3,34286,1,4,0)
+38 ;;=4^Z65.2
+39 ;;^UTILITY(U,$J,358.3,34286,2)
+40 ;;=^5063181
+41 ;;^UTILITY(U,$J,358.3,34287,0)
+42 ;;=Z65.3^^134^1738^3
+43 ;;^UTILITY(U,$J,358.3,34287,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,34287,1,3,0)
+46 ;;=3^Problems Related to Other Legal Circumstances
+47 ;;^UTILITY(U,$J,358.3,34287,1,4,0)
+48 ;;=4^Z65.3
+49 ;;^UTILITY(U,$J,358.3,34287,2)
+50 ;;=^5063182
+51 ;;^UTILITY(U,$J,358.3,34288,0)
+52 ;;=Z65.1^^134^1738^2
+53 ;;^UTILITY(U,$J,358.3,34288,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,34288,1,3,0)
+56 ;;=3^Imprisonment or Other Incarceration
+57 ;;^UTILITY(U,$J,358.3,34288,1,4,0)
+58 ;;=4^Z65.1
+59 ;;^UTILITY(U,$J,358.3,34288,2)
+60 ;;=^5063180
+61 ;;^UTILITY(U,$J,358.3,34289,0)
+62 ;;=Z64.0^^134^1739^6
+63 ;;^UTILITY(U,$J,358.3,34289,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,34289,1,3,0)
+66 ;;=3^Problems Related to Unwanted Pregnancy
+67 ;;^UTILITY(U,$J,358.3,34289,1,4,0)
+68 ;;=4^Z64.0
+69 ;;^UTILITY(U,$J,358.3,34289,2)
+70 ;;=^5063176
+71 ;;^UTILITY(U,$J,358.3,34290,0)
+72 ;;=Z64.1^^134^1739^3
+73 ;;^UTILITY(U,$J,358.3,34290,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,34290,1,3,0)
+76 ;;=3^Problems Related to Multiparity
+77 ;;^UTILITY(U,$J,358.3,34290,1,4,0)
+78 ;;=4^Z64.1
+79 ;;^UTILITY(U,$J,358.3,34290,2)
+80 ;;=^5063177
+81 ;;^UTILITY(U,$J,358.3,34291,0)
+82 ;;=Z64.4^^134^1739^1
+83 ;;^UTILITY(U,$J,358.3,34291,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,34291,1,3,0)
+86 ;;=3^Discord w/ Counselors
+87 ;;^UTILITY(U,$J,358.3,34291,1,4,0)
+88 ;;=4^Z64.4
+89 ;;^UTILITY(U,$J,358.3,34291,2)
+90 ;;=^5063178
+91 ;;^UTILITY(U,$J,358.3,34292,0)
+92 ;;=Z65.5^^134^1739^2
+93 ;;^UTILITY(U,$J,358.3,34292,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,34292,1,3,0)
+96 ;;=3^Exposure to Disaster,War or Other Hostilities
+97 ;;^UTILITY(U,$J,358.3,34292,1,4,0)
+98 ;;=4^Z65.5
+99 ;;^UTILITY(U,$J,358.3,34292,2)
+100 ;;=^5063184
+101 ;;^UTILITY(U,$J,358.3,34293,0)
+102 ;;=Z65.8^^134^1739^4
+103 ;;^UTILITY(U,$J,358.3,34293,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,34293,1,3,0)
+106 ;;=3^Problems Related to Psychosocial Circumstances,Other
+107 ;;^UTILITY(U,$J,358.3,34293,1,4,0)
+108 ;;=4^Z65.8
+109 ;;^UTILITY(U,$J,358.3,34293,2)
+110 ;;=^5063185
+111 ;;^UTILITY(U,$J,358.3,34294,0)
+112 ;;=Z65.9^^134^1739^5
+113 ;;^UTILITY(U,$J,358.3,34294,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,34294,1,3,0)
+116 ;;=3^Problems Related to Psychosocial Circumstances,Unspec
+117 ;;^UTILITY(U,$J,358.3,34294,1,4,0)
+118 ;;=4^Z65.9
+119 ;;^UTILITY(U,$J,358.3,34294,2)
+120 ;;=^5063186