IBDEI36T ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,50890,2)
;;=^5063474
;;^UTILITY(U,$J,358.3,50891,0)
;;=Z86.72^^193^2498^107
;;^UTILITY(U,$J,358.3,50891,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50891,1,3,0)
;;=3^Personal Hx of Thrombophlebitis
;;^UTILITY(U,$J,358.3,50891,1,4,0)
;;=4^Z86.72
;;^UTILITY(U,$J,358.3,50891,2)
;;=^5063476
;;^UTILITY(U,$J,358.3,50892,0)
;;=Z87.310^^193^2498^99
;;^UTILITY(U,$J,358.3,50892,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50892,1,3,0)
;;=3^Personal Hx of Osteoporosis Fx
;;^UTILITY(U,$J,358.3,50892,1,4,0)
;;=4^Z87.310
;;^UTILITY(U,$J,358.3,50892,2)
;;=^5063485
;;^UTILITY(U,$J,358.3,50893,0)
;;=Z87.442^^193^2498^110
;;^UTILITY(U,$J,358.3,50893,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50893,1,3,0)
;;=3^Personal Hx of Urinary Calculi
;;^UTILITY(U,$J,358.3,50893,1,4,0)
;;=4^Z87.442
;;^UTILITY(U,$J,358.3,50893,2)
;;=^5063497
;;^UTILITY(U,$J,358.3,50894,0)
;;=Z87.81^^193^2498^108
;;^UTILITY(U,$J,358.3,50894,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50894,1,3,0)
;;=3^Personal Hx of Traumatic Fx (Healed)
;;^UTILITY(U,$J,358.3,50894,1,4,0)
;;=4^Z87.81
;;^UTILITY(U,$J,358.3,50894,2)
;;=^5063513
;;^UTILITY(U,$J,358.3,50895,0)
;;=Z87.890^^193^2498^103
;;^UTILITY(U,$J,358.3,50895,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50895,1,3,0)
;;=3^Personal Hx of Sex Reassignment
;;^UTILITY(U,$J,358.3,50895,1,4,0)
;;=4^Z87.890
;;^UTILITY(U,$J,358.3,50895,2)
;;=^5063517
;;^UTILITY(U,$J,358.3,50896,0)
;;=Z87.892^^193^2498^68
;;^UTILITY(U,$J,358.3,50896,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50896,1,3,0)
;;=3^Personal Hx of Anaphylaxis
;;^UTILITY(U,$J,358.3,50896,1,4,0)
;;=4^Z87.892
;;^UTILITY(U,$J,358.3,50896,2)
;;=^5063519
;;^UTILITY(U,$J,358.3,50897,0)
;;=Z87.39^^193^2498^96
;;^UTILITY(U,$J,358.3,50897,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50897,1,3,0)
;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease
;;^UTILITY(U,$J,358.3,50897,1,4,0)
;;=4^Z87.39
;;^UTILITY(U,$J,358.3,50897,2)
;;=^5063488
;;^UTILITY(U,$J,358.3,50898,0)
;;=Z87.820^^193^2498^105
;;^UTILITY(U,$J,358.3,50898,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50898,1,3,0)
;;=3^Personal Hx of TBI
;;^UTILITY(U,$J,358.3,50898,1,4,0)
;;=4^Z87.820
;;^UTILITY(U,$J,358.3,50898,2)
;;=^5063514
;;^UTILITY(U,$J,358.3,50899,0)
;;=Z91.82^^193^2498^95
;;^UTILITY(U,$J,358.3,50899,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50899,1,3,0)
;;=3^Personal Hx of Military Deployment
;;^UTILITY(U,$J,358.3,50899,1,4,0)
;;=4^Z91.82
;;^UTILITY(U,$J,358.3,50899,2)
;;=^5063626
;;^UTILITY(U,$J,358.3,50900,0)
;;=Z91.5^^193^2498^102
;;^UTILITY(U,$J,358.3,50900,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50900,1,3,0)
;;=3^Personal Hx of Self-Harm/Suicide Attempt
;;^UTILITY(U,$J,358.3,50900,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,50900,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,50901,0)
;;=Z91.030^^193^2498^5
;;^UTILITY(U,$J,358.3,50901,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50901,1,3,0)
;;=3^Bee Allergy
;;^UTILITY(U,$J,358.3,50901,1,4,0)
;;=4^Z91.030
;;^UTILITY(U,$J,358.3,50901,2)
;;=^5063605
;;^UTILITY(U,$J,358.3,50902,0)
;;=Z91.038^^193^2498^52
;;^UTILITY(U,$J,358.3,50902,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50902,1,3,0)
;;=3^Insect Allergy NEC
;;^UTILITY(U,$J,358.3,50902,1,4,0)
;;=4^Z91.038
;;^UTILITY(U,$J,358.3,50902,2)
;;=^5063606
;;^UTILITY(U,$J,358.3,50903,0)
;;=Z91.041^^193^2498^145
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI36T 3801 printed Dec 13, 2024@02:42:56 Page 2
IBDEI36T ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,50890,2)
+2 ;;=^5063474
+3 ;;^UTILITY(U,$J,358.3,50891,0)
+4 ;;=Z86.72^^193^2498^107
+5 ;;^UTILITY(U,$J,358.3,50891,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,50891,1,3,0)
+8 ;;=3^Personal Hx of Thrombophlebitis
+9 ;;^UTILITY(U,$J,358.3,50891,1,4,0)
+10 ;;=4^Z86.72
+11 ;;^UTILITY(U,$J,358.3,50891,2)
+12 ;;=^5063476
+13 ;;^UTILITY(U,$J,358.3,50892,0)
+14 ;;=Z87.310^^193^2498^99
+15 ;;^UTILITY(U,$J,358.3,50892,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,50892,1,3,0)
+18 ;;=3^Personal Hx of Osteoporosis Fx
+19 ;;^UTILITY(U,$J,358.3,50892,1,4,0)
+20 ;;=4^Z87.310
+21 ;;^UTILITY(U,$J,358.3,50892,2)
+22 ;;=^5063485
+23 ;;^UTILITY(U,$J,358.3,50893,0)
+24 ;;=Z87.442^^193^2498^110
+25 ;;^UTILITY(U,$J,358.3,50893,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,50893,1,3,0)
+28 ;;=3^Personal Hx of Urinary Calculi
+29 ;;^UTILITY(U,$J,358.3,50893,1,4,0)
+30 ;;=4^Z87.442
+31 ;;^UTILITY(U,$J,358.3,50893,2)
+32 ;;=^5063497
+33 ;;^UTILITY(U,$J,358.3,50894,0)
+34 ;;=Z87.81^^193^2498^108
+35 ;;^UTILITY(U,$J,358.3,50894,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,50894,1,3,0)
+38 ;;=3^Personal Hx of Traumatic Fx (Healed)
+39 ;;^UTILITY(U,$J,358.3,50894,1,4,0)
+40 ;;=4^Z87.81
+41 ;;^UTILITY(U,$J,358.3,50894,2)
+42 ;;=^5063513
+43 ;;^UTILITY(U,$J,358.3,50895,0)
+44 ;;=Z87.890^^193^2498^103
+45 ;;^UTILITY(U,$J,358.3,50895,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,50895,1,3,0)
+48 ;;=3^Personal Hx of Sex Reassignment
+49 ;;^UTILITY(U,$J,358.3,50895,1,4,0)
+50 ;;=4^Z87.890
+51 ;;^UTILITY(U,$J,358.3,50895,2)
+52 ;;=^5063517
+53 ;;^UTILITY(U,$J,358.3,50896,0)
+54 ;;=Z87.892^^193^2498^68
+55 ;;^UTILITY(U,$J,358.3,50896,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,50896,1,3,0)
+58 ;;=3^Personal Hx of Anaphylaxis
+59 ;;^UTILITY(U,$J,358.3,50896,1,4,0)
+60 ;;=4^Z87.892
+61 ;;^UTILITY(U,$J,358.3,50896,2)
+62 ;;=^5063519
+63 ;;^UTILITY(U,$J,358.3,50897,0)
+64 ;;=Z87.39^^193^2498^96
+65 ;;^UTILITY(U,$J,358.3,50897,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,50897,1,3,0)
+68 ;;=3^Personal Hx of Musculoskeletal/Connective Tissue Disease
+69 ;;^UTILITY(U,$J,358.3,50897,1,4,0)
+70 ;;=4^Z87.39
+71 ;;^UTILITY(U,$J,358.3,50897,2)
+72 ;;=^5063488
+73 ;;^UTILITY(U,$J,358.3,50898,0)
+74 ;;=Z87.820^^193^2498^105
+75 ;;^UTILITY(U,$J,358.3,50898,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,50898,1,3,0)
+78 ;;=3^Personal Hx of TBI
+79 ;;^UTILITY(U,$J,358.3,50898,1,4,0)
+80 ;;=4^Z87.820
+81 ;;^UTILITY(U,$J,358.3,50898,2)
+82 ;;=^5063514
+83 ;;^UTILITY(U,$J,358.3,50899,0)
+84 ;;=Z91.82^^193^2498^95
+85 ;;^UTILITY(U,$J,358.3,50899,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,50899,1,3,0)
+88 ;;=3^Personal Hx of Military Deployment
+89 ;;^UTILITY(U,$J,358.3,50899,1,4,0)
+90 ;;=4^Z91.82
+91 ;;^UTILITY(U,$J,358.3,50899,2)
+92 ;;=^5063626
+93 ;;^UTILITY(U,$J,358.3,50900,0)
+94 ;;=Z91.5^^193^2498^102
+95 ;;^UTILITY(U,$J,358.3,50900,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,50900,1,3,0)
+98 ;;=3^Personal Hx of Self-Harm/Suicide Attempt
+99 ;;^UTILITY(U,$J,358.3,50900,1,4,0)
+100 ;;=4^Z91.5
+101 ;;^UTILITY(U,$J,358.3,50900,2)
+102 ;;=^5063624
+103 ;;^UTILITY(U,$J,358.3,50901,0)
+104 ;;=Z91.030^^193^2498^5
+105 ;;^UTILITY(U,$J,358.3,50901,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,50901,1,3,0)
+108 ;;=3^Bee Allergy
+109 ;;^UTILITY(U,$J,358.3,50901,1,4,0)
+110 ;;=4^Z91.030
+111 ;;^UTILITY(U,$J,358.3,50901,2)
+112 ;;=^5063605
+113 ;;^UTILITY(U,$J,358.3,50902,0)
+114 ;;=Z91.038^^193^2498^52
+115 ;;^UTILITY(U,$J,358.3,50902,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,50902,1,3,0)
+118 ;;=3^Insect Allergy NEC
+119 ;;^UTILITY(U,$J,358.3,50902,1,4,0)
+120 ;;=4^Z91.038
+121 ;;^UTILITY(U,$J,358.3,50902,2)
+122 ;;=^5063606
+123 ;;^UTILITY(U,$J,358.3,50903,0)
+124 ;;=Z91.041^^193^2498^145