IBDEI116 ; ; 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,16755,1,4,0)
;;=4^Z87.39
;;^UTILITY(U,$J,358.3,16755,2)
;;=^5063488
;;^UTILITY(U,$J,358.3,16756,0)
;;=Z87.820^^61^776^105
;;^UTILITY(U,$J,358.3,16756,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16756,1,3,0)
;;=3^Personal Hx of TBI
;;^UTILITY(U,$J,358.3,16756,1,4,0)
;;=4^Z87.820
;;^UTILITY(U,$J,358.3,16756,2)
;;=^5063514
;;^UTILITY(U,$J,358.3,16757,0)
;;=Z91.82^^61^776^95
;;^UTILITY(U,$J,358.3,16757,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16757,1,3,0)
;;=3^Personal Hx of Military Deployment
;;^UTILITY(U,$J,358.3,16757,1,4,0)
;;=4^Z91.82
;;^UTILITY(U,$J,358.3,16757,2)
;;=^5063626
;;^UTILITY(U,$J,358.3,16758,0)
;;=Z91.030^^61^776^5
;;^UTILITY(U,$J,358.3,16758,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16758,1,3,0)
;;=3^Bee Allergy
;;^UTILITY(U,$J,358.3,16758,1,4,0)
;;=4^Z91.030
;;^UTILITY(U,$J,358.3,16758,2)
;;=^5063605
;;^UTILITY(U,$J,358.3,16759,0)
;;=Z91.038^^61^776^52
;;^UTILITY(U,$J,358.3,16759,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16759,1,3,0)
;;=3^Insect Allergy NEC
;;^UTILITY(U,$J,358.3,16759,1,4,0)
;;=4^Z91.038
;;^UTILITY(U,$J,358.3,16759,2)
;;=^5063606
;;^UTILITY(U,$J,358.3,16760,0)
;;=Z91.041^^61^776^145
;;^UTILITY(U,$J,358.3,16760,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16760,1,3,0)
;;=3^Radiographic Dye Allergy
;;^UTILITY(U,$J,358.3,16760,1,4,0)
;;=4^Z91.041
;;^UTILITY(U,$J,358.3,16760,2)
;;=^5063608
;;^UTILITY(U,$J,358.3,16761,0)
;;=Z91.130^^61^776^152
;;^UTILITY(U,$J,358.3,16761,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16761,1,3,0)
;;=3^Underdose of Med Regiment d/t Age-Related Debility
;;^UTILITY(U,$J,358.3,16761,1,4,0)
;;=4^Z91.130
;;^UTILITY(U,$J,358.3,16761,2)
;;=^5063614
;;^UTILITY(U,$J,358.3,16762,0)
;;=Z91.138^^61^776^153
;;^UTILITY(U,$J,358.3,16762,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16762,1,3,0)
;;=3^Underdose of Med Regiment for Other Reason
;;^UTILITY(U,$J,358.3,16762,1,4,0)
;;=4^Z91.138
;;^UTILITY(U,$J,358.3,16762,2)
;;=^5063615
;;^UTILITY(U,$J,358.3,16763,0)
;;=Z91.14^^61^776^64
;;^UTILITY(U,$J,358.3,16763,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16763,1,3,0)
;;=3^Noncompliance w/ Medication Regimen
;;^UTILITY(U,$J,358.3,16763,1,4,0)
;;=4^Z91.14
;;^UTILITY(U,$J,358.3,16763,2)
;;=^5063616
;;^UTILITY(U,$J,358.3,16764,0)
;;=Z91.19^^61^776^63
;;^UTILITY(U,$J,358.3,16764,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16764,1,3,0)
;;=3^Noncompliance w/ Medical Treatment & Regimen
;;^UTILITY(U,$J,358.3,16764,1,4,0)
;;=4^Z91.19
;;^UTILITY(U,$J,358.3,16764,2)
;;=^5063618
;;^UTILITY(U,$J,358.3,16765,0)
;;=Z93.1^^61^776^45
;;^UTILITY(U,$J,358.3,16765,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16765,1,3,0)
;;=3^Gastrostomy Status
;;^UTILITY(U,$J,358.3,16765,1,4,0)
;;=4^Z93.1
;;^UTILITY(U,$J,358.3,16765,2)
;;=^5063643
;;^UTILITY(U,$J,358.3,16766,0)
;;=Z93.2^^61^776^51
;;^UTILITY(U,$J,358.3,16766,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16766,1,3,0)
;;=3^Ileostomy Status
;;^UTILITY(U,$J,358.3,16766,1,4,0)
;;=4^Z93.2
;;^UTILITY(U,$J,358.3,16766,2)
;;=^5063644
;;^UTILITY(U,$J,358.3,16767,0)
;;=Z93.3^^61^776^7
;;^UTILITY(U,$J,358.3,16767,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16767,1,3,0)
;;=3^Colostomy Status
;;^UTILITY(U,$J,358.3,16767,1,4,0)
;;=4^Z93.3
;;^UTILITY(U,$J,358.3,16767,2)
;;=^5063645
;;^UTILITY(U,$J,358.3,16768,0)
;;=Z94.0^^61^776^56
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI116 3779 printed Nov 22, 2024@17:09:55 Page 2
IBDEI116 ; ; 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,16755,1,4,0)
+2 ;;=4^Z87.39
+3 ;;^UTILITY(U,$J,358.3,16755,2)
+4 ;;=^5063488
+5 ;;^UTILITY(U,$J,358.3,16756,0)
+6 ;;=Z87.820^^61^776^105
+7 ;;^UTILITY(U,$J,358.3,16756,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,16756,1,3,0)
+10 ;;=3^Personal Hx of TBI
+11 ;;^UTILITY(U,$J,358.3,16756,1,4,0)
+12 ;;=4^Z87.820
+13 ;;^UTILITY(U,$J,358.3,16756,2)
+14 ;;=^5063514
+15 ;;^UTILITY(U,$J,358.3,16757,0)
+16 ;;=Z91.82^^61^776^95
+17 ;;^UTILITY(U,$J,358.3,16757,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,16757,1,3,0)
+20 ;;=3^Personal Hx of Military Deployment
+21 ;;^UTILITY(U,$J,358.3,16757,1,4,0)
+22 ;;=4^Z91.82
+23 ;;^UTILITY(U,$J,358.3,16757,2)
+24 ;;=^5063626
+25 ;;^UTILITY(U,$J,358.3,16758,0)
+26 ;;=Z91.030^^61^776^5
+27 ;;^UTILITY(U,$J,358.3,16758,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,16758,1,3,0)
+30 ;;=3^Bee Allergy
+31 ;;^UTILITY(U,$J,358.3,16758,1,4,0)
+32 ;;=4^Z91.030
+33 ;;^UTILITY(U,$J,358.3,16758,2)
+34 ;;=^5063605
+35 ;;^UTILITY(U,$J,358.3,16759,0)
+36 ;;=Z91.038^^61^776^52
+37 ;;^UTILITY(U,$J,358.3,16759,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,16759,1,3,0)
+40 ;;=3^Insect Allergy NEC
+41 ;;^UTILITY(U,$J,358.3,16759,1,4,0)
+42 ;;=4^Z91.038
+43 ;;^UTILITY(U,$J,358.3,16759,2)
+44 ;;=^5063606
+45 ;;^UTILITY(U,$J,358.3,16760,0)
+46 ;;=Z91.041^^61^776^145
+47 ;;^UTILITY(U,$J,358.3,16760,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,16760,1,3,0)
+50 ;;=3^Radiographic Dye Allergy
+51 ;;^UTILITY(U,$J,358.3,16760,1,4,0)
+52 ;;=4^Z91.041
+53 ;;^UTILITY(U,$J,358.3,16760,2)
+54 ;;=^5063608
+55 ;;^UTILITY(U,$J,358.3,16761,0)
+56 ;;=Z91.130^^61^776^152
+57 ;;^UTILITY(U,$J,358.3,16761,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,16761,1,3,0)
+60 ;;=3^Underdose of Med Regiment d/t Age-Related Debility
+61 ;;^UTILITY(U,$J,358.3,16761,1,4,0)
+62 ;;=4^Z91.130
+63 ;;^UTILITY(U,$J,358.3,16761,2)
+64 ;;=^5063614
+65 ;;^UTILITY(U,$J,358.3,16762,0)
+66 ;;=Z91.138^^61^776^153
+67 ;;^UTILITY(U,$J,358.3,16762,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,16762,1,3,0)
+70 ;;=3^Underdose of Med Regiment for Other Reason
+71 ;;^UTILITY(U,$J,358.3,16762,1,4,0)
+72 ;;=4^Z91.138
+73 ;;^UTILITY(U,$J,358.3,16762,2)
+74 ;;=^5063615
+75 ;;^UTILITY(U,$J,358.3,16763,0)
+76 ;;=Z91.14^^61^776^64
+77 ;;^UTILITY(U,$J,358.3,16763,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,16763,1,3,0)
+80 ;;=3^Noncompliance w/ Medication Regimen
+81 ;;^UTILITY(U,$J,358.3,16763,1,4,0)
+82 ;;=4^Z91.14
+83 ;;^UTILITY(U,$J,358.3,16763,2)
+84 ;;=^5063616
+85 ;;^UTILITY(U,$J,358.3,16764,0)
+86 ;;=Z91.19^^61^776^63
+87 ;;^UTILITY(U,$J,358.3,16764,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,16764,1,3,0)
+90 ;;=3^Noncompliance w/ Medical Treatment & Regimen
+91 ;;^UTILITY(U,$J,358.3,16764,1,4,0)
+92 ;;=4^Z91.19
+93 ;;^UTILITY(U,$J,358.3,16764,2)
+94 ;;=^5063618
+95 ;;^UTILITY(U,$J,358.3,16765,0)
+96 ;;=Z93.1^^61^776^45
+97 ;;^UTILITY(U,$J,358.3,16765,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,16765,1,3,0)
+100 ;;=3^Gastrostomy Status
+101 ;;^UTILITY(U,$J,358.3,16765,1,4,0)
+102 ;;=4^Z93.1
+103 ;;^UTILITY(U,$J,358.3,16765,2)
+104 ;;=^5063643
+105 ;;^UTILITY(U,$J,358.3,16766,0)
+106 ;;=Z93.2^^61^776^51
+107 ;;^UTILITY(U,$J,358.3,16766,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,16766,1,3,0)
+110 ;;=3^Ileostomy Status
+111 ;;^UTILITY(U,$J,358.3,16766,1,4,0)
+112 ;;=4^Z93.2
+113 ;;^UTILITY(U,$J,358.3,16766,2)
+114 ;;=^5063644
+115 ;;^UTILITY(U,$J,358.3,16767,0)
+116 ;;=Z93.3^^61^776^7
+117 ;;^UTILITY(U,$J,358.3,16767,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,16767,1,3,0)
+120 ;;=3^Colostomy Status
+121 ;;^UTILITY(U,$J,358.3,16767,1,4,0)
+122 ;;=4^Z93.3
+123 ;;^UTILITY(U,$J,358.3,16767,2)
+124 ;;=^5063645
+125 ;;^UTILITY(U,$J,358.3,16768,0)
+126 ;;=Z94.0^^61^776^56