IBDEI1QL ; ; 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,27758,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27758,1,3,0)
;;=3^Brief Psychotic D/O
;;^UTILITY(U,$J,358.3,27758,1,4,0)
;;=4^F23.
;;^UTILITY(U,$J,358.3,27758,2)
;;=^5003479
;;^UTILITY(U,$J,358.3,27759,0)
;;=F25.0^^113^1357^7
;;^UTILITY(U,$J,358.3,27759,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27759,1,3,0)
;;=3^Schizoaffective D/O,Bipolar Type
;;^UTILITY(U,$J,358.3,27759,1,4,0)
;;=4^F25.0
;;^UTILITY(U,$J,358.3,27759,2)
;;=^5003480
;;^UTILITY(U,$J,358.3,27760,0)
;;=F25.1^^113^1357^8
;;^UTILITY(U,$J,358.3,27760,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27760,1,3,0)
;;=3^Schizoaffective D/O,Depressive Type
;;^UTILITY(U,$J,358.3,27760,1,4,0)
;;=4^F25.1
;;^UTILITY(U,$J,358.3,27760,2)
;;=^5003481
;;^UTILITY(U,$J,358.3,27761,0)
;;=F28.^^113^1357^11
;;^UTILITY(U,$J,358.3,27761,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27761,1,3,0)
;;=3^Schizophrenia Spectrum & Psychotic D/O,Oth Specified
;;^UTILITY(U,$J,358.3,27761,1,4,0)
;;=4^F28.
;;^UTILITY(U,$J,358.3,27761,2)
;;=^5003483
;;^UTILITY(U,$J,358.3,27762,0)
;;=F29.^^113^1357^12
;;^UTILITY(U,$J,358.3,27762,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27762,1,3,0)
;;=3^Schizophrenia Spectrum & Psychotic D/O,Unspec
;;^UTILITY(U,$J,358.3,27762,1,4,0)
;;=4^F29.
;;^UTILITY(U,$J,358.3,27762,2)
;;=^5003484
;;^UTILITY(U,$J,358.3,27763,0)
;;=F06.1^^113^1357^2
;;^UTILITY(U,$J,358.3,27763,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27763,1,3,0)
;;=3^Catatonic D/O d/t Phys Cond
;;^UTILITY(U,$J,358.3,27763,1,4,0)
;;=4^F06.1
;;^UTILITY(U,$J,358.3,27763,2)
;;=^5003054
;;^UTILITY(U,$J,358.3,27764,0)
;;=R29.818^^113^1357^4
;;^UTILITY(U,$J,358.3,27764,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27764,1,3,0)
;;=3^Nervous & Musculoskeletal System Symptoms,Other
;;^UTILITY(U,$J,358.3,27764,1,4,0)
;;=4^R29.818
;;^UTILITY(U,$J,358.3,27764,2)
;;=^5019318
;;^UTILITY(U,$J,358.3,27765,0)
;;=F06.2^^113^1357^5
;;^UTILITY(U,$J,358.3,27765,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27765,1,3,0)
;;=3^Psychotic D/O w/ Delusions d/t Phys Cond
;;^UTILITY(U,$J,358.3,27765,1,4,0)
;;=4^F06.2
;;^UTILITY(U,$J,358.3,27765,2)
;;=^5003055
;;^UTILITY(U,$J,358.3,27766,0)
;;=F06.0^^113^1357^6
;;^UTILITY(U,$J,358.3,27766,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27766,1,3,0)
;;=3^Psychotic D/O w/ Hallucinations d/t Phys Cond
;;^UTILITY(U,$J,358.3,27766,1,4,0)
;;=4^F06.0
;;^UTILITY(U,$J,358.3,27766,2)
;;=^5003053
;;^UTILITY(U,$J,358.3,27767,0)
;;=F60.1^^113^1357^9
;;^UTILITY(U,$J,358.3,27767,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27767,1,3,0)
;;=3^Schizoid Personality D/O
;;^UTILITY(U,$J,358.3,27767,1,4,0)
;;=4^F60.1
;;^UTILITY(U,$J,358.3,27767,2)
;;=^108271
;;^UTILITY(U,$J,358.3,27768,0)
;;=F21.^^113^1357^14
;;^UTILITY(U,$J,358.3,27768,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27768,1,3,0)
;;=3^Schizotypal D/O
;;^UTILITY(U,$J,358.3,27768,1,4,0)
;;=4^F21.
;;^UTILITY(U,$J,358.3,27768,2)
;;=^5003477
;;^UTILITY(U,$J,358.3,27769,0)
;;=F52.32^^113^1358^1
;;^UTILITY(U,$J,358.3,27769,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27769,1,3,0)
;;=3^Delayed Ejaculation
;;^UTILITY(U,$J,358.3,27769,1,4,0)
;;=4^F52.32
;;^UTILITY(U,$J,358.3,27769,2)
;;=^331927
;;^UTILITY(U,$J,358.3,27770,0)
;;=F52.21^^113^1358^2
;;^UTILITY(U,$J,358.3,27770,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27770,1,3,0)
;;=3^Erectile D/O
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QL 3792 printed Dec 13, 2024@02:13:52 Page 2
IBDEI1QL ; ; 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,27758,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,27758,1,3,0)
+4 ;;=3^Brief Psychotic D/O
+5 ;;^UTILITY(U,$J,358.3,27758,1,4,0)
+6 ;;=4^F23.
+7 ;;^UTILITY(U,$J,358.3,27758,2)
+8 ;;=^5003479
+9 ;;^UTILITY(U,$J,358.3,27759,0)
+10 ;;=F25.0^^113^1357^7
+11 ;;^UTILITY(U,$J,358.3,27759,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,27759,1,3,0)
+14 ;;=3^Schizoaffective D/O,Bipolar Type
+15 ;;^UTILITY(U,$J,358.3,27759,1,4,0)
+16 ;;=4^F25.0
+17 ;;^UTILITY(U,$J,358.3,27759,2)
+18 ;;=^5003480
+19 ;;^UTILITY(U,$J,358.3,27760,0)
+20 ;;=F25.1^^113^1357^8
+21 ;;^UTILITY(U,$J,358.3,27760,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,27760,1,3,0)
+24 ;;=3^Schizoaffective D/O,Depressive Type
+25 ;;^UTILITY(U,$J,358.3,27760,1,4,0)
+26 ;;=4^F25.1
+27 ;;^UTILITY(U,$J,358.3,27760,2)
+28 ;;=^5003481
+29 ;;^UTILITY(U,$J,358.3,27761,0)
+30 ;;=F28.^^113^1357^11
+31 ;;^UTILITY(U,$J,358.3,27761,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,27761,1,3,0)
+34 ;;=3^Schizophrenia Spectrum & Psychotic D/O,Oth Specified
+35 ;;^UTILITY(U,$J,358.3,27761,1,4,0)
+36 ;;=4^F28.
+37 ;;^UTILITY(U,$J,358.3,27761,2)
+38 ;;=^5003483
+39 ;;^UTILITY(U,$J,358.3,27762,0)
+40 ;;=F29.^^113^1357^12
+41 ;;^UTILITY(U,$J,358.3,27762,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,27762,1,3,0)
+44 ;;=3^Schizophrenia Spectrum & Psychotic D/O,Unspec
+45 ;;^UTILITY(U,$J,358.3,27762,1,4,0)
+46 ;;=4^F29.
+47 ;;^UTILITY(U,$J,358.3,27762,2)
+48 ;;=^5003484
+49 ;;^UTILITY(U,$J,358.3,27763,0)
+50 ;;=F06.1^^113^1357^2
+51 ;;^UTILITY(U,$J,358.3,27763,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,27763,1,3,0)
+54 ;;=3^Catatonic D/O d/t Phys Cond
+55 ;;^UTILITY(U,$J,358.3,27763,1,4,0)
+56 ;;=4^F06.1
+57 ;;^UTILITY(U,$J,358.3,27763,2)
+58 ;;=^5003054
+59 ;;^UTILITY(U,$J,358.3,27764,0)
+60 ;;=R29.818^^113^1357^4
+61 ;;^UTILITY(U,$J,358.3,27764,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,27764,1,3,0)
+64 ;;=3^Nervous & Musculoskeletal System Symptoms,Other
+65 ;;^UTILITY(U,$J,358.3,27764,1,4,0)
+66 ;;=4^R29.818
+67 ;;^UTILITY(U,$J,358.3,27764,2)
+68 ;;=^5019318
+69 ;;^UTILITY(U,$J,358.3,27765,0)
+70 ;;=F06.2^^113^1357^5
+71 ;;^UTILITY(U,$J,358.3,27765,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,27765,1,3,0)
+74 ;;=3^Psychotic D/O w/ Delusions d/t Phys Cond
+75 ;;^UTILITY(U,$J,358.3,27765,1,4,0)
+76 ;;=4^F06.2
+77 ;;^UTILITY(U,$J,358.3,27765,2)
+78 ;;=^5003055
+79 ;;^UTILITY(U,$J,358.3,27766,0)
+80 ;;=F06.0^^113^1357^6
+81 ;;^UTILITY(U,$J,358.3,27766,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,27766,1,3,0)
+84 ;;=3^Psychotic D/O w/ Hallucinations d/t Phys Cond
+85 ;;^UTILITY(U,$J,358.3,27766,1,4,0)
+86 ;;=4^F06.0
+87 ;;^UTILITY(U,$J,358.3,27766,2)
+88 ;;=^5003053
+89 ;;^UTILITY(U,$J,358.3,27767,0)
+90 ;;=F60.1^^113^1357^9
+91 ;;^UTILITY(U,$J,358.3,27767,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,27767,1,3,0)
+94 ;;=3^Schizoid Personality D/O
+95 ;;^UTILITY(U,$J,358.3,27767,1,4,0)
+96 ;;=4^F60.1
+97 ;;^UTILITY(U,$J,358.3,27767,2)
+98 ;;=^108271
+99 ;;^UTILITY(U,$J,358.3,27768,0)
+100 ;;=F21.^^113^1357^14
+101 ;;^UTILITY(U,$J,358.3,27768,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,27768,1,3,0)
+104 ;;=3^Schizotypal D/O
+105 ;;^UTILITY(U,$J,358.3,27768,1,4,0)
+106 ;;=4^F21.
+107 ;;^UTILITY(U,$J,358.3,27768,2)
+108 ;;=^5003477
+109 ;;^UTILITY(U,$J,358.3,27769,0)
+110 ;;=F52.32^^113^1358^1
+111 ;;^UTILITY(U,$J,358.3,27769,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,27769,1,3,0)
+114 ;;=3^Delayed Ejaculation
+115 ;;^UTILITY(U,$J,358.3,27769,1,4,0)
+116 ;;=4^F52.32
+117 ;;^UTILITY(U,$J,358.3,27769,2)
+118 ;;=^331927
+119 ;;^UTILITY(U,$J,358.3,27770,0)
+120 ;;=F52.21^^113^1358^2
+121 ;;^UTILITY(U,$J,358.3,27770,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,27770,1,3,0)
+124 ;;=3^Erectile D/O