IBDEI0K2 ; ; 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,9027,1,3,0)
;;=3^Insomnia,Unspec
;;^UTILITY(U,$J,358.3,9027,1,4,0)
;;=4^G47.00
;;^UTILITY(U,$J,358.3,9027,2)
;;=^332924
;;^UTILITY(U,$J,358.3,9028,0)
;;=F40.11^^39^405^28
;;^UTILITY(U,$J,358.3,9028,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9028,1,3,0)
;;=3^Social Phobia,Generalized
;;^UTILITY(U,$J,358.3,9028,1,4,0)
;;=4^F40.11
;;^UTILITY(U,$J,358.3,9028,2)
;;=^5003545
;;^UTILITY(U,$J,358.3,9029,0)
;;=F42.4^^39^405^11
;;^UTILITY(U,$J,358.3,9029,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9029,1,3,0)
;;=3^Excoriation (Skin-Picking) Disorder
;;^UTILITY(U,$J,358.3,9029,1,4,0)
;;=4^F42.4
;;^UTILITY(U,$J,358.3,9029,2)
;;=^5138446
;;^UTILITY(U,$J,358.3,9030,0)
;;=F42.3^^39^405^14
;;^UTILITY(U,$J,358.3,9030,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9030,1,3,0)
;;=3^Hoarding Disorder
;;^UTILITY(U,$J,358.3,9030,1,4,0)
;;=4^F42.3
;;^UTILITY(U,$J,358.3,9030,2)
;;=^5138445
;;^UTILITY(U,$J,358.3,9031,0)
;;=F42.2^^39^405^17
;;^UTILITY(U,$J,358.3,9031,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9031,1,3,0)
;;=3^Mixed Obsessional Thoughts & Acts
;;^UTILITY(U,$J,358.3,9031,1,4,0)
;;=4^F42.2
;;^UTILITY(U,$J,358.3,9031,2)
;;=^5138444
;;^UTILITY(U,$J,358.3,9032,0)
;;=F42.9^^39^405^19
;;^UTILITY(U,$J,358.3,9032,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9032,1,3,0)
;;=3^Obsessive-Compulsive Disorder,Unspec
;;^UTILITY(U,$J,358.3,9032,1,4,0)
;;=4^F42.9
;;^UTILITY(U,$J,358.3,9032,2)
;;=^5138448
;;^UTILITY(U,$J,358.3,9033,0)
;;=F42.8^^39^405^18
;;^UTILITY(U,$J,358.3,9033,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9033,1,3,0)
;;=3^Obsessive-Compulsive Disorder,Other
;;^UTILITY(U,$J,358.3,9033,1,4,0)
;;=4^F42.8
;;^UTILITY(U,$J,358.3,9033,2)
;;=^5138447
;;^UTILITY(U,$J,358.3,9034,0)
;;=F50.89^^39^405^10
;;^UTILITY(U,$J,358.3,9034,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9034,1,3,0)
;;=3^Eating Disorder,Oth Specified
;;^UTILITY(U,$J,358.3,9034,1,4,0)
;;=4^F50.89
;;^UTILITY(U,$J,358.3,9034,2)
;;=^5138449
;;^UTILITY(U,$J,358.3,9035,0)
;;=R41.0^^39^405^9
;;^UTILITY(U,$J,358.3,9035,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9035,1,3,0)
;;=3^Delirium,Disorientation NOS
;;^UTILITY(U,$J,358.3,9035,1,4,0)
;;=4^R41.0
;;^UTILITY(U,$J,358.3,9035,2)
;;=^5019436
;;^UTILITY(U,$J,358.3,9036,0)
;;=R56.00^^39^406^6
;;^UTILITY(U,$J,358.3,9036,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9036,1,3,0)
;;=3^Simple Febrile Convulsions
;;^UTILITY(U,$J,358.3,9036,1,4,0)
;;=4^R56.00
;;^UTILITY(U,$J,358.3,9036,2)
;;=^5019522
;;^UTILITY(U,$J,358.3,9037,0)
;;=R56.9^^39^406^4
;;^UTILITY(U,$J,358.3,9037,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9037,1,3,0)
;;=3^Convulsions,Unspec
;;^UTILITY(U,$J,358.3,9037,1,4,0)
;;=4^R56.9
;;^UTILITY(U,$J,358.3,9037,2)
;;=^5019524
;;^UTILITY(U,$J,358.3,9038,0)
;;=R25.0^^39^406^1
;;^UTILITY(U,$J,358.3,9038,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9038,1,3,0)
;;=3^Abnormal Head Movements
;;^UTILITY(U,$J,358.3,9038,1,4,0)
;;=4^R25.0
;;^UTILITY(U,$J,358.3,9038,2)
;;=^5019299
;;^UTILITY(U,$J,358.3,9039,0)
;;=R25.1^^39^406^7
;;^UTILITY(U,$J,358.3,9039,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9039,1,3,0)
;;=3^Tremor,Unspec
;;^UTILITY(U,$J,358.3,9039,1,4,0)
;;=4^R25.1
;;^UTILITY(U,$J,358.3,9039,2)
;;=^5019300
;;^UTILITY(U,$J,358.3,9040,0)
;;=R25.9^^39^406^3
;;^UTILITY(U,$J,358.3,9040,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0K2 3786 printed Nov 22, 2024@17:00:25 Page 2
IBDEI0K2 ; ; 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,9027,1,3,0)
+2 ;;=3^Insomnia,Unspec
+3 ;;^UTILITY(U,$J,358.3,9027,1,4,0)
+4 ;;=4^G47.00
+5 ;;^UTILITY(U,$J,358.3,9027,2)
+6 ;;=^332924
+7 ;;^UTILITY(U,$J,358.3,9028,0)
+8 ;;=F40.11^^39^405^28
+9 ;;^UTILITY(U,$J,358.3,9028,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,9028,1,3,0)
+12 ;;=3^Social Phobia,Generalized
+13 ;;^UTILITY(U,$J,358.3,9028,1,4,0)
+14 ;;=4^F40.11
+15 ;;^UTILITY(U,$J,358.3,9028,2)
+16 ;;=^5003545
+17 ;;^UTILITY(U,$J,358.3,9029,0)
+18 ;;=F42.4^^39^405^11
+19 ;;^UTILITY(U,$J,358.3,9029,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,9029,1,3,0)
+22 ;;=3^Excoriation (Skin-Picking) Disorder
+23 ;;^UTILITY(U,$J,358.3,9029,1,4,0)
+24 ;;=4^F42.4
+25 ;;^UTILITY(U,$J,358.3,9029,2)
+26 ;;=^5138446
+27 ;;^UTILITY(U,$J,358.3,9030,0)
+28 ;;=F42.3^^39^405^14
+29 ;;^UTILITY(U,$J,358.3,9030,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,9030,1,3,0)
+32 ;;=3^Hoarding Disorder
+33 ;;^UTILITY(U,$J,358.3,9030,1,4,0)
+34 ;;=4^F42.3
+35 ;;^UTILITY(U,$J,358.3,9030,2)
+36 ;;=^5138445
+37 ;;^UTILITY(U,$J,358.3,9031,0)
+38 ;;=F42.2^^39^405^17
+39 ;;^UTILITY(U,$J,358.3,9031,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,9031,1,3,0)
+42 ;;=3^Mixed Obsessional Thoughts & Acts
+43 ;;^UTILITY(U,$J,358.3,9031,1,4,0)
+44 ;;=4^F42.2
+45 ;;^UTILITY(U,$J,358.3,9031,2)
+46 ;;=^5138444
+47 ;;^UTILITY(U,$J,358.3,9032,0)
+48 ;;=F42.9^^39^405^19
+49 ;;^UTILITY(U,$J,358.3,9032,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,9032,1,3,0)
+52 ;;=3^Obsessive-Compulsive Disorder,Unspec
+53 ;;^UTILITY(U,$J,358.3,9032,1,4,0)
+54 ;;=4^F42.9
+55 ;;^UTILITY(U,$J,358.3,9032,2)
+56 ;;=^5138448
+57 ;;^UTILITY(U,$J,358.3,9033,0)
+58 ;;=F42.8^^39^405^18
+59 ;;^UTILITY(U,$J,358.3,9033,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,9033,1,3,0)
+62 ;;=3^Obsessive-Compulsive Disorder,Other
+63 ;;^UTILITY(U,$J,358.3,9033,1,4,0)
+64 ;;=4^F42.8
+65 ;;^UTILITY(U,$J,358.3,9033,2)
+66 ;;=^5138447
+67 ;;^UTILITY(U,$J,358.3,9034,0)
+68 ;;=F50.89^^39^405^10
+69 ;;^UTILITY(U,$J,358.3,9034,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,9034,1,3,0)
+72 ;;=3^Eating Disorder,Oth Specified
+73 ;;^UTILITY(U,$J,358.3,9034,1,4,0)
+74 ;;=4^F50.89
+75 ;;^UTILITY(U,$J,358.3,9034,2)
+76 ;;=^5138449
+77 ;;^UTILITY(U,$J,358.3,9035,0)
+78 ;;=R41.0^^39^405^9
+79 ;;^UTILITY(U,$J,358.3,9035,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,9035,1,3,0)
+82 ;;=3^Delirium,Disorientation NOS
+83 ;;^UTILITY(U,$J,358.3,9035,1,4,0)
+84 ;;=4^R41.0
+85 ;;^UTILITY(U,$J,358.3,9035,2)
+86 ;;=^5019436
+87 ;;^UTILITY(U,$J,358.3,9036,0)
+88 ;;=R56.00^^39^406^6
+89 ;;^UTILITY(U,$J,358.3,9036,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,9036,1,3,0)
+92 ;;=3^Simple Febrile Convulsions
+93 ;;^UTILITY(U,$J,358.3,9036,1,4,0)
+94 ;;=4^R56.00
+95 ;;^UTILITY(U,$J,358.3,9036,2)
+96 ;;=^5019522
+97 ;;^UTILITY(U,$J,358.3,9037,0)
+98 ;;=R56.9^^39^406^4
+99 ;;^UTILITY(U,$J,358.3,9037,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,9037,1,3,0)
+102 ;;=3^Convulsions,Unspec
+103 ;;^UTILITY(U,$J,358.3,9037,1,4,0)
+104 ;;=4^R56.9
+105 ;;^UTILITY(U,$J,358.3,9037,2)
+106 ;;=^5019524
+107 ;;^UTILITY(U,$J,358.3,9038,0)
+108 ;;=R25.0^^39^406^1
+109 ;;^UTILITY(U,$J,358.3,9038,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,9038,1,3,0)
+112 ;;=3^Abnormal Head Movements
+113 ;;^UTILITY(U,$J,358.3,9038,1,4,0)
+114 ;;=4^R25.0
+115 ;;^UTILITY(U,$J,358.3,9038,2)
+116 ;;=^5019299
+117 ;;^UTILITY(U,$J,358.3,9039,0)
+118 ;;=R25.1^^39^406^7
+119 ;;^UTILITY(U,$J,358.3,9039,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,9039,1,3,0)
+122 ;;=3^Tremor,Unspec
+123 ;;^UTILITY(U,$J,358.3,9039,1,4,0)
+124 ;;=4^R25.1
+125 ;;^UTILITY(U,$J,358.3,9039,2)
+126 ;;=^5019300
+127 ;;^UTILITY(U,$J,358.3,9040,0)
+128 ;;=R25.9^^39^406^3
+129 ;;^UTILITY(U,$J,358.3,9040,1,0)
+130 ;;=^358.31IA^4^2