IBDEI16U ; ; 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,19276,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,19276,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,19277,0)
;;=T14.91XS^^64^854^5
;;^UTILITY(U,$J,358.3,19277,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19277,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,19277,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,19277,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,19278,0)
;;=Z91.52^^64^854^1
;;^UTILITY(U,$J,358.3,19278,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19278,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,19278,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,19278,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,19279,0)
;;=Z91.51^^64^854^2
;;^UTILITY(U,$J,358.3,19279,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19279,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,19279,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,19279,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,19280,0)
;;=99202^^65^855^1
;;^UTILITY(U,$J,358.3,19280,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19280,1,1,0)
;;=1^SF MDM or 15-29 mins
;;^UTILITY(U,$J,358.3,19280,1,2,0)
;;=2^99202
;;^UTILITY(U,$J,358.3,19281,0)
;;=99203^^65^855^2
;;^UTILITY(U,$J,358.3,19281,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19281,1,1,0)
;;=1^Low MDM or 30-44 mins
;;^UTILITY(U,$J,358.3,19281,1,2,0)
;;=2^99203
;;^UTILITY(U,$J,358.3,19282,0)
;;=99204^^65^855^3
;;^UTILITY(U,$J,358.3,19282,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19282,1,1,0)
;;=1^Moderate MDM or 45-59 mins
;;^UTILITY(U,$J,358.3,19282,1,2,0)
;;=2^99204
;;^UTILITY(U,$J,358.3,19283,0)
;;=99205^^65^855^4
;;^UTILITY(U,$J,358.3,19283,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19283,1,1,0)
;;=1^High MDM or 60-74 mins
;;^UTILITY(U,$J,358.3,19283,1,2,0)
;;=2^99205
;;^UTILITY(U,$J,358.3,19284,0)
;;=99211^^65^856^1
;;^UTILITY(U,$J,358.3,19284,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19284,1,1,0)
;;=1^Brief Visit-MDM None/Minimal
;;^UTILITY(U,$J,358.3,19284,1,2,0)
;;=2^99211
;;^UTILITY(U,$J,358.3,19285,0)
;;=99212^^65^856^2
;;^UTILITY(U,$J,358.3,19285,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19285,1,1,0)
;;=1^SF MDM or 10-19 mins
;;^UTILITY(U,$J,358.3,19285,1,2,0)
;;=2^99212
;;^UTILITY(U,$J,358.3,19286,0)
;;=99213^^65^856^3
;;^UTILITY(U,$J,358.3,19286,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19286,1,1,0)
;;=1^Low MDM or 20-29 mins
;;^UTILITY(U,$J,358.3,19286,1,2,0)
;;=2^99213
;;^UTILITY(U,$J,358.3,19287,0)
;;=99214^^65^856^4
;;^UTILITY(U,$J,358.3,19287,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19287,1,1,0)
;;=1^Moderate MDM or 30-39 mins
;;^UTILITY(U,$J,358.3,19287,1,2,0)
;;=2^99214
;;^UTILITY(U,$J,358.3,19288,0)
;;=99215^^65^856^5
;;^UTILITY(U,$J,358.3,19288,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19288,1,1,0)
;;=1^High MDM or 40-54 mins
;;^UTILITY(U,$J,358.3,19288,1,2,0)
;;=2^99215
;;^UTILITY(U,$J,358.3,19289,0)
;;=99241^^65^857^1
;;^UTILITY(U,$J,358.3,19289,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19289,1,1,0)
;;=1^Problem Focused Hx/PE & SF MDM
;;^UTILITY(U,$J,358.3,19289,1,2,0)
;;=2^99241
;;^UTILITY(U,$J,358.3,19290,0)
;;=99242^^65^857^2
;;^UTILITY(U,$J,358.3,19290,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,19290,1,1,0)
;;=1^Exp Problem Focused Hx/PE & SF MDM
;;^UTILITY(U,$J,358.3,19290,1,2,0)
;;=2^99242
;;^UTILITY(U,$J,358.3,19291,0)
;;=99243^^65^857^3
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI16U 3770 printed Nov 22, 2024@17:13:04 Page 2
IBDEI16U ; ; 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,19276,1,4,0)
+2 ;;=4^T14.91XD
+3 ;;^UTILITY(U,$J,358.3,19276,2)
+4 ;;=^5151780
+5 ;;^UTILITY(U,$J,358.3,19277,0)
+6 ;;=T14.91XS^^64^854^5
+7 ;;^UTILITY(U,$J,358.3,19277,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,19277,1,3,0)
+10 ;;=3^Suicide Attempt,Sequela
+11 ;;^UTILITY(U,$J,358.3,19277,1,4,0)
+12 ;;=4^T14.91XS
+13 ;;^UTILITY(U,$J,358.3,19277,2)
+14 ;;=^5151781
+15 ;;^UTILITY(U,$J,358.3,19278,0)
+16 ;;=Z91.52^^64^854^1
+17 ;;^UTILITY(U,$J,358.3,19278,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,19278,1,3,0)
+20 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+21 ;;^UTILITY(U,$J,358.3,19278,1,4,0)
+22 ;;=4^Z91.52
+23 ;;^UTILITY(U,$J,358.3,19278,2)
+24 ;;=^5161318
+25 ;;^UTILITY(U,$J,358.3,19279,0)
+26 ;;=Z91.51^^64^854^2
+27 ;;^UTILITY(U,$J,358.3,19279,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,19279,1,3,0)
+30 ;;=3^Personal Hx of Suicidal Behavior
+31 ;;^UTILITY(U,$J,358.3,19279,1,4,0)
+32 ;;=4^Z91.51
+33 ;;^UTILITY(U,$J,358.3,19279,2)
+34 ;;=^5161317
+35 ;;^UTILITY(U,$J,358.3,19280,0)
+36 ;;=99202^^65^855^1
+37 ;;^UTILITY(U,$J,358.3,19280,1,0)
+38 ;;=^358.31IA^2^2
+39 ;;^UTILITY(U,$J,358.3,19280,1,1,0)
+40 ;;=1^SF MDM or 15-29 mins
+41 ;;^UTILITY(U,$J,358.3,19280,1,2,0)
+42 ;;=2^99202
+43 ;;^UTILITY(U,$J,358.3,19281,0)
+44 ;;=99203^^65^855^2
+45 ;;^UTILITY(U,$J,358.3,19281,1,0)
+46 ;;=^358.31IA^2^2
+47 ;;^UTILITY(U,$J,358.3,19281,1,1,0)
+48 ;;=1^Low MDM or 30-44 mins
+49 ;;^UTILITY(U,$J,358.3,19281,1,2,0)
+50 ;;=2^99203
+51 ;;^UTILITY(U,$J,358.3,19282,0)
+52 ;;=99204^^65^855^3
+53 ;;^UTILITY(U,$J,358.3,19282,1,0)
+54 ;;=^358.31IA^2^2
+55 ;;^UTILITY(U,$J,358.3,19282,1,1,0)
+56 ;;=1^Moderate MDM or 45-59 mins
+57 ;;^UTILITY(U,$J,358.3,19282,1,2,0)
+58 ;;=2^99204
+59 ;;^UTILITY(U,$J,358.3,19283,0)
+60 ;;=99205^^65^855^4
+61 ;;^UTILITY(U,$J,358.3,19283,1,0)
+62 ;;=^358.31IA^2^2
+63 ;;^UTILITY(U,$J,358.3,19283,1,1,0)
+64 ;;=1^High MDM or 60-74 mins
+65 ;;^UTILITY(U,$J,358.3,19283,1,2,0)
+66 ;;=2^99205
+67 ;;^UTILITY(U,$J,358.3,19284,0)
+68 ;;=99211^^65^856^1
+69 ;;^UTILITY(U,$J,358.3,19284,1,0)
+70 ;;=^358.31IA^2^2
+71 ;;^UTILITY(U,$J,358.3,19284,1,1,0)
+72 ;;=1^Brief Visit-MDM None/Minimal
+73 ;;^UTILITY(U,$J,358.3,19284,1,2,0)
+74 ;;=2^99211
+75 ;;^UTILITY(U,$J,358.3,19285,0)
+76 ;;=99212^^65^856^2
+77 ;;^UTILITY(U,$J,358.3,19285,1,0)
+78 ;;=^358.31IA^2^2
+79 ;;^UTILITY(U,$J,358.3,19285,1,1,0)
+80 ;;=1^SF MDM or 10-19 mins
+81 ;;^UTILITY(U,$J,358.3,19285,1,2,0)
+82 ;;=2^99212
+83 ;;^UTILITY(U,$J,358.3,19286,0)
+84 ;;=99213^^65^856^3
+85 ;;^UTILITY(U,$J,358.3,19286,1,0)
+86 ;;=^358.31IA^2^2
+87 ;;^UTILITY(U,$J,358.3,19286,1,1,0)
+88 ;;=1^Low MDM or 20-29 mins
+89 ;;^UTILITY(U,$J,358.3,19286,1,2,0)
+90 ;;=2^99213
+91 ;;^UTILITY(U,$J,358.3,19287,0)
+92 ;;=99214^^65^856^4
+93 ;;^UTILITY(U,$J,358.3,19287,1,0)
+94 ;;=^358.31IA^2^2
+95 ;;^UTILITY(U,$J,358.3,19287,1,1,0)
+96 ;;=1^Moderate MDM or 30-39 mins
+97 ;;^UTILITY(U,$J,358.3,19287,1,2,0)
+98 ;;=2^99214
+99 ;;^UTILITY(U,$J,358.3,19288,0)
+100 ;;=99215^^65^856^5
+101 ;;^UTILITY(U,$J,358.3,19288,1,0)
+102 ;;=^358.31IA^2^2
+103 ;;^UTILITY(U,$J,358.3,19288,1,1,0)
+104 ;;=1^High MDM or 40-54 mins
+105 ;;^UTILITY(U,$J,358.3,19288,1,2,0)
+106 ;;=2^99215
+107 ;;^UTILITY(U,$J,358.3,19289,0)
+108 ;;=99241^^65^857^1
+109 ;;^UTILITY(U,$J,358.3,19289,1,0)
+110 ;;=^358.31IA^2^2
+111 ;;^UTILITY(U,$J,358.3,19289,1,1,0)
+112 ;;=1^Problem Focused Hx/PE & SF MDM
+113 ;;^UTILITY(U,$J,358.3,19289,1,2,0)
+114 ;;=2^99241
+115 ;;^UTILITY(U,$J,358.3,19290,0)
+116 ;;=99242^^65^857^2
+117 ;;^UTILITY(U,$J,358.3,19290,1,0)
+118 ;;=^358.31IA^2^2
+119 ;;^UTILITY(U,$J,358.3,19290,1,1,0)
+120 ;;=1^Exp Problem Focused Hx/PE & SF MDM
+121 ;;^UTILITY(U,$J,358.3,19290,1,2,0)
+122 ;;=2^99242
+123 ;;^UTILITY(U,$J,358.3,19291,0)
+124 ;;=99243^^65^857^3