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