IBDEI1QI ; ; 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,27721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27721,1,3,0)
;;=3^Paraphilic D/O,Unspec
;;^UTILITY(U,$J,358.3,27721,1,4,0)
;;=4^F65.9
;;^UTILITY(U,$J,358.3,27721,2)
;;=^5003661
;;^UTILITY(U,$J,358.3,27722,0)
;;=F60.0^^113^1353^8
;;^UTILITY(U,$J,358.3,27722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27722,1,3,0)
;;=3^Paranoid Personality D/O
;;^UTILITY(U,$J,358.3,27722,1,4,0)
;;=4^F60.0
;;^UTILITY(U,$J,358.3,27722,2)
;;=^5003635
;;^UTILITY(U,$J,358.3,27723,0)
;;=F60.1^^113^1353^12
;;^UTILITY(U,$J,358.3,27723,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27723,1,3,0)
;;=3^Schizoid Personality D/O
;;^UTILITY(U,$J,358.3,27723,1,4,0)
;;=4^F60.1
;;^UTILITY(U,$J,358.3,27723,2)
;;=^108271
;;^UTILITY(U,$J,358.3,27724,0)
;;=F21.^^113^1353^13
;;^UTILITY(U,$J,358.3,27724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27724,1,3,0)
;;=3^Schizotypal Personality D/O
;;^UTILITY(U,$J,358.3,27724,1,4,0)
;;=4^F21.
;;^UTILITY(U,$J,358.3,27724,2)
;;=^5003477
;;^UTILITY(U,$J,358.3,27725,0)
;;=F60.5^^113^1353^7
;;^UTILITY(U,$J,358.3,27725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27725,1,3,0)
;;=3^Obsessive-Compulsive Personality D/O
;;^UTILITY(U,$J,358.3,27725,1,4,0)
;;=4^F60.5
;;^UTILITY(U,$J,358.3,27725,2)
;;=^331918
;;^UTILITY(U,$J,358.3,27726,0)
;;=F60.4^^113^1353^5
;;^UTILITY(U,$J,358.3,27726,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27726,1,3,0)
;;=3^Histrionic Personality D/O
;;^UTILITY(U,$J,358.3,27726,1,4,0)
;;=4^F60.4
;;^UTILITY(U,$J,358.3,27726,2)
;;=^5003636
;;^UTILITY(U,$J,358.3,27727,0)
;;=F60.7^^113^1353^4
;;^UTILITY(U,$J,358.3,27727,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27727,1,3,0)
;;=3^Dependent Personality D/O
;;^UTILITY(U,$J,358.3,27727,1,4,0)
;;=4^F60.7
;;^UTILITY(U,$J,358.3,27727,2)
;;=^5003637
;;^UTILITY(U,$J,358.3,27728,0)
;;=F60.2^^113^1353^1
;;^UTILITY(U,$J,358.3,27728,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27728,1,3,0)
;;=3^Antisocial Personality D/O
;;^UTILITY(U,$J,358.3,27728,1,4,0)
;;=4^F60.2
;;^UTILITY(U,$J,358.3,27728,2)
;;=^9066
;;^UTILITY(U,$J,358.3,27729,0)
;;=F60.81^^113^1353^6
;;^UTILITY(U,$J,358.3,27729,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27729,1,3,0)
;;=3^Narcissistic Personality D/O
;;^UTILITY(U,$J,358.3,27729,1,4,0)
;;=4^F60.81
;;^UTILITY(U,$J,358.3,27729,2)
;;=^331919
;;^UTILITY(U,$J,358.3,27730,0)
;;=F60.6^^113^1353^2
;;^UTILITY(U,$J,358.3,27730,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27730,1,3,0)
;;=3^Avoidant Personality D/O
;;^UTILITY(U,$J,358.3,27730,1,4,0)
;;=4^F60.6
;;^UTILITY(U,$J,358.3,27730,2)
;;=^331920
;;^UTILITY(U,$J,358.3,27731,0)
;;=F60.3^^113^1353^3
;;^UTILITY(U,$J,358.3,27731,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27731,1,3,0)
;;=3^Borderline Personality D/O
;;^UTILITY(U,$J,358.3,27731,1,4,0)
;;=4^F60.3
;;^UTILITY(U,$J,358.3,27731,2)
;;=^331921
;;^UTILITY(U,$J,358.3,27732,0)
;;=F60.89^^113^1353^10
;;^UTILITY(U,$J,358.3,27732,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27732,1,3,0)
;;=3^Personality D/O,Oth Spec
;;^UTILITY(U,$J,358.3,27732,1,4,0)
;;=4^F60.89
;;^UTILITY(U,$J,358.3,27732,2)
;;=^5003638
;;^UTILITY(U,$J,358.3,27733,0)
;;=F60.9^^113^1353^11
;;^UTILITY(U,$J,358.3,27733,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27733,1,3,0)
;;=3^Personality D/O,Unspec
;;^UTILITY(U,$J,358.3,27733,1,4,0)
;;=4^F60.9
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QI 3760 printed Dec 13, 2024@02:13:50 Page 2
IBDEI1QI ; ; 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,27721,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,27721,1,3,0)
+4 ;;=3^Paraphilic D/O,Unspec
+5 ;;^UTILITY(U,$J,358.3,27721,1,4,0)
+6 ;;=4^F65.9
+7 ;;^UTILITY(U,$J,358.3,27721,2)
+8 ;;=^5003661
+9 ;;^UTILITY(U,$J,358.3,27722,0)
+10 ;;=F60.0^^113^1353^8
+11 ;;^UTILITY(U,$J,358.3,27722,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,27722,1,3,0)
+14 ;;=3^Paranoid Personality D/O
+15 ;;^UTILITY(U,$J,358.3,27722,1,4,0)
+16 ;;=4^F60.0
+17 ;;^UTILITY(U,$J,358.3,27722,2)
+18 ;;=^5003635
+19 ;;^UTILITY(U,$J,358.3,27723,0)
+20 ;;=F60.1^^113^1353^12
+21 ;;^UTILITY(U,$J,358.3,27723,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,27723,1,3,0)
+24 ;;=3^Schizoid Personality D/O
+25 ;;^UTILITY(U,$J,358.3,27723,1,4,0)
+26 ;;=4^F60.1
+27 ;;^UTILITY(U,$J,358.3,27723,2)
+28 ;;=^108271
+29 ;;^UTILITY(U,$J,358.3,27724,0)
+30 ;;=F21.^^113^1353^13
+31 ;;^UTILITY(U,$J,358.3,27724,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,27724,1,3,0)
+34 ;;=3^Schizotypal Personality D/O
+35 ;;^UTILITY(U,$J,358.3,27724,1,4,0)
+36 ;;=4^F21.
+37 ;;^UTILITY(U,$J,358.3,27724,2)
+38 ;;=^5003477
+39 ;;^UTILITY(U,$J,358.3,27725,0)
+40 ;;=F60.5^^113^1353^7
+41 ;;^UTILITY(U,$J,358.3,27725,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,27725,1,3,0)
+44 ;;=3^Obsessive-Compulsive Personality D/O
+45 ;;^UTILITY(U,$J,358.3,27725,1,4,0)
+46 ;;=4^F60.5
+47 ;;^UTILITY(U,$J,358.3,27725,2)
+48 ;;=^331918
+49 ;;^UTILITY(U,$J,358.3,27726,0)
+50 ;;=F60.4^^113^1353^5
+51 ;;^UTILITY(U,$J,358.3,27726,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,27726,1,3,0)
+54 ;;=3^Histrionic Personality D/O
+55 ;;^UTILITY(U,$J,358.3,27726,1,4,0)
+56 ;;=4^F60.4
+57 ;;^UTILITY(U,$J,358.3,27726,2)
+58 ;;=^5003636
+59 ;;^UTILITY(U,$J,358.3,27727,0)
+60 ;;=F60.7^^113^1353^4
+61 ;;^UTILITY(U,$J,358.3,27727,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,27727,1,3,0)
+64 ;;=3^Dependent Personality D/O
+65 ;;^UTILITY(U,$J,358.3,27727,1,4,0)
+66 ;;=4^F60.7
+67 ;;^UTILITY(U,$J,358.3,27727,2)
+68 ;;=^5003637
+69 ;;^UTILITY(U,$J,358.3,27728,0)
+70 ;;=F60.2^^113^1353^1
+71 ;;^UTILITY(U,$J,358.3,27728,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,27728,1,3,0)
+74 ;;=3^Antisocial Personality D/O
+75 ;;^UTILITY(U,$J,358.3,27728,1,4,0)
+76 ;;=4^F60.2
+77 ;;^UTILITY(U,$J,358.3,27728,2)
+78 ;;=^9066
+79 ;;^UTILITY(U,$J,358.3,27729,0)
+80 ;;=F60.81^^113^1353^6
+81 ;;^UTILITY(U,$J,358.3,27729,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,27729,1,3,0)
+84 ;;=3^Narcissistic Personality D/O
+85 ;;^UTILITY(U,$J,358.3,27729,1,4,0)
+86 ;;=4^F60.81
+87 ;;^UTILITY(U,$J,358.3,27729,2)
+88 ;;=^331919
+89 ;;^UTILITY(U,$J,358.3,27730,0)
+90 ;;=F60.6^^113^1353^2
+91 ;;^UTILITY(U,$J,358.3,27730,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,27730,1,3,0)
+94 ;;=3^Avoidant Personality D/O
+95 ;;^UTILITY(U,$J,358.3,27730,1,4,0)
+96 ;;=4^F60.6
+97 ;;^UTILITY(U,$J,358.3,27730,2)
+98 ;;=^331920
+99 ;;^UTILITY(U,$J,358.3,27731,0)
+100 ;;=F60.3^^113^1353^3
+101 ;;^UTILITY(U,$J,358.3,27731,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,27731,1,3,0)
+104 ;;=3^Borderline Personality D/O
+105 ;;^UTILITY(U,$J,358.3,27731,1,4,0)
+106 ;;=4^F60.3
+107 ;;^UTILITY(U,$J,358.3,27731,2)
+108 ;;=^331921
+109 ;;^UTILITY(U,$J,358.3,27732,0)
+110 ;;=F60.89^^113^1353^10
+111 ;;^UTILITY(U,$J,358.3,27732,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,27732,1,3,0)
+114 ;;=3^Personality D/O,Oth Spec
+115 ;;^UTILITY(U,$J,358.3,27732,1,4,0)
+116 ;;=4^F60.89
+117 ;;^UTILITY(U,$J,358.3,27732,2)
+118 ;;=^5003638
+119 ;;^UTILITY(U,$J,358.3,27733,0)
+120 ;;=F60.9^^113^1353^11
+121 ;;^UTILITY(U,$J,358.3,27733,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,27733,1,3,0)
+124 ;;=3^Personality D/O,Unspec
+125 ;;^UTILITY(U,$J,358.3,27733,1,4,0)
+126 ;;=4^F60.9