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