IBDEI1S4 ; ; 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,28419,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28419,1,3,0)
;;=3^Problem Related to Social Environment,Unspec
;;^UTILITY(U,$J,358.3,28419,1,4,0)
;;=4^Z60.9
;;^UTILITY(U,$J,358.3,28419,2)
;;=^5063145
;;^UTILITY(U,$J,358.3,28420,0)
;;=F65.4^^115^1398^6
;;^UTILITY(U,$J,358.3,28420,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28420,1,3,0)
;;=3^Pedophilic D/O
;;^UTILITY(U,$J,358.3,28420,1,4,0)
;;=4^F65.4
;;^UTILITY(U,$J,358.3,28420,2)
;;=^5003655
;;^UTILITY(U,$J,358.3,28421,0)
;;=F65.2^^115^1398^1
;;^UTILITY(U,$J,358.3,28421,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28421,1,3,0)
;;=3^Exhibitionistic D/O
;;^UTILITY(U,$J,358.3,28421,1,4,0)
;;=4^F65.2
;;^UTILITY(U,$J,358.3,28421,2)
;;=^5003653
;;^UTILITY(U,$J,358.3,28422,0)
;;=F65.3^^115^1398^10
;;^UTILITY(U,$J,358.3,28422,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28422,1,3,0)
;;=3^Voyeuristic D/O
;;^UTILITY(U,$J,358.3,28422,1,4,0)
;;=4^F65.3
;;^UTILITY(U,$J,358.3,28422,2)
;;=^5003654
;;^UTILITY(U,$J,358.3,28423,0)
;;=F65.81^^115^1398^3
;;^UTILITY(U,$J,358.3,28423,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28423,1,3,0)
;;=3^Frotteuristic D/O
;;^UTILITY(U,$J,358.3,28423,1,4,0)
;;=4^F65.81
;;^UTILITY(U,$J,358.3,28423,2)
;;=^5003659
;;^UTILITY(U,$J,358.3,28424,0)
;;=F65.51^^115^1398^7
;;^UTILITY(U,$J,358.3,28424,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28424,1,3,0)
;;=3^Sexual Masochism D/O
;;^UTILITY(U,$J,358.3,28424,1,4,0)
;;=4^F65.51
;;^UTILITY(U,$J,358.3,28424,2)
;;=^5003657
;;^UTILITY(U,$J,358.3,28425,0)
;;=F65.52^^115^1398^8
;;^UTILITY(U,$J,358.3,28425,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28425,1,3,0)
;;=3^Sexual Sadism D/O
;;^UTILITY(U,$J,358.3,28425,1,4,0)
;;=4^F65.52
;;^UTILITY(U,$J,358.3,28425,2)
;;=^5003658
;;^UTILITY(U,$J,358.3,28426,0)
;;=F65.0^^115^1398^2
;;^UTILITY(U,$J,358.3,28426,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28426,1,3,0)
;;=3^Fetishistic D/O
;;^UTILITY(U,$J,358.3,28426,1,4,0)
;;=4^F65.0
;;^UTILITY(U,$J,358.3,28426,2)
;;=^5003651
;;^UTILITY(U,$J,358.3,28427,0)
;;=F65.1^^115^1398^9
;;^UTILITY(U,$J,358.3,28427,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28427,1,3,0)
;;=3^Transvestic D/O
;;^UTILITY(U,$J,358.3,28427,1,4,0)
;;=4^F65.1
;;^UTILITY(U,$J,358.3,28427,2)
;;=^5003652
;;^UTILITY(U,$J,358.3,28428,0)
;;=F65.89^^115^1398^4
;;^UTILITY(U,$J,358.3,28428,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28428,1,3,0)
;;=3^Paraphilic D/O,Other Specified
;;^UTILITY(U,$J,358.3,28428,1,4,0)
;;=4^F65.89
;;^UTILITY(U,$J,358.3,28428,2)
;;=^5003660
;;^UTILITY(U,$J,358.3,28429,0)
;;=F65.9^^115^1398^5
;;^UTILITY(U,$J,358.3,28429,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28429,1,3,0)
;;=3^Paraphilic D/O,Unspec
;;^UTILITY(U,$J,358.3,28429,1,4,0)
;;=4^F65.9
;;^UTILITY(U,$J,358.3,28429,2)
;;=^5003661
;;^UTILITY(U,$J,358.3,28430,0)
;;=F60.0^^115^1399^8
;;^UTILITY(U,$J,358.3,28430,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28430,1,3,0)
;;=3^Paranoid Personality D/O
;;^UTILITY(U,$J,358.3,28430,1,4,0)
;;=4^F60.0
;;^UTILITY(U,$J,358.3,28430,2)
;;=^5003635
;;^UTILITY(U,$J,358.3,28431,0)
;;=F60.1^^115^1399^12
;;^UTILITY(U,$J,358.3,28431,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28431,1,3,0)
;;=3^Schizoid Personality D/O
;;^UTILITY(U,$J,358.3,28431,1,4,0)
;;=4^F60.1
;;^UTILITY(U,$J,358.3,28431,2)
;;=^108271
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1S4 3760 printed Nov 22, 2024@17:24:54 Page 2
IBDEI1S4 ; ; 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,28419,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,28419,1,3,0)
+4 ;;=3^Problem Related to Social Environment,Unspec
+5 ;;^UTILITY(U,$J,358.3,28419,1,4,0)
+6 ;;=4^Z60.9
+7 ;;^UTILITY(U,$J,358.3,28419,2)
+8 ;;=^5063145
+9 ;;^UTILITY(U,$J,358.3,28420,0)
+10 ;;=F65.4^^115^1398^6
+11 ;;^UTILITY(U,$J,358.3,28420,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,28420,1,3,0)
+14 ;;=3^Pedophilic D/O
+15 ;;^UTILITY(U,$J,358.3,28420,1,4,0)
+16 ;;=4^F65.4
+17 ;;^UTILITY(U,$J,358.3,28420,2)
+18 ;;=^5003655
+19 ;;^UTILITY(U,$J,358.3,28421,0)
+20 ;;=F65.2^^115^1398^1
+21 ;;^UTILITY(U,$J,358.3,28421,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,28421,1,3,0)
+24 ;;=3^Exhibitionistic D/O
+25 ;;^UTILITY(U,$J,358.3,28421,1,4,0)
+26 ;;=4^F65.2
+27 ;;^UTILITY(U,$J,358.3,28421,2)
+28 ;;=^5003653
+29 ;;^UTILITY(U,$J,358.3,28422,0)
+30 ;;=F65.3^^115^1398^10
+31 ;;^UTILITY(U,$J,358.3,28422,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,28422,1,3,0)
+34 ;;=3^Voyeuristic D/O
+35 ;;^UTILITY(U,$J,358.3,28422,1,4,0)
+36 ;;=4^F65.3
+37 ;;^UTILITY(U,$J,358.3,28422,2)
+38 ;;=^5003654
+39 ;;^UTILITY(U,$J,358.3,28423,0)
+40 ;;=F65.81^^115^1398^3
+41 ;;^UTILITY(U,$J,358.3,28423,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,28423,1,3,0)
+44 ;;=3^Frotteuristic D/O
+45 ;;^UTILITY(U,$J,358.3,28423,1,4,0)
+46 ;;=4^F65.81
+47 ;;^UTILITY(U,$J,358.3,28423,2)
+48 ;;=^5003659
+49 ;;^UTILITY(U,$J,358.3,28424,0)
+50 ;;=F65.51^^115^1398^7
+51 ;;^UTILITY(U,$J,358.3,28424,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,28424,1,3,0)
+54 ;;=3^Sexual Masochism D/O
+55 ;;^UTILITY(U,$J,358.3,28424,1,4,0)
+56 ;;=4^F65.51
+57 ;;^UTILITY(U,$J,358.3,28424,2)
+58 ;;=^5003657
+59 ;;^UTILITY(U,$J,358.3,28425,0)
+60 ;;=F65.52^^115^1398^8
+61 ;;^UTILITY(U,$J,358.3,28425,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,28425,1,3,0)
+64 ;;=3^Sexual Sadism D/O
+65 ;;^UTILITY(U,$J,358.3,28425,1,4,0)
+66 ;;=4^F65.52
+67 ;;^UTILITY(U,$J,358.3,28425,2)
+68 ;;=^5003658
+69 ;;^UTILITY(U,$J,358.3,28426,0)
+70 ;;=F65.0^^115^1398^2
+71 ;;^UTILITY(U,$J,358.3,28426,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,28426,1,3,0)
+74 ;;=3^Fetishistic D/O
+75 ;;^UTILITY(U,$J,358.3,28426,1,4,0)
+76 ;;=4^F65.0
+77 ;;^UTILITY(U,$J,358.3,28426,2)
+78 ;;=^5003651
+79 ;;^UTILITY(U,$J,358.3,28427,0)
+80 ;;=F65.1^^115^1398^9
+81 ;;^UTILITY(U,$J,358.3,28427,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,28427,1,3,0)
+84 ;;=3^Transvestic D/O
+85 ;;^UTILITY(U,$J,358.3,28427,1,4,0)
+86 ;;=4^F65.1
+87 ;;^UTILITY(U,$J,358.3,28427,2)
+88 ;;=^5003652
+89 ;;^UTILITY(U,$J,358.3,28428,0)
+90 ;;=F65.89^^115^1398^4
+91 ;;^UTILITY(U,$J,358.3,28428,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,28428,1,3,0)
+94 ;;=3^Paraphilic D/O,Other Specified
+95 ;;^UTILITY(U,$J,358.3,28428,1,4,0)
+96 ;;=4^F65.89
+97 ;;^UTILITY(U,$J,358.3,28428,2)
+98 ;;=^5003660
+99 ;;^UTILITY(U,$J,358.3,28429,0)
+100 ;;=F65.9^^115^1398^5
+101 ;;^UTILITY(U,$J,358.3,28429,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,28429,1,3,0)
+104 ;;=3^Paraphilic D/O,Unspec
+105 ;;^UTILITY(U,$J,358.3,28429,1,4,0)
+106 ;;=4^F65.9
+107 ;;^UTILITY(U,$J,358.3,28429,2)
+108 ;;=^5003661
+109 ;;^UTILITY(U,$J,358.3,28430,0)
+110 ;;=F60.0^^115^1399^8
+111 ;;^UTILITY(U,$J,358.3,28430,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,28430,1,3,0)
+114 ;;=3^Paranoid Personality D/O
+115 ;;^UTILITY(U,$J,358.3,28430,1,4,0)
+116 ;;=4^F60.0
+117 ;;^UTILITY(U,$J,358.3,28430,2)
+118 ;;=^5003635
+119 ;;^UTILITY(U,$J,358.3,28431,0)
+120 ;;=F60.1^^115^1399^12
+121 ;;^UTILITY(U,$J,358.3,28431,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,28431,1,3,0)
+124 ;;=3^Schizoid Personality D/O
+125 ;;^UTILITY(U,$J,358.3,28431,1,4,0)
+126 ;;=4^F60.1
+127 ;;^UTILITY(U,$J,358.3,28431,2)
+128 ;;=^108271