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