IBDEI1KO ; ; 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,25493,2)
;;=^5157633
;;^UTILITY(U,$J,358.3,25494,0)
;;=Z02.89^^92^1159^1
;;^UTILITY(U,$J,358.3,25494,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25494,1,3,0)
;;=3^Administrative Exams,Other
;;^UTILITY(U,$J,358.3,25494,1,4,0)
;;=4^Z02.89
;;^UTILITY(U,$J,358.3,25494,2)
;;=^5062645
;;^UTILITY(U,$J,358.3,25495,0)
;;=Z91.51^^92^1159^18
;;^UTILITY(U,$J,358.3,25495,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25495,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,25495,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,25495,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,25496,0)
;;=Z91.52^^92^1159^16
;;^UTILITY(U,$J,358.3,25496,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25496,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,25496,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,25496,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,25497,0)
;;=Z70.9^^92^1160^2
;;^UTILITY(U,$J,358.3,25497,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25497,1,3,0)
;;=3^Sex Counseling
;;^UTILITY(U,$J,358.3,25497,1,4,0)
;;=4^Z70.9
;;^UTILITY(U,$J,358.3,25497,2)
;;=^5063241
;;^UTILITY(U,$J,358.3,25498,0)
;;=Z71.9^^92^1160^1
;;^UTILITY(U,$J,358.3,25498,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25498,1,3,0)
;;=3^Counseling,Unspec
;;^UTILITY(U,$J,358.3,25498,1,4,0)
;;=4^Z71.9
;;^UTILITY(U,$J,358.3,25498,2)
;;=^5063254
;;^UTILITY(U,$J,358.3,25499,0)
;;=Z60.0^^92^1161^2
;;^UTILITY(U,$J,358.3,25499,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25499,1,3,0)
;;=3^Phase of Life Problem
;;^UTILITY(U,$J,358.3,25499,1,4,0)
;;=4^Z60.0
;;^UTILITY(U,$J,358.3,25499,2)
;;=^5063139
;;^UTILITY(U,$J,358.3,25500,0)
;;=Z60.2^^92^1161^3
;;^UTILITY(U,$J,358.3,25500,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25500,1,3,0)
;;=3^Problem Related to Living Alone
;;^UTILITY(U,$J,358.3,25500,1,4,0)
;;=4^Z60.2
;;^UTILITY(U,$J,358.3,25500,2)
;;=^5063140
;;^UTILITY(U,$J,358.3,25501,0)
;;=Z60.3^^92^1161^1
;;^UTILITY(U,$J,358.3,25501,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25501,1,3,0)
;;=3^Acculturation Difficulty
;;^UTILITY(U,$J,358.3,25501,1,4,0)
;;=4^Z60.3
;;^UTILITY(U,$J,358.3,25501,2)
;;=^5063141
;;^UTILITY(U,$J,358.3,25502,0)
;;=Z60.4^^92^1161^5
;;^UTILITY(U,$J,358.3,25502,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25502,1,3,0)
;;=3^Social Exclusion or Rejection
;;^UTILITY(U,$J,358.3,25502,1,4,0)
;;=4^Z60.4
;;^UTILITY(U,$J,358.3,25502,2)
;;=^5063142
;;^UTILITY(U,$J,358.3,25503,0)
;;=Z60.5^^92^1161^6
;;^UTILITY(U,$J,358.3,25503,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25503,1,3,0)
;;=3^Target (Perceived) Adverse Discrimination/Persecution
;;^UTILITY(U,$J,358.3,25503,1,4,0)
;;=4^Z60.5
;;^UTILITY(U,$J,358.3,25503,2)
;;=^5063143
;;^UTILITY(U,$J,358.3,25504,0)
;;=Z60.9^^92^1161^4
;;^UTILITY(U,$J,358.3,25504,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25504,1,3,0)
;;=3^Problem Related to Social Environment,Unspec
;;^UTILITY(U,$J,358.3,25504,1,4,0)
;;=4^Z60.9
;;^UTILITY(U,$J,358.3,25504,2)
;;=^5063145
;;^UTILITY(U,$J,358.3,25505,0)
;;=F65.4^^92^1162^6
;;^UTILITY(U,$J,358.3,25505,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25505,1,3,0)
;;=3^Pedophilic D/O
;;^UTILITY(U,$J,358.3,25505,1,4,0)
;;=4^F65.4
;;^UTILITY(U,$J,358.3,25505,2)
;;=^5003655
;;^UTILITY(U,$J,358.3,25506,0)
;;=F65.2^^92^1162^1
;;^UTILITY(U,$J,358.3,25506,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1KO 3774 printed Nov 22, 2024@17:20:46 Page 2
IBDEI1KO ; ; 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,25493,2)
+2 ;;=^5157633
+3 ;;^UTILITY(U,$J,358.3,25494,0)
+4 ;;=Z02.89^^92^1159^1
+5 ;;^UTILITY(U,$J,358.3,25494,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,25494,1,3,0)
+8 ;;=3^Administrative Exams,Other
+9 ;;^UTILITY(U,$J,358.3,25494,1,4,0)
+10 ;;=4^Z02.89
+11 ;;^UTILITY(U,$J,358.3,25494,2)
+12 ;;=^5062645
+13 ;;^UTILITY(U,$J,358.3,25495,0)
+14 ;;=Z91.51^^92^1159^18
+15 ;;^UTILITY(U,$J,358.3,25495,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,25495,1,3,0)
+18 ;;=3^Personal Hx of Suicidal Behavior
+19 ;;^UTILITY(U,$J,358.3,25495,1,4,0)
+20 ;;=4^Z91.51
+21 ;;^UTILITY(U,$J,358.3,25495,2)
+22 ;;=^5161317
+23 ;;^UTILITY(U,$J,358.3,25496,0)
+24 ;;=Z91.52^^92^1159^16
+25 ;;^UTILITY(U,$J,358.3,25496,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,25496,1,3,0)
+28 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+29 ;;^UTILITY(U,$J,358.3,25496,1,4,0)
+30 ;;=4^Z91.52
+31 ;;^UTILITY(U,$J,358.3,25496,2)
+32 ;;=^5161318
+33 ;;^UTILITY(U,$J,358.3,25497,0)
+34 ;;=Z70.9^^92^1160^2
+35 ;;^UTILITY(U,$J,358.3,25497,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,25497,1,3,0)
+38 ;;=3^Sex Counseling
+39 ;;^UTILITY(U,$J,358.3,25497,1,4,0)
+40 ;;=4^Z70.9
+41 ;;^UTILITY(U,$J,358.3,25497,2)
+42 ;;=^5063241
+43 ;;^UTILITY(U,$J,358.3,25498,0)
+44 ;;=Z71.9^^92^1160^1
+45 ;;^UTILITY(U,$J,358.3,25498,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,25498,1,3,0)
+48 ;;=3^Counseling,Unspec
+49 ;;^UTILITY(U,$J,358.3,25498,1,4,0)
+50 ;;=4^Z71.9
+51 ;;^UTILITY(U,$J,358.3,25498,2)
+52 ;;=^5063254
+53 ;;^UTILITY(U,$J,358.3,25499,0)
+54 ;;=Z60.0^^92^1161^2
+55 ;;^UTILITY(U,$J,358.3,25499,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,25499,1,3,0)
+58 ;;=3^Phase of Life Problem
+59 ;;^UTILITY(U,$J,358.3,25499,1,4,0)
+60 ;;=4^Z60.0
+61 ;;^UTILITY(U,$J,358.3,25499,2)
+62 ;;=^5063139
+63 ;;^UTILITY(U,$J,358.3,25500,0)
+64 ;;=Z60.2^^92^1161^3
+65 ;;^UTILITY(U,$J,358.3,25500,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,25500,1,3,0)
+68 ;;=3^Problem Related to Living Alone
+69 ;;^UTILITY(U,$J,358.3,25500,1,4,0)
+70 ;;=4^Z60.2
+71 ;;^UTILITY(U,$J,358.3,25500,2)
+72 ;;=^5063140
+73 ;;^UTILITY(U,$J,358.3,25501,0)
+74 ;;=Z60.3^^92^1161^1
+75 ;;^UTILITY(U,$J,358.3,25501,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,25501,1,3,0)
+78 ;;=3^Acculturation Difficulty
+79 ;;^UTILITY(U,$J,358.3,25501,1,4,0)
+80 ;;=4^Z60.3
+81 ;;^UTILITY(U,$J,358.3,25501,2)
+82 ;;=^5063141
+83 ;;^UTILITY(U,$J,358.3,25502,0)
+84 ;;=Z60.4^^92^1161^5
+85 ;;^UTILITY(U,$J,358.3,25502,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,25502,1,3,0)
+88 ;;=3^Social Exclusion or Rejection
+89 ;;^UTILITY(U,$J,358.3,25502,1,4,0)
+90 ;;=4^Z60.4
+91 ;;^UTILITY(U,$J,358.3,25502,2)
+92 ;;=^5063142
+93 ;;^UTILITY(U,$J,358.3,25503,0)
+94 ;;=Z60.5^^92^1161^6
+95 ;;^UTILITY(U,$J,358.3,25503,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,25503,1,3,0)
+98 ;;=3^Target (Perceived) Adverse Discrimination/Persecution
+99 ;;^UTILITY(U,$J,358.3,25503,1,4,0)
+100 ;;=4^Z60.5
+101 ;;^UTILITY(U,$J,358.3,25503,2)
+102 ;;=^5063143
+103 ;;^UTILITY(U,$J,358.3,25504,0)
+104 ;;=Z60.9^^92^1161^4
+105 ;;^UTILITY(U,$J,358.3,25504,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,25504,1,3,0)
+108 ;;=3^Problem Related to Social Environment,Unspec
+109 ;;^UTILITY(U,$J,358.3,25504,1,4,0)
+110 ;;=4^Z60.9
+111 ;;^UTILITY(U,$J,358.3,25504,2)
+112 ;;=^5063145
+113 ;;^UTILITY(U,$J,358.3,25505,0)
+114 ;;=F65.4^^92^1162^6
+115 ;;^UTILITY(U,$J,358.3,25505,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,25505,1,3,0)
+118 ;;=3^Pedophilic D/O
+119 ;;^UTILITY(U,$J,358.3,25505,1,4,0)
+120 ;;=4^F65.4
+121 ;;^UTILITY(U,$J,358.3,25505,2)
+122 ;;=^5003655
+123 ;;^UTILITY(U,$J,358.3,25506,0)
+124 ;;=F65.2^^92^1162^1
+125 ;;^UTILITY(U,$J,358.3,25506,1,0)
+126 ;;=^358.31IA^4^2