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