IBDEI0W4 ; ; 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,14468,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,14468,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,14468,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,14469,0)
;;=T14.91XA^^55^681^4
;;^UTILITY(U,$J,358.3,14469,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14469,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,14469,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,14469,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,14470,0)
;;=T14.91XD^^55^681^6
;;^UTILITY(U,$J,358.3,14470,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14470,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,14470,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,14470,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,14471,0)
;;=T14.91XS^^55^681^5
;;^UTILITY(U,$J,358.3,14471,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14471,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,14471,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,14471,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,14472,0)
;;=Z91.51^^55^681^2
;;^UTILITY(U,$J,358.3,14472,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14472,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,14472,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,14472,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,14473,0)
;;=Z91.52^^55^681^1
;;^UTILITY(U,$J,358.3,14473,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14473,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,14473,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,14473,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,14474,0)
;;=99212^^56^682^2
;;^UTILITY(U,$J,358.3,14474,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14474,1,1,0)
;;=1^SF MDM or 10-19 mins
;;^UTILITY(U,$J,358.3,14474,1,2,0)
;;=2^99212
;;^UTILITY(U,$J,358.3,14475,0)
;;=99213^^56^682^3
;;^UTILITY(U,$J,358.3,14475,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14475,1,1,0)
;;=1^Low MDM or 20-29 mins
;;^UTILITY(U,$J,358.3,14475,1,2,0)
;;=2^99213
;;^UTILITY(U,$J,358.3,14476,0)
;;=99214^^56^682^4
;;^UTILITY(U,$J,358.3,14476,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14476,1,1,0)
;;=1^Moderate MDM or 30-39 mins
;;^UTILITY(U,$J,358.3,14476,1,2,0)
;;=2^99214
;;^UTILITY(U,$J,358.3,14477,0)
;;=99215^^56^682^5
;;^UTILITY(U,$J,358.3,14477,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14477,1,1,0)
;;=1^High MDM or 40-54 mins
;;^UTILITY(U,$J,358.3,14477,1,2,0)
;;=2^99215
;;^UTILITY(U,$J,358.3,14478,0)
;;=99211^^56^682^1
;;^UTILITY(U,$J,358.3,14478,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14478,1,1,0)
;;=1^Brief Visit-MDM None/Minimal
;;^UTILITY(U,$J,358.3,14478,1,2,0)
;;=2^99211
;;^UTILITY(U,$J,358.3,14479,0)
;;=99202^^56^683^1
;;^UTILITY(U,$J,358.3,14479,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14479,1,1,0)
;;=1^SF MDM or 15-29 mins
;;^UTILITY(U,$J,358.3,14479,1,2,0)
;;=2^99202
;;^UTILITY(U,$J,358.3,14480,0)
;;=99203^^56^683^2
;;^UTILITY(U,$J,358.3,14480,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14480,1,1,0)
;;=1^Low MDM or 30-44 mins
;;^UTILITY(U,$J,358.3,14480,1,2,0)
;;=2^99203
;;^UTILITY(U,$J,358.3,14481,0)
;;=99204^^56^683^3
;;^UTILITY(U,$J,358.3,14481,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,14481,1,1,0)
;;=1^Moderate MDM or 45-59 mins
;;^UTILITY(U,$J,358.3,14481,1,2,0)
;;=2^99204
;;^UTILITY(U,$J,358.3,14482,0)
;;=99205^^56^683^4
;;^UTILITY(U,$J,358.3,14482,1,0)
;;=^358.31IA^2^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0W4 3766 printed Dec 13, 2024@01:56:55 Page 2
IBDEI0W4 ; ; 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,14468,1,3,0)
+2 ;;=3^Suicidal Ideations
+3 ;;^UTILITY(U,$J,358.3,14468,1,4,0)
+4 ;;=4^R45.851
+5 ;;^UTILITY(U,$J,358.3,14468,2)
+6 ;;=^5019474
+7 ;;^UTILITY(U,$J,358.3,14469,0)
+8 ;;=T14.91XA^^55^681^4
+9 ;;^UTILITY(U,$J,358.3,14469,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,14469,1,3,0)
+12 ;;=3^Suicide Attempt,Initial Encntr
+13 ;;^UTILITY(U,$J,358.3,14469,1,4,0)
+14 ;;=4^T14.91XA
+15 ;;^UTILITY(U,$J,358.3,14469,2)
+16 ;;=^5151779
+17 ;;^UTILITY(U,$J,358.3,14470,0)
+18 ;;=T14.91XD^^55^681^6
+19 ;;^UTILITY(U,$J,358.3,14470,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,14470,1,3,0)
+22 ;;=3^Suicide Attempt,Subsequent Encntr
+23 ;;^UTILITY(U,$J,358.3,14470,1,4,0)
+24 ;;=4^T14.91XD
+25 ;;^UTILITY(U,$J,358.3,14470,2)
+26 ;;=^5151780
+27 ;;^UTILITY(U,$J,358.3,14471,0)
+28 ;;=T14.91XS^^55^681^5
+29 ;;^UTILITY(U,$J,358.3,14471,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,14471,1,3,0)
+32 ;;=3^Suicide Attempt,Sequela
+33 ;;^UTILITY(U,$J,358.3,14471,1,4,0)
+34 ;;=4^T14.91XS
+35 ;;^UTILITY(U,$J,358.3,14471,2)
+36 ;;=^5151781
+37 ;;^UTILITY(U,$J,358.3,14472,0)
+38 ;;=Z91.51^^55^681^2
+39 ;;^UTILITY(U,$J,358.3,14472,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,14472,1,3,0)
+42 ;;=3^Personal Hx of Suicidal Behavior
+43 ;;^UTILITY(U,$J,358.3,14472,1,4,0)
+44 ;;=4^Z91.51
+45 ;;^UTILITY(U,$J,358.3,14472,2)
+46 ;;=^5161317
+47 ;;^UTILITY(U,$J,358.3,14473,0)
+48 ;;=Z91.52^^55^681^1
+49 ;;^UTILITY(U,$J,358.3,14473,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,14473,1,3,0)
+52 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+53 ;;^UTILITY(U,$J,358.3,14473,1,4,0)
+54 ;;=4^Z91.52
+55 ;;^UTILITY(U,$J,358.3,14473,2)
+56 ;;=^5161318
+57 ;;^UTILITY(U,$J,358.3,14474,0)
+58 ;;=99212^^56^682^2
+59 ;;^UTILITY(U,$J,358.3,14474,1,0)
+60 ;;=^358.31IA^2^2
+61 ;;^UTILITY(U,$J,358.3,14474,1,1,0)
+62 ;;=1^SF MDM or 10-19 mins
+63 ;;^UTILITY(U,$J,358.3,14474,1,2,0)
+64 ;;=2^99212
+65 ;;^UTILITY(U,$J,358.3,14475,0)
+66 ;;=99213^^56^682^3
+67 ;;^UTILITY(U,$J,358.3,14475,1,0)
+68 ;;=^358.31IA^2^2
+69 ;;^UTILITY(U,$J,358.3,14475,1,1,0)
+70 ;;=1^Low MDM or 20-29 mins
+71 ;;^UTILITY(U,$J,358.3,14475,1,2,0)
+72 ;;=2^99213
+73 ;;^UTILITY(U,$J,358.3,14476,0)
+74 ;;=99214^^56^682^4
+75 ;;^UTILITY(U,$J,358.3,14476,1,0)
+76 ;;=^358.31IA^2^2
+77 ;;^UTILITY(U,$J,358.3,14476,1,1,0)
+78 ;;=1^Moderate MDM or 30-39 mins
+79 ;;^UTILITY(U,$J,358.3,14476,1,2,0)
+80 ;;=2^99214
+81 ;;^UTILITY(U,$J,358.3,14477,0)
+82 ;;=99215^^56^682^5
+83 ;;^UTILITY(U,$J,358.3,14477,1,0)
+84 ;;=^358.31IA^2^2
+85 ;;^UTILITY(U,$J,358.3,14477,1,1,0)
+86 ;;=1^High MDM or 40-54 mins
+87 ;;^UTILITY(U,$J,358.3,14477,1,2,0)
+88 ;;=2^99215
+89 ;;^UTILITY(U,$J,358.3,14478,0)
+90 ;;=99211^^56^682^1
+91 ;;^UTILITY(U,$J,358.3,14478,1,0)
+92 ;;=^358.31IA^2^2
+93 ;;^UTILITY(U,$J,358.3,14478,1,1,0)
+94 ;;=1^Brief Visit-MDM None/Minimal
+95 ;;^UTILITY(U,$J,358.3,14478,1,2,0)
+96 ;;=2^99211
+97 ;;^UTILITY(U,$J,358.3,14479,0)
+98 ;;=99202^^56^683^1
+99 ;;^UTILITY(U,$J,358.3,14479,1,0)
+100 ;;=^358.31IA^2^2
+101 ;;^UTILITY(U,$J,358.3,14479,1,1,0)
+102 ;;=1^SF MDM or 15-29 mins
+103 ;;^UTILITY(U,$J,358.3,14479,1,2,0)
+104 ;;=2^99202
+105 ;;^UTILITY(U,$J,358.3,14480,0)
+106 ;;=99203^^56^683^2
+107 ;;^UTILITY(U,$J,358.3,14480,1,0)
+108 ;;=^358.31IA^2^2
+109 ;;^UTILITY(U,$J,358.3,14480,1,1,0)
+110 ;;=1^Low MDM or 30-44 mins
+111 ;;^UTILITY(U,$J,358.3,14480,1,2,0)
+112 ;;=2^99203
+113 ;;^UTILITY(U,$J,358.3,14481,0)
+114 ;;=99204^^56^683^3
+115 ;;^UTILITY(U,$J,358.3,14481,1,0)
+116 ;;=^358.31IA^2^2
+117 ;;^UTILITY(U,$J,358.3,14481,1,1,0)
+118 ;;=1^Moderate MDM or 45-59 mins
+119 ;;^UTILITY(U,$J,358.3,14481,1,2,0)
+120 ;;=2^99204
+121 ;;^UTILITY(U,$J,358.3,14482,0)
+122 ;;=99205^^56^683^4
+123 ;;^UTILITY(U,$J,358.3,14482,1,0)
+124 ;;=^358.31IA^2^2