IBDEI2ZH ; ; 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,47644,0)
;;=F17.290^^185^2409^25
;;^UTILITY(U,$J,358.3,47644,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47644,1,3,0)
;;=3^Nicotine Dependence,Oth Tobacco Product,Uncomplicated
;;^UTILITY(U,$J,358.3,47644,1,4,0)
;;=4^F17.290
;;^UTILITY(U,$J,358.3,47644,2)
;;=^5003375
;;^UTILITY(U,$J,358.3,47645,0)
;;=F17.299^^185^2409^26
;;^UTILITY(U,$J,358.3,47645,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47645,1,3,0)
;;=3^Nicotine Dependence,Oth Tobacco Product w/ Unspec Disorders
;;^UTILITY(U,$J,358.3,47645,1,4,0)
;;=4^F17.299
;;^UTILITY(U,$J,358.3,47645,2)
;;=^5003379
;;^UTILITY(U,$J,358.3,47646,0)
;;=F17.293^^185^2409^27
;;^UTILITY(U,$J,358.3,47646,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47646,1,3,0)
;;=3^Nicotine Dependence,Oth Tobacco Product w/ Withdrawal
;;^UTILITY(U,$J,358.3,47646,1,4,0)
;;=4^F17.293
;;^UTILITY(U,$J,358.3,47646,2)
;;=^5003377
;;^UTILITY(U,$J,358.3,47647,0)
;;=F17.201^^185^2409^31
;;^UTILITY(U,$J,358.3,47647,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47647,1,3,0)
;;=3^Nicotine Dependence,Unspec,in Remission
;;^UTILITY(U,$J,358.3,47647,1,4,0)
;;=4^F17.201
;;^UTILITY(U,$J,358.3,47647,2)
;;=^5003361
;;^UTILITY(U,$J,358.3,47648,0)
;;=F17.200^^185^2409^30
;;^UTILITY(U,$J,358.3,47648,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47648,1,3,0)
;;=3^Nicotine Dependence,Unspec,Uncomplicated
;;^UTILITY(U,$J,358.3,47648,1,4,0)
;;=4^F17.200
;;^UTILITY(U,$J,358.3,47648,2)
;;=^5003360
;;^UTILITY(U,$J,358.3,47649,0)
;;=F17.209^^185^2409^28
;;^UTILITY(U,$J,358.3,47649,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47649,1,3,0)
;;=3^Nicotine Dependence,Unspec w/ Unspec Disorders
;;^UTILITY(U,$J,358.3,47649,1,4,0)
;;=4^F17.209
;;^UTILITY(U,$J,358.3,47649,2)
;;=^5003364
;;^UTILITY(U,$J,358.3,47650,0)
;;=F17.203^^185^2409^29
;;^UTILITY(U,$J,358.3,47650,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47650,1,3,0)
;;=3^Nicotine Dependence,Unspec w/ Withdrawal
;;^UTILITY(U,$J,358.3,47650,1,4,0)
;;=4^F17.203
;;^UTILITY(U,$J,358.3,47650,2)
;;=^5003362
;;^UTILITY(U,$J,358.3,47651,0)
;;=F07.0^^185^2409^35
;;^UTILITY(U,$J,358.3,47651,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47651,1,3,0)
;;=3^Personality Changed d/t Physiological Condition
;;^UTILITY(U,$J,358.3,47651,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,47651,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,47652,0)
;;=F20.0^^185^2409^38
;;^UTILITY(U,$J,358.3,47652,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47652,1,3,0)
;;=3^Schizophrenia,Paranoid
;;^UTILITY(U,$J,358.3,47652,1,4,0)
;;=4^F20.0
;;^UTILITY(U,$J,358.3,47652,2)
;;=^5003469
;;^UTILITY(U,$J,358.3,47653,0)
;;=R45.851^^185^2409^40
;;^UTILITY(U,$J,358.3,47653,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47653,1,3,0)
;;=3^Suicidal Ideations
;;^UTILITY(U,$J,358.3,47653,1,4,0)
;;=4^R45.851
;;^UTILITY(U,$J,358.3,47653,2)
;;=^5019474
;;^UTILITY(U,$J,358.3,47654,0)
;;=Z87.820^^185^2409^34
;;^UTILITY(U,$J,358.3,47654,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47654,1,3,0)
;;=3^Personal Hx of TBI
;;^UTILITY(U,$J,358.3,47654,1,4,0)
;;=4^Z87.820
;;^UTILITY(U,$J,358.3,47654,2)
;;=^5063514
;;^UTILITY(U,$J,358.3,47655,0)
;;=R14.0^^185^2410^1
;;^UTILITY(U,$J,358.3,47655,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47655,1,3,0)
;;=3^Abdominal Distension
;;^UTILITY(U,$J,358.3,47655,1,4,0)
;;=4^R14.0
;;^UTILITY(U,$J,358.3,47655,2)
;;=^5019240
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2ZH 3782 printed Dec 13, 2024@02:38:51 Page 2
IBDEI2ZH ; ; 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,47644,0)
+2 ;;=F17.290^^185^2409^25
+3 ;;^UTILITY(U,$J,358.3,47644,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,47644,1,3,0)
+6 ;;=3^Nicotine Dependence,Oth Tobacco Product,Uncomplicated
+7 ;;^UTILITY(U,$J,358.3,47644,1,4,0)
+8 ;;=4^F17.290
+9 ;;^UTILITY(U,$J,358.3,47644,2)
+10 ;;=^5003375
+11 ;;^UTILITY(U,$J,358.3,47645,0)
+12 ;;=F17.299^^185^2409^26
+13 ;;^UTILITY(U,$J,358.3,47645,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,47645,1,3,0)
+16 ;;=3^Nicotine Dependence,Oth Tobacco Product w/ Unspec Disorders
+17 ;;^UTILITY(U,$J,358.3,47645,1,4,0)
+18 ;;=4^F17.299
+19 ;;^UTILITY(U,$J,358.3,47645,2)
+20 ;;=^5003379
+21 ;;^UTILITY(U,$J,358.3,47646,0)
+22 ;;=F17.293^^185^2409^27
+23 ;;^UTILITY(U,$J,358.3,47646,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,47646,1,3,0)
+26 ;;=3^Nicotine Dependence,Oth Tobacco Product w/ Withdrawal
+27 ;;^UTILITY(U,$J,358.3,47646,1,4,0)
+28 ;;=4^F17.293
+29 ;;^UTILITY(U,$J,358.3,47646,2)
+30 ;;=^5003377
+31 ;;^UTILITY(U,$J,358.3,47647,0)
+32 ;;=F17.201^^185^2409^31
+33 ;;^UTILITY(U,$J,358.3,47647,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,47647,1,3,0)
+36 ;;=3^Nicotine Dependence,Unspec,in Remission
+37 ;;^UTILITY(U,$J,358.3,47647,1,4,0)
+38 ;;=4^F17.201
+39 ;;^UTILITY(U,$J,358.3,47647,2)
+40 ;;=^5003361
+41 ;;^UTILITY(U,$J,358.3,47648,0)
+42 ;;=F17.200^^185^2409^30
+43 ;;^UTILITY(U,$J,358.3,47648,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,47648,1,3,0)
+46 ;;=3^Nicotine Dependence,Unspec,Uncomplicated
+47 ;;^UTILITY(U,$J,358.3,47648,1,4,0)
+48 ;;=4^F17.200
+49 ;;^UTILITY(U,$J,358.3,47648,2)
+50 ;;=^5003360
+51 ;;^UTILITY(U,$J,358.3,47649,0)
+52 ;;=F17.209^^185^2409^28
+53 ;;^UTILITY(U,$J,358.3,47649,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,47649,1,3,0)
+56 ;;=3^Nicotine Dependence,Unspec w/ Unspec Disorders
+57 ;;^UTILITY(U,$J,358.3,47649,1,4,0)
+58 ;;=4^F17.209
+59 ;;^UTILITY(U,$J,358.3,47649,2)
+60 ;;=^5003364
+61 ;;^UTILITY(U,$J,358.3,47650,0)
+62 ;;=F17.203^^185^2409^29
+63 ;;^UTILITY(U,$J,358.3,47650,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,47650,1,3,0)
+66 ;;=3^Nicotine Dependence,Unspec w/ Withdrawal
+67 ;;^UTILITY(U,$J,358.3,47650,1,4,0)
+68 ;;=4^F17.203
+69 ;;^UTILITY(U,$J,358.3,47650,2)
+70 ;;=^5003362
+71 ;;^UTILITY(U,$J,358.3,47651,0)
+72 ;;=F07.0^^185^2409^35
+73 ;;^UTILITY(U,$J,358.3,47651,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,47651,1,3,0)
+76 ;;=3^Personality Changed d/t Physiological Condition
+77 ;;^UTILITY(U,$J,358.3,47651,1,4,0)
+78 ;;=4^F07.0
+79 ;;^UTILITY(U,$J,358.3,47651,2)
+80 ;;=^5003063
+81 ;;^UTILITY(U,$J,358.3,47652,0)
+82 ;;=F20.0^^185^2409^38
+83 ;;^UTILITY(U,$J,358.3,47652,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,47652,1,3,0)
+86 ;;=3^Schizophrenia,Paranoid
+87 ;;^UTILITY(U,$J,358.3,47652,1,4,0)
+88 ;;=4^F20.0
+89 ;;^UTILITY(U,$J,358.3,47652,2)
+90 ;;=^5003469
+91 ;;^UTILITY(U,$J,358.3,47653,0)
+92 ;;=R45.851^^185^2409^40
+93 ;;^UTILITY(U,$J,358.3,47653,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,47653,1,3,0)
+96 ;;=3^Suicidal Ideations
+97 ;;^UTILITY(U,$J,358.3,47653,1,4,0)
+98 ;;=4^R45.851
+99 ;;^UTILITY(U,$J,358.3,47653,2)
+100 ;;=^5019474
+101 ;;^UTILITY(U,$J,358.3,47654,0)
+102 ;;=Z87.820^^185^2409^34
+103 ;;^UTILITY(U,$J,358.3,47654,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,47654,1,3,0)
+106 ;;=3^Personal Hx of TBI
+107 ;;^UTILITY(U,$J,358.3,47654,1,4,0)
+108 ;;=4^Z87.820
+109 ;;^UTILITY(U,$J,358.3,47654,2)
+110 ;;=^5063514
+111 ;;^UTILITY(U,$J,358.3,47655,0)
+112 ;;=R14.0^^185^2410^1
+113 ;;^UTILITY(U,$J,358.3,47655,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,47655,1,3,0)
+116 ;;=3^Abdominal Distension
+117 ;;^UTILITY(U,$J,358.3,47655,1,4,0)
+118 ;;=4^R14.0
+119 ;;^UTILITY(U,$J,358.3,47655,2)
+120 ;;=^5019240