IBDEI115 ; ; 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,16743,1,3,0)
;;=3^Family Hx of Colonic Polyps
;;^UTILITY(U,$J,358.3,16743,1,4,0)
;;=4^Z83.71
;;^UTILITY(U,$J,358.3,16743,2)
;;=^5063386
;;^UTILITY(U,$J,358.3,16744,0)
;;=Z84.81^^61^776^22
;;^UTILITY(U,$J,358.3,16744,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16744,1,3,0)
;;=3^Family Hx of Genetic Disease
;;^UTILITY(U,$J,358.3,16744,1,4,0)
;;=4^Z84.81
;;^UTILITY(U,$J,358.3,16744,2)
;;=^5063392
;;^UTILITY(U,$J,358.3,16745,0)
;;=Z86.010^^61^776^70
;;^UTILITY(U,$J,358.3,16745,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16745,1,3,0)
;;=3^Personal Hx of Colonic Polyps
;;^UTILITY(U,$J,358.3,16745,1,4,0)
;;=4^Z86.010
;;^UTILITY(U,$J,358.3,16745,2)
;;=^5063456
;;^UTILITY(U,$J,358.3,16746,0)
;;=Z86.14^^61^776^75
;;^UTILITY(U,$J,358.3,16746,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16746,1,3,0)
;;=3^Personal Hx of MRSA Infection
;;^UTILITY(U,$J,358.3,16746,1,4,0)
;;=4^Z86.14
;;^UTILITY(U,$J,358.3,16746,2)
;;=^5063464
;;^UTILITY(U,$J,358.3,16747,0)
;;=Z86.31^^61^776^71
;;^UTILITY(U,$J,358.3,16747,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16747,1,3,0)
;;=3^Personal Hx of Diabetic Foot Ulcer
;;^UTILITY(U,$J,358.3,16747,1,4,0)
;;=4^Z86.31
;;^UTILITY(U,$J,358.3,16747,2)
;;=^5063467
;;^UTILITY(U,$J,358.3,16748,0)
;;=Z86.711^^61^776^101
;;^UTILITY(U,$J,358.3,16748,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16748,1,3,0)
;;=3^Personal Hx of Pulmonary Embolism
;;^UTILITY(U,$J,358.3,16748,1,4,0)
;;=4^Z86.711
;;^UTILITY(U,$J,358.3,16748,2)
;;=^5063474
;;^UTILITY(U,$J,358.3,16749,0)
;;=Z86.72^^61^776^107
;;^UTILITY(U,$J,358.3,16749,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16749,1,3,0)
;;=3^Personal Hx of Thrombophlebitis
;;^UTILITY(U,$J,358.3,16749,1,4,0)
;;=4^Z86.72
;;^UTILITY(U,$J,358.3,16749,2)
;;=^5063476
;;^UTILITY(U,$J,358.3,16750,0)
;;=Z87.310^^61^776^99
;;^UTILITY(U,$J,358.3,16750,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16750,1,3,0)
;;=3^Personal Hx of Osteoporosis Fx
;;^UTILITY(U,$J,358.3,16750,1,4,0)
;;=4^Z87.310
;;^UTILITY(U,$J,358.3,16750,2)
;;=^5063485
;;^UTILITY(U,$J,358.3,16751,0)
;;=Z87.442^^61^776^110
;;^UTILITY(U,$J,358.3,16751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16751,1,3,0)
;;=3^Personal Hx of Urinary Calculi
;;^UTILITY(U,$J,358.3,16751,1,4,0)
;;=4^Z87.442
;;^UTILITY(U,$J,358.3,16751,2)
;;=^5063497
;;^UTILITY(U,$J,358.3,16752,0)
;;=Z87.81^^61^776^108
;;^UTILITY(U,$J,358.3,16752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16752,1,3,0)
;;=3^Personal Hx of Traumatic Fx (Healed)
;;^UTILITY(U,$J,358.3,16752,1,4,0)
;;=4^Z87.81
;;^UTILITY(U,$J,358.3,16752,2)
;;=^5063513
;;^UTILITY(U,$J,358.3,16753,0)
;;=Z87.890^^61^776^102
;;^UTILITY(U,$J,358.3,16753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16753,1,3,0)
;;=3^Personal Hx of Sex Reassignment
;;^UTILITY(U,$J,358.3,16753,1,4,0)
;;=4^Z87.890
;;^UTILITY(U,$J,358.3,16753,2)
;;=^5063517
;;^UTILITY(U,$J,358.3,16754,0)
;;=Z87.892^^61^776^68
;;^UTILITY(U,$J,358.3,16754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16754,1,3,0)
;;=3^Personal Hx of Anaphylaxis
;;^UTILITY(U,$J,358.3,16754,1,4,0)
;;=4^Z87.892
;;^UTILITY(U,$J,358.3,16754,2)
;;=^5063519
;;^UTILITY(U,$J,358.3,16755,0)
;;=Z87.39^^61^776^96
;;^UTILITY(U,$J,358.3,16755,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16755,1,3,0)
;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI115 3774 printed Nov 22, 2024@17:09:54 Page 2
IBDEI115 ; ; 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,16743,1,3,0)
+2 ;;=3^Family Hx of Colonic Polyps
+3 ;;^UTILITY(U,$J,358.3,16743,1,4,0)
+4 ;;=4^Z83.71
+5 ;;^UTILITY(U,$J,358.3,16743,2)
+6 ;;=^5063386
+7 ;;^UTILITY(U,$J,358.3,16744,0)
+8 ;;=Z84.81^^61^776^22
+9 ;;^UTILITY(U,$J,358.3,16744,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,16744,1,3,0)
+12 ;;=3^Family Hx of Genetic Disease
+13 ;;^UTILITY(U,$J,358.3,16744,1,4,0)
+14 ;;=4^Z84.81
+15 ;;^UTILITY(U,$J,358.3,16744,2)
+16 ;;=^5063392
+17 ;;^UTILITY(U,$J,358.3,16745,0)
+18 ;;=Z86.010^^61^776^70
+19 ;;^UTILITY(U,$J,358.3,16745,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,16745,1,3,0)
+22 ;;=3^Personal Hx of Colonic Polyps
+23 ;;^UTILITY(U,$J,358.3,16745,1,4,0)
+24 ;;=4^Z86.010
+25 ;;^UTILITY(U,$J,358.3,16745,2)
+26 ;;=^5063456
+27 ;;^UTILITY(U,$J,358.3,16746,0)
+28 ;;=Z86.14^^61^776^75
+29 ;;^UTILITY(U,$J,358.3,16746,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,16746,1,3,0)
+32 ;;=3^Personal Hx of MRSA Infection
+33 ;;^UTILITY(U,$J,358.3,16746,1,4,0)
+34 ;;=4^Z86.14
+35 ;;^UTILITY(U,$J,358.3,16746,2)
+36 ;;=^5063464
+37 ;;^UTILITY(U,$J,358.3,16747,0)
+38 ;;=Z86.31^^61^776^71
+39 ;;^UTILITY(U,$J,358.3,16747,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,16747,1,3,0)
+42 ;;=3^Personal Hx of Diabetic Foot Ulcer
+43 ;;^UTILITY(U,$J,358.3,16747,1,4,0)
+44 ;;=4^Z86.31
+45 ;;^UTILITY(U,$J,358.3,16747,2)
+46 ;;=^5063467
+47 ;;^UTILITY(U,$J,358.3,16748,0)
+48 ;;=Z86.711^^61^776^101
+49 ;;^UTILITY(U,$J,358.3,16748,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,16748,1,3,0)
+52 ;;=3^Personal Hx of Pulmonary Embolism
+53 ;;^UTILITY(U,$J,358.3,16748,1,4,0)
+54 ;;=4^Z86.711
+55 ;;^UTILITY(U,$J,358.3,16748,2)
+56 ;;=^5063474
+57 ;;^UTILITY(U,$J,358.3,16749,0)
+58 ;;=Z86.72^^61^776^107
+59 ;;^UTILITY(U,$J,358.3,16749,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,16749,1,3,0)
+62 ;;=3^Personal Hx of Thrombophlebitis
+63 ;;^UTILITY(U,$J,358.3,16749,1,4,0)
+64 ;;=4^Z86.72
+65 ;;^UTILITY(U,$J,358.3,16749,2)
+66 ;;=^5063476
+67 ;;^UTILITY(U,$J,358.3,16750,0)
+68 ;;=Z87.310^^61^776^99
+69 ;;^UTILITY(U,$J,358.3,16750,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,16750,1,3,0)
+72 ;;=3^Personal Hx of Osteoporosis Fx
+73 ;;^UTILITY(U,$J,358.3,16750,1,4,0)
+74 ;;=4^Z87.310
+75 ;;^UTILITY(U,$J,358.3,16750,2)
+76 ;;=^5063485
+77 ;;^UTILITY(U,$J,358.3,16751,0)
+78 ;;=Z87.442^^61^776^110
+79 ;;^UTILITY(U,$J,358.3,16751,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,16751,1,3,0)
+82 ;;=3^Personal Hx of Urinary Calculi
+83 ;;^UTILITY(U,$J,358.3,16751,1,4,0)
+84 ;;=4^Z87.442
+85 ;;^UTILITY(U,$J,358.3,16751,2)
+86 ;;=^5063497
+87 ;;^UTILITY(U,$J,358.3,16752,0)
+88 ;;=Z87.81^^61^776^108
+89 ;;^UTILITY(U,$J,358.3,16752,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,16752,1,3,0)
+92 ;;=3^Personal Hx of Traumatic Fx (Healed)
+93 ;;^UTILITY(U,$J,358.3,16752,1,4,0)
+94 ;;=4^Z87.81
+95 ;;^UTILITY(U,$J,358.3,16752,2)
+96 ;;=^5063513
+97 ;;^UTILITY(U,$J,358.3,16753,0)
+98 ;;=Z87.890^^61^776^102
+99 ;;^UTILITY(U,$J,358.3,16753,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,16753,1,3,0)
+102 ;;=3^Personal Hx of Sex Reassignment
+103 ;;^UTILITY(U,$J,358.3,16753,1,4,0)
+104 ;;=4^Z87.890
+105 ;;^UTILITY(U,$J,358.3,16753,2)
+106 ;;=^5063517
+107 ;;^UTILITY(U,$J,358.3,16754,0)
+108 ;;=Z87.892^^61^776^68
+109 ;;^UTILITY(U,$J,358.3,16754,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,16754,1,3,0)
+112 ;;=3^Personal Hx of Anaphylaxis
+113 ;;^UTILITY(U,$J,358.3,16754,1,4,0)
+114 ;;=4^Z87.892
+115 ;;^UTILITY(U,$J,358.3,16754,2)
+116 ;;=^5063519
+117 ;;^UTILITY(U,$J,358.3,16755,0)
+118 ;;=Z87.39^^61^776^96
+119 ;;^UTILITY(U,$J,358.3,16755,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,16755,1,3,0)
+122 ;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease