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