IBDEI2EA ; ; 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,38209,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,38209,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,38209,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,38210,0)
;;=T14.91XS^^146^1934^5
;;^UTILITY(U,$J,358.3,38210,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38210,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,38210,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,38210,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,38211,0)
;;=99201^^147^1935^1
;;^UTILITY(U,$J,358.3,38211,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38211,1,1,0)
;;=1^Problem Focus
;;^UTILITY(U,$J,358.3,38211,1,2,0)
;;=2^99201
;;^UTILITY(U,$J,358.3,38212,0)
;;=99202^^147^1935^2
;;^UTILITY(U,$J,358.3,38212,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38212,1,1,0)
;;=1^Expanded Problem Focus
;;^UTILITY(U,$J,358.3,38212,1,2,0)
;;=2^99202
;;^UTILITY(U,$J,358.3,38213,0)
;;=99203^^147^1935^3
;;^UTILITY(U,$J,358.3,38213,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38213,1,1,0)
;;=1^Detailed
;;^UTILITY(U,$J,358.3,38213,1,2,0)
;;=2^99203
;;^UTILITY(U,$J,358.3,38214,0)
;;=99204^^147^1935^4
;;^UTILITY(U,$J,358.3,38214,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38214,1,1,0)
;;=1^Comprehensive, Moderate
;;^UTILITY(U,$J,358.3,38214,1,2,0)
;;=2^99204
;;^UTILITY(U,$J,358.3,38215,0)
;;=99205^^147^1935^5
;;^UTILITY(U,$J,358.3,38215,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38215,1,1,0)
;;=1^Comprehensive,High
;;^UTILITY(U,$J,358.3,38215,1,2,0)
;;=2^99205
;;^UTILITY(U,$J,358.3,38216,0)
;;=99211^^147^1936^1
;;^UTILITY(U,$J,358.3,38216,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38216,1,1,0)
;;=1^Nurse Visit (no MD seen)
;;^UTILITY(U,$J,358.3,38216,1,2,0)
;;=2^99211
;;^UTILITY(U,$J,358.3,38217,0)
;;=99212^^147^1936^2
;;^UTILITY(U,$J,358.3,38217,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38217,1,1,0)
;;=1^Problem Focused
;;^UTILITY(U,$J,358.3,38217,1,2,0)
;;=2^99212
;;^UTILITY(U,$J,358.3,38218,0)
;;=99213^^147^1936^3
;;^UTILITY(U,$J,358.3,38218,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38218,1,1,0)
;;=1^Expanded Problem Focus
;;^UTILITY(U,$J,358.3,38218,1,2,0)
;;=2^99213
;;^UTILITY(U,$J,358.3,38219,0)
;;=99214^^147^1936^4
;;^UTILITY(U,$J,358.3,38219,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38219,1,1,0)
;;=1^Detailed
;;^UTILITY(U,$J,358.3,38219,1,2,0)
;;=2^99214
;;^UTILITY(U,$J,358.3,38220,0)
;;=99215^^147^1936^5
;;^UTILITY(U,$J,358.3,38220,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38220,1,1,0)
;;=1^Comprehensive
;;^UTILITY(U,$J,358.3,38220,1,2,0)
;;=2^99215
;;^UTILITY(U,$J,358.3,38221,0)
;;=99241^^147^1937^1
;;^UTILITY(U,$J,358.3,38221,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38221,1,1,0)
;;=1^Prob Focused Exam
;;^UTILITY(U,$J,358.3,38221,1,2,0)
;;=2^99241
;;^UTILITY(U,$J,358.3,38222,0)
;;=99242^^147^1937^2
;;^UTILITY(U,$J,358.3,38222,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38222,1,1,0)
;;=1^Exp Prob Focused Exam
;;^UTILITY(U,$J,358.3,38222,1,2,0)
;;=2^99242
;;^UTILITY(U,$J,358.3,38223,0)
;;=99243^^147^1937^3
;;^UTILITY(U,$J,358.3,38223,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38223,1,1,0)
;;=1^Detailed Exam
;;^UTILITY(U,$J,358.3,38223,1,2,0)
;;=2^99243
;;^UTILITY(U,$J,358.3,38224,0)
;;=99244^^147^1937^4
;;^UTILITY(U,$J,358.3,38224,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,38224,1,1,0)
;;=1^Comprehensive Exam
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2EA 3770 printed Dec 13, 2024@02:27:03 Page 2
IBDEI2EA ; ; 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,38209,1,3,0)
+2 ;;=3^Suicide Attempt,Subsequent Encntr
+3 ;;^UTILITY(U,$J,358.3,38209,1,4,0)
+4 ;;=4^T14.91XD
+5 ;;^UTILITY(U,$J,358.3,38209,2)
+6 ;;=^5151780
+7 ;;^UTILITY(U,$J,358.3,38210,0)
+8 ;;=T14.91XS^^146^1934^5
+9 ;;^UTILITY(U,$J,358.3,38210,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,38210,1,3,0)
+12 ;;=3^Suicide Attempt,Sequela
+13 ;;^UTILITY(U,$J,358.3,38210,1,4,0)
+14 ;;=4^T14.91XS
+15 ;;^UTILITY(U,$J,358.3,38210,2)
+16 ;;=^5151781
+17 ;;^UTILITY(U,$J,358.3,38211,0)
+18 ;;=99201^^147^1935^1
+19 ;;^UTILITY(U,$J,358.3,38211,1,0)
+20 ;;=^358.31IA^2^2
+21 ;;^UTILITY(U,$J,358.3,38211,1,1,0)
+22 ;;=1^Problem Focus
+23 ;;^UTILITY(U,$J,358.3,38211,1,2,0)
+24 ;;=2^99201
+25 ;;^UTILITY(U,$J,358.3,38212,0)
+26 ;;=99202^^147^1935^2
+27 ;;^UTILITY(U,$J,358.3,38212,1,0)
+28 ;;=^358.31IA^2^2
+29 ;;^UTILITY(U,$J,358.3,38212,1,1,0)
+30 ;;=1^Expanded Problem Focus
+31 ;;^UTILITY(U,$J,358.3,38212,1,2,0)
+32 ;;=2^99202
+33 ;;^UTILITY(U,$J,358.3,38213,0)
+34 ;;=99203^^147^1935^3
+35 ;;^UTILITY(U,$J,358.3,38213,1,0)
+36 ;;=^358.31IA^2^2
+37 ;;^UTILITY(U,$J,358.3,38213,1,1,0)
+38 ;;=1^Detailed
+39 ;;^UTILITY(U,$J,358.3,38213,1,2,0)
+40 ;;=2^99203
+41 ;;^UTILITY(U,$J,358.3,38214,0)
+42 ;;=99204^^147^1935^4
+43 ;;^UTILITY(U,$J,358.3,38214,1,0)
+44 ;;=^358.31IA^2^2
+45 ;;^UTILITY(U,$J,358.3,38214,1,1,0)
+46 ;;=1^Comprehensive, Moderate
+47 ;;^UTILITY(U,$J,358.3,38214,1,2,0)
+48 ;;=2^99204
+49 ;;^UTILITY(U,$J,358.3,38215,0)
+50 ;;=99205^^147^1935^5
+51 ;;^UTILITY(U,$J,358.3,38215,1,0)
+52 ;;=^358.31IA^2^2
+53 ;;^UTILITY(U,$J,358.3,38215,1,1,0)
+54 ;;=1^Comprehensive,High
+55 ;;^UTILITY(U,$J,358.3,38215,1,2,0)
+56 ;;=2^99205
+57 ;;^UTILITY(U,$J,358.3,38216,0)
+58 ;;=99211^^147^1936^1
+59 ;;^UTILITY(U,$J,358.3,38216,1,0)
+60 ;;=^358.31IA^2^2
+61 ;;^UTILITY(U,$J,358.3,38216,1,1,0)
+62 ;;=1^Nurse Visit (no MD seen)
+63 ;;^UTILITY(U,$J,358.3,38216,1,2,0)
+64 ;;=2^99211
+65 ;;^UTILITY(U,$J,358.3,38217,0)
+66 ;;=99212^^147^1936^2
+67 ;;^UTILITY(U,$J,358.3,38217,1,0)
+68 ;;=^358.31IA^2^2
+69 ;;^UTILITY(U,$J,358.3,38217,1,1,0)
+70 ;;=1^Problem Focused
+71 ;;^UTILITY(U,$J,358.3,38217,1,2,0)
+72 ;;=2^99212
+73 ;;^UTILITY(U,$J,358.3,38218,0)
+74 ;;=99213^^147^1936^3
+75 ;;^UTILITY(U,$J,358.3,38218,1,0)
+76 ;;=^358.31IA^2^2
+77 ;;^UTILITY(U,$J,358.3,38218,1,1,0)
+78 ;;=1^Expanded Problem Focus
+79 ;;^UTILITY(U,$J,358.3,38218,1,2,0)
+80 ;;=2^99213
+81 ;;^UTILITY(U,$J,358.3,38219,0)
+82 ;;=99214^^147^1936^4
+83 ;;^UTILITY(U,$J,358.3,38219,1,0)
+84 ;;=^358.31IA^2^2
+85 ;;^UTILITY(U,$J,358.3,38219,1,1,0)
+86 ;;=1^Detailed
+87 ;;^UTILITY(U,$J,358.3,38219,1,2,0)
+88 ;;=2^99214
+89 ;;^UTILITY(U,$J,358.3,38220,0)
+90 ;;=99215^^147^1936^5
+91 ;;^UTILITY(U,$J,358.3,38220,1,0)
+92 ;;=^358.31IA^2^2
+93 ;;^UTILITY(U,$J,358.3,38220,1,1,0)
+94 ;;=1^Comprehensive
+95 ;;^UTILITY(U,$J,358.3,38220,1,2,0)
+96 ;;=2^99215
+97 ;;^UTILITY(U,$J,358.3,38221,0)
+98 ;;=99241^^147^1937^1
+99 ;;^UTILITY(U,$J,358.3,38221,1,0)
+100 ;;=^358.31IA^2^2
+101 ;;^UTILITY(U,$J,358.3,38221,1,1,0)
+102 ;;=1^Prob Focused Exam
+103 ;;^UTILITY(U,$J,358.3,38221,1,2,0)
+104 ;;=2^99241
+105 ;;^UTILITY(U,$J,358.3,38222,0)
+106 ;;=99242^^147^1937^2
+107 ;;^UTILITY(U,$J,358.3,38222,1,0)
+108 ;;=^358.31IA^2^2
+109 ;;^UTILITY(U,$J,358.3,38222,1,1,0)
+110 ;;=1^Exp Prob Focused Exam
+111 ;;^UTILITY(U,$J,358.3,38222,1,2,0)
+112 ;;=2^99242
+113 ;;^UTILITY(U,$J,358.3,38223,0)
+114 ;;=99243^^147^1937^3
+115 ;;^UTILITY(U,$J,358.3,38223,1,0)
+116 ;;=^358.31IA^2^2
+117 ;;^UTILITY(U,$J,358.3,38223,1,1,0)
+118 ;;=1^Detailed Exam
+119 ;;^UTILITY(U,$J,358.3,38223,1,2,0)
+120 ;;=2^99243
+121 ;;^UTILITY(U,$J,358.3,38224,0)
+122 ;;=99244^^147^1937^4
+123 ;;^UTILITY(U,$J,358.3,38224,1,0)
+124 ;;=^358.31IA^2^2
+125 ;;^UTILITY(U,$J,358.3,38224,1,1,0)
+126 ;;=1^Comprehensive Exam