IBDEI112 ; ; 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,16706,2)
;;=^5063323
;;^UTILITY(U,$J,358.3,16707,0)
;;=Z91.81^^61^776^50
;;^UTILITY(U,$J,358.3,16707,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16707,1,3,0)
;;=3^History of Falling
;;^UTILITY(U,$J,358.3,16707,1,4,0)
;;=4^Z91.81
;;^UTILITY(U,$J,358.3,16707,2)
;;=^5063625
;;^UTILITY(U,$J,358.3,16708,0)
;;=Z91.89^^61^776^112
;;^UTILITY(U,$J,358.3,16708,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16708,1,3,0)
;;=3^Personal Risk Factors NEC
;;^UTILITY(U,$J,358.3,16708,1,4,0)
;;=4^Z91.89
;;^UTILITY(U,$J,358.3,16708,2)
;;=^5063628
;;^UTILITY(U,$J,358.3,16709,0)
;;=Z92.89^^61^776^100
;;^UTILITY(U,$J,358.3,16709,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16709,1,3,0)
;;=3^Personal Hx of Other Medical Treatment
;;^UTILITY(U,$J,358.3,16709,1,4,0)
;;=4^Z92.89
;;^UTILITY(U,$J,358.3,16709,2)
;;=^5063641
;;^UTILITY(U,$J,358.3,16710,0)
;;=Z77.110^^61^776^1
;;^UTILITY(U,$J,358.3,16710,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16710,1,3,0)
;;=3^Air Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,16710,1,4,0)
;;=4^Z77.110
;;^UTILITY(U,$J,358.3,16710,2)
;;=^5063314
;;^UTILITY(U,$J,358.3,16711,0)
;;=Z77.112^^61^776^148
;;^UTILITY(U,$J,358.3,16711,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16711,1,3,0)
;;=3^Soil Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,16711,1,4,0)
;;=4^Z77.112
;;^UTILITY(U,$J,358.3,16711,2)
;;=^5063316
;;^UTILITY(U,$J,358.3,16712,0)
;;=Z77.111^^61^776^155
;;^UTILITY(U,$J,358.3,16712,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16712,1,3,0)
;;=3^Water Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,16712,1,4,0)
;;=4^Z77.111
;;^UTILITY(U,$J,358.3,16712,2)
;;=^5063315
;;^UTILITY(U,$J,358.3,16713,0)
;;=Z77.128^^61^776^113
;;^UTILITY(U,$J,358.3,16713,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16713,1,3,0)
;;=3^Physical Environment Hazards Contact/Exposure
;;^UTILITY(U,$J,358.3,16713,1,4,0)
;;=4^Z77.128
;;^UTILITY(U,$J,358.3,16713,2)
;;=^5063322
;;^UTILITY(U,$J,358.3,16714,0)
;;=Z77.123^^61^776^146
;;^UTILITY(U,$J,358.3,16714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16714,1,3,0)
;;=3^Radon/Radiation Contact/Exposure
;;^UTILITY(U,$J,358.3,16714,1,4,0)
;;=4^Z77.123
;;^UTILITY(U,$J,358.3,16714,2)
;;=^5063321
;;^UTILITY(U,$J,358.3,16715,0)
;;=Z77.122^^61^776^61
;;^UTILITY(U,$J,358.3,16715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16715,1,3,0)
;;=3^Noise Contact/Exposure
;;^UTILITY(U,$J,358.3,16715,1,4,0)
;;=4^Z77.122
;;^UTILITY(U,$J,358.3,16715,2)
;;=^5063320
;;^UTILITY(U,$J,358.3,16716,0)
;;=Z77.118^^61^776^11
;;^UTILITY(U,$J,358.3,16716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16716,1,3,0)
;;=3^Environmental Pollution Contact/Exposure
;;^UTILITY(U,$J,358.3,16716,1,4,0)
;;=4^Z77.118
;;^UTILITY(U,$J,358.3,16716,2)
;;=^5063317
;;^UTILITY(U,$J,358.3,16717,0)
;;=Z77.9^^61^776^47
;;^UTILITY(U,$J,358.3,16717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16717,1,3,0)
;;=3^Health Hazard Contact/Exposure
;;^UTILITY(U,$J,358.3,16717,1,4,0)
;;=4^Z77.9
;;^UTILITY(U,$J,358.3,16717,2)
;;=^5063326
;;^UTILITY(U,$J,358.3,16718,0)
;;=Z77.22^^61^776^10
;;^UTILITY(U,$J,358.3,16718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16718,1,3,0)
;;=3^Environmental Exposure Tobacco Smoke/Second-Hand Smoke
;;^UTILITY(U,$J,358.3,16718,1,4,0)
;;=4^Z77.22
;;^UTILITY(U,$J,358.3,16718,2)
;;=^5063324
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI112 3753 printed Dec 13, 2024@01:59:40 Page 2
IBDEI112 ; ; 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,16706,2)
+2 ;;=^5063323
+3 ;;^UTILITY(U,$J,358.3,16707,0)
+4 ;;=Z91.81^^61^776^50
+5 ;;^UTILITY(U,$J,358.3,16707,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,16707,1,3,0)
+8 ;;=3^History of Falling
+9 ;;^UTILITY(U,$J,358.3,16707,1,4,0)
+10 ;;=4^Z91.81
+11 ;;^UTILITY(U,$J,358.3,16707,2)
+12 ;;=^5063625
+13 ;;^UTILITY(U,$J,358.3,16708,0)
+14 ;;=Z91.89^^61^776^112
+15 ;;^UTILITY(U,$J,358.3,16708,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,16708,1,3,0)
+18 ;;=3^Personal Risk Factors NEC
+19 ;;^UTILITY(U,$J,358.3,16708,1,4,0)
+20 ;;=4^Z91.89
+21 ;;^UTILITY(U,$J,358.3,16708,2)
+22 ;;=^5063628
+23 ;;^UTILITY(U,$J,358.3,16709,0)
+24 ;;=Z92.89^^61^776^100
+25 ;;^UTILITY(U,$J,358.3,16709,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,16709,1,3,0)
+28 ;;=3^Personal Hx of Other Medical Treatment
+29 ;;^UTILITY(U,$J,358.3,16709,1,4,0)
+30 ;;=4^Z92.89
+31 ;;^UTILITY(U,$J,358.3,16709,2)
+32 ;;=^5063641
+33 ;;^UTILITY(U,$J,358.3,16710,0)
+34 ;;=Z77.110^^61^776^1
+35 ;;^UTILITY(U,$J,358.3,16710,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,16710,1,3,0)
+38 ;;=3^Air Pollution Contact/Exposure
+39 ;;^UTILITY(U,$J,358.3,16710,1,4,0)
+40 ;;=4^Z77.110
+41 ;;^UTILITY(U,$J,358.3,16710,2)
+42 ;;=^5063314
+43 ;;^UTILITY(U,$J,358.3,16711,0)
+44 ;;=Z77.112^^61^776^148
+45 ;;^UTILITY(U,$J,358.3,16711,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,16711,1,3,0)
+48 ;;=3^Soil Pollution Contact/Exposure
+49 ;;^UTILITY(U,$J,358.3,16711,1,4,0)
+50 ;;=4^Z77.112
+51 ;;^UTILITY(U,$J,358.3,16711,2)
+52 ;;=^5063316
+53 ;;^UTILITY(U,$J,358.3,16712,0)
+54 ;;=Z77.111^^61^776^155
+55 ;;^UTILITY(U,$J,358.3,16712,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,16712,1,3,0)
+58 ;;=3^Water Pollution Contact/Exposure
+59 ;;^UTILITY(U,$J,358.3,16712,1,4,0)
+60 ;;=4^Z77.111
+61 ;;^UTILITY(U,$J,358.3,16712,2)
+62 ;;=^5063315
+63 ;;^UTILITY(U,$J,358.3,16713,0)
+64 ;;=Z77.128^^61^776^113
+65 ;;^UTILITY(U,$J,358.3,16713,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,16713,1,3,0)
+68 ;;=3^Physical Environment Hazards Contact/Exposure
+69 ;;^UTILITY(U,$J,358.3,16713,1,4,0)
+70 ;;=4^Z77.128
+71 ;;^UTILITY(U,$J,358.3,16713,2)
+72 ;;=^5063322
+73 ;;^UTILITY(U,$J,358.3,16714,0)
+74 ;;=Z77.123^^61^776^146
+75 ;;^UTILITY(U,$J,358.3,16714,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,16714,1,3,0)
+78 ;;=3^Radon/Radiation Contact/Exposure
+79 ;;^UTILITY(U,$J,358.3,16714,1,4,0)
+80 ;;=4^Z77.123
+81 ;;^UTILITY(U,$J,358.3,16714,2)
+82 ;;=^5063321
+83 ;;^UTILITY(U,$J,358.3,16715,0)
+84 ;;=Z77.122^^61^776^61
+85 ;;^UTILITY(U,$J,358.3,16715,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,16715,1,3,0)
+88 ;;=3^Noise Contact/Exposure
+89 ;;^UTILITY(U,$J,358.3,16715,1,4,0)
+90 ;;=4^Z77.122
+91 ;;^UTILITY(U,$J,358.3,16715,2)
+92 ;;=^5063320
+93 ;;^UTILITY(U,$J,358.3,16716,0)
+94 ;;=Z77.118^^61^776^11
+95 ;;^UTILITY(U,$J,358.3,16716,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,16716,1,3,0)
+98 ;;=3^Environmental Pollution Contact/Exposure
+99 ;;^UTILITY(U,$J,358.3,16716,1,4,0)
+100 ;;=4^Z77.118
+101 ;;^UTILITY(U,$J,358.3,16716,2)
+102 ;;=^5063317
+103 ;;^UTILITY(U,$J,358.3,16717,0)
+104 ;;=Z77.9^^61^776^47
+105 ;;^UTILITY(U,$J,358.3,16717,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,16717,1,3,0)
+108 ;;=3^Health Hazard Contact/Exposure
+109 ;;^UTILITY(U,$J,358.3,16717,1,4,0)
+110 ;;=4^Z77.9
+111 ;;^UTILITY(U,$J,358.3,16717,2)
+112 ;;=^5063326
+113 ;;^UTILITY(U,$J,358.3,16718,0)
+114 ;;=Z77.22^^61^776^10
+115 ;;^UTILITY(U,$J,358.3,16718,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,16718,1,3,0)
+118 ;;=3^Environmental Exposure Tobacco Smoke/Second-Hand Smoke
+119 ;;^UTILITY(U,$J,358.3,16718,1,4,0)
+120 ;;=4^Z77.22
+121 ;;^UTILITY(U,$J,358.3,16718,2)
+122 ;;=^5063324