IBDEI111 ; ; 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,16694,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,16694,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,16695,0)
;;=Z86.11^^61^776^109
;;^UTILITY(U,$J,358.3,16695,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16695,1,3,0)
;;=3^Personal Hx of Tuberculosis
;;^UTILITY(U,$J,358.3,16695,1,4,0)
;;=4^Z86.11
;;^UTILITY(U,$J,358.3,16695,2)
;;=^5063461
;;^UTILITY(U,$J,358.3,16696,0)
;;=Z86.13^^61^776^76
;;^UTILITY(U,$J,358.3,16696,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16696,1,3,0)
;;=3^Personal Hx of Malaria
;;^UTILITY(U,$J,358.3,16696,1,4,0)
;;=4^Z86.13
;;^UTILITY(U,$J,358.3,16696,2)
;;=^5063463
;;^UTILITY(U,$J,358.3,16697,0)
;;=Z86.73^^61^776^106
;;^UTILITY(U,$J,358.3,16697,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16697,1,3,0)
;;=3^Personal Hx of TIA & Cereb Infrc w/o Residual Deficits
;;^UTILITY(U,$J,358.3,16697,1,4,0)
;;=4^Z86.73
;;^UTILITY(U,$J,358.3,16697,2)
;;=^5063477
;;^UTILITY(U,$J,358.3,16698,0)
;;=Z86.79^^61^776^69
;;^UTILITY(U,$J,358.3,16698,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16698,1,3,0)
;;=3^Personal Hx of Circulatory System Diseases
;;^UTILITY(U,$J,358.3,16698,1,4,0)
;;=4^Z86.79
;;^UTILITY(U,$J,358.3,16698,2)
;;=^5063479
;;^UTILITY(U,$J,358.3,16699,0)
;;=Z91.040^^61^776^57
;;^UTILITY(U,$J,358.3,16699,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16699,1,3,0)
;;=3^Latex Allergy Status
;;^UTILITY(U,$J,358.3,16699,1,4,0)
;;=4^Z91.040
;;^UTILITY(U,$J,358.3,16699,2)
;;=^5063607
;;^UTILITY(U,$J,358.3,16700,0)
;;=Z92.3^^61^776^73
;;^UTILITY(U,$J,358.3,16700,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16700,1,3,0)
;;=3^Personal Hx of Irradiation
;;^UTILITY(U,$J,358.3,16700,1,4,0)
;;=4^Z92.3
;;^UTILITY(U,$J,358.3,16700,2)
;;=^5063637
;;^UTILITY(U,$J,358.3,16701,0)
;;=Z91.120^^61^776^53
;;^UTILITY(U,$J,358.3,16701,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16701,1,3,0)
;;=3^Intentional Underdose of Meds d/t Financial Hardship
;;^UTILITY(U,$J,358.3,16701,1,4,0)
;;=4^Z91.120
;;^UTILITY(U,$J,358.3,16701,2)
;;=^5063612
;;^UTILITY(U,$J,358.3,16702,0)
;;=Z91.11^^61^776^62
;;^UTILITY(U,$J,358.3,16702,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16702,1,3,0)
;;=3^Noncompliance w/ Dietary Regimen
;;^UTILITY(U,$J,358.3,16702,1,4,0)
;;=4^Z91.11
;;^UTILITY(U,$J,358.3,16702,2)
;;=^5063611
;;^UTILITY(U,$J,358.3,16703,0)
;;=Z87.891^^61^776^97
;;^UTILITY(U,$J,358.3,16703,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16703,1,3,0)
;;=3^Personal Hx of Nicotine Dependence
;;^UTILITY(U,$J,358.3,16703,1,4,0)
;;=4^Z87.891
;;^UTILITY(U,$J,358.3,16703,2)
;;=^5063518
;;^UTILITY(U,$J,358.3,16704,0)
;;=Z77.090^^61^776^3
;;^UTILITY(U,$J,358.3,16704,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16704,1,3,0)
;;=3^Asbestos Contact/Exposure
;;^UTILITY(U,$J,358.3,16704,1,4,0)
;;=4^Z77.090
;;^UTILITY(U,$J,358.3,16704,2)
;;=^5063312
;;^UTILITY(U,$J,358.3,16705,0)
;;=Z57.8^^61^776^65
;;^UTILITY(U,$J,358.3,16705,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16705,1,3,0)
;;=3^Occupational Exposure to Other Risk Factors
;;^UTILITY(U,$J,358.3,16705,1,4,0)
;;=4^Z57.8
;;^UTILITY(U,$J,358.3,16705,2)
;;=^5063127
;;^UTILITY(U,$J,358.3,16706,0)
;;=Z77.21^^61^776^46
;;^UTILITY(U,$J,358.3,16706,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16706,1,3,0)
;;=3^Hazardous Body Fluid Contact/Exposure
;;^UTILITY(U,$J,358.3,16706,1,4,0)
;;=4^Z77.21
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI111 3761 printed Dec 13, 2024@01:59:39 Page 2
IBDEI111 ; ; 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,16694,1,4,0)
+2 ;;=4^Z65.8
+3 ;;^UTILITY(U,$J,358.3,16694,2)
+4 ;;=^5063185
+5 ;;^UTILITY(U,$J,358.3,16695,0)
+6 ;;=Z86.11^^61^776^109
+7 ;;^UTILITY(U,$J,358.3,16695,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,16695,1,3,0)
+10 ;;=3^Personal Hx of Tuberculosis
+11 ;;^UTILITY(U,$J,358.3,16695,1,4,0)
+12 ;;=4^Z86.11
+13 ;;^UTILITY(U,$J,358.3,16695,2)
+14 ;;=^5063461
+15 ;;^UTILITY(U,$J,358.3,16696,0)
+16 ;;=Z86.13^^61^776^76
+17 ;;^UTILITY(U,$J,358.3,16696,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,16696,1,3,0)
+20 ;;=3^Personal Hx of Malaria
+21 ;;^UTILITY(U,$J,358.3,16696,1,4,0)
+22 ;;=4^Z86.13
+23 ;;^UTILITY(U,$J,358.3,16696,2)
+24 ;;=^5063463
+25 ;;^UTILITY(U,$J,358.3,16697,0)
+26 ;;=Z86.73^^61^776^106
+27 ;;^UTILITY(U,$J,358.3,16697,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,16697,1,3,0)
+30 ;;=3^Personal Hx of TIA & Cereb Infrc w/o Residual Deficits
+31 ;;^UTILITY(U,$J,358.3,16697,1,4,0)
+32 ;;=4^Z86.73
+33 ;;^UTILITY(U,$J,358.3,16697,2)
+34 ;;=^5063477
+35 ;;^UTILITY(U,$J,358.3,16698,0)
+36 ;;=Z86.79^^61^776^69
+37 ;;^UTILITY(U,$J,358.3,16698,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,16698,1,3,0)
+40 ;;=3^Personal Hx of Circulatory System Diseases
+41 ;;^UTILITY(U,$J,358.3,16698,1,4,0)
+42 ;;=4^Z86.79
+43 ;;^UTILITY(U,$J,358.3,16698,2)
+44 ;;=^5063479
+45 ;;^UTILITY(U,$J,358.3,16699,0)
+46 ;;=Z91.040^^61^776^57
+47 ;;^UTILITY(U,$J,358.3,16699,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,16699,1,3,0)
+50 ;;=3^Latex Allergy Status
+51 ;;^UTILITY(U,$J,358.3,16699,1,4,0)
+52 ;;=4^Z91.040
+53 ;;^UTILITY(U,$J,358.3,16699,2)
+54 ;;=^5063607
+55 ;;^UTILITY(U,$J,358.3,16700,0)
+56 ;;=Z92.3^^61^776^73
+57 ;;^UTILITY(U,$J,358.3,16700,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,16700,1,3,0)
+60 ;;=3^Personal Hx of Irradiation
+61 ;;^UTILITY(U,$J,358.3,16700,1,4,0)
+62 ;;=4^Z92.3
+63 ;;^UTILITY(U,$J,358.3,16700,2)
+64 ;;=^5063637
+65 ;;^UTILITY(U,$J,358.3,16701,0)
+66 ;;=Z91.120^^61^776^53
+67 ;;^UTILITY(U,$J,358.3,16701,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,16701,1,3,0)
+70 ;;=3^Intentional Underdose of Meds d/t Financial Hardship
+71 ;;^UTILITY(U,$J,358.3,16701,1,4,0)
+72 ;;=4^Z91.120
+73 ;;^UTILITY(U,$J,358.3,16701,2)
+74 ;;=^5063612
+75 ;;^UTILITY(U,$J,358.3,16702,0)
+76 ;;=Z91.11^^61^776^62
+77 ;;^UTILITY(U,$J,358.3,16702,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,16702,1,3,0)
+80 ;;=3^Noncompliance w/ Dietary Regimen
+81 ;;^UTILITY(U,$J,358.3,16702,1,4,0)
+82 ;;=4^Z91.11
+83 ;;^UTILITY(U,$J,358.3,16702,2)
+84 ;;=^5063611
+85 ;;^UTILITY(U,$J,358.3,16703,0)
+86 ;;=Z87.891^^61^776^97
+87 ;;^UTILITY(U,$J,358.3,16703,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,16703,1,3,0)
+90 ;;=3^Personal Hx of Nicotine Dependence
+91 ;;^UTILITY(U,$J,358.3,16703,1,4,0)
+92 ;;=4^Z87.891
+93 ;;^UTILITY(U,$J,358.3,16703,2)
+94 ;;=^5063518
+95 ;;^UTILITY(U,$J,358.3,16704,0)
+96 ;;=Z77.090^^61^776^3
+97 ;;^UTILITY(U,$J,358.3,16704,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,16704,1,3,0)
+100 ;;=3^Asbestos Contact/Exposure
+101 ;;^UTILITY(U,$J,358.3,16704,1,4,0)
+102 ;;=4^Z77.090
+103 ;;^UTILITY(U,$J,358.3,16704,2)
+104 ;;=^5063312
+105 ;;^UTILITY(U,$J,358.3,16705,0)
+106 ;;=Z57.8^^61^776^65
+107 ;;^UTILITY(U,$J,358.3,16705,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,16705,1,3,0)
+110 ;;=3^Occupational Exposure to Other Risk Factors
+111 ;;^UTILITY(U,$J,358.3,16705,1,4,0)
+112 ;;=4^Z57.8
+113 ;;^UTILITY(U,$J,358.3,16705,2)
+114 ;;=^5063127
+115 ;;^UTILITY(U,$J,358.3,16706,0)
+116 ;;=Z77.21^^61^776^46
+117 ;;^UTILITY(U,$J,358.3,16706,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,16706,1,3,0)
+120 ;;=3^Hazardous Body Fluid Contact/Exposure
+121 ;;^UTILITY(U,$J,358.3,16706,1,4,0)
+122 ;;=4^Z77.21