IBDEI1S5 ; ; 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,28432,0)
;;=F21.^^115^1399^13
;;^UTILITY(U,$J,358.3,28432,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28432,1,3,0)
;;=3^Schizotypal Personality D/O
;;^UTILITY(U,$J,358.3,28432,1,4,0)
;;=4^F21.
;;^UTILITY(U,$J,358.3,28432,2)
;;=^5003477
;;^UTILITY(U,$J,358.3,28433,0)
;;=F60.5^^115^1399^7
;;^UTILITY(U,$J,358.3,28433,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28433,1,3,0)
;;=3^Obsessive-Compulsive Personality D/O
;;^UTILITY(U,$J,358.3,28433,1,4,0)
;;=4^F60.5
;;^UTILITY(U,$J,358.3,28433,2)
;;=^331918
;;^UTILITY(U,$J,358.3,28434,0)
;;=F60.4^^115^1399^5
;;^UTILITY(U,$J,358.3,28434,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28434,1,3,0)
;;=3^Histrionic Personality D/O
;;^UTILITY(U,$J,358.3,28434,1,4,0)
;;=4^F60.4
;;^UTILITY(U,$J,358.3,28434,2)
;;=^5003636
;;^UTILITY(U,$J,358.3,28435,0)
;;=F60.7^^115^1399^4
;;^UTILITY(U,$J,358.3,28435,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28435,1,3,0)
;;=3^Dependent Personality D/O
;;^UTILITY(U,$J,358.3,28435,1,4,0)
;;=4^F60.7
;;^UTILITY(U,$J,358.3,28435,2)
;;=^5003637
;;^UTILITY(U,$J,358.3,28436,0)
;;=F60.2^^115^1399^1
;;^UTILITY(U,$J,358.3,28436,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28436,1,3,0)
;;=3^Antisocial Personality D/O
;;^UTILITY(U,$J,358.3,28436,1,4,0)
;;=4^F60.2
;;^UTILITY(U,$J,358.3,28436,2)
;;=^9066
;;^UTILITY(U,$J,358.3,28437,0)
;;=F60.81^^115^1399^6
;;^UTILITY(U,$J,358.3,28437,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28437,1,3,0)
;;=3^Narcissistic Personality D/O
;;^UTILITY(U,$J,358.3,28437,1,4,0)
;;=4^F60.81
;;^UTILITY(U,$J,358.3,28437,2)
;;=^331919
;;^UTILITY(U,$J,358.3,28438,0)
;;=F60.6^^115^1399^2
;;^UTILITY(U,$J,358.3,28438,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28438,1,3,0)
;;=3^Avoidant Personality D/O
;;^UTILITY(U,$J,358.3,28438,1,4,0)
;;=4^F60.6
;;^UTILITY(U,$J,358.3,28438,2)
;;=^331920
;;^UTILITY(U,$J,358.3,28439,0)
;;=F60.3^^115^1399^3
;;^UTILITY(U,$J,358.3,28439,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28439,1,3,0)
;;=3^Borderline Personality D/O
;;^UTILITY(U,$J,358.3,28439,1,4,0)
;;=4^F60.3
;;^UTILITY(U,$J,358.3,28439,2)
;;=^331921
;;^UTILITY(U,$J,358.3,28440,0)
;;=F60.89^^115^1399^10
;;^UTILITY(U,$J,358.3,28440,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28440,1,3,0)
;;=3^Personality D/O,Oth Spec
;;^UTILITY(U,$J,358.3,28440,1,4,0)
;;=4^F60.89
;;^UTILITY(U,$J,358.3,28440,2)
;;=^5003638
;;^UTILITY(U,$J,358.3,28441,0)
;;=F60.9^^115^1399^11
;;^UTILITY(U,$J,358.3,28441,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28441,1,3,0)
;;=3^Personality D/O,Unspec
;;^UTILITY(U,$J,358.3,28441,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,28441,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,28442,0)
;;=F07.0^^115^1399^9
;;^UTILITY(U,$J,358.3,28442,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28442,1,3,0)
;;=3^Personality Change d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,28442,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,28442,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,28443,0)
;;=Z65.4^^115^1400^5
;;^UTILITY(U,$J,358.3,28443,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28443,1,3,0)
;;=3^Victim of Crime
;;^UTILITY(U,$J,358.3,28443,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,28443,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,28444,0)
;;=Z65.0^^115^1400^1
;;^UTILITY(U,$J,358.3,28444,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28444,1,3,0)
;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1S5 3817 printed Dec 13, 2024@02:14:44 Page 2
IBDEI1S5 ; ; 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,28432,0)
+2 ;;=F21.^^115^1399^13
+3 ;;^UTILITY(U,$J,358.3,28432,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,28432,1,3,0)
+6 ;;=3^Schizotypal Personality D/O
+7 ;;^UTILITY(U,$J,358.3,28432,1,4,0)
+8 ;;=4^F21.
+9 ;;^UTILITY(U,$J,358.3,28432,2)
+10 ;;=^5003477
+11 ;;^UTILITY(U,$J,358.3,28433,0)
+12 ;;=F60.5^^115^1399^7
+13 ;;^UTILITY(U,$J,358.3,28433,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,28433,1,3,0)
+16 ;;=3^Obsessive-Compulsive Personality D/O
+17 ;;^UTILITY(U,$J,358.3,28433,1,4,0)
+18 ;;=4^F60.5
+19 ;;^UTILITY(U,$J,358.3,28433,2)
+20 ;;=^331918
+21 ;;^UTILITY(U,$J,358.3,28434,0)
+22 ;;=F60.4^^115^1399^5
+23 ;;^UTILITY(U,$J,358.3,28434,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,28434,1,3,0)
+26 ;;=3^Histrionic Personality D/O
+27 ;;^UTILITY(U,$J,358.3,28434,1,4,0)
+28 ;;=4^F60.4
+29 ;;^UTILITY(U,$J,358.3,28434,2)
+30 ;;=^5003636
+31 ;;^UTILITY(U,$J,358.3,28435,0)
+32 ;;=F60.7^^115^1399^4
+33 ;;^UTILITY(U,$J,358.3,28435,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,28435,1,3,0)
+36 ;;=3^Dependent Personality D/O
+37 ;;^UTILITY(U,$J,358.3,28435,1,4,0)
+38 ;;=4^F60.7
+39 ;;^UTILITY(U,$J,358.3,28435,2)
+40 ;;=^5003637
+41 ;;^UTILITY(U,$J,358.3,28436,0)
+42 ;;=F60.2^^115^1399^1
+43 ;;^UTILITY(U,$J,358.3,28436,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,28436,1,3,0)
+46 ;;=3^Antisocial Personality D/O
+47 ;;^UTILITY(U,$J,358.3,28436,1,4,0)
+48 ;;=4^F60.2
+49 ;;^UTILITY(U,$J,358.3,28436,2)
+50 ;;=^9066
+51 ;;^UTILITY(U,$J,358.3,28437,0)
+52 ;;=F60.81^^115^1399^6
+53 ;;^UTILITY(U,$J,358.3,28437,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,28437,1,3,0)
+56 ;;=3^Narcissistic Personality D/O
+57 ;;^UTILITY(U,$J,358.3,28437,1,4,0)
+58 ;;=4^F60.81
+59 ;;^UTILITY(U,$J,358.3,28437,2)
+60 ;;=^331919
+61 ;;^UTILITY(U,$J,358.3,28438,0)
+62 ;;=F60.6^^115^1399^2
+63 ;;^UTILITY(U,$J,358.3,28438,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,28438,1,3,0)
+66 ;;=3^Avoidant Personality D/O
+67 ;;^UTILITY(U,$J,358.3,28438,1,4,0)
+68 ;;=4^F60.6
+69 ;;^UTILITY(U,$J,358.3,28438,2)
+70 ;;=^331920
+71 ;;^UTILITY(U,$J,358.3,28439,0)
+72 ;;=F60.3^^115^1399^3
+73 ;;^UTILITY(U,$J,358.3,28439,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,28439,1,3,0)
+76 ;;=3^Borderline Personality D/O
+77 ;;^UTILITY(U,$J,358.3,28439,1,4,0)
+78 ;;=4^F60.3
+79 ;;^UTILITY(U,$J,358.3,28439,2)
+80 ;;=^331921
+81 ;;^UTILITY(U,$J,358.3,28440,0)
+82 ;;=F60.89^^115^1399^10
+83 ;;^UTILITY(U,$J,358.3,28440,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,28440,1,3,0)
+86 ;;=3^Personality D/O,Oth Spec
+87 ;;^UTILITY(U,$J,358.3,28440,1,4,0)
+88 ;;=4^F60.89
+89 ;;^UTILITY(U,$J,358.3,28440,2)
+90 ;;=^5003638
+91 ;;^UTILITY(U,$J,358.3,28441,0)
+92 ;;=F60.9^^115^1399^11
+93 ;;^UTILITY(U,$J,358.3,28441,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,28441,1,3,0)
+96 ;;=3^Personality D/O,Unspec
+97 ;;^UTILITY(U,$J,358.3,28441,1,4,0)
+98 ;;=4^F60.9
+99 ;;^UTILITY(U,$J,358.3,28441,2)
+100 ;;=^5003639
+101 ;;^UTILITY(U,$J,358.3,28442,0)
+102 ;;=F07.0^^115^1399^9
+103 ;;^UTILITY(U,$J,358.3,28442,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,28442,1,3,0)
+106 ;;=3^Personality Change d/t Another Medical Condition
+107 ;;^UTILITY(U,$J,358.3,28442,1,4,0)
+108 ;;=4^F07.0
+109 ;;^UTILITY(U,$J,358.3,28442,2)
+110 ;;=^5003063
+111 ;;^UTILITY(U,$J,358.3,28443,0)
+112 ;;=Z65.4^^115^1400^5
+113 ;;^UTILITY(U,$J,358.3,28443,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,28443,1,3,0)
+116 ;;=3^Victim of Crime
+117 ;;^UTILITY(U,$J,358.3,28443,1,4,0)
+118 ;;=4^Z65.4
+119 ;;^UTILITY(U,$J,358.3,28443,2)
+120 ;;=^5063183
+121 ;;^UTILITY(U,$J,358.3,28444,0)
+122 ;;=Z65.0^^115^1400^1
+123 ;;^UTILITY(U,$J,358.3,28444,1,0)
+124 ;;=^358.31IA^4^2
+125 ;;^UTILITY(U,$J,358.3,28444,1,3,0)
+126 ;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment