IBDEI1KP ; ; 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,25506,1,3,0)
;;=3^Exhibitionistic D/O
;;^UTILITY(U,$J,358.3,25506,1,4,0)
;;=4^F65.2
;;^UTILITY(U,$J,358.3,25506,2)
;;=^5003653
;;^UTILITY(U,$J,358.3,25507,0)
;;=F65.3^^92^1162^10
;;^UTILITY(U,$J,358.3,25507,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25507,1,3,0)
;;=3^Voyeuristic D/O
;;^UTILITY(U,$J,358.3,25507,1,4,0)
;;=4^F65.3
;;^UTILITY(U,$J,358.3,25507,2)
;;=^5003654
;;^UTILITY(U,$J,358.3,25508,0)
;;=F65.81^^92^1162^3
;;^UTILITY(U,$J,358.3,25508,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25508,1,3,0)
;;=3^Frotteuristic D/O
;;^UTILITY(U,$J,358.3,25508,1,4,0)
;;=4^F65.81
;;^UTILITY(U,$J,358.3,25508,2)
;;=^5003659
;;^UTILITY(U,$J,358.3,25509,0)
;;=F65.51^^92^1162^7
;;^UTILITY(U,$J,358.3,25509,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25509,1,3,0)
;;=3^Sexual Masochism D/O
;;^UTILITY(U,$J,358.3,25509,1,4,0)
;;=4^F65.51
;;^UTILITY(U,$J,358.3,25509,2)
;;=^5003657
;;^UTILITY(U,$J,358.3,25510,0)
;;=F65.52^^92^1162^8
;;^UTILITY(U,$J,358.3,25510,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25510,1,3,0)
;;=3^Sexual Sadism D/O
;;^UTILITY(U,$J,358.3,25510,1,4,0)
;;=4^F65.52
;;^UTILITY(U,$J,358.3,25510,2)
;;=^5003658
;;^UTILITY(U,$J,358.3,25511,0)
;;=F65.0^^92^1162^2
;;^UTILITY(U,$J,358.3,25511,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25511,1,3,0)
;;=3^Fetishistic D/O
;;^UTILITY(U,$J,358.3,25511,1,4,0)
;;=4^F65.0
;;^UTILITY(U,$J,358.3,25511,2)
;;=^5003651
;;^UTILITY(U,$J,358.3,25512,0)
;;=F65.1^^92^1162^9
;;^UTILITY(U,$J,358.3,25512,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25512,1,3,0)
;;=3^Transvestic D/O
;;^UTILITY(U,$J,358.3,25512,1,4,0)
;;=4^F65.1
;;^UTILITY(U,$J,358.3,25512,2)
;;=^5003652
;;^UTILITY(U,$J,358.3,25513,0)
;;=F65.89^^92^1162^4
;;^UTILITY(U,$J,358.3,25513,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25513,1,3,0)
;;=3^Paraphilic D/O,Other Specified
;;^UTILITY(U,$J,358.3,25513,1,4,0)
;;=4^F65.89
;;^UTILITY(U,$J,358.3,25513,2)
;;=^5003660
;;^UTILITY(U,$J,358.3,25514,0)
;;=F65.9^^92^1162^5
;;^UTILITY(U,$J,358.3,25514,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25514,1,3,0)
;;=3^Paraphilic D/O,Unspec
;;^UTILITY(U,$J,358.3,25514,1,4,0)
;;=4^F65.9
;;^UTILITY(U,$J,358.3,25514,2)
;;=^5003661
;;^UTILITY(U,$J,358.3,25515,0)
;;=F60.0^^92^1163^8
;;^UTILITY(U,$J,358.3,25515,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25515,1,3,0)
;;=3^Paranoid Personality D/O
;;^UTILITY(U,$J,358.3,25515,1,4,0)
;;=4^F60.0
;;^UTILITY(U,$J,358.3,25515,2)
;;=^5003635
;;^UTILITY(U,$J,358.3,25516,0)
;;=F60.1^^92^1163^12
;;^UTILITY(U,$J,358.3,25516,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25516,1,3,0)
;;=3^Schizoid Personality D/O
;;^UTILITY(U,$J,358.3,25516,1,4,0)
;;=4^F60.1
;;^UTILITY(U,$J,358.3,25516,2)
;;=^108271
;;^UTILITY(U,$J,358.3,25517,0)
;;=F21.^^92^1163^13
;;^UTILITY(U,$J,358.3,25517,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25517,1,3,0)
;;=3^Schizotypal Personality D/O
;;^UTILITY(U,$J,358.3,25517,1,4,0)
;;=4^F21.
;;^UTILITY(U,$J,358.3,25517,2)
;;=^5003477
;;^UTILITY(U,$J,358.3,25518,0)
;;=F60.5^^92^1163^7
;;^UTILITY(U,$J,358.3,25518,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25518,1,3,0)
;;=3^Obsessive-Compulsive Personality D/O
;;^UTILITY(U,$J,358.3,25518,1,4,0)
;;=4^F60.5
;;^UTILITY(U,$J,358.3,25518,2)
;;=^331918
;;^UTILITY(U,$J,358.3,25519,0)
;;=F60.4^^92^1163^5
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1KP 3752 printed Dec 13, 2024@02:10:36 Page 2
IBDEI1KP ; ; 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,25506,1,3,0)
+2 ;;=3^Exhibitionistic D/O
+3 ;;^UTILITY(U,$J,358.3,25506,1,4,0)
+4 ;;=4^F65.2
+5 ;;^UTILITY(U,$J,358.3,25506,2)
+6 ;;=^5003653
+7 ;;^UTILITY(U,$J,358.3,25507,0)
+8 ;;=F65.3^^92^1162^10
+9 ;;^UTILITY(U,$J,358.3,25507,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,25507,1,3,0)
+12 ;;=3^Voyeuristic D/O
+13 ;;^UTILITY(U,$J,358.3,25507,1,4,0)
+14 ;;=4^F65.3
+15 ;;^UTILITY(U,$J,358.3,25507,2)
+16 ;;=^5003654
+17 ;;^UTILITY(U,$J,358.3,25508,0)
+18 ;;=F65.81^^92^1162^3
+19 ;;^UTILITY(U,$J,358.3,25508,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,25508,1,3,0)
+22 ;;=3^Frotteuristic D/O
+23 ;;^UTILITY(U,$J,358.3,25508,1,4,0)
+24 ;;=4^F65.81
+25 ;;^UTILITY(U,$J,358.3,25508,2)
+26 ;;=^5003659
+27 ;;^UTILITY(U,$J,358.3,25509,0)
+28 ;;=F65.51^^92^1162^7
+29 ;;^UTILITY(U,$J,358.3,25509,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,25509,1,3,0)
+32 ;;=3^Sexual Masochism D/O
+33 ;;^UTILITY(U,$J,358.3,25509,1,4,0)
+34 ;;=4^F65.51
+35 ;;^UTILITY(U,$J,358.3,25509,2)
+36 ;;=^5003657
+37 ;;^UTILITY(U,$J,358.3,25510,0)
+38 ;;=F65.52^^92^1162^8
+39 ;;^UTILITY(U,$J,358.3,25510,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,25510,1,3,0)
+42 ;;=3^Sexual Sadism D/O
+43 ;;^UTILITY(U,$J,358.3,25510,1,4,0)
+44 ;;=4^F65.52
+45 ;;^UTILITY(U,$J,358.3,25510,2)
+46 ;;=^5003658
+47 ;;^UTILITY(U,$J,358.3,25511,0)
+48 ;;=F65.0^^92^1162^2
+49 ;;^UTILITY(U,$J,358.3,25511,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,25511,1,3,0)
+52 ;;=3^Fetishistic D/O
+53 ;;^UTILITY(U,$J,358.3,25511,1,4,0)
+54 ;;=4^F65.0
+55 ;;^UTILITY(U,$J,358.3,25511,2)
+56 ;;=^5003651
+57 ;;^UTILITY(U,$J,358.3,25512,0)
+58 ;;=F65.1^^92^1162^9
+59 ;;^UTILITY(U,$J,358.3,25512,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,25512,1,3,0)
+62 ;;=3^Transvestic D/O
+63 ;;^UTILITY(U,$J,358.3,25512,1,4,0)
+64 ;;=4^F65.1
+65 ;;^UTILITY(U,$J,358.3,25512,2)
+66 ;;=^5003652
+67 ;;^UTILITY(U,$J,358.3,25513,0)
+68 ;;=F65.89^^92^1162^4
+69 ;;^UTILITY(U,$J,358.3,25513,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,25513,1,3,0)
+72 ;;=3^Paraphilic D/O,Other Specified
+73 ;;^UTILITY(U,$J,358.3,25513,1,4,0)
+74 ;;=4^F65.89
+75 ;;^UTILITY(U,$J,358.3,25513,2)
+76 ;;=^5003660
+77 ;;^UTILITY(U,$J,358.3,25514,0)
+78 ;;=F65.9^^92^1162^5
+79 ;;^UTILITY(U,$J,358.3,25514,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,25514,1,3,0)
+82 ;;=3^Paraphilic D/O,Unspec
+83 ;;^UTILITY(U,$J,358.3,25514,1,4,0)
+84 ;;=4^F65.9
+85 ;;^UTILITY(U,$J,358.3,25514,2)
+86 ;;=^5003661
+87 ;;^UTILITY(U,$J,358.3,25515,0)
+88 ;;=F60.0^^92^1163^8
+89 ;;^UTILITY(U,$J,358.3,25515,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,25515,1,3,0)
+92 ;;=3^Paranoid Personality D/O
+93 ;;^UTILITY(U,$J,358.3,25515,1,4,0)
+94 ;;=4^F60.0
+95 ;;^UTILITY(U,$J,358.3,25515,2)
+96 ;;=^5003635
+97 ;;^UTILITY(U,$J,358.3,25516,0)
+98 ;;=F60.1^^92^1163^12
+99 ;;^UTILITY(U,$J,358.3,25516,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,25516,1,3,0)
+102 ;;=3^Schizoid Personality D/O
+103 ;;^UTILITY(U,$J,358.3,25516,1,4,0)
+104 ;;=4^F60.1
+105 ;;^UTILITY(U,$J,358.3,25516,2)
+106 ;;=^108271
+107 ;;^UTILITY(U,$J,358.3,25517,0)
+108 ;;=F21.^^92^1163^13
+109 ;;^UTILITY(U,$J,358.3,25517,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,25517,1,3,0)
+112 ;;=3^Schizotypal Personality D/O
+113 ;;^UTILITY(U,$J,358.3,25517,1,4,0)
+114 ;;=4^F21.
+115 ;;^UTILITY(U,$J,358.3,25517,2)
+116 ;;=^5003477
+117 ;;^UTILITY(U,$J,358.3,25518,0)
+118 ;;=F60.5^^92^1163^7
+119 ;;^UTILITY(U,$J,358.3,25518,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,25518,1,3,0)
+122 ;;=3^Obsessive-Compulsive Personality D/O
+123 ;;^UTILITY(U,$J,358.3,25518,1,4,0)
+124 ;;=4^F60.5
+125 ;;^UTILITY(U,$J,358.3,25518,2)
+126 ;;=^331918
+127 ;;^UTILITY(U,$J,358.3,25519,0)
+128 ;;=F60.4^^92^1163^5