IBDEI32N ; ; 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,49046,2)
;;=^5063464
;;^UTILITY(U,$J,358.3,49047,0)
;;=Z91.82^^185^2428^106
;;^UTILITY(U,$J,358.3,49047,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49047,1,3,0)
;;=3^Personal Hx of Military Deployment
;;^UTILITY(U,$J,358.3,49047,1,4,0)
;;=4^Z91.82
;;^UTILITY(U,$J,358.3,49047,2)
;;=^5063626
;;^UTILITY(U,$J,358.3,49048,0)
;;=Z86.03^^185^2428^107
;;^UTILITY(U,$J,358.3,49048,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49048,1,3,0)
;;=3^Personal Hx of Neop of Uncertain Behavior
;;^UTILITY(U,$J,358.3,49048,1,4,0)
;;=4^Z86.03
;;^UTILITY(U,$J,358.3,49048,2)
;;=^5063460
;;^UTILITY(U,$J,358.3,49049,0)
;;=Z87.891^^185^2428^108
;;^UTILITY(U,$J,358.3,49049,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49049,1,3,0)
;;=3^Personal Hx of Nicotine Dependence
;;^UTILITY(U,$J,358.3,49049,1,4,0)
;;=4^Z87.891
;;^UTILITY(U,$J,358.3,49049,2)
;;=^5063518
;;^UTILITY(U,$J,358.3,49050,0)
;;=Z87.310^^185^2428^109
;;^UTILITY(U,$J,358.3,49050,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49050,1,3,0)
;;=3^Personal Hx of Osteoporosis Fx
;;^UTILITY(U,$J,358.3,49050,1,4,0)
;;=4^Z87.310
;;^UTILITY(U,$J,358.3,49050,2)
;;=^5063485
;;^UTILITY(U,$J,358.3,49051,0)
;;=Z87.11^^185^2428^110
;;^UTILITY(U,$J,358.3,49051,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49051,1,3,0)
;;=3^Personal Hx of Peptic Ulcer Disease
;;^UTILITY(U,$J,358.3,49051,1,4,0)
;;=4^Z87.11
;;^UTILITY(U,$J,358.3,49051,2)
;;=^5063482
;;^UTILITY(U,$J,358.3,49052,0)
;;=Z87.01^^185^2428^111
;;^UTILITY(U,$J,358.3,49052,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49052,1,3,0)
;;=3^Personal Hx of Pneumonia
;;^UTILITY(U,$J,358.3,49052,1,4,0)
;;=4^Z87.01
;;^UTILITY(U,$J,358.3,49052,2)
;;=^5063480
;;^UTILITY(U,$J,358.3,49053,0)
;;=Z86.12^^185^2428^112
;;^UTILITY(U,$J,358.3,49053,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49053,1,3,0)
;;=3^Personal Hx of Poliomyelitis
;;^UTILITY(U,$J,358.3,49053,1,4,0)
;;=4^Z86.12
;;^UTILITY(U,$J,358.3,49053,2)
;;=^5063462
;;^UTILITY(U,$J,358.3,49054,0)
;;=Z87.430^^185^2428^113
;;^UTILITY(U,$J,358.3,49054,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49054,1,3,0)
;;=3^Personal Hx of Prostatic Dysplasia
;;^UTILITY(U,$J,358.3,49054,1,4,0)
;;=4^Z87.430
;;^UTILITY(U,$J,358.3,49054,2)
;;=^5063493
;;^UTILITY(U,$J,358.3,49055,0)
;;=Z91.49^^185^2428^114
;;^UTILITY(U,$J,358.3,49055,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49055,1,3,0)
;;=3^Personal Hx of Psychological Trauma NEC
;;^UTILITY(U,$J,358.3,49055,1,4,0)
;;=4^Z91.49
;;^UTILITY(U,$J,358.3,49055,2)
;;=^5063623
;;^UTILITY(U,$J,358.3,49056,0)
;;=Z91.5^^185^2428^115
;;^UTILITY(U,$J,358.3,49056,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49056,1,3,0)
;;=3^Personal Hx of Self-Harm
;;^UTILITY(U,$J,358.3,49056,1,4,0)
;;=4^Z91.5
;;^UTILITY(U,$J,358.3,49056,2)
;;=^5063624
;;^UTILITY(U,$J,358.3,49057,0)
;;=Z86.73^^185^2428^116
;;^UTILITY(U,$J,358.3,49057,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49057,1,3,0)
;;=3^Personal Hx of TIA/Cerebral Infarction w/o Resid Deficits
;;^UTILITY(U,$J,358.3,49057,1,4,0)
;;=4^Z86.73
;;^UTILITY(U,$J,358.3,49057,2)
;;=^5063477
;;^UTILITY(U,$J,358.3,49058,0)
;;=Z86.11^^185^2428^117
;;^UTILITY(U,$J,358.3,49058,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49058,1,3,0)
;;=3^Personal Hx of Tuberculosis
;;^UTILITY(U,$J,358.3,49058,1,4,0)
;;=4^Z86.11
;;^UTILITY(U,$J,358.3,49058,2)
;;=^5063461
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32N 3786 printed Nov 22, 2024@17:50:45 Page 2
IBDEI32N ; ; 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,49046,2)
+2 ;;=^5063464
+3 ;;^UTILITY(U,$J,358.3,49047,0)
+4 ;;=Z91.82^^185^2428^106
+5 ;;^UTILITY(U,$J,358.3,49047,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,49047,1,3,0)
+8 ;;=3^Personal Hx of Military Deployment
+9 ;;^UTILITY(U,$J,358.3,49047,1,4,0)
+10 ;;=4^Z91.82
+11 ;;^UTILITY(U,$J,358.3,49047,2)
+12 ;;=^5063626
+13 ;;^UTILITY(U,$J,358.3,49048,0)
+14 ;;=Z86.03^^185^2428^107
+15 ;;^UTILITY(U,$J,358.3,49048,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,49048,1,3,0)
+18 ;;=3^Personal Hx of Neop of Uncertain Behavior
+19 ;;^UTILITY(U,$J,358.3,49048,1,4,0)
+20 ;;=4^Z86.03
+21 ;;^UTILITY(U,$J,358.3,49048,2)
+22 ;;=^5063460
+23 ;;^UTILITY(U,$J,358.3,49049,0)
+24 ;;=Z87.891^^185^2428^108
+25 ;;^UTILITY(U,$J,358.3,49049,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,49049,1,3,0)
+28 ;;=3^Personal Hx of Nicotine Dependence
+29 ;;^UTILITY(U,$J,358.3,49049,1,4,0)
+30 ;;=4^Z87.891
+31 ;;^UTILITY(U,$J,358.3,49049,2)
+32 ;;=^5063518
+33 ;;^UTILITY(U,$J,358.3,49050,0)
+34 ;;=Z87.310^^185^2428^109
+35 ;;^UTILITY(U,$J,358.3,49050,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,49050,1,3,0)
+38 ;;=3^Personal Hx of Osteoporosis Fx
+39 ;;^UTILITY(U,$J,358.3,49050,1,4,0)
+40 ;;=4^Z87.310
+41 ;;^UTILITY(U,$J,358.3,49050,2)
+42 ;;=^5063485
+43 ;;^UTILITY(U,$J,358.3,49051,0)
+44 ;;=Z87.11^^185^2428^110
+45 ;;^UTILITY(U,$J,358.3,49051,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,49051,1,3,0)
+48 ;;=3^Personal Hx of Peptic Ulcer Disease
+49 ;;^UTILITY(U,$J,358.3,49051,1,4,0)
+50 ;;=4^Z87.11
+51 ;;^UTILITY(U,$J,358.3,49051,2)
+52 ;;=^5063482
+53 ;;^UTILITY(U,$J,358.3,49052,0)
+54 ;;=Z87.01^^185^2428^111
+55 ;;^UTILITY(U,$J,358.3,49052,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,49052,1,3,0)
+58 ;;=3^Personal Hx of Pneumonia
+59 ;;^UTILITY(U,$J,358.3,49052,1,4,0)
+60 ;;=4^Z87.01
+61 ;;^UTILITY(U,$J,358.3,49052,2)
+62 ;;=^5063480
+63 ;;^UTILITY(U,$J,358.3,49053,0)
+64 ;;=Z86.12^^185^2428^112
+65 ;;^UTILITY(U,$J,358.3,49053,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,49053,1,3,0)
+68 ;;=3^Personal Hx of Poliomyelitis
+69 ;;^UTILITY(U,$J,358.3,49053,1,4,0)
+70 ;;=4^Z86.12
+71 ;;^UTILITY(U,$J,358.3,49053,2)
+72 ;;=^5063462
+73 ;;^UTILITY(U,$J,358.3,49054,0)
+74 ;;=Z87.430^^185^2428^113
+75 ;;^UTILITY(U,$J,358.3,49054,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,49054,1,3,0)
+78 ;;=3^Personal Hx of Prostatic Dysplasia
+79 ;;^UTILITY(U,$J,358.3,49054,1,4,0)
+80 ;;=4^Z87.430
+81 ;;^UTILITY(U,$J,358.3,49054,2)
+82 ;;=^5063493
+83 ;;^UTILITY(U,$J,358.3,49055,0)
+84 ;;=Z91.49^^185^2428^114
+85 ;;^UTILITY(U,$J,358.3,49055,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,49055,1,3,0)
+88 ;;=3^Personal Hx of Psychological Trauma NEC
+89 ;;^UTILITY(U,$J,358.3,49055,1,4,0)
+90 ;;=4^Z91.49
+91 ;;^UTILITY(U,$J,358.3,49055,2)
+92 ;;=^5063623
+93 ;;^UTILITY(U,$J,358.3,49056,0)
+94 ;;=Z91.5^^185^2428^115
+95 ;;^UTILITY(U,$J,358.3,49056,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,49056,1,3,0)
+98 ;;=3^Personal Hx of Self-Harm
+99 ;;^UTILITY(U,$J,358.3,49056,1,4,0)
+100 ;;=4^Z91.5
+101 ;;^UTILITY(U,$J,358.3,49056,2)
+102 ;;=^5063624
+103 ;;^UTILITY(U,$J,358.3,49057,0)
+104 ;;=Z86.73^^185^2428^116
+105 ;;^UTILITY(U,$J,358.3,49057,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,49057,1,3,0)
+108 ;;=3^Personal Hx of TIA/Cerebral Infarction w/o Resid Deficits
+109 ;;^UTILITY(U,$J,358.3,49057,1,4,0)
+110 ;;=4^Z86.73
+111 ;;^UTILITY(U,$J,358.3,49057,2)
+112 ;;=^5063477
+113 ;;^UTILITY(U,$J,358.3,49058,0)
+114 ;;=Z86.11^^185^2428^117
+115 ;;^UTILITY(U,$J,358.3,49058,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,49058,1,3,0)
+118 ;;=3^Personal Hx of Tuberculosis
+119 ;;^UTILITY(U,$J,358.3,49058,1,4,0)
+120 ;;=4^Z86.11
+121 ;;^UTILITY(U,$J,358.3,49058,2)
+122 ;;=^5063461