IBDEI0JG ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,8751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8751,1,3,0)
;;=3^Soil Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,8751,1,4,0)
;;=4^Z77.112
;;^UTILITY(U,$J,358.3,8751,2)
;;=^5063316
;;^UTILITY(U,$J,358.3,8752,0)
;;=Z77.111^^39^402^155
;;^UTILITY(U,$J,358.3,8752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8752,1,3,0)
;;=3^Water Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,8752,1,4,0)
;;=4^Z77.111
;;^UTILITY(U,$J,358.3,8752,2)
;;=^5063315
;;^UTILITY(U,$J,358.3,8753,0)
;;=Z77.128^^39^402^113
;;^UTILITY(U,$J,358.3,8753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8753,1,3,0)
;;=3^Physical Environment Hazards Contact/Exposure
;;^UTILITY(U,$J,358.3,8753,1,4,0)
;;=4^Z77.128
;;^UTILITY(U,$J,358.3,8753,2)
;;=^5063322
;;^UTILITY(U,$J,358.3,8754,0)
;;=Z77.123^^39^402^146
;;^UTILITY(U,$J,358.3,8754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8754,1,3,0)
;;=3^Radon/Radiation Contact/Exposure
;;^UTILITY(U,$J,358.3,8754,1,4,0)
;;=4^Z77.123
;;^UTILITY(U,$J,358.3,8754,2)
;;=^5063321
;;^UTILITY(U,$J,358.3,8755,0)
;;=Z77.122^^39^402^61
;;^UTILITY(U,$J,358.3,8755,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8755,1,3,0)
;;=3^Noise Contact/Exposure
;;^UTILITY(U,$J,358.3,8755,1,4,0)
;;=4^Z77.122
;;^UTILITY(U,$J,358.3,8755,2)
;;=^5063320
;;^UTILITY(U,$J,358.3,8756,0)
;;=Z77.118^^39^402^11
;;^UTILITY(U,$J,358.3,8756,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8756,1,3,0)
;;=3^Environmental Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,8756,1,4,0)
;;=4^Z77.118
;;^UTILITY(U,$J,358.3,8756,2)
;;=^5063317
;;^UTILITY(U,$J,358.3,8757,0)
;;=Z77.9^^39^402^47
;;^UTILITY(U,$J,358.3,8757,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8757,1,3,0)
;;=3^Health Hazard Contact/Exposure
;;^UTILITY(U,$J,358.3,8757,1,4,0)
;;=4^Z77.9
;;^UTILITY(U,$J,358.3,8757,2)
;;=^5063326
;;^UTILITY(U,$J,358.3,8758,0)
;;=Z77.22^^39^402^10
;;^UTILITY(U,$J,358.3,8758,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8758,1,3,0)
;;=3^Environmental Exposure Tobacco Smoke/Second-Hand Smoke
;;^UTILITY(U,$J,358.3,8758,1,4,0)
;;=4^Z77.22
;;^UTILITY(U,$J,358.3,8758,2)
;;=^5063324
;;^UTILITY(U,$J,358.3,8759,0)
;;=Z80.0^^39^402^28
;;^UTILITY(U,$J,358.3,8759,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8759,1,3,0)
;;=3^Family Hx of Malig Neop of Digestive Organs
;;^UTILITY(U,$J,358.3,8759,1,4,0)
;;=4^Z80.0
;;^UTILITY(U,$J,358.3,8759,2)
;;=^5063344
;;^UTILITY(U,$J,358.3,8760,0)
;;=Z80.1^^39^402^34
;;^UTILITY(U,$J,358.3,8760,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8760,1,3,0)
;;=3^Family Hx of Malig Neop of Trachea,Bronc & Lung
;;^UTILITY(U,$J,358.3,8760,1,4,0)
;;=4^Z80.1
;;^UTILITY(U,$J,358.3,8760,2)
;;=^5063345
;;^UTILITY(U,$J,358.3,8761,0)
;;=Z80.3^^39^402^27
;;^UTILITY(U,$J,358.3,8761,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8761,1,3,0)
;;=3^Family Hx of Malig Neop of Breast
;;^UTILITY(U,$J,358.3,8761,1,4,0)
;;=4^Z80.3
;;^UTILITY(U,$J,358.3,8761,2)
;;=^5063347
;;^UTILITY(U,$J,358.3,8762,0)
;;=Z80.41^^39^402^31
;;^UTILITY(U,$J,358.3,8762,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8762,1,3,0)
;;=3^Family Hx of Malig Neop of Ovary
;;^UTILITY(U,$J,358.3,8762,1,4,0)
;;=4^Z80.41
;;^UTILITY(U,$J,358.3,8762,2)
;;=^5063348
;;^UTILITY(U,$J,358.3,8763,0)
;;=Z80.42^^39^402^32
;;^UTILITY(U,$J,358.3,8763,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8763,1,3,0)
;;=3^Family Hx of Malig Neop of Prostate
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0JG 3811 printed Dec 13, 2024@01:49:52 Page 2
IBDEI0JG ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,8751,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,8751,1,3,0)
+4 ;;=3^Soil Pollution Contact/Exposure
+5 ;;^UTILITY(U,$J,358.3,8751,1,4,0)
+6 ;;=4^Z77.112
+7 ;;^UTILITY(U,$J,358.3,8751,2)
+8 ;;=^5063316
+9 ;;^UTILITY(U,$J,358.3,8752,0)
+10 ;;=Z77.111^^39^402^155
+11 ;;^UTILITY(U,$J,358.3,8752,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,8752,1,3,0)
+14 ;;=3^Water Pollution Contact/Exposure
+15 ;;^UTILITY(U,$J,358.3,8752,1,4,0)
+16 ;;=4^Z77.111
+17 ;;^UTILITY(U,$J,358.3,8752,2)
+18 ;;=^5063315
+19 ;;^UTILITY(U,$J,358.3,8753,0)
+20 ;;=Z77.128^^39^402^113
+21 ;;^UTILITY(U,$J,358.3,8753,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,8753,1,3,0)
+24 ;;=3^Physical Environment Hazards Contact/Exposure
+25 ;;^UTILITY(U,$J,358.3,8753,1,4,0)
+26 ;;=4^Z77.128
+27 ;;^UTILITY(U,$J,358.3,8753,2)
+28 ;;=^5063322
+29 ;;^UTILITY(U,$J,358.3,8754,0)
+30 ;;=Z77.123^^39^402^146
+31 ;;^UTILITY(U,$J,358.3,8754,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,8754,1,3,0)
+34 ;;=3^Radon/Radiation Contact/Exposure
+35 ;;^UTILITY(U,$J,358.3,8754,1,4,0)
+36 ;;=4^Z77.123
+37 ;;^UTILITY(U,$J,358.3,8754,2)
+38 ;;=^5063321
+39 ;;^UTILITY(U,$J,358.3,8755,0)
+40 ;;=Z77.122^^39^402^61
+41 ;;^UTILITY(U,$J,358.3,8755,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,8755,1,3,0)
+44 ;;=3^Noise Contact/Exposure
+45 ;;^UTILITY(U,$J,358.3,8755,1,4,0)
+46 ;;=4^Z77.122
+47 ;;^UTILITY(U,$J,358.3,8755,2)
+48 ;;=^5063320
+49 ;;^UTILITY(U,$J,358.3,8756,0)
+50 ;;=Z77.118^^39^402^11
+51 ;;^UTILITY(U,$J,358.3,8756,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,8756,1,3,0)
+54 ;;=3^Environmental Pollution Contact/Exposure
+55 ;;^UTILITY(U,$J,358.3,8756,1,4,0)
+56 ;;=4^Z77.118
+57 ;;^UTILITY(U,$J,358.3,8756,2)
+58 ;;=^5063317
+59 ;;^UTILITY(U,$J,358.3,8757,0)
+60 ;;=Z77.9^^39^402^47
+61 ;;^UTILITY(U,$J,358.3,8757,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,8757,1,3,0)
+64 ;;=3^Health Hazard Contact/Exposure
+65 ;;^UTILITY(U,$J,358.3,8757,1,4,0)
+66 ;;=4^Z77.9
+67 ;;^UTILITY(U,$J,358.3,8757,2)
+68 ;;=^5063326
+69 ;;^UTILITY(U,$J,358.3,8758,0)
+70 ;;=Z77.22^^39^402^10
+71 ;;^UTILITY(U,$J,358.3,8758,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,8758,1,3,0)
+74 ;;=3^Environmental Exposure Tobacco Smoke/Second-Hand Smoke
+75 ;;^UTILITY(U,$J,358.3,8758,1,4,0)
+76 ;;=4^Z77.22
+77 ;;^UTILITY(U,$J,358.3,8758,2)
+78 ;;=^5063324
+79 ;;^UTILITY(U,$J,358.3,8759,0)
+80 ;;=Z80.0^^39^402^28
+81 ;;^UTILITY(U,$J,358.3,8759,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,8759,1,3,0)
+84 ;;=3^Family Hx of Malig Neop of Digestive Organs
+85 ;;^UTILITY(U,$J,358.3,8759,1,4,0)
+86 ;;=4^Z80.0
+87 ;;^UTILITY(U,$J,358.3,8759,2)
+88 ;;=^5063344
+89 ;;^UTILITY(U,$J,358.3,8760,0)
+90 ;;=Z80.1^^39^402^34
+91 ;;^UTILITY(U,$J,358.3,8760,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,8760,1,3,0)
+94 ;;=3^Family Hx of Malig Neop of Trachea,Bronc & Lung
+95 ;;^UTILITY(U,$J,358.3,8760,1,4,0)
+96 ;;=4^Z80.1
+97 ;;^UTILITY(U,$J,358.3,8760,2)
+98 ;;=^5063345
+99 ;;^UTILITY(U,$J,358.3,8761,0)
+100 ;;=Z80.3^^39^402^27
+101 ;;^UTILITY(U,$J,358.3,8761,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,8761,1,3,0)
+104 ;;=3^Family Hx of Malig Neop of Breast
+105 ;;^UTILITY(U,$J,358.3,8761,1,4,0)
+106 ;;=4^Z80.3
+107 ;;^UTILITY(U,$J,358.3,8761,2)
+108 ;;=^5063347
+109 ;;^UTILITY(U,$J,358.3,8762,0)
+110 ;;=Z80.41^^39^402^31
+111 ;;^UTILITY(U,$J,358.3,8762,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,8762,1,3,0)
+114 ;;=3^Family Hx of Malig Neop of Ovary
+115 ;;^UTILITY(U,$J,358.3,8762,1,4,0)
+116 ;;=4^Z80.41
+117 ;;^UTILITY(U,$J,358.3,8762,2)
+118 ;;=^5063348
+119 ;;^UTILITY(U,$J,358.3,8763,0)
+120 ;;=Z80.42^^39^402^32
+121 ;;^UTILITY(U,$J,358.3,8763,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,8763,1,3,0)
+124 ;;=3^Family Hx of Malig Neop of Prostate