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