IBDEI1OQ ; ; 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,26933,1,4,0)
;;=4^F60.5
;;^UTILITY(U,$J,358.3,26933,2)
;;=^331918
;;^UTILITY(U,$J,358.3,26934,0)
;;=F60.4^^110^1299^5
;;^UTILITY(U,$J,358.3,26934,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26934,1,3,0)
;;=3^Histrionic Personality D/O
;;^UTILITY(U,$J,358.3,26934,1,4,0)
;;=4^F60.4
;;^UTILITY(U,$J,358.3,26934,2)
;;=^5003636
;;^UTILITY(U,$J,358.3,26935,0)
;;=F60.7^^110^1299^4
;;^UTILITY(U,$J,358.3,26935,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26935,1,3,0)
;;=3^Dependent Personality D/O
;;^UTILITY(U,$J,358.3,26935,1,4,0)
;;=4^F60.7
;;^UTILITY(U,$J,358.3,26935,2)
;;=^5003637
;;^UTILITY(U,$J,358.3,26936,0)
;;=F60.2^^110^1299^1
;;^UTILITY(U,$J,358.3,26936,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26936,1,3,0)
;;=3^Antisocial Personality D/O
;;^UTILITY(U,$J,358.3,26936,1,4,0)
;;=4^F60.2
;;^UTILITY(U,$J,358.3,26936,2)
;;=^9066
;;^UTILITY(U,$J,358.3,26937,0)
;;=F60.81^^110^1299^6
;;^UTILITY(U,$J,358.3,26937,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26937,1,3,0)
;;=3^Narcissistic Personality D/O
;;^UTILITY(U,$J,358.3,26937,1,4,0)
;;=4^F60.81
;;^UTILITY(U,$J,358.3,26937,2)
;;=^331919
;;^UTILITY(U,$J,358.3,26938,0)
;;=F60.6^^110^1299^2
;;^UTILITY(U,$J,358.3,26938,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26938,1,3,0)
;;=3^Avoidant Personality D/O
;;^UTILITY(U,$J,358.3,26938,1,4,0)
;;=4^F60.6
;;^UTILITY(U,$J,358.3,26938,2)
;;=^331920
;;^UTILITY(U,$J,358.3,26939,0)
;;=F60.3^^110^1299^3
;;^UTILITY(U,$J,358.3,26939,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26939,1,3,0)
;;=3^Borderline Personality D/O
;;^UTILITY(U,$J,358.3,26939,1,4,0)
;;=4^F60.3
;;^UTILITY(U,$J,358.3,26939,2)
;;=^331921
;;^UTILITY(U,$J,358.3,26940,0)
;;=F60.89^^110^1299^10
;;^UTILITY(U,$J,358.3,26940,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26940,1,3,0)
;;=3^Personality D/O,Oth Spec
;;^UTILITY(U,$J,358.3,26940,1,4,0)
;;=4^F60.89
;;^UTILITY(U,$J,358.3,26940,2)
;;=^5003638
;;^UTILITY(U,$J,358.3,26941,0)
;;=F60.9^^110^1299^11
;;^UTILITY(U,$J,358.3,26941,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26941,1,3,0)
;;=3^Personality D/O,Unspec
;;^UTILITY(U,$J,358.3,26941,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,26941,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,26942,0)
;;=F07.0^^110^1299^9
;;^UTILITY(U,$J,358.3,26942,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26942,1,3,0)
;;=3^Personality Change d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,26942,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,26942,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,26943,0)
;;=Z65.4^^110^1300^5
;;^UTILITY(U,$J,358.3,26943,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26943,1,3,0)
;;=3^Victim of Crime
;;^UTILITY(U,$J,358.3,26943,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,26943,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,26944,0)
;;=Z65.0^^110^1300^1
;;^UTILITY(U,$J,358.3,26944,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26944,1,3,0)
;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
;;^UTILITY(U,$J,358.3,26944,1,4,0)
;;=4^Z65.0
;;^UTILITY(U,$J,358.3,26944,2)
;;=^5063179
;;^UTILITY(U,$J,358.3,26945,0)
;;=Z65.2^^110^1300^4
;;^UTILITY(U,$J,358.3,26945,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,26945,1,3,0)
;;=3^Problems Related to Release from Prison
;;^UTILITY(U,$J,358.3,26945,1,4,0)
;;=4^Z65.2
;;^UTILITY(U,$J,358.3,26945,2)
;;=^5063181
;;^UTILITY(U,$J,358.3,26946,0)
;;=Z65.3^^110^1300^3
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1OQ 3792 printed Nov 22, 2024@17:23:01 Page 2
IBDEI1OQ ; ; 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,26933,1,4,0)
+2 ;;=4^F60.5
+3 ;;^UTILITY(U,$J,358.3,26933,2)
+4 ;;=^331918
+5 ;;^UTILITY(U,$J,358.3,26934,0)
+6 ;;=F60.4^^110^1299^5
+7 ;;^UTILITY(U,$J,358.3,26934,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,26934,1,3,0)
+10 ;;=3^Histrionic Personality D/O
+11 ;;^UTILITY(U,$J,358.3,26934,1,4,0)
+12 ;;=4^F60.4
+13 ;;^UTILITY(U,$J,358.3,26934,2)
+14 ;;=^5003636
+15 ;;^UTILITY(U,$J,358.3,26935,0)
+16 ;;=F60.7^^110^1299^4
+17 ;;^UTILITY(U,$J,358.3,26935,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,26935,1,3,0)
+20 ;;=3^Dependent Personality D/O
+21 ;;^UTILITY(U,$J,358.3,26935,1,4,0)
+22 ;;=4^F60.7
+23 ;;^UTILITY(U,$J,358.3,26935,2)
+24 ;;=^5003637
+25 ;;^UTILITY(U,$J,358.3,26936,0)
+26 ;;=F60.2^^110^1299^1
+27 ;;^UTILITY(U,$J,358.3,26936,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,26936,1,3,0)
+30 ;;=3^Antisocial Personality D/O
+31 ;;^UTILITY(U,$J,358.3,26936,1,4,0)
+32 ;;=4^F60.2
+33 ;;^UTILITY(U,$J,358.3,26936,2)
+34 ;;=^9066
+35 ;;^UTILITY(U,$J,358.3,26937,0)
+36 ;;=F60.81^^110^1299^6
+37 ;;^UTILITY(U,$J,358.3,26937,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,26937,1,3,0)
+40 ;;=3^Narcissistic Personality D/O
+41 ;;^UTILITY(U,$J,358.3,26937,1,4,0)
+42 ;;=4^F60.81
+43 ;;^UTILITY(U,$J,358.3,26937,2)
+44 ;;=^331919
+45 ;;^UTILITY(U,$J,358.3,26938,0)
+46 ;;=F60.6^^110^1299^2
+47 ;;^UTILITY(U,$J,358.3,26938,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,26938,1,3,0)
+50 ;;=3^Avoidant Personality D/O
+51 ;;^UTILITY(U,$J,358.3,26938,1,4,0)
+52 ;;=4^F60.6
+53 ;;^UTILITY(U,$J,358.3,26938,2)
+54 ;;=^331920
+55 ;;^UTILITY(U,$J,358.3,26939,0)
+56 ;;=F60.3^^110^1299^3
+57 ;;^UTILITY(U,$J,358.3,26939,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,26939,1,3,0)
+60 ;;=3^Borderline Personality D/O
+61 ;;^UTILITY(U,$J,358.3,26939,1,4,0)
+62 ;;=4^F60.3
+63 ;;^UTILITY(U,$J,358.3,26939,2)
+64 ;;=^331921
+65 ;;^UTILITY(U,$J,358.3,26940,0)
+66 ;;=F60.89^^110^1299^10
+67 ;;^UTILITY(U,$J,358.3,26940,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,26940,1,3,0)
+70 ;;=3^Personality D/O,Oth Spec
+71 ;;^UTILITY(U,$J,358.3,26940,1,4,0)
+72 ;;=4^F60.89
+73 ;;^UTILITY(U,$J,358.3,26940,2)
+74 ;;=^5003638
+75 ;;^UTILITY(U,$J,358.3,26941,0)
+76 ;;=F60.9^^110^1299^11
+77 ;;^UTILITY(U,$J,358.3,26941,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,26941,1,3,0)
+80 ;;=3^Personality D/O,Unspec
+81 ;;^UTILITY(U,$J,358.3,26941,1,4,0)
+82 ;;=4^F60.9
+83 ;;^UTILITY(U,$J,358.3,26941,2)
+84 ;;=^5003639
+85 ;;^UTILITY(U,$J,358.3,26942,0)
+86 ;;=F07.0^^110^1299^9
+87 ;;^UTILITY(U,$J,358.3,26942,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,26942,1,3,0)
+90 ;;=3^Personality Change d/t Another Medical Condition
+91 ;;^UTILITY(U,$J,358.3,26942,1,4,0)
+92 ;;=4^F07.0
+93 ;;^UTILITY(U,$J,358.3,26942,2)
+94 ;;=^5003063
+95 ;;^UTILITY(U,$J,358.3,26943,0)
+96 ;;=Z65.4^^110^1300^5
+97 ;;^UTILITY(U,$J,358.3,26943,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,26943,1,3,0)
+100 ;;=3^Victim of Crime
+101 ;;^UTILITY(U,$J,358.3,26943,1,4,0)
+102 ;;=4^Z65.4
+103 ;;^UTILITY(U,$J,358.3,26943,2)
+104 ;;=^5063183
+105 ;;^UTILITY(U,$J,358.3,26944,0)
+106 ;;=Z65.0^^110^1300^1
+107 ;;^UTILITY(U,$J,358.3,26944,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,26944,1,3,0)
+110 ;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
+111 ;;^UTILITY(U,$J,358.3,26944,1,4,0)
+112 ;;=4^Z65.0
+113 ;;^UTILITY(U,$J,358.3,26944,2)
+114 ;;=^5063179
+115 ;;^UTILITY(U,$J,358.3,26945,0)
+116 ;;=Z65.2^^110^1300^4
+117 ;;^UTILITY(U,$J,358.3,26945,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,26945,1,3,0)
+120 ;;=3^Problems Related to Release from Prison
+121 ;;^UTILITY(U,$J,358.3,26945,1,4,0)
+122 ;;=4^Z65.2
+123 ;;^UTILITY(U,$J,358.3,26945,2)
+124 ;;=^5063181
+125 ;;^UTILITY(U,$J,358.3,26946,0)
+126 ;;=Z65.3^^110^1300^3