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