IBDEI2HR ; ; 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,39782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39782,1,3,0)
;;=3^Personal Hx of Irradiation
;;^UTILITY(U,$J,358.3,39782,1,4,0)
;;=4^Z92.3
;;^UTILITY(U,$J,358.3,39782,2)
;;=^5063637
;;^UTILITY(U,$J,358.3,39783,0)
;;=Z91.120^^152^2001^53
;;^UTILITY(U,$J,358.3,39783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39783,1,3,0)
;;=3^Intentional Underdose of Meds d/t Financial Hardship
;;^UTILITY(U,$J,358.3,39783,1,4,0)
;;=4^Z91.120
;;^UTILITY(U,$J,358.3,39783,2)
;;=^5063612
;;^UTILITY(U,$J,358.3,39784,0)
;;=Z91.11^^152^2001^62
;;^UTILITY(U,$J,358.3,39784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39784,1,3,0)
;;=3^Noncompliance w/ Dietary Regimen
;;^UTILITY(U,$J,358.3,39784,1,4,0)
;;=4^Z91.11
;;^UTILITY(U,$J,358.3,39784,2)
;;=^5063611
;;^UTILITY(U,$J,358.3,39785,0)
;;=Z87.891^^152^2001^97
;;^UTILITY(U,$J,358.3,39785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39785,1,3,0)
;;=3^Personal Hx of Nicotine Dependence
;;^UTILITY(U,$J,358.3,39785,1,4,0)
;;=4^Z87.891
;;^UTILITY(U,$J,358.3,39785,2)
;;=^5063518
;;^UTILITY(U,$J,358.3,39786,0)
;;=Z77.090^^152^2001^3
;;^UTILITY(U,$J,358.3,39786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39786,1,3,0)
;;=3^Asbestos Contact/Exposure
;;^UTILITY(U,$J,358.3,39786,1,4,0)
;;=4^Z77.090
;;^UTILITY(U,$J,358.3,39786,2)
;;=^5063312
;;^UTILITY(U,$J,358.3,39787,0)
;;=Z57.8^^152^2001^65
;;^UTILITY(U,$J,358.3,39787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39787,1,3,0)
;;=3^Occupational Exposure to Other Risk Factors
;;^UTILITY(U,$J,358.3,39787,1,4,0)
;;=4^Z57.8
;;^UTILITY(U,$J,358.3,39787,2)
;;=^5063127
;;^UTILITY(U,$J,358.3,39788,0)
;;=Z77.21^^152^2001^46
;;^UTILITY(U,$J,358.3,39788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39788,1,3,0)
;;=3^Hazardous Body Fluid Contact/Exposure
;;^UTILITY(U,$J,358.3,39788,1,4,0)
;;=4^Z77.21
;;^UTILITY(U,$J,358.3,39788,2)
;;=^5063323
;;^UTILITY(U,$J,358.3,39789,0)
;;=Z91.81^^152^2001^50
;;^UTILITY(U,$J,358.3,39789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39789,1,3,0)
;;=3^History of Falling
;;^UTILITY(U,$J,358.3,39789,1,4,0)
;;=4^Z91.81
;;^UTILITY(U,$J,358.3,39789,2)
;;=^5063625
;;^UTILITY(U,$J,358.3,39790,0)
;;=Z91.89^^152^2001^112
;;^UTILITY(U,$J,358.3,39790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39790,1,3,0)
;;=3^Personal Risk Factors NEC
;;^UTILITY(U,$J,358.3,39790,1,4,0)
;;=4^Z91.89
;;^UTILITY(U,$J,358.3,39790,2)
;;=^5063628
;;^UTILITY(U,$J,358.3,39791,0)
;;=Z92.89^^152^2001^100
;;^UTILITY(U,$J,358.3,39791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39791,1,3,0)
;;=3^Personal Hx of Other Medical Treatment
;;^UTILITY(U,$J,358.3,39791,1,4,0)
;;=4^Z92.89
;;^UTILITY(U,$J,358.3,39791,2)
;;=^5063641
;;^UTILITY(U,$J,358.3,39792,0)
;;=Z77.110^^152^2001^1
;;^UTILITY(U,$J,358.3,39792,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39792,1,3,0)
;;=3^Air Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,39792,1,4,0)
;;=4^Z77.110
;;^UTILITY(U,$J,358.3,39792,2)
;;=^5063314
;;^UTILITY(U,$J,358.3,39793,0)
;;=Z77.112^^152^2001^148
;;^UTILITY(U,$J,358.3,39793,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39793,1,3,0)
;;=3^Soil Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,39793,1,4,0)
;;=4^Z77.112
;;^UTILITY(U,$J,358.3,39793,2)
;;=^5063316
;;^UTILITY(U,$J,358.3,39794,0)
;;=Z77.111^^152^2001^155
;;^UTILITY(U,$J,358.3,39794,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2HR 3771 printed Nov 22, 2024@17:39:09 Page 2
IBDEI2HR ; ; 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,39782,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,39782,1,3,0)
+4 ;;=3^Personal Hx of Irradiation
+5 ;;^UTILITY(U,$J,358.3,39782,1,4,0)
+6 ;;=4^Z92.3
+7 ;;^UTILITY(U,$J,358.3,39782,2)
+8 ;;=^5063637
+9 ;;^UTILITY(U,$J,358.3,39783,0)
+10 ;;=Z91.120^^152^2001^53
+11 ;;^UTILITY(U,$J,358.3,39783,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,39783,1,3,0)
+14 ;;=3^Intentional Underdose of Meds d/t Financial Hardship
+15 ;;^UTILITY(U,$J,358.3,39783,1,4,0)
+16 ;;=4^Z91.120
+17 ;;^UTILITY(U,$J,358.3,39783,2)
+18 ;;=^5063612
+19 ;;^UTILITY(U,$J,358.3,39784,0)
+20 ;;=Z91.11^^152^2001^62
+21 ;;^UTILITY(U,$J,358.3,39784,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,39784,1,3,0)
+24 ;;=3^Noncompliance w/ Dietary Regimen
+25 ;;^UTILITY(U,$J,358.3,39784,1,4,0)
+26 ;;=4^Z91.11
+27 ;;^UTILITY(U,$J,358.3,39784,2)
+28 ;;=^5063611
+29 ;;^UTILITY(U,$J,358.3,39785,0)
+30 ;;=Z87.891^^152^2001^97
+31 ;;^UTILITY(U,$J,358.3,39785,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,39785,1,3,0)
+34 ;;=3^Personal Hx of Nicotine Dependence
+35 ;;^UTILITY(U,$J,358.3,39785,1,4,0)
+36 ;;=4^Z87.891
+37 ;;^UTILITY(U,$J,358.3,39785,2)
+38 ;;=^5063518
+39 ;;^UTILITY(U,$J,358.3,39786,0)
+40 ;;=Z77.090^^152^2001^3
+41 ;;^UTILITY(U,$J,358.3,39786,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,39786,1,3,0)
+44 ;;=3^Asbestos Contact/Exposure
+45 ;;^UTILITY(U,$J,358.3,39786,1,4,0)
+46 ;;=4^Z77.090
+47 ;;^UTILITY(U,$J,358.3,39786,2)
+48 ;;=^5063312
+49 ;;^UTILITY(U,$J,358.3,39787,0)
+50 ;;=Z57.8^^152^2001^65
+51 ;;^UTILITY(U,$J,358.3,39787,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,39787,1,3,0)
+54 ;;=3^Occupational Exposure to Other Risk Factors
+55 ;;^UTILITY(U,$J,358.3,39787,1,4,0)
+56 ;;=4^Z57.8
+57 ;;^UTILITY(U,$J,358.3,39787,2)
+58 ;;=^5063127
+59 ;;^UTILITY(U,$J,358.3,39788,0)
+60 ;;=Z77.21^^152^2001^46
+61 ;;^UTILITY(U,$J,358.3,39788,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,39788,1,3,0)
+64 ;;=3^Hazardous Body Fluid Contact/Exposure
+65 ;;^UTILITY(U,$J,358.3,39788,1,4,0)
+66 ;;=4^Z77.21
+67 ;;^UTILITY(U,$J,358.3,39788,2)
+68 ;;=^5063323
+69 ;;^UTILITY(U,$J,358.3,39789,0)
+70 ;;=Z91.81^^152^2001^50
+71 ;;^UTILITY(U,$J,358.3,39789,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,39789,1,3,0)
+74 ;;=3^History of Falling
+75 ;;^UTILITY(U,$J,358.3,39789,1,4,0)
+76 ;;=4^Z91.81
+77 ;;^UTILITY(U,$J,358.3,39789,2)
+78 ;;=^5063625
+79 ;;^UTILITY(U,$J,358.3,39790,0)
+80 ;;=Z91.89^^152^2001^112
+81 ;;^UTILITY(U,$J,358.3,39790,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,39790,1,3,0)
+84 ;;=3^Personal Risk Factors NEC
+85 ;;^UTILITY(U,$J,358.3,39790,1,4,0)
+86 ;;=4^Z91.89
+87 ;;^UTILITY(U,$J,358.3,39790,2)
+88 ;;=^5063628
+89 ;;^UTILITY(U,$J,358.3,39791,0)
+90 ;;=Z92.89^^152^2001^100
+91 ;;^UTILITY(U,$J,358.3,39791,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,39791,1,3,0)
+94 ;;=3^Personal Hx of Other Medical Treatment
+95 ;;^UTILITY(U,$J,358.3,39791,1,4,0)
+96 ;;=4^Z92.89
+97 ;;^UTILITY(U,$J,358.3,39791,2)
+98 ;;=^5063641
+99 ;;^UTILITY(U,$J,358.3,39792,0)
+100 ;;=Z77.110^^152^2001^1
+101 ;;^UTILITY(U,$J,358.3,39792,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,39792,1,3,0)
+104 ;;=3^Air Pollution Contact/Exposure
+105 ;;^UTILITY(U,$J,358.3,39792,1,4,0)
+106 ;;=4^Z77.110
+107 ;;^UTILITY(U,$J,358.3,39792,2)
+108 ;;=^5063314
+109 ;;^UTILITY(U,$J,358.3,39793,0)
+110 ;;=Z77.112^^152^2001^148
+111 ;;^UTILITY(U,$J,358.3,39793,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,39793,1,3,0)
+114 ;;=3^Soil Pollution Contact/Exposure
+115 ;;^UTILITY(U,$J,358.3,39793,1,4,0)
+116 ;;=4^Z77.112
+117 ;;^UTILITY(U,$J,358.3,39793,2)
+118 ;;=^5063316
+119 ;;^UTILITY(U,$J,358.3,39794,0)
+120 ;;=Z77.111^^152^2001^155
+121 ;;^UTILITY(U,$J,358.3,39794,1,0)
+122 ;;=^358.31IA^4^2