IBDEI25A ; ; 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,34257,1,4,0)
;;=4^Z60.3
;;^UTILITY(U,$J,358.3,34257,2)
;;=^5063141
;;^UTILITY(U,$J,358.3,34258,0)
;;=Z60.4^^134^1735^5
;;^UTILITY(U,$J,358.3,34258,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34258,1,3,0)
;;=3^Social Exclusion or Rejection
;;^UTILITY(U,$J,358.3,34258,1,4,0)
;;=4^Z60.4
;;^UTILITY(U,$J,358.3,34258,2)
;;=^5063142
;;^UTILITY(U,$J,358.3,34259,0)
;;=Z60.5^^134^1735^6
;;^UTILITY(U,$J,358.3,34259,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34259,1,3,0)
;;=3^Target (Perceived) Adverse Discrimination/Persecution
;;^UTILITY(U,$J,358.3,34259,1,4,0)
;;=4^Z60.5
;;^UTILITY(U,$J,358.3,34259,2)
;;=^5063143
;;^UTILITY(U,$J,358.3,34260,0)
;;=Z60.9^^134^1735^4
;;^UTILITY(U,$J,358.3,34260,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34260,1,3,0)
;;=3^Problem Related to Social Environment,Unspec
;;^UTILITY(U,$J,358.3,34260,1,4,0)
;;=4^Z60.9
;;^UTILITY(U,$J,358.3,34260,2)
;;=^5063145
;;^UTILITY(U,$J,358.3,34261,0)
;;=F65.4^^134^1736^6
;;^UTILITY(U,$J,358.3,34261,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34261,1,3,0)
;;=3^Pedophilic D/O
;;^UTILITY(U,$J,358.3,34261,1,4,0)
;;=4^F65.4
;;^UTILITY(U,$J,358.3,34261,2)
;;=^5003655
;;^UTILITY(U,$J,358.3,34262,0)
;;=F65.2^^134^1736^1
;;^UTILITY(U,$J,358.3,34262,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34262,1,3,0)
;;=3^Exhibitionistic D/O
;;^UTILITY(U,$J,358.3,34262,1,4,0)
;;=4^F65.2
;;^UTILITY(U,$J,358.3,34262,2)
;;=^5003653
;;^UTILITY(U,$J,358.3,34263,0)
;;=F65.3^^134^1736^10
;;^UTILITY(U,$J,358.3,34263,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34263,1,3,0)
;;=3^Voyeuristic D/O
;;^UTILITY(U,$J,358.3,34263,1,4,0)
;;=4^F65.3
;;^UTILITY(U,$J,358.3,34263,2)
;;=^5003654
;;^UTILITY(U,$J,358.3,34264,0)
;;=F65.81^^134^1736^3
;;^UTILITY(U,$J,358.3,34264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34264,1,3,0)
;;=3^Frotteuristic D/O
;;^UTILITY(U,$J,358.3,34264,1,4,0)
;;=4^F65.81
;;^UTILITY(U,$J,358.3,34264,2)
;;=^5003659
;;^UTILITY(U,$J,358.3,34265,0)
;;=F65.51^^134^1736^7
;;^UTILITY(U,$J,358.3,34265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34265,1,3,0)
;;=3^Sexual Masochism D/O
;;^UTILITY(U,$J,358.3,34265,1,4,0)
;;=4^F65.51
;;^UTILITY(U,$J,358.3,34265,2)
;;=^5003657
;;^UTILITY(U,$J,358.3,34266,0)
;;=F65.52^^134^1736^8
;;^UTILITY(U,$J,358.3,34266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34266,1,3,0)
;;=3^Sexual Sadism D/O
;;^UTILITY(U,$J,358.3,34266,1,4,0)
;;=4^F65.52
;;^UTILITY(U,$J,358.3,34266,2)
;;=^5003658
;;^UTILITY(U,$J,358.3,34267,0)
;;=F65.0^^134^1736^2
;;^UTILITY(U,$J,358.3,34267,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34267,1,3,0)
;;=3^Fetishistic D/O
;;^UTILITY(U,$J,358.3,34267,1,4,0)
;;=4^F65.0
;;^UTILITY(U,$J,358.3,34267,2)
;;=^5003651
;;^UTILITY(U,$J,358.3,34268,0)
;;=F65.1^^134^1736^9
;;^UTILITY(U,$J,358.3,34268,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34268,1,3,0)
;;=3^Transvestic D/O
;;^UTILITY(U,$J,358.3,34268,1,4,0)
;;=4^F65.1
;;^UTILITY(U,$J,358.3,34268,2)
;;=^5003652
;;^UTILITY(U,$J,358.3,34269,0)
;;=F65.89^^134^1736^4
;;^UTILITY(U,$J,358.3,34269,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34269,1,3,0)
;;=3^Paraphilic D/O,Other Specified
;;^UTILITY(U,$J,358.3,34269,1,4,0)
;;=4^F65.89
;;^UTILITY(U,$J,358.3,34269,2)
;;=^5003660
;;^UTILITY(U,$J,358.3,34270,0)
;;=F65.9^^134^1736^5
;;^UTILITY(U,$J,358.3,34270,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI25A 3784 printed Oct 16, 2024@18:22:51 Page 2
IBDEI25A ; ; 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,34257,1,4,0)
+2 ;;=4^Z60.3
+3 ;;^UTILITY(U,$J,358.3,34257,2)
+4 ;;=^5063141
+5 ;;^UTILITY(U,$J,358.3,34258,0)
+6 ;;=Z60.4^^134^1735^5
+7 ;;^UTILITY(U,$J,358.3,34258,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,34258,1,3,0)
+10 ;;=3^Social Exclusion or Rejection
+11 ;;^UTILITY(U,$J,358.3,34258,1,4,0)
+12 ;;=4^Z60.4
+13 ;;^UTILITY(U,$J,358.3,34258,2)
+14 ;;=^5063142
+15 ;;^UTILITY(U,$J,358.3,34259,0)
+16 ;;=Z60.5^^134^1735^6
+17 ;;^UTILITY(U,$J,358.3,34259,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,34259,1,3,0)
+20 ;;=3^Target (Perceived) Adverse Discrimination/Persecution
+21 ;;^UTILITY(U,$J,358.3,34259,1,4,0)
+22 ;;=4^Z60.5
+23 ;;^UTILITY(U,$J,358.3,34259,2)
+24 ;;=^5063143
+25 ;;^UTILITY(U,$J,358.3,34260,0)
+26 ;;=Z60.9^^134^1735^4
+27 ;;^UTILITY(U,$J,358.3,34260,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,34260,1,3,0)
+30 ;;=3^Problem Related to Social Environment,Unspec
+31 ;;^UTILITY(U,$J,358.3,34260,1,4,0)
+32 ;;=4^Z60.9
+33 ;;^UTILITY(U,$J,358.3,34260,2)
+34 ;;=^5063145
+35 ;;^UTILITY(U,$J,358.3,34261,0)
+36 ;;=F65.4^^134^1736^6
+37 ;;^UTILITY(U,$J,358.3,34261,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,34261,1,3,0)
+40 ;;=3^Pedophilic D/O
+41 ;;^UTILITY(U,$J,358.3,34261,1,4,0)
+42 ;;=4^F65.4
+43 ;;^UTILITY(U,$J,358.3,34261,2)
+44 ;;=^5003655
+45 ;;^UTILITY(U,$J,358.3,34262,0)
+46 ;;=F65.2^^134^1736^1
+47 ;;^UTILITY(U,$J,358.3,34262,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,34262,1,3,0)
+50 ;;=3^Exhibitionistic D/O
+51 ;;^UTILITY(U,$J,358.3,34262,1,4,0)
+52 ;;=4^F65.2
+53 ;;^UTILITY(U,$J,358.3,34262,2)
+54 ;;=^5003653
+55 ;;^UTILITY(U,$J,358.3,34263,0)
+56 ;;=F65.3^^134^1736^10
+57 ;;^UTILITY(U,$J,358.3,34263,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,34263,1,3,0)
+60 ;;=3^Voyeuristic D/O
+61 ;;^UTILITY(U,$J,358.3,34263,1,4,0)
+62 ;;=4^F65.3
+63 ;;^UTILITY(U,$J,358.3,34263,2)
+64 ;;=^5003654
+65 ;;^UTILITY(U,$J,358.3,34264,0)
+66 ;;=F65.81^^134^1736^3
+67 ;;^UTILITY(U,$J,358.3,34264,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,34264,1,3,0)
+70 ;;=3^Frotteuristic D/O
+71 ;;^UTILITY(U,$J,358.3,34264,1,4,0)
+72 ;;=4^F65.81
+73 ;;^UTILITY(U,$J,358.3,34264,2)
+74 ;;=^5003659
+75 ;;^UTILITY(U,$J,358.3,34265,0)
+76 ;;=F65.51^^134^1736^7
+77 ;;^UTILITY(U,$J,358.3,34265,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,34265,1,3,0)
+80 ;;=3^Sexual Masochism D/O
+81 ;;^UTILITY(U,$J,358.3,34265,1,4,0)
+82 ;;=4^F65.51
+83 ;;^UTILITY(U,$J,358.3,34265,2)
+84 ;;=^5003657
+85 ;;^UTILITY(U,$J,358.3,34266,0)
+86 ;;=F65.52^^134^1736^8
+87 ;;^UTILITY(U,$J,358.3,34266,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,34266,1,3,0)
+90 ;;=3^Sexual Sadism D/O
+91 ;;^UTILITY(U,$J,358.3,34266,1,4,0)
+92 ;;=4^F65.52
+93 ;;^UTILITY(U,$J,358.3,34266,2)
+94 ;;=^5003658
+95 ;;^UTILITY(U,$J,358.3,34267,0)
+96 ;;=F65.0^^134^1736^2
+97 ;;^UTILITY(U,$J,358.3,34267,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,34267,1,3,0)
+100 ;;=3^Fetishistic D/O
+101 ;;^UTILITY(U,$J,358.3,34267,1,4,0)
+102 ;;=4^F65.0
+103 ;;^UTILITY(U,$J,358.3,34267,2)
+104 ;;=^5003651
+105 ;;^UTILITY(U,$J,358.3,34268,0)
+106 ;;=F65.1^^134^1736^9
+107 ;;^UTILITY(U,$J,358.3,34268,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,34268,1,3,0)
+110 ;;=3^Transvestic D/O
+111 ;;^UTILITY(U,$J,358.3,34268,1,4,0)
+112 ;;=4^F65.1
+113 ;;^UTILITY(U,$J,358.3,34268,2)
+114 ;;=^5003652
+115 ;;^UTILITY(U,$J,358.3,34269,0)
+116 ;;=F65.89^^134^1736^4
+117 ;;^UTILITY(U,$J,358.3,34269,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,34269,1,3,0)
+120 ;;=3^Paraphilic D/O,Other Specified
+121 ;;^UTILITY(U,$J,358.3,34269,1,4,0)
+122 ;;=4^F65.89
+123 ;;^UTILITY(U,$J,358.3,34269,2)
+124 ;;=^5003660
+125 ;;^UTILITY(U,$J,358.3,34270,0)
+126 ;;=F65.9^^134^1736^5
+127 ;;^UTILITY(U,$J,358.3,34270,1,0)
+128 ;;=^358.31IA^4^2