IBDEI0OR ; ; 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,11120,2)
;;=^5003448
;;^UTILITY(U,$J,358.3,11121,0)
;;=F19.981^^42^508^12
;;^UTILITY(U,$J,358.3,11121,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11121,1,3,0)
;;=3^Other/Unknown Substance Induced Sexual Dysfunction w/ o Use D/O
;;^UTILITY(U,$J,358.3,11121,1,4,0)
;;=4^F19.981
;;^UTILITY(U,$J,358.3,11121,2)
;;=^5003467
;;^UTILITY(U,$J,358.3,11122,0)
;;=F19.182^^42^508^13
;;^UTILITY(U,$J,358.3,11122,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11122,1,3,0)
;;=3^Other/Unknown Substance Induced Sleep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,11122,1,4,0)
;;=4^F19.182
;;^UTILITY(U,$J,358.3,11122,2)
;;=^5003429
;;^UTILITY(U,$J,358.3,11123,0)
;;=F19.282^^42^508^14
;;^UTILITY(U,$J,358.3,11123,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11123,1,3,0)
;;=3^Other/Unknown Substance Induced Sleep D/O w/ Mod-Sev Use D/O
;;^UTILITY(U,$J,358.3,11123,1,4,0)
;;=4^F19.282
;;^UTILITY(U,$J,358.3,11123,2)
;;=^5003449
;;^UTILITY(U,$J,358.3,11124,0)
;;=F19.982^^42^508^15
;;^UTILITY(U,$J,358.3,11124,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11124,1,3,0)
;;=3^Other/Unknown Substance Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,11124,1,4,0)
;;=4^F19.982
;;^UTILITY(U,$J,358.3,11124,2)
;;=^5003468
;;^UTILITY(U,$J,358.3,11125,0)
;;=F19.129^^42^508^19
;;^UTILITY(U,$J,358.3,11125,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11125,1,3,0)
;;=3^Other/Unknown Substance Intoxication w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,11125,1,4,0)
;;=4^F19.129
;;^UTILITY(U,$J,358.3,11125,2)
;;=^5003420
;;^UTILITY(U,$J,358.3,11126,0)
;;=F19.229^^42^508^20
;;^UTILITY(U,$J,358.3,11126,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11126,1,3,0)
;;=3^Other/Unknown Substance Intoxication w/ Mod-Sev Use D/O
;;^UTILITY(U,$J,358.3,11126,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,11126,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,11127,0)
;;=F19.929^^42^508^21
;;^UTILITY(U,$J,358.3,11127,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11127,1,3,0)
;;=3^Other/Unknown Substance Intoxication w/o Use D/O
;;^UTILITY(U,$J,358.3,11127,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,11127,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,11128,0)
;;=F19.121^^42^508^16
;;^UTILITY(U,$J,358.3,11128,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11128,1,3,0)
;;=3^Other/Unknown Substance Intoxication Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,11128,1,4,0)
;;=4^F19.121
;;^UTILITY(U,$J,358.3,11128,2)
;;=^5003418
;;^UTILITY(U,$J,358.3,11129,0)
;;=F19.221^^42^508^17
;;^UTILITY(U,$J,358.3,11129,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11129,1,3,0)
;;=3^Other/Unknown Substance Intoxication Delirium w/ Mod-Sev Use D/O
;;^UTILITY(U,$J,358.3,11129,1,4,0)
;;=4^F19.221
;;^UTILITY(U,$J,358.3,11129,2)
;;=^5003434
;;^UTILITY(U,$J,358.3,11130,0)
;;=F19.921^^42^508^18
;;^UTILITY(U,$J,358.3,11130,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11130,1,3,0)
;;=3^Other/Unknown Substance Intoxication Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,11130,1,4,0)
;;=4^F19.921
;;^UTILITY(U,$J,358.3,11130,2)
;;=^5003453
;;^UTILITY(U,$J,358.3,11131,0)
;;=F19.10^^42^508^23
;;^UTILITY(U,$J,358.3,11131,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,11131,1,3,0)
;;=3^Other/Unknown Substance Use D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,11131,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,11131,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,11132,0)
;;=F19.20^^42^508^24
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0OR 3779 printed Nov 22, 2024@17:03:01 Page 2
IBDEI0OR ; ; 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,11120,2)
+2 ;;=^5003448
+3 ;;^UTILITY(U,$J,358.3,11121,0)
+4 ;;=F19.981^^42^508^12
+5 ;;^UTILITY(U,$J,358.3,11121,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,11121,1,3,0)
+8 ;;=3^Other/Unknown Substance Induced Sexual Dysfunction w/ o Use D/O
+9 ;;^UTILITY(U,$J,358.3,11121,1,4,0)
+10 ;;=4^F19.981
+11 ;;^UTILITY(U,$J,358.3,11121,2)
+12 ;;=^5003467
+13 ;;^UTILITY(U,$J,358.3,11122,0)
+14 ;;=F19.182^^42^508^13
+15 ;;^UTILITY(U,$J,358.3,11122,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,11122,1,3,0)
+18 ;;=3^Other/Unknown Substance Induced Sleep D/O w/ Mild Use D/O
+19 ;;^UTILITY(U,$J,358.3,11122,1,4,0)
+20 ;;=4^F19.182
+21 ;;^UTILITY(U,$J,358.3,11122,2)
+22 ;;=^5003429
+23 ;;^UTILITY(U,$J,358.3,11123,0)
+24 ;;=F19.282^^42^508^14
+25 ;;^UTILITY(U,$J,358.3,11123,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,11123,1,3,0)
+28 ;;=3^Other/Unknown Substance Induced Sleep D/O w/ Mod-Sev Use D/O
+29 ;;^UTILITY(U,$J,358.3,11123,1,4,0)
+30 ;;=4^F19.282
+31 ;;^UTILITY(U,$J,358.3,11123,2)
+32 ;;=^5003449
+33 ;;^UTILITY(U,$J,358.3,11124,0)
+34 ;;=F19.982^^42^508^15
+35 ;;^UTILITY(U,$J,358.3,11124,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,11124,1,3,0)
+38 ;;=3^Other/Unknown Substance Induced Sleep D/O w/o Use D/O
+39 ;;^UTILITY(U,$J,358.3,11124,1,4,0)
+40 ;;=4^F19.982
+41 ;;^UTILITY(U,$J,358.3,11124,2)
+42 ;;=^5003468
+43 ;;^UTILITY(U,$J,358.3,11125,0)
+44 ;;=F19.129^^42^508^19
+45 ;;^UTILITY(U,$J,358.3,11125,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,11125,1,3,0)
+48 ;;=3^Other/Unknown Substance Intoxication w/ Mild Use D/O
+49 ;;^UTILITY(U,$J,358.3,11125,1,4,0)
+50 ;;=4^F19.129
+51 ;;^UTILITY(U,$J,358.3,11125,2)
+52 ;;=^5003420
+53 ;;^UTILITY(U,$J,358.3,11126,0)
+54 ;;=F19.229^^42^508^20
+55 ;;^UTILITY(U,$J,358.3,11126,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,11126,1,3,0)
+58 ;;=3^Other/Unknown Substance Intoxication w/ Mod-Sev Use D/O
+59 ;;^UTILITY(U,$J,358.3,11126,1,4,0)
+60 ;;=4^F19.229
+61 ;;^UTILITY(U,$J,358.3,11126,2)
+62 ;;=^5003436
+63 ;;^UTILITY(U,$J,358.3,11127,0)
+64 ;;=F19.929^^42^508^21
+65 ;;^UTILITY(U,$J,358.3,11127,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,11127,1,3,0)
+68 ;;=3^Other/Unknown Substance Intoxication w/o Use D/O
+69 ;;^UTILITY(U,$J,358.3,11127,1,4,0)
+70 ;;=4^F19.929
+71 ;;^UTILITY(U,$J,358.3,11127,2)
+72 ;;=^5003455
+73 ;;^UTILITY(U,$J,358.3,11128,0)
+74 ;;=F19.121^^42^508^16
+75 ;;^UTILITY(U,$J,358.3,11128,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,11128,1,3,0)
+78 ;;=3^Other/Unknown Substance Intoxication Delirium w/ Mild Use D/O
+79 ;;^UTILITY(U,$J,358.3,11128,1,4,0)
+80 ;;=4^F19.121
+81 ;;^UTILITY(U,$J,358.3,11128,2)
+82 ;;=^5003418
+83 ;;^UTILITY(U,$J,358.3,11129,0)
+84 ;;=F19.221^^42^508^17
+85 ;;^UTILITY(U,$J,358.3,11129,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,11129,1,3,0)
+88 ;;=3^Other/Unknown Substance Intoxication Delirium w/ Mod-Sev Use D/O
+89 ;;^UTILITY(U,$J,358.3,11129,1,4,0)
+90 ;;=4^F19.221
+91 ;;^UTILITY(U,$J,358.3,11129,2)
+92 ;;=^5003434
+93 ;;^UTILITY(U,$J,358.3,11130,0)
+94 ;;=F19.921^^42^508^18
+95 ;;^UTILITY(U,$J,358.3,11130,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,11130,1,3,0)
+98 ;;=3^Other/Unknown Substance Intoxication Delirium w/o Use D/O
+99 ;;^UTILITY(U,$J,358.3,11130,1,4,0)
+100 ;;=4^F19.921
+101 ;;^UTILITY(U,$J,358.3,11130,2)
+102 ;;=^5003453
+103 ;;^UTILITY(U,$J,358.3,11131,0)
+104 ;;=F19.10^^42^508^23
+105 ;;^UTILITY(U,$J,358.3,11131,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,11131,1,3,0)
+108 ;;=3^Other/Unknown Substance Use D/O w/ Mild Use D/O
+109 ;;^UTILITY(U,$J,358.3,11131,1,4,0)
+110 ;;=4^F19.10
+111 ;;^UTILITY(U,$J,358.3,11131,2)
+112 ;;=^5003416
+113 ;;^UTILITY(U,$J,358.3,11132,0)
+114 ;;=F19.20^^42^508^24