IBDEI1VQ ; ; 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,30021,2)
;;=^5052160
;;^UTILITY(U,$J,358.3,30022,0)
;;=T50.905S^^120^1525^2
;;^UTILITY(U,$J,358.3,30022,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30022,1,3,0)
;;=3^Adverse Effect of Medication,Other,Sequela
;;^UTILITY(U,$J,358.3,30022,1,4,0)
;;=4^T50.905S
;;^UTILITY(U,$J,358.3,30022,2)
;;=^5052162
;;^UTILITY(U,$J,358.3,30023,0)
;;=T50.905D^^120^1525^3
;;^UTILITY(U,$J,358.3,30023,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30023,1,3,0)
;;=3^Adverse Effect of Medication,Other,Subseq Encntr
;;^UTILITY(U,$J,358.3,30023,1,4,0)
;;=4^T50.905D
;;^UTILITY(U,$J,358.3,30023,2)
;;=^5052161
;;^UTILITY(U,$J,358.3,30024,0)
;;=F45.22^^120^1526^1
;;^UTILITY(U,$J,358.3,30024,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30024,1,3,0)
;;=3^Body Dysmorphic D/O
;;^UTILITY(U,$J,358.3,30024,1,4,0)
;;=4^F45.22
;;^UTILITY(U,$J,358.3,30024,2)
;;=^5003588
;;^UTILITY(U,$J,358.3,30025,0)
;;=F63.3^^120^1526^8
;;^UTILITY(U,$J,358.3,30025,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30025,1,3,0)
;;=3^Trichotillomania (Hair-Pulling D/O)
;;^UTILITY(U,$J,358.3,30025,1,4,0)
;;=4^F63.3
;;^UTILITY(U,$J,358.3,30025,2)
;;=^5003643
;;^UTILITY(U,$J,358.3,30026,0)
;;=F06.8^^120^1526^4
;;^UTILITY(U,$J,358.3,30026,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30026,1,3,0)
;;=3^OCD & Rel D/O d/t Phys Cond
;;^UTILITY(U,$J,358.3,30026,1,4,0)
;;=4^F06.8
;;^UTILITY(U,$J,358.3,30026,2)
;;=^5003062
;;^UTILITY(U,$J,358.3,30027,0)
;;=F42.4^^120^1526^2
;;^UTILITY(U,$J,358.3,30027,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30027,1,3,0)
;;=3^Excoriation (Skin-Picking) D/O
;;^UTILITY(U,$J,358.3,30027,1,4,0)
;;=4^F42.4
;;^UTILITY(U,$J,358.3,30027,2)
;;=^5138446
;;^UTILITY(U,$J,358.3,30028,0)
;;=F42.3^^120^1526^3
;;^UTILITY(U,$J,358.3,30028,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30028,1,3,0)
;;=3^Hoarding D/O
;;^UTILITY(U,$J,358.3,30028,1,4,0)
;;=4^F42.3
;;^UTILITY(U,$J,358.3,30028,2)
;;=^5138445
;;^UTILITY(U,$J,358.3,30029,0)
;;=F42.9^^120^1526^7
;;^UTILITY(U,$J,358.3,30029,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30029,1,3,0)
;;=3^OCD,Unspec
;;^UTILITY(U,$J,358.3,30029,1,4,0)
;;=4^F42.9
;;^UTILITY(U,$J,358.3,30029,2)
;;=^5138448
;;^UTILITY(U,$J,358.3,30030,0)
;;=F42.2^^120^1526^5
;;^UTILITY(U,$J,358.3,30030,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30030,1,3,0)
;;=3^OCD,Mixed Obsess Thoughts & Acts
;;^UTILITY(U,$J,358.3,30030,1,4,0)
;;=4^F42.2
;;^UTILITY(U,$J,358.3,30030,2)
;;=^5138444
;;^UTILITY(U,$J,358.3,30031,0)
;;=F42.8^^120^1526^6
;;^UTILITY(U,$J,358.3,30031,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30031,1,3,0)
;;=3^OCD,Oth Spec
;;^UTILITY(U,$J,358.3,30031,1,4,0)
;;=4^F42.8
;;^UTILITY(U,$J,358.3,30031,2)
;;=^5138447
;;^UTILITY(U,$J,358.3,30032,0)
;;=Z91.49^^120^1527^16
;;^UTILITY(U,$J,358.3,30032,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30032,1,3,0)
;;=3^Personal Hx of Psychological Trauma
;;^UTILITY(U,$J,358.3,30032,1,4,0)
;;=4^Z91.49
;;^UTILITY(U,$J,358.3,30032,2)
;;=^5063623
;;^UTILITY(U,$J,358.3,30033,0)
;;=Z91.5^^120^1527^17
;;^UTILITY(U,$J,358.3,30033,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30033,1,3,0)
;;=3^Personal Hx of Self-Harm
;;^UTILITY(U,$J,358.3,30033,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,30033,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,30034,0)
;;=Z91.82^^120^1527^15
;;^UTILITY(U,$J,358.3,30034,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1VQ 3783 printed Dec 13, 2024@02:16:44 Page 2
IBDEI1VQ ; ; 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,30021,2)
+2 ;;=^5052160
+3 ;;^UTILITY(U,$J,358.3,30022,0)
+4 ;;=T50.905S^^120^1525^2
+5 ;;^UTILITY(U,$J,358.3,30022,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,30022,1,3,0)
+8 ;;=3^Adverse Effect of Medication,Other,Sequela
+9 ;;^UTILITY(U,$J,358.3,30022,1,4,0)
+10 ;;=4^T50.905S
+11 ;;^UTILITY(U,$J,358.3,30022,2)
+12 ;;=^5052162
+13 ;;^UTILITY(U,$J,358.3,30023,0)
+14 ;;=T50.905D^^120^1525^3
+15 ;;^UTILITY(U,$J,358.3,30023,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,30023,1,3,0)
+18 ;;=3^Adverse Effect of Medication,Other,Subseq Encntr
+19 ;;^UTILITY(U,$J,358.3,30023,1,4,0)
+20 ;;=4^T50.905D
+21 ;;^UTILITY(U,$J,358.3,30023,2)
+22 ;;=^5052161
+23 ;;^UTILITY(U,$J,358.3,30024,0)
+24 ;;=F45.22^^120^1526^1
+25 ;;^UTILITY(U,$J,358.3,30024,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,30024,1,3,0)
+28 ;;=3^Body Dysmorphic D/O
+29 ;;^UTILITY(U,$J,358.3,30024,1,4,0)
+30 ;;=4^F45.22
+31 ;;^UTILITY(U,$J,358.3,30024,2)
+32 ;;=^5003588
+33 ;;^UTILITY(U,$J,358.3,30025,0)
+34 ;;=F63.3^^120^1526^8
+35 ;;^UTILITY(U,$J,358.3,30025,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,30025,1,3,0)
+38 ;;=3^Trichotillomania (Hair-Pulling D/O)
+39 ;;^UTILITY(U,$J,358.3,30025,1,4,0)
+40 ;;=4^F63.3
+41 ;;^UTILITY(U,$J,358.3,30025,2)
+42 ;;=^5003643
+43 ;;^UTILITY(U,$J,358.3,30026,0)
+44 ;;=F06.8^^120^1526^4
+45 ;;^UTILITY(U,$J,358.3,30026,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,30026,1,3,0)
+48 ;;=3^OCD & Rel D/O d/t Phys Cond
+49 ;;^UTILITY(U,$J,358.3,30026,1,4,0)
+50 ;;=4^F06.8
+51 ;;^UTILITY(U,$J,358.3,30026,2)
+52 ;;=^5003062
+53 ;;^UTILITY(U,$J,358.3,30027,0)
+54 ;;=F42.4^^120^1526^2
+55 ;;^UTILITY(U,$J,358.3,30027,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,30027,1,3,0)
+58 ;;=3^Excoriation (Skin-Picking) D/O
+59 ;;^UTILITY(U,$J,358.3,30027,1,4,0)
+60 ;;=4^F42.4
+61 ;;^UTILITY(U,$J,358.3,30027,2)
+62 ;;=^5138446
+63 ;;^UTILITY(U,$J,358.3,30028,0)
+64 ;;=F42.3^^120^1526^3
+65 ;;^UTILITY(U,$J,358.3,30028,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,30028,1,3,0)
+68 ;;=3^Hoarding D/O
+69 ;;^UTILITY(U,$J,358.3,30028,1,4,0)
+70 ;;=4^F42.3
+71 ;;^UTILITY(U,$J,358.3,30028,2)
+72 ;;=^5138445
+73 ;;^UTILITY(U,$J,358.3,30029,0)
+74 ;;=F42.9^^120^1526^7
+75 ;;^UTILITY(U,$J,358.3,30029,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,30029,1,3,0)
+78 ;;=3^OCD,Unspec
+79 ;;^UTILITY(U,$J,358.3,30029,1,4,0)
+80 ;;=4^F42.9
+81 ;;^UTILITY(U,$J,358.3,30029,2)
+82 ;;=^5138448
+83 ;;^UTILITY(U,$J,358.3,30030,0)
+84 ;;=F42.2^^120^1526^5
+85 ;;^UTILITY(U,$J,358.3,30030,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,30030,1,3,0)
+88 ;;=3^OCD,Mixed Obsess Thoughts & Acts
+89 ;;^UTILITY(U,$J,358.3,30030,1,4,0)
+90 ;;=4^F42.2
+91 ;;^UTILITY(U,$J,358.3,30030,2)
+92 ;;=^5138444
+93 ;;^UTILITY(U,$J,358.3,30031,0)
+94 ;;=F42.8^^120^1526^6
+95 ;;^UTILITY(U,$J,358.3,30031,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,30031,1,3,0)
+98 ;;=3^OCD,Oth Spec
+99 ;;^UTILITY(U,$J,358.3,30031,1,4,0)
+100 ;;=4^F42.8
+101 ;;^UTILITY(U,$J,358.3,30031,2)
+102 ;;=^5138447
+103 ;;^UTILITY(U,$J,358.3,30032,0)
+104 ;;=Z91.49^^120^1527^16
+105 ;;^UTILITY(U,$J,358.3,30032,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,30032,1,3,0)
+108 ;;=3^Personal Hx of Psychological Trauma
+109 ;;^UTILITY(U,$J,358.3,30032,1,4,0)
+110 ;;=4^Z91.49
+111 ;;^UTILITY(U,$J,358.3,30032,2)
+112 ;;=^5063623
+113 ;;^UTILITY(U,$J,358.3,30033,0)
+114 ;;=Z91.5^^120^1527^17
+115 ;;^UTILITY(U,$J,358.3,30033,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,30033,1,3,0)
+118 ;;=3^Personal Hx of Self-Harm
+119 ;;^UTILITY(U,$J,358.3,30033,1,4,0)
+120 ;;=4^Z91.5
+121 ;;^UTILITY(U,$J,358.3,30033,2)
+122 ;;=^5063624
+123 ;;^UTILITY(U,$J,358.3,30034,0)
+124 ;;=Z91.82^^120^1527^15
+125 ;;^UTILITY(U,$J,358.3,30034,1,0)
+126 ;;=^358.31IA^4^2