IBDEI36S ; ; 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,50878,1,4,0)
;;=4^Z82.1
;;^UTILITY(U,$J,358.3,50878,2)
;;=^5063365
;;^UTILITY(U,$J,358.3,50879,0)
;;=Z82.2^^193^2498^19
;;^UTILITY(U,$J,358.3,50879,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50879,1,3,0)
;;=3^Family Hx of Deafness/Hearing Loss
;;^UTILITY(U,$J,358.3,50879,1,4,0)
;;=4^Z82.2
;;^UTILITY(U,$J,358.3,50879,2)
;;=^5063366
;;^UTILITY(U,$J,358.3,50880,0)
;;=Z84.0^^193^2498^41
;;^UTILITY(U,$J,358.3,50880,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50880,1,3,0)
;;=3^Family Hx of Skin Diseases
;;^UTILITY(U,$J,358.3,50880,1,4,0)
;;=4^Z84.0
;;^UTILITY(U,$J,358.3,50880,2)
;;=^5063388
;;^UTILITY(U,$J,358.3,50881,0)
;;=Z82.79^^193^2498^18
;;^UTILITY(U,$J,358.3,50881,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50881,1,3,0)
;;=3^Family Hx of Congen Malform,Deformations & Chromsoml Abnlt
;;^UTILITY(U,$J,358.3,50881,1,4,0)
;;=4^Z82.79
;;^UTILITY(U,$J,358.3,50881,2)
;;=^5063374
;;^UTILITY(U,$J,358.3,50882,0)
;;=Z84.89^^193^2498^39
;;^UTILITY(U,$J,358.3,50882,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50882,1,3,0)
;;=3^Family Hx of Other Spec Conditions
;;^UTILITY(U,$J,358.3,50882,1,4,0)
;;=4^Z84.89
;;^UTILITY(U,$J,358.3,50882,2)
;;=^5063393
;;^UTILITY(U,$J,358.3,50883,0)
;;=Z81.1^^193^2498^12
;;^UTILITY(U,$J,358.3,50883,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50883,1,3,0)
;;=3^Family Hx of Alcohol Abuse/Dependence
;;^UTILITY(U,$J,358.3,50883,1,4,0)
;;=4^Z81.1
;;^UTILITY(U,$J,358.3,50883,2)
;;=^5063359
;;^UTILITY(U,$J,358.3,50884,0)
;;=Z82.62^^193^2498^38
;;^UTILITY(U,$J,358.3,50884,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50884,1,3,0)
;;=3^Family Hx of Osteoporosis
;;^UTILITY(U,$J,358.3,50884,1,4,0)
;;=4^Z82.62
;;^UTILITY(U,$J,358.3,50884,2)
;;=^5063372
;;^UTILITY(U,$J,358.3,50885,0)
;;=Z83.71^^193^2498^17
;;^UTILITY(U,$J,358.3,50885,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50885,1,3,0)
;;=3^Family Hx of Colonic Polyps
;;^UTILITY(U,$J,358.3,50885,1,4,0)
;;=4^Z83.71
;;^UTILITY(U,$J,358.3,50885,2)
;;=^5063386
;;^UTILITY(U,$J,358.3,50886,0)
;;=Z84.81^^193^2498^22
;;^UTILITY(U,$J,358.3,50886,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50886,1,3,0)
;;=3^Family Hx of Genetic Disease
;;^UTILITY(U,$J,358.3,50886,1,4,0)
;;=4^Z84.81
;;^UTILITY(U,$J,358.3,50886,2)
;;=^5063392
;;^UTILITY(U,$J,358.3,50887,0)
;;=Z86.010^^193^2498^70
;;^UTILITY(U,$J,358.3,50887,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50887,1,3,0)
;;=3^Personal Hx of Colonic Polyps
;;^UTILITY(U,$J,358.3,50887,1,4,0)
;;=4^Z86.010
;;^UTILITY(U,$J,358.3,50887,2)
;;=^5063456
;;^UTILITY(U,$J,358.3,50888,0)
;;=Z86.14^^193^2498^75
;;^UTILITY(U,$J,358.3,50888,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50888,1,3,0)
;;=3^Personal Hx of MRSA Infection
;;^UTILITY(U,$J,358.3,50888,1,4,0)
;;=4^Z86.14
;;^UTILITY(U,$J,358.3,50888,2)
;;=^5063464
;;^UTILITY(U,$J,358.3,50889,0)
;;=Z86.31^^193^2498^71
;;^UTILITY(U,$J,358.3,50889,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50889,1,3,0)
;;=3^Personal Hx of Diabetic Foot Ulcer
;;^UTILITY(U,$J,358.3,50889,1,4,0)
;;=4^Z86.31
;;^UTILITY(U,$J,358.3,50889,2)
;;=^5063467
;;^UTILITY(U,$J,358.3,50890,0)
;;=Z86.711^^193^2498^101
;;^UTILITY(U,$J,358.3,50890,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50890,1,3,0)
;;=3^Personal Hx of Pulmonary Embolism
;;^UTILITY(U,$J,358.3,50890,1,4,0)
;;=4^Z86.711
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI36S 3759 printed Dec 13, 2024@02:42:55 Page 2
IBDEI36S ; ; 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,50878,1,4,0)
+2 ;;=4^Z82.1
+3 ;;^UTILITY(U,$J,358.3,50878,2)
+4 ;;=^5063365
+5 ;;^UTILITY(U,$J,358.3,50879,0)
+6 ;;=Z82.2^^193^2498^19
+7 ;;^UTILITY(U,$J,358.3,50879,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,50879,1,3,0)
+10 ;;=3^Family Hx of Deafness/Hearing Loss
+11 ;;^UTILITY(U,$J,358.3,50879,1,4,0)
+12 ;;=4^Z82.2
+13 ;;^UTILITY(U,$J,358.3,50879,2)
+14 ;;=^5063366
+15 ;;^UTILITY(U,$J,358.3,50880,0)
+16 ;;=Z84.0^^193^2498^41
+17 ;;^UTILITY(U,$J,358.3,50880,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,50880,1,3,0)
+20 ;;=3^Family Hx of Skin Diseases
+21 ;;^UTILITY(U,$J,358.3,50880,1,4,0)
+22 ;;=4^Z84.0
+23 ;;^UTILITY(U,$J,358.3,50880,2)
+24 ;;=^5063388
+25 ;;^UTILITY(U,$J,358.3,50881,0)
+26 ;;=Z82.79^^193^2498^18
+27 ;;^UTILITY(U,$J,358.3,50881,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,50881,1,3,0)
+30 ;;=3^Family Hx of Congen Malform,Deformations & Chromsoml Abnlt
+31 ;;^UTILITY(U,$J,358.3,50881,1,4,0)
+32 ;;=4^Z82.79
+33 ;;^UTILITY(U,$J,358.3,50881,2)
+34 ;;=^5063374
+35 ;;^UTILITY(U,$J,358.3,50882,0)
+36 ;;=Z84.89^^193^2498^39
+37 ;;^UTILITY(U,$J,358.3,50882,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,50882,1,3,0)
+40 ;;=3^Family Hx of Other Spec Conditions
+41 ;;^UTILITY(U,$J,358.3,50882,1,4,0)
+42 ;;=4^Z84.89
+43 ;;^UTILITY(U,$J,358.3,50882,2)
+44 ;;=^5063393
+45 ;;^UTILITY(U,$J,358.3,50883,0)
+46 ;;=Z81.1^^193^2498^12
+47 ;;^UTILITY(U,$J,358.3,50883,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,50883,1,3,0)
+50 ;;=3^Family Hx of Alcohol Abuse/Dependence
+51 ;;^UTILITY(U,$J,358.3,50883,1,4,0)
+52 ;;=4^Z81.1
+53 ;;^UTILITY(U,$J,358.3,50883,2)
+54 ;;=^5063359
+55 ;;^UTILITY(U,$J,358.3,50884,0)
+56 ;;=Z82.62^^193^2498^38
+57 ;;^UTILITY(U,$J,358.3,50884,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,50884,1,3,0)
+60 ;;=3^Family Hx of Osteoporosis
+61 ;;^UTILITY(U,$J,358.3,50884,1,4,0)
+62 ;;=4^Z82.62
+63 ;;^UTILITY(U,$J,358.3,50884,2)
+64 ;;=^5063372
+65 ;;^UTILITY(U,$J,358.3,50885,0)
+66 ;;=Z83.71^^193^2498^17
+67 ;;^UTILITY(U,$J,358.3,50885,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,50885,1,3,0)
+70 ;;=3^Family Hx of Colonic Polyps
+71 ;;^UTILITY(U,$J,358.3,50885,1,4,0)
+72 ;;=4^Z83.71
+73 ;;^UTILITY(U,$J,358.3,50885,2)
+74 ;;=^5063386
+75 ;;^UTILITY(U,$J,358.3,50886,0)
+76 ;;=Z84.81^^193^2498^22
+77 ;;^UTILITY(U,$J,358.3,50886,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,50886,1,3,0)
+80 ;;=3^Family Hx of Genetic Disease
+81 ;;^UTILITY(U,$J,358.3,50886,1,4,0)
+82 ;;=4^Z84.81
+83 ;;^UTILITY(U,$J,358.3,50886,2)
+84 ;;=^5063392
+85 ;;^UTILITY(U,$J,358.3,50887,0)
+86 ;;=Z86.010^^193^2498^70
+87 ;;^UTILITY(U,$J,358.3,50887,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,50887,1,3,0)
+90 ;;=3^Personal Hx of Colonic Polyps
+91 ;;^UTILITY(U,$J,358.3,50887,1,4,0)
+92 ;;=4^Z86.010
+93 ;;^UTILITY(U,$J,358.3,50887,2)
+94 ;;=^5063456
+95 ;;^UTILITY(U,$J,358.3,50888,0)
+96 ;;=Z86.14^^193^2498^75
+97 ;;^UTILITY(U,$J,358.3,50888,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,50888,1,3,0)
+100 ;;=3^Personal Hx of MRSA Infection
+101 ;;^UTILITY(U,$J,358.3,50888,1,4,0)
+102 ;;=4^Z86.14
+103 ;;^UTILITY(U,$J,358.3,50888,2)
+104 ;;=^5063464
+105 ;;^UTILITY(U,$J,358.3,50889,0)
+106 ;;=Z86.31^^193^2498^71
+107 ;;^UTILITY(U,$J,358.3,50889,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,50889,1,3,0)
+110 ;;=3^Personal Hx of Diabetic Foot Ulcer
+111 ;;^UTILITY(U,$J,358.3,50889,1,4,0)
+112 ;;=4^Z86.31
+113 ;;^UTILITY(U,$J,358.3,50889,2)
+114 ;;=^5063467
+115 ;;^UTILITY(U,$J,358.3,50890,0)
+116 ;;=Z86.711^^193^2498^101
+117 ;;^UTILITY(U,$J,358.3,50890,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,50890,1,3,0)
+120 ;;=3^Personal Hx of Pulmonary Embolism
+121 ;;^UTILITY(U,$J,358.3,50890,1,4,0)
+122 ;;=4^Z86.711