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