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