IBDEI2QT ; ; 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,43742,1,3,0)
;;=3^Personal Hx of Nicotine Dependence
;;^UTILITY(U,$J,358.3,43742,1,4,0)
;;=4^Z87.891
;;^UTILITY(U,$J,358.3,43742,2)
;;=^5063518
;;^UTILITY(U,$J,358.3,43743,0)
;;=Z77.090^^162^2144^1
;;^UTILITY(U,$J,358.3,43743,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43743,1,3,0)
;;=3^Asbestos Contact/Exposure
;;^UTILITY(U,$J,358.3,43743,1,4,0)
;;=4^Z77.090
;;^UTILITY(U,$J,358.3,43743,2)
;;=^5063312
;;^UTILITY(U,$J,358.3,43744,0)
;;=Z91.81^^162^2144^3
;;^UTILITY(U,$J,358.3,43744,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43744,1,3,0)
;;=3^History of Falling
;;^UTILITY(U,$J,358.3,43744,1,4,0)
;;=4^Z91.81
;;^UTILITY(U,$J,358.3,43744,2)
;;=^5063625
;;^UTILITY(U,$J,358.3,43745,0)
;;=Z57.8^^162^2144^6
;;^UTILITY(U,$J,358.3,43745,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43745,1,3,0)
;;=3^Occupational Risk Factor Exposure
;;^UTILITY(U,$J,358.3,43745,1,4,0)
;;=4^Z57.8
;;^UTILITY(U,$J,358.3,43745,2)
;;=^5063127
;;^UTILITY(U,$J,358.3,43746,0)
;;=Z77.011^^162^2144^4
;;^UTILITY(U,$J,358.3,43746,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43746,1,3,0)
;;=3^Lead Contact/Exposure
;;^UTILITY(U,$J,358.3,43746,1,4,0)
;;=4^Z77.011
;;^UTILITY(U,$J,358.3,43746,2)
;;=^5063306
;;^UTILITY(U,$J,358.3,43747,0)
;;=Z77.9^^162^2144^2
;;^UTILITY(U,$J,358.3,43747,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43747,1,3,0)
;;=3^Hazardous to Health Contact/Exposures
;;^UTILITY(U,$J,358.3,43747,1,4,0)
;;=4^Z77.9
;;^UTILITY(U,$J,358.3,43747,2)
;;=^5063326
;;^UTILITY(U,$J,358.3,43748,0)
;;=Z91.89^^162^2144^12
;;^UTILITY(U,$J,358.3,43748,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43748,1,3,0)
;;=3^Personal Risk Factors NEC
;;^UTILITY(U,$J,358.3,43748,1,4,0)
;;=4^Z91.89
;;^UTILITY(U,$J,358.3,43748,2)
;;=^5063628
;;^UTILITY(U,$J,358.3,43749,0)
;;=Z98.890^^162^2144^13
;;^UTILITY(U,$J,358.3,43749,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43749,1,3,0)
;;=3^Postprocedural States,Oth Spec
;;^UTILITY(U,$J,358.3,43749,1,4,0)
;;=4^Z98.890
;;^UTILITY(U,$J,358.3,43749,2)
;;=^5063754
;;^UTILITY(U,$J,358.3,43750,0)
;;=Z76.3^^162^2145^5
;;^UTILITY(U,$J,358.3,43750,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43750,1,3,0)
;;=3^Healthy Person Accompanying Sick Person
;;^UTILITY(U,$J,358.3,43750,1,4,0)
;;=4^Z76.3
;;^UTILITY(U,$J,358.3,43750,2)
;;=^5063300
;;^UTILITY(U,$J,358.3,43751,0)
;;=Z71.0^^162^2145^3
;;^UTILITY(U,$J,358.3,43751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43751,1,3,0)
;;=3^Health Service Consult on Behalf of Another Person
;;^UTILITY(U,$J,358.3,43751,1,4,0)
;;=4^Z71.0
;;^UTILITY(U,$J,358.3,43751,2)
;;=^5063242
;;^UTILITY(U,$J,358.3,43752,0)
;;=Z76.5^^162^2145^6
;;^UTILITY(U,$J,358.3,43752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43752,1,3,0)
;;=3^Malingerer
;;^UTILITY(U,$J,358.3,43752,1,4,0)
;;=4^Z76.5
;;^UTILITY(U,$J,358.3,43752,2)
;;=^5063302
;;^UTILITY(U,$J,358.3,43753,0)
;;=Z71.41^^162^2145^1
;;^UTILITY(U,$J,358.3,43753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43753,1,3,0)
;;=3^Alcohol Abuse Counseling/Surveillance of Alcoholic
;;^UTILITY(U,$J,358.3,43753,1,4,0)
;;=4^Z71.41
;;^UTILITY(U,$J,358.3,43753,2)
;;=^5063246
;;^UTILITY(U,$J,358.3,43754,0)
;;=Z71.7^^162^2145^2
;;^UTILITY(U,$J,358.3,43754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43754,1,3,0)
;;=3^HIV Counseling
;;^UTILITY(U,$J,358.3,43754,1,4,0)
;;=4^Z71.7
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2QT 3783 printed Oct 16, 2024@18:34:48 Page 2
IBDEI2QT ; ; 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,43742,1,3,0)
+2 ;;=3^Personal Hx of Nicotine Dependence
+3 ;;^UTILITY(U,$J,358.3,43742,1,4,0)
+4 ;;=4^Z87.891
+5 ;;^UTILITY(U,$J,358.3,43742,2)
+6 ;;=^5063518
+7 ;;^UTILITY(U,$J,358.3,43743,0)
+8 ;;=Z77.090^^162^2144^1
+9 ;;^UTILITY(U,$J,358.3,43743,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,43743,1,3,0)
+12 ;;=3^Asbestos Contact/Exposure
+13 ;;^UTILITY(U,$J,358.3,43743,1,4,0)
+14 ;;=4^Z77.090
+15 ;;^UTILITY(U,$J,358.3,43743,2)
+16 ;;=^5063312
+17 ;;^UTILITY(U,$J,358.3,43744,0)
+18 ;;=Z91.81^^162^2144^3
+19 ;;^UTILITY(U,$J,358.3,43744,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,43744,1,3,0)
+22 ;;=3^History of Falling
+23 ;;^UTILITY(U,$J,358.3,43744,1,4,0)
+24 ;;=4^Z91.81
+25 ;;^UTILITY(U,$J,358.3,43744,2)
+26 ;;=^5063625
+27 ;;^UTILITY(U,$J,358.3,43745,0)
+28 ;;=Z57.8^^162^2144^6
+29 ;;^UTILITY(U,$J,358.3,43745,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,43745,1,3,0)
+32 ;;=3^Occupational Risk Factor Exposure
+33 ;;^UTILITY(U,$J,358.3,43745,1,4,0)
+34 ;;=4^Z57.8
+35 ;;^UTILITY(U,$J,358.3,43745,2)
+36 ;;=^5063127
+37 ;;^UTILITY(U,$J,358.3,43746,0)
+38 ;;=Z77.011^^162^2144^4
+39 ;;^UTILITY(U,$J,358.3,43746,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,43746,1,3,0)
+42 ;;=3^Lead Contact/Exposure
+43 ;;^UTILITY(U,$J,358.3,43746,1,4,0)
+44 ;;=4^Z77.011
+45 ;;^UTILITY(U,$J,358.3,43746,2)
+46 ;;=^5063306
+47 ;;^UTILITY(U,$J,358.3,43747,0)
+48 ;;=Z77.9^^162^2144^2
+49 ;;^UTILITY(U,$J,358.3,43747,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,43747,1,3,0)
+52 ;;=3^Hazardous to Health Contact/Exposures
+53 ;;^UTILITY(U,$J,358.3,43747,1,4,0)
+54 ;;=4^Z77.9
+55 ;;^UTILITY(U,$J,358.3,43747,2)
+56 ;;=^5063326
+57 ;;^UTILITY(U,$J,358.3,43748,0)
+58 ;;=Z91.89^^162^2144^12
+59 ;;^UTILITY(U,$J,358.3,43748,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,43748,1,3,0)
+62 ;;=3^Personal Risk Factors NEC
+63 ;;^UTILITY(U,$J,358.3,43748,1,4,0)
+64 ;;=4^Z91.89
+65 ;;^UTILITY(U,$J,358.3,43748,2)
+66 ;;=^5063628
+67 ;;^UTILITY(U,$J,358.3,43749,0)
+68 ;;=Z98.890^^162^2144^13
+69 ;;^UTILITY(U,$J,358.3,43749,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,43749,1,3,0)
+72 ;;=3^Postprocedural States,Oth Spec
+73 ;;^UTILITY(U,$J,358.3,43749,1,4,0)
+74 ;;=4^Z98.890
+75 ;;^UTILITY(U,$J,358.3,43749,2)
+76 ;;=^5063754
+77 ;;^UTILITY(U,$J,358.3,43750,0)
+78 ;;=Z76.3^^162^2145^5
+79 ;;^UTILITY(U,$J,358.3,43750,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,43750,1,3,0)
+82 ;;=3^Healthy Person Accompanying Sick Person
+83 ;;^UTILITY(U,$J,358.3,43750,1,4,0)
+84 ;;=4^Z76.3
+85 ;;^UTILITY(U,$J,358.3,43750,2)
+86 ;;=^5063300
+87 ;;^UTILITY(U,$J,358.3,43751,0)
+88 ;;=Z71.0^^162^2145^3
+89 ;;^UTILITY(U,$J,358.3,43751,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,43751,1,3,0)
+92 ;;=3^Health Service Consult on Behalf of Another Person
+93 ;;^UTILITY(U,$J,358.3,43751,1,4,0)
+94 ;;=4^Z71.0
+95 ;;^UTILITY(U,$J,358.3,43751,2)
+96 ;;=^5063242
+97 ;;^UTILITY(U,$J,358.3,43752,0)
+98 ;;=Z76.5^^162^2145^6
+99 ;;^UTILITY(U,$J,358.3,43752,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,43752,1,3,0)
+102 ;;=3^Malingerer
+103 ;;^UTILITY(U,$J,358.3,43752,1,4,0)
+104 ;;=4^Z76.5
+105 ;;^UTILITY(U,$J,358.3,43752,2)
+106 ;;=^5063302
+107 ;;^UTILITY(U,$J,358.3,43753,0)
+108 ;;=Z71.41^^162^2145^1
+109 ;;^UTILITY(U,$J,358.3,43753,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,43753,1,3,0)
+112 ;;=3^Alcohol Abuse Counseling/Surveillance of Alcoholic
+113 ;;^UTILITY(U,$J,358.3,43753,1,4,0)
+114 ;;=4^Z71.41
+115 ;;^UTILITY(U,$J,358.3,43753,2)
+116 ;;=^5063246
+117 ;;^UTILITY(U,$J,358.3,43754,0)
+118 ;;=Z71.7^^162^2145^2
+119 ;;^UTILITY(U,$J,358.3,43754,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,43754,1,3,0)
+122 ;;=3^HIV Counseling
+123 ;;^UTILITY(U,$J,358.3,43754,1,4,0)
+124 ;;=4^Z71.7