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