IBDEI0JJ ; ; 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,8788,1,4,0)
;;=4^Z86.711
;;^UTILITY(U,$J,358.3,8788,2)
;;=^5063474
;;^UTILITY(U,$J,358.3,8789,0)
;;=Z86.72^^39^402^107
;;^UTILITY(U,$J,358.3,8789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8789,1,3,0)
;;=3^Personal Hx of Thrombophlebitis
;;^UTILITY(U,$J,358.3,8789,1,4,0)
;;=4^Z86.72
;;^UTILITY(U,$J,358.3,8789,2)
;;=^5063476
;;^UTILITY(U,$J,358.3,8790,0)
;;=Z87.310^^39^402^99
;;^UTILITY(U,$J,358.3,8790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8790,1,3,0)
;;=3^Personal Hx of Osteoporosis Fx
;;^UTILITY(U,$J,358.3,8790,1,4,0)
;;=4^Z87.310
;;^UTILITY(U,$J,358.3,8790,2)
;;=^5063485
;;^UTILITY(U,$J,358.3,8791,0)
;;=Z87.442^^39^402^110
;;^UTILITY(U,$J,358.3,8791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8791,1,3,0)
;;=3^Personal Hx of Urinary Calculi
;;^UTILITY(U,$J,358.3,8791,1,4,0)
;;=4^Z87.442
;;^UTILITY(U,$J,358.3,8791,2)
;;=^5063497
;;^UTILITY(U,$J,358.3,8792,0)
;;=Z87.81^^39^402^108
;;^UTILITY(U,$J,358.3,8792,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8792,1,3,0)
;;=3^Personal Hx of Traumatic Fx (Healed)
;;^UTILITY(U,$J,358.3,8792,1,4,0)
;;=4^Z87.81
;;^UTILITY(U,$J,358.3,8792,2)
;;=^5063513
;;^UTILITY(U,$J,358.3,8793,0)
;;=Z87.890^^39^402^102
;;^UTILITY(U,$J,358.3,8793,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8793,1,3,0)
;;=3^Personal Hx of Sex Reassignment
;;^UTILITY(U,$J,358.3,8793,1,4,0)
;;=4^Z87.890
;;^UTILITY(U,$J,358.3,8793,2)
;;=^5063517
;;^UTILITY(U,$J,358.3,8794,0)
;;=Z87.892^^39^402^68
;;^UTILITY(U,$J,358.3,8794,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8794,1,3,0)
;;=3^Personal Hx of Anaphylaxis
;;^UTILITY(U,$J,358.3,8794,1,4,0)
;;=4^Z87.892
;;^UTILITY(U,$J,358.3,8794,2)
;;=^5063519
;;^UTILITY(U,$J,358.3,8795,0)
;;=Z87.39^^39^402^96
;;^UTILITY(U,$J,358.3,8795,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8795,1,3,0)
;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease
;;^UTILITY(U,$J,358.3,8795,1,4,0)
;;=4^Z87.39
;;^UTILITY(U,$J,358.3,8795,2)
;;=^5063488
;;^UTILITY(U,$J,358.3,8796,0)
;;=Z87.820^^39^402^105
;;^UTILITY(U,$J,358.3,8796,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8796,1,3,0)
;;=3^Personal Hx of TBI
;;^UTILITY(U,$J,358.3,8796,1,4,0)
;;=4^Z87.820
;;^UTILITY(U,$J,358.3,8796,2)
;;=^5063514
;;^UTILITY(U,$J,358.3,8797,0)
;;=Z91.82^^39^402^95
;;^UTILITY(U,$J,358.3,8797,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8797,1,3,0)
;;=3^Personal Hx of Military Deployment
;;^UTILITY(U,$J,358.3,8797,1,4,0)
;;=4^Z91.82
;;^UTILITY(U,$J,358.3,8797,2)
;;=^5063626
;;^UTILITY(U,$J,358.3,8798,0)
;;=Z91.030^^39^402^5
;;^UTILITY(U,$J,358.3,8798,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8798,1,3,0)
;;=3^Bee Allergy
;;^UTILITY(U,$J,358.3,8798,1,4,0)
;;=4^Z91.030
;;^UTILITY(U,$J,358.3,8798,2)
;;=^5063605
;;^UTILITY(U,$J,358.3,8799,0)
;;=Z91.038^^39^402^52
;;^UTILITY(U,$J,358.3,8799,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8799,1,3,0)
;;=3^Insect Allergy NEC
;;^UTILITY(U,$J,358.3,8799,1,4,0)
;;=4^Z91.038
;;^UTILITY(U,$J,358.3,8799,2)
;;=^5063606
;;^UTILITY(U,$J,358.3,8800,0)
;;=Z91.041^^39^402^145
;;^UTILITY(U,$J,358.3,8800,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8800,1,3,0)
;;=3^Radiographic Dye Allergy
;;^UTILITY(U,$J,358.3,8800,1,4,0)
;;=4^Z91.041
;;^UTILITY(U,$J,358.3,8800,2)
;;=^5063608
;;^UTILITY(U,$J,358.3,8801,0)
;;=Z91.130^^39^402^152
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0JJ 3752 printed Dec 13, 2024@01:49:55 Page 2
IBDEI0JJ ; ; 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,8788,1,4,0)
+2 ;;=4^Z86.711
+3 ;;^UTILITY(U,$J,358.3,8788,2)
+4 ;;=^5063474
+5 ;;^UTILITY(U,$J,358.3,8789,0)
+6 ;;=Z86.72^^39^402^107
+7 ;;^UTILITY(U,$J,358.3,8789,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8789,1,3,0)
+10 ;;=3^Personal Hx of Thrombophlebitis
+11 ;;^UTILITY(U,$J,358.3,8789,1,4,0)
+12 ;;=4^Z86.72
+13 ;;^UTILITY(U,$J,358.3,8789,2)
+14 ;;=^5063476
+15 ;;^UTILITY(U,$J,358.3,8790,0)
+16 ;;=Z87.310^^39^402^99
+17 ;;^UTILITY(U,$J,358.3,8790,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8790,1,3,0)
+20 ;;=3^Personal Hx of Osteoporosis Fx
+21 ;;^UTILITY(U,$J,358.3,8790,1,4,0)
+22 ;;=4^Z87.310
+23 ;;^UTILITY(U,$J,358.3,8790,2)
+24 ;;=^5063485
+25 ;;^UTILITY(U,$J,358.3,8791,0)
+26 ;;=Z87.442^^39^402^110
+27 ;;^UTILITY(U,$J,358.3,8791,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8791,1,3,0)
+30 ;;=3^Personal Hx of Urinary Calculi
+31 ;;^UTILITY(U,$J,358.3,8791,1,4,0)
+32 ;;=4^Z87.442
+33 ;;^UTILITY(U,$J,358.3,8791,2)
+34 ;;=^5063497
+35 ;;^UTILITY(U,$J,358.3,8792,0)
+36 ;;=Z87.81^^39^402^108
+37 ;;^UTILITY(U,$J,358.3,8792,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8792,1,3,0)
+40 ;;=3^Personal Hx of Traumatic Fx (Healed)
+41 ;;^UTILITY(U,$J,358.3,8792,1,4,0)
+42 ;;=4^Z87.81
+43 ;;^UTILITY(U,$J,358.3,8792,2)
+44 ;;=^5063513
+45 ;;^UTILITY(U,$J,358.3,8793,0)
+46 ;;=Z87.890^^39^402^102
+47 ;;^UTILITY(U,$J,358.3,8793,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8793,1,3,0)
+50 ;;=3^Personal Hx of Sex Reassignment
+51 ;;^UTILITY(U,$J,358.3,8793,1,4,0)
+52 ;;=4^Z87.890
+53 ;;^UTILITY(U,$J,358.3,8793,2)
+54 ;;=^5063517
+55 ;;^UTILITY(U,$J,358.3,8794,0)
+56 ;;=Z87.892^^39^402^68
+57 ;;^UTILITY(U,$J,358.3,8794,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8794,1,3,0)
+60 ;;=3^Personal Hx of Anaphylaxis
+61 ;;^UTILITY(U,$J,358.3,8794,1,4,0)
+62 ;;=4^Z87.892
+63 ;;^UTILITY(U,$J,358.3,8794,2)
+64 ;;=^5063519
+65 ;;^UTILITY(U,$J,358.3,8795,0)
+66 ;;=Z87.39^^39^402^96
+67 ;;^UTILITY(U,$J,358.3,8795,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8795,1,3,0)
+70 ;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease
+71 ;;^UTILITY(U,$J,358.3,8795,1,4,0)
+72 ;;=4^Z87.39
+73 ;;^UTILITY(U,$J,358.3,8795,2)
+74 ;;=^5063488
+75 ;;^UTILITY(U,$J,358.3,8796,0)
+76 ;;=Z87.820^^39^402^105
+77 ;;^UTILITY(U,$J,358.3,8796,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8796,1,3,0)
+80 ;;=3^Personal Hx of TBI
+81 ;;^UTILITY(U,$J,358.3,8796,1,4,0)
+82 ;;=4^Z87.820
+83 ;;^UTILITY(U,$J,358.3,8796,2)
+84 ;;=^5063514
+85 ;;^UTILITY(U,$J,358.3,8797,0)
+86 ;;=Z91.82^^39^402^95
+87 ;;^UTILITY(U,$J,358.3,8797,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8797,1,3,0)
+90 ;;=3^Personal Hx of Military Deployment
+91 ;;^UTILITY(U,$J,358.3,8797,1,4,0)
+92 ;;=4^Z91.82
+93 ;;^UTILITY(U,$J,358.3,8797,2)
+94 ;;=^5063626
+95 ;;^UTILITY(U,$J,358.3,8798,0)
+96 ;;=Z91.030^^39^402^5
+97 ;;^UTILITY(U,$J,358.3,8798,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8798,1,3,0)
+100 ;;=3^Bee Allergy
+101 ;;^UTILITY(U,$J,358.3,8798,1,4,0)
+102 ;;=4^Z91.030
+103 ;;^UTILITY(U,$J,358.3,8798,2)
+104 ;;=^5063605
+105 ;;^UTILITY(U,$J,358.3,8799,0)
+106 ;;=Z91.038^^39^402^52
+107 ;;^UTILITY(U,$J,358.3,8799,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8799,1,3,0)
+110 ;;=3^Insect Allergy NEC
+111 ;;^UTILITY(U,$J,358.3,8799,1,4,0)
+112 ;;=4^Z91.038
+113 ;;^UTILITY(U,$J,358.3,8799,2)
+114 ;;=^5063606
+115 ;;^UTILITY(U,$J,358.3,8800,0)
+116 ;;=Z91.041^^39^402^145
+117 ;;^UTILITY(U,$J,358.3,8800,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,8800,1,3,0)
+120 ;;=3^Radiographic Dye Allergy
+121 ;;^UTILITY(U,$J,358.3,8800,1,4,0)
+122 ;;=4^Z91.041
+123 ;;^UTILITY(U,$J,358.3,8800,2)
+124 ;;=^5063608
+125 ;;^UTILITY(U,$J,358.3,8801,0)
+126 ;;=Z91.130^^39^402^152