IBDEI0NZ ; ; 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,10790,1,4,0)
;;=4^Z63.4
;;^UTILITY(U,$J,358.3,10790,2)
;;=^5063168
;;^UTILITY(U,$J,358.3,10791,0)
;;=Z62.29^^42^487^8
;;^UTILITY(U,$J,358.3,10791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10791,1,3,0)
;;=3^Upbringing Away from Parents
;;^UTILITY(U,$J,358.3,10791,1,4,0)
;;=4^Z62.29
;;^UTILITY(U,$J,358.3,10791,2)
;;=^5063150
;;^UTILITY(U,$J,358.3,10792,0)
;;=F20.9^^42^488^11
;;^UTILITY(U,$J,358.3,10792,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10792,1,3,0)
;;=3^Schizophrenia
;;^UTILITY(U,$J,358.3,10792,1,4,0)
;;=4^F20.9
;;^UTILITY(U,$J,358.3,10792,2)
;;=^5003476
;;^UTILITY(U,$J,358.3,10793,0)
;;=F20.81^^42^488^14
;;^UTILITY(U,$J,358.3,10793,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10793,1,3,0)
;;=3^Schizophreniform Disorder
;;^UTILITY(U,$J,358.3,10793,1,4,0)
;;=4^F20.81
;;^UTILITY(U,$J,358.3,10793,2)
;;=^5003474
;;^UTILITY(U,$J,358.3,10794,0)
;;=F22.^^42^488^5
;;^UTILITY(U,$J,358.3,10794,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10794,1,3,0)
;;=3^Delusional Disorder
;;^UTILITY(U,$J,358.3,10794,1,4,0)
;;=4^F22.
;;^UTILITY(U,$J,358.3,10794,2)
;;=^5003478
;;^UTILITY(U,$J,358.3,10795,0)
;;=F23.^^42^488^1
;;^UTILITY(U,$J,358.3,10795,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10795,1,3,0)
;;=3^Brief Psychotic Disorder
;;^UTILITY(U,$J,358.3,10795,1,4,0)
;;=4^F23.
;;^UTILITY(U,$J,358.3,10795,2)
;;=^5003479
;;^UTILITY(U,$J,358.3,10796,0)
;;=F25.0^^42^488^9
;;^UTILITY(U,$J,358.3,10796,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10796,1,3,0)
;;=3^Schizoaffective Disorder,Bipolar Type
;;^UTILITY(U,$J,358.3,10796,1,4,0)
;;=4^F25.0
;;^UTILITY(U,$J,358.3,10796,2)
;;=^5003480
;;^UTILITY(U,$J,358.3,10797,0)
;;=F25.1^^42^488^10
;;^UTILITY(U,$J,358.3,10797,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10797,1,3,0)
;;=3^Schizoaffective Disorder,Depressive Type
;;^UTILITY(U,$J,358.3,10797,1,4,0)
;;=4^F25.1
;;^UTILITY(U,$J,358.3,10797,2)
;;=^5003481
;;^UTILITY(U,$J,358.3,10798,0)
;;=F28.^^42^488^12
;;^UTILITY(U,$J,358.3,10798,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10798,1,3,0)
;;=3^Schizophrenia Spectrum & Psychotic Disorder,Oth Specified
;;^UTILITY(U,$J,358.3,10798,1,4,0)
;;=4^F28.
;;^UTILITY(U,$J,358.3,10798,2)
;;=^5003483
;;^UTILITY(U,$J,358.3,10799,0)
;;=F29.^^42^488^13
;;^UTILITY(U,$J,358.3,10799,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10799,1,3,0)
;;=3^Schizophrenia Spectrum & Psychotic Disorder,Unspec
;;^UTILITY(U,$J,358.3,10799,1,4,0)
;;=4^F29.
;;^UTILITY(U,$J,358.3,10799,2)
;;=^5003484
;;^UTILITY(U,$J,358.3,10800,0)
;;=F06.1^^42^488^2
;;^UTILITY(U,$J,358.3,10800,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10800,1,3,0)
;;=3^Catatonia Associated w/ Another Mental Disorder
;;^UTILITY(U,$J,358.3,10800,1,4,0)
;;=4^F06.1
;;^UTILITY(U,$J,358.3,10800,2)
;;=^5003054
;;^UTILITY(U,$J,358.3,10801,0)
;;=F06.1^^42^488^4
;;^UTILITY(U,$J,358.3,10801,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10801,1,3,0)
;;=3^Catatonic Disorder d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,10801,1,4,0)
;;=4^F06.1
;;^UTILITY(U,$J,358.3,10801,2)
;;=^5003054
;;^UTILITY(U,$J,358.3,10802,0)
;;=F06.1^^42^488^3
;;^UTILITY(U,$J,358.3,10802,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10802,1,3,0)
;;=3^Catatonia,Unspec
;;^UTILITY(U,$J,358.3,10802,1,4,0)
;;=4^F06.1
;;^UTILITY(U,$J,358.3,10802,2)
;;=^5003054
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0NZ 3758 printed Dec 13, 2024@01:52:23 Page 2
IBDEI0NZ ; ; 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,10790,1,4,0)
+2 ;;=4^Z63.4
+3 ;;^UTILITY(U,$J,358.3,10790,2)
+4 ;;=^5063168
+5 ;;^UTILITY(U,$J,358.3,10791,0)
+6 ;;=Z62.29^^42^487^8
+7 ;;^UTILITY(U,$J,358.3,10791,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,10791,1,3,0)
+10 ;;=3^Upbringing Away from Parents
+11 ;;^UTILITY(U,$J,358.3,10791,1,4,0)
+12 ;;=4^Z62.29
+13 ;;^UTILITY(U,$J,358.3,10791,2)
+14 ;;=^5063150
+15 ;;^UTILITY(U,$J,358.3,10792,0)
+16 ;;=F20.9^^42^488^11
+17 ;;^UTILITY(U,$J,358.3,10792,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,10792,1,3,0)
+20 ;;=3^Schizophrenia
+21 ;;^UTILITY(U,$J,358.3,10792,1,4,0)
+22 ;;=4^F20.9
+23 ;;^UTILITY(U,$J,358.3,10792,2)
+24 ;;=^5003476
+25 ;;^UTILITY(U,$J,358.3,10793,0)
+26 ;;=F20.81^^42^488^14
+27 ;;^UTILITY(U,$J,358.3,10793,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,10793,1,3,0)
+30 ;;=3^Schizophreniform Disorder
+31 ;;^UTILITY(U,$J,358.3,10793,1,4,0)
+32 ;;=4^F20.81
+33 ;;^UTILITY(U,$J,358.3,10793,2)
+34 ;;=^5003474
+35 ;;^UTILITY(U,$J,358.3,10794,0)
+36 ;;=F22.^^42^488^5
+37 ;;^UTILITY(U,$J,358.3,10794,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,10794,1,3,0)
+40 ;;=3^Delusional Disorder
+41 ;;^UTILITY(U,$J,358.3,10794,1,4,0)
+42 ;;=4^F22.
+43 ;;^UTILITY(U,$J,358.3,10794,2)
+44 ;;=^5003478
+45 ;;^UTILITY(U,$J,358.3,10795,0)
+46 ;;=F23.^^42^488^1
+47 ;;^UTILITY(U,$J,358.3,10795,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,10795,1,3,0)
+50 ;;=3^Brief Psychotic Disorder
+51 ;;^UTILITY(U,$J,358.3,10795,1,4,0)
+52 ;;=4^F23.
+53 ;;^UTILITY(U,$J,358.3,10795,2)
+54 ;;=^5003479
+55 ;;^UTILITY(U,$J,358.3,10796,0)
+56 ;;=F25.0^^42^488^9
+57 ;;^UTILITY(U,$J,358.3,10796,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,10796,1,3,0)
+60 ;;=3^Schizoaffective Disorder,Bipolar Type
+61 ;;^UTILITY(U,$J,358.3,10796,1,4,0)
+62 ;;=4^F25.0
+63 ;;^UTILITY(U,$J,358.3,10796,2)
+64 ;;=^5003480
+65 ;;^UTILITY(U,$J,358.3,10797,0)
+66 ;;=F25.1^^42^488^10
+67 ;;^UTILITY(U,$J,358.3,10797,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,10797,1,3,0)
+70 ;;=3^Schizoaffective Disorder,Depressive Type
+71 ;;^UTILITY(U,$J,358.3,10797,1,4,0)
+72 ;;=4^F25.1
+73 ;;^UTILITY(U,$J,358.3,10797,2)
+74 ;;=^5003481
+75 ;;^UTILITY(U,$J,358.3,10798,0)
+76 ;;=F28.^^42^488^12
+77 ;;^UTILITY(U,$J,358.3,10798,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,10798,1,3,0)
+80 ;;=3^Schizophrenia Spectrum & Psychotic Disorder,Oth Specified
+81 ;;^UTILITY(U,$J,358.3,10798,1,4,0)
+82 ;;=4^F28.
+83 ;;^UTILITY(U,$J,358.3,10798,2)
+84 ;;=^5003483
+85 ;;^UTILITY(U,$J,358.3,10799,0)
+86 ;;=F29.^^42^488^13
+87 ;;^UTILITY(U,$J,358.3,10799,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,10799,1,3,0)
+90 ;;=3^Schizophrenia Spectrum & Psychotic Disorder,Unspec
+91 ;;^UTILITY(U,$J,358.3,10799,1,4,0)
+92 ;;=4^F29.
+93 ;;^UTILITY(U,$J,358.3,10799,2)
+94 ;;=^5003484
+95 ;;^UTILITY(U,$J,358.3,10800,0)
+96 ;;=F06.1^^42^488^2
+97 ;;^UTILITY(U,$J,358.3,10800,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,10800,1,3,0)
+100 ;;=3^Catatonia Associated w/ Another Mental Disorder
+101 ;;^UTILITY(U,$J,358.3,10800,1,4,0)
+102 ;;=4^F06.1
+103 ;;^UTILITY(U,$J,358.3,10800,2)
+104 ;;=^5003054
+105 ;;^UTILITY(U,$J,358.3,10801,0)
+106 ;;=F06.1^^42^488^4
+107 ;;^UTILITY(U,$J,358.3,10801,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,10801,1,3,0)
+110 ;;=3^Catatonic Disorder d/t Another Medical Condition
+111 ;;^UTILITY(U,$J,358.3,10801,1,4,0)
+112 ;;=4^F06.1
+113 ;;^UTILITY(U,$J,358.3,10801,2)
+114 ;;=^5003054
+115 ;;^UTILITY(U,$J,358.3,10802,0)
+116 ;;=F06.1^^42^488^3
+117 ;;^UTILITY(U,$J,358.3,10802,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,10802,1,3,0)
+120 ;;=3^Catatonia,Unspec
+121 ;;^UTILITY(U,$J,358.3,10802,1,4,0)
+122 ;;=4^F06.1
+123 ;;^UTILITY(U,$J,358.3,10802,2)
+124 ;;=^5003054