IBDEI0OP ; ; 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,11097,1,4,0)
;;=4^F15.182
;;^UTILITY(U,$J,358.3,11097,2)
;;=^5003293
;;^UTILITY(U,$J,358.3,11098,0)
;;=F15.282^^42^506^5
;;^UTILITY(U,$J,358.3,11098,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11098,1,3,0)
;;=3^Caffeine Induced Sleep Disorder w/ Mod/Severe Use Disorder
;;^UTILITY(U,$J,358.3,11098,1,4,0)
;;=4^F15.282
;;^UTILITY(U,$J,358.3,11098,2)
;;=^5003308
;;^UTILITY(U,$J,358.3,11099,0)
;;=F15.982^^42^506^6
;;^UTILITY(U,$J,358.3,11099,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11099,1,3,0)
;;=3^Caffeine Induced Sleep Disorder w/o Use Disorder
;;^UTILITY(U,$J,358.3,11099,1,4,0)
;;=4^F15.982
;;^UTILITY(U,$J,358.3,11099,2)
;;=^5003322
;;^UTILITY(U,$J,358.3,11100,0)
;;=F15.99^^42^506^9
;;^UTILITY(U,$J,358.3,11100,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11100,1,3,0)
;;=3^Caffeinie Related Disorder,Unspec
;;^UTILITY(U,$J,358.3,11100,1,4,0)
;;=4^F15.99
;;^UTILITY(U,$J,358.3,11100,2)
;;=^5133358
;;^UTILITY(U,$J,358.3,11101,0)
;;=R45.851^^42^507^3
;;^UTILITY(U,$J,358.3,11101,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11101,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,11101,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,11101,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,11102,0)
;;=T14.91XA^^42^507^4
;;^UTILITY(U,$J,358.3,11102,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11102,1,3,0)
;;=3^Suicide Attempt,Initial Encntr
;;^UTILITY(U,$J,358.3,11102,1,4,0)
;;=4^T14.91XA
;;^UTILITY(U,$J,358.3,11102,2)
;;=^5151779
;;^UTILITY(U,$J,358.3,11103,0)
;;=T14.91XD^^42^507^6
;;^UTILITY(U,$J,358.3,11103,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11103,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,11103,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,11103,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,11104,0)
;;=T14.91XS^^42^507^5
;;^UTILITY(U,$J,358.3,11104,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11104,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,11104,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,11104,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,11105,0)
;;=Z91.51^^42^507^2
;;^UTILITY(U,$J,358.3,11105,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11105,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,11105,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,11105,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,11106,0)
;;=Z91.52^^42^507^1
;;^UTILITY(U,$J,358.3,11106,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11106,1,3,0)
;;=3^Personal Hx of Non-Suicidal Self-Harm
;;^UTILITY(U,$J,358.3,11106,1,4,0)
;;=4^Z91.52
;;^UTILITY(U,$J,358.3,11106,2)
;;=^5161318
;;^UTILITY(U,$J,358.3,11107,0)
;;=F19.14^^42^508^1
;;^UTILITY(U,$J,358.3,11107,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11107,1,3,0)
;;=3^Other/Unknown Substance Induced Depressive D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,11107,1,4,0)
;;=4^F19.14
;;^UTILITY(U,$J,358.3,11107,2)
;;=^5003421
;;^UTILITY(U,$J,358.3,11108,0)
;;=F19.24^^42^508^2
;;^UTILITY(U,$J,358.3,11108,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11108,1,3,0)
;;=3^Other/Unknown Substance Induced Depressive D/O w/ Mod-Sev Use D/O
;;^UTILITY(U,$J,358.3,11108,1,4,0)
;;=4^F19.24
;;^UTILITY(U,$J,358.3,11108,2)
;;=^5003441
;;^UTILITY(U,$J,358.3,11109,0)
;;=F19.94^^42^508^3
;;^UTILITY(U,$J,358.3,11109,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11109,1,3,0)
;;=3^Other/Unknown Substance Induced Depressive D/O w/o Use D/O
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0OP 3796 printed Nov 22, 2024@17:02:59 Page 2
IBDEI0OP ; ; 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,11097,1,4,0)
+2 ;;=4^F15.182
+3 ;;^UTILITY(U,$J,358.3,11097,2)
+4 ;;=^5003293
+5 ;;^UTILITY(U,$J,358.3,11098,0)
+6 ;;=F15.282^^42^506^5
+7 ;;^UTILITY(U,$J,358.3,11098,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,11098,1,3,0)
+10 ;;=3^Caffeine Induced Sleep Disorder w/ Mod/Severe Use Disorder
+11 ;;^UTILITY(U,$J,358.3,11098,1,4,0)
+12 ;;=4^F15.282
+13 ;;^UTILITY(U,$J,358.3,11098,2)
+14 ;;=^5003308
+15 ;;^UTILITY(U,$J,358.3,11099,0)
+16 ;;=F15.982^^42^506^6
+17 ;;^UTILITY(U,$J,358.3,11099,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,11099,1,3,0)
+20 ;;=3^Caffeine Induced Sleep Disorder w/o Use Disorder
+21 ;;^UTILITY(U,$J,358.3,11099,1,4,0)
+22 ;;=4^F15.982
+23 ;;^UTILITY(U,$J,358.3,11099,2)
+24 ;;=^5003322
+25 ;;^UTILITY(U,$J,358.3,11100,0)
+26 ;;=F15.99^^42^506^9
+27 ;;^UTILITY(U,$J,358.3,11100,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,11100,1,3,0)
+30 ;;=3^Caffeinie Related Disorder,Unspec
+31 ;;^UTILITY(U,$J,358.3,11100,1,4,0)
+32 ;;=4^F15.99
+33 ;;^UTILITY(U,$J,358.3,11100,2)
+34 ;;=^5133358
+35 ;;^UTILITY(U,$J,358.3,11101,0)
+36 ;;=R45.851^^42^507^3
+37 ;;^UTILITY(U,$J,358.3,11101,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,11101,1,3,0)
+40 ;;=3^Suicidal Ideations
+41 ;;^UTILITY(U,$J,358.3,11101,1,4,0)
+42 ;;=4^R45.851
+43 ;;^UTILITY(U,$J,358.3,11101,2)
+44 ;;=^5019474
+45 ;;^UTILITY(U,$J,358.3,11102,0)
+46 ;;=T14.91XA^^42^507^4
+47 ;;^UTILITY(U,$J,358.3,11102,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,11102,1,3,0)
+50 ;;=3^Suicide Attempt,Initial Encntr
+51 ;;^UTILITY(U,$J,358.3,11102,1,4,0)
+52 ;;=4^T14.91XA
+53 ;;^UTILITY(U,$J,358.3,11102,2)
+54 ;;=^5151779
+55 ;;^UTILITY(U,$J,358.3,11103,0)
+56 ;;=T14.91XD^^42^507^6
+57 ;;^UTILITY(U,$J,358.3,11103,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,11103,1,3,0)
+60 ;;=3^Suicide Attempt,Subsequent Encntr
+61 ;;^UTILITY(U,$J,358.3,11103,1,4,0)
+62 ;;=4^T14.91XD
+63 ;;^UTILITY(U,$J,358.3,11103,2)
+64 ;;=^5151780
+65 ;;^UTILITY(U,$J,358.3,11104,0)
+66 ;;=T14.91XS^^42^507^5
+67 ;;^UTILITY(U,$J,358.3,11104,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,11104,1,3,0)
+70 ;;=3^Suicide Attempt,Sequela
+71 ;;^UTILITY(U,$J,358.3,11104,1,4,0)
+72 ;;=4^T14.91XS
+73 ;;^UTILITY(U,$J,358.3,11104,2)
+74 ;;=^5151781
+75 ;;^UTILITY(U,$J,358.3,11105,0)
+76 ;;=Z91.51^^42^507^2
+77 ;;^UTILITY(U,$J,358.3,11105,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,11105,1,3,0)
+80 ;;=3^Personal Hx of Suicidal Behavior
+81 ;;^UTILITY(U,$J,358.3,11105,1,4,0)
+82 ;;=4^Z91.51
+83 ;;^UTILITY(U,$J,358.3,11105,2)
+84 ;;=^5161317
+85 ;;^UTILITY(U,$J,358.3,11106,0)
+86 ;;=Z91.52^^42^507^1
+87 ;;^UTILITY(U,$J,358.3,11106,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,11106,1,3,0)
+90 ;;=3^Personal Hx of Non-Suicidal Self-Harm
+91 ;;^UTILITY(U,$J,358.3,11106,1,4,0)
+92 ;;=4^Z91.52
+93 ;;^UTILITY(U,$J,358.3,11106,2)
+94 ;;=^5161318
+95 ;;^UTILITY(U,$J,358.3,11107,0)
+96 ;;=F19.14^^42^508^1
+97 ;;^UTILITY(U,$J,358.3,11107,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,11107,1,3,0)
+100 ;;=3^Other/Unknown Substance Induced Depressive D/O w/ Mild Use D/O
+101 ;;^UTILITY(U,$J,358.3,11107,1,4,0)
+102 ;;=4^F19.14
+103 ;;^UTILITY(U,$J,358.3,11107,2)
+104 ;;=^5003421
+105 ;;^UTILITY(U,$J,358.3,11108,0)
+106 ;;=F19.24^^42^508^2
+107 ;;^UTILITY(U,$J,358.3,11108,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,11108,1,3,0)
+110 ;;=3^Other/Unknown Substance Induced Depressive D/O w/ Mod-Sev Use D/O
+111 ;;^UTILITY(U,$J,358.3,11108,1,4,0)
+112 ;;=4^F19.24
+113 ;;^UTILITY(U,$J,358.3,11108,2)
+114 ;;=^5003441
+115 ;;^UTILITY(U,$J,358.3,11109,0)
+116 ;;=F19.94^^42^508^3
+117 ;;^UTILITY(U,$J,358.3,11109,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,11109,1,3,0)
+120 ;;=3^Other/Unknown Substance Induced Depressive D/O w/o Use D/O