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