IBDEI2SG ; ; 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,44465,2)
;;=^5003424
;;^UTILITY(U,$J,358.3,44466,0)
;;=F19.259^^164^2206^11
;;^UTILITY(U,$J,358.3,44466,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44466,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,44466,1,4,0)
;;=4^F19.259
;;^UTILITY(U,$J,358.3,44466,2)
;;=^5003444
;;^UTILITY(U,$J,358.3,44467,0)
;;=F19.959^^164^2206^12
;;^UTILITY(U,$J,358.3,44467,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44467,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,44467,1,4,0)
;;=4^F19.959
;;^UTILITY(U,$J,358.3,44467,2)
;;=^5003463
;;^UTILITY(U,$J,358.3,44468,0)
;;=F19.181^^164^2206^13
;;^UTILITY(U,$J,358.3,44468,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44468,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,44468,1,4,0)
;;=4^F19.181
;;^UTILITY(U,$J,358.3,44468,2)
;;=^5003428
;;^UTILITY(U,$J,358.3,44469,0)
;;=F19.281^^164^2206^14
;;^UTILITY(U,$J,358.3,44469,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44469,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,44469,1,4,0)
;;=4^F19.281
;;^UTILITY(U,$J,358.3,44469,2)
;;=^5003448
;;^UTILITY(U,$J,358.3,44470,0)
;;=F19.981^^164^2206^15
;;^UTILITY(U,$J,358.3,44470,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44470,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
;;^UTILITY(U,$J,358.3,44470,1,4,0)
;;=4^F19.981
;;^UTILITY(U,$J,358.3,44470,2)
;;=^5003467
;;^UTILITY(U,$J,358.3,44471,0)
;;=F19.182^^164^2206^16
;;^UTILITY(U,$J,358.3,44471,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44471,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,44471,1,4,0)
;;=4^F19.182
;;^UTILITY(U,$J,358.3,44471,2)
;;=^5003429
;;^UTILITY(U,$J,358.3,44472,0)
;;=F19.282^^164^2206^17
;;^UTILITY(U,$J,358.3,44472,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44472,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,44472,1,4,0)
;;=4^F19.282
;;^UTILITY(U,$J,358.3,44472,2)
;;=^5003449
;;^UTILITY(U,$J,358.3,44473,0)
;;=F19.982^^164^2206^18
;;^UTILITY(U,$J,358.3,44473,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44473,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,44473,1,4,0)
;;=4^F19.982
;;^UTILITY(U,$J,358.3,44473,2)
;;=^5003468
;;^UTILITY(U,$J,358.3,44474,0)
;;=F19.129^^164^2206^22
;;^UTILITY(U,$J,358.3,44474,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44474,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,44474,1,4,0)
;;=4^F19.129
;;^UTILITY(U,$J,358.3,44474,2)
;;=^5003420
;;^UTILITY(U,$J,358.3,44475,0)
;;=F19.229^^164^2206^23
;;^UTILITY(U,$J,358.3,44475,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44475,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,44475,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,44475,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,44476,0)
;;=F19.929^^164^2206^24
;;^UTILITY(U,$J,358.3,44476,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44476,1,3,0)
;;=3^Oth/Unk Substance Intox w/o Use D/O
;;^UTILITY(U,$J,358.3,44476,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,44476,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,44477,0)
;;=F19.121^^164^2206^19
;;^UTILITY(U,$J,358.3,44477,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2SG 3788 printed Nov 22, 2024@17:45:06 Page 2
IBDEI2SG ; ; 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,44465,2)
+2 ;;=^5003424
+3 ;;^UTILITY(U,$J,358.3,44466,0)
+4 ;;=F19.259^^164^2206^11
+5 ;;^UTILITY(U,$J,358.3,44466,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,44466,1,3,0)
+8 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
+9 ;;^UTILITY(U,$J,358.3,44466,1,4,0)
+10 ;;=4^F19.259
+11 ;;^UTILITY(U,$J,358.3,44466,2)
+12 ;;=^5003444
+13 ;;^UTILITY(U,$J,358.3,44467,0)
+14 ;;=F19.959^^164^2206^12
+15 ;;^UTILITY(U,$J,358.3,44467,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,44467,1,3,0)
+18 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
+19 ;;^UTILITY(U,$J,358.3,44467,1,4,0)
+20 ;;=4^F19.959
+21 ;;^UTILITY(U,$J,358.3,44467,2)
+22 ;;=^5003463
+23 ;;^UTILITY(U,$J,358.3,44468,0)
+24 ;;=F19.181^^164^2206^13
+25 ;;^UTILITY(U,$J,358.3,44468,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,44468,1,3,0)
+28 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
+29 ;;^UTILITY(U,$J,358.3,44468,1,4,0)
+30 ;;=4^F19.181
+31 ;;^UTILITY(U,$J,358.3,44468,2)
+32 ;;=^5003428
+33 ;;^UTILITY(U,$J,358.3,44469,0)
+34 ;;=F19.281^^164^2206^14
+35 ;;^UTILITY(U,$J,358.3,44469,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,44469,1,3,0)
+38 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
+39 ;;^UTILITY(U,$J,358.3,44469,1,4,0)
+40 ;;=4^F19.281
+41 ;;^UTILITY(U,$J,358.3,44469,2)
+42 ;;=^5003448
+43 ;;^UTILITY(U,$J,358.3,44470,0)
+44 ;;=F19.981^^164^2206^15
+45 ;;^UTILITY(U,$J,358.3,44470,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,44470,1,3,0)
+48 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
+49 ;;^UTILITY(U,$J,358.3,44470,1,4,0)
+50 ;;=4^F19.981
+51 ;;^UTILITY(U,$J,358.3,44470,2)
+52 ;;=^5003467
+53 ;;^UTILITY(U,$J,358.3,44471,0)
+54 ;;=F19.182^^164^2206^16
+55 ;;^UTILITY(U,$J,358.3,44471,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,44471,1,3,0)
+58 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
+59 ;;^UTILITY(U,$J,358.3,44471,1,4,0)
+60 ;;=4^F19.182
+61 ;;^UTILITY(U,$J,358.3,44471,2)
+62 ;;=^5003429
+63 ;;^UTILITY(U,$J,358.3,44472,0)
+64 ;;=F19.282^^164^2206^17
+65 ;;^UTILITY(U,$J,358.3,44472,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,44472,1,3,0)
+68 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
+69 ;;^UTILITY(U,$J,358.3,44472,1,4,0)
+70 ;;=4^F19.282
+71 ;;^UTILITY(U,$J,358.3,44472,2)
+72 ;;=^5003449
+73 ;;^UTILITY(U,$J,358.3,44473,0)
+74 ;;=F19.982^^164^2206^18
+75 ;;^UTILITY(U,$J,358.3,44473,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,44473,1,3,0)
+78 ;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
+79 ;;^UTILITY(U,$J,358.3,44473,1,4,0)
+80 ;;=4^F19.982
+81 ;;^UTILITY(U,$J,358.3,44473,2)
+82 ;;=^5003468
+83 ;;^UTILITY(U,$J,358.3,44474,0)
+84 ;;=F19.129^^164^2206^22
+85 ;;^UTILITY(U,$J,358.3,44474,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,44474,1,3,0)
+88 ;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
+89 ;;^UTILITY(U,$J,358.3,44474,1,4,0)
+90 ;;=4^F19.129
+91 ;;^UTILITY(U,$J,358.3,44474,2)
+92 ;;=^5003420
+93 ;;^UTILITY(U,$J,358.3,44475,0)
+94 ;;=F19.229^^164^2206^23
+95 ;;^UTILITY(U,$J,358.3,44475,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,44475,1,3,0)
+98 ;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
+99 ;;^UTILITY(U,$J,358.3,44475,1,4,0)
+100 ;;=4^F19.229
+101 ;;^UTILITY(U,$J,358.3,44475,2)
+102 ;;=^5003436
+103 ;;^UTILITY(U,$J,358.3,44476,0)
+104 ;;=F19.929^^164^2206^24
+105 ;;^UTILITY(U,$J,358.3,44476,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,44476,1,3,0)
+108 ;;=3^Oth/Unk Substance Intox w/o Use D/O
+109 ;;^UTILITY(U,$J,358.3,44476,1,4,0)
+110 ;;=4^F19.929
+111 ;;^UTILITY(U,$J,358.3,44476,2)
+112 ;;=^5003455
+113 ;;^UTILITY(U,$J,358.3,44477,0)
+114 ;;=F19.121^^164^2206^19
+115 ;;^UTILITY(U,$J,358.3,44477,1,0)
+116 ;;=^358.31IA^4^2