IBDEI113 ; ; 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,16719,0)
;;=Z80.0^^61^776^28
;;^UTILITY(U,$J,358.3,16719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16719,1,3,0)
;;=3^Family Hx of Malig Neop of Digestive Organs
;;^UTILITY(U,$J,358.3,16719,1,4,0)
;;=4^Z80.0
;;^UTILITY(U,$J,358.3,16719,2)
;;=^5063344
;;^UTILITY(U,$J,358.3,16720,0)
;;=Z80.1^^61^776^34
;;^UTILITY(U,$J,358.3,16720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16720,1,3,0)
;;=3^Family Hx of Malig Neop of Trachea,Bronc & Lung
;;^UTILITY(U,$J,358.3,16720,1,4,0)
;;=4^Z80.1
;;^UTILITY(U,$J,358.3,16720,2)
;;=^5063345
;;^UTILITY(U,$J,358.3,16721,0)
;;=Z80.3^^61^776^27
;;^UTILITY(U,$J,358.3,16721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16721,1,3,0)
;;=3^Family Hx of Malig Neop of Breast
;;^UTILITY(U,$J,358.3,16721,1,4,0)
;;=4^Z80.3
;;^UTILITY(U,$J,358.3,16721,2)
;;=^5063347
;;^UTILITY(U,$J,358.3,16722,0)
;;=Z80.41^^61^776^31
;;^UTILITY(U,$J,358.3,16722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16722,1,3,0)
;;=3^Family Hx of Malig Neop of Ovary
;;^UTILITY(U,$J,358.3,16722,1,4,0)
;;=4^Z80.41
;;^UTILITY(U,$J,358.3,16722,2)
;;=^5063348
;;^UTILITY(U,$J,358.3,16723,0)
;;=Z80.42^^61^776^32
;;^UTILITY(U,$J,358.3,16723,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16723,1,3,0)
;;=3^Family Hx of Malig Neop of Prostate
;;^UTILITY(U,$J,358.3,16723,1,4,0)
;;=4^Z80.42
;;^UTILITY(U,$J,358.3,16723,2)
;;=^5063349
;;^UTILITY(U,$J,358.3,16724,0)
;;=Z80.43^^61^776^33
;;^UTILITY(U,$J,358.3,16724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16724,1,3,0)
;;=3^Family Hx of Malig Neop of Testis
;;^UTILITY(U,$J,358.3,16724,1,4,0)
;;=4^Z80.43
;;^UTILITY(U,$J,358.3,16724,2)
;;=^5063350
;;^UTILITY(U,$J,358.3,16725,0)
;;=Z80.6^^61^776^25
;;^UTILITY(U,$J,358.3,16725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16725,1,3,0)
;;=3^Family Hx of Leukemia
;;^UTILITY(U,$J,358.3,16725,1,4,0)
;;=4^Z80.6
;;^UTILITY(U,$J,358.3,16725,2)
;;=^5063354
;;^UTILITY(U,$J,358.3,16726,0)
;;=Z80.8^^61^776^30
;;^UTILITY(U,$J,358.3,16726,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16726,1,3,0)
;;=3^Family Hx of Malig Neop of Organs/Systems
;;^UTILITY(U,$J,358.3,16726,1,4,0)
;;=4^Z80.8
;;^UTILITY(U,$J,358.3,16726,2)
;;=^5063356
;;^UTILITY(U,$J,358.3,16727,0)
;;=Z81.8^^61^776^35
;;^UTILITY(U,$J,358.3,16727,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16727,1,3,0)
;;=3^Family Hx of Mental/Behavioral Disorders
;;^UTILITY(U,$J,358.3,16727,1,4,0)
;;=4^Z81.8
;;^UTILITY(U,$J,358.3,16727,2)
;;=^5063363
;;^UTILITY(U,$J,358.3,16728,0)
;;=Z82.3^^61^776^42
;;^UTILITY(U,$J,358.3,16728,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16728,1,3,0)
;;=3^Family Hx of Stroke
;;^UTILITY(U,$J,358.3,16728,1,4,0)
;;=4^Z82.3
;;^UTILITY(U,$J,358.3,16728,2)
;;=^5063367
;;^UTILITY(U,$J,358.3,16729,0)
;;=Z82.49^^61^776^24
;;^UTILITY(U,$J,358.3,16729,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16729,1,3,0)
;;=3^Family Hx of Ischemic Heart Disease/Circulatory System
;;^UTILITY(U,$J,358.3,16729,1,4,0)
;;=4^Z82.49
;;^UTILITY(U,$J,358.3,16729,2)
;;=^5063369
;;^UTILITY(U,$J,358.3,16730,0)
;;=Z82.5^^61^776^14
;;^UTILITY(U,$J,358.3,16730,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16730,1,3,0)
;;=3^Family Hx of Asthma/Chronic Lower Respiratory Diseases
;;^UTILITY(U,$J,358.3,16730,1,4,0)
;;=4^Z82.5
;;^UTILITY(U,$J,358.3,16730,2)
;;=^5063370
;;^UTILITY(U,$J,358.3,16731,0)
;;=Z82.61^^61^776^13
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI113 3784 printed Oct 16, 2024@18:00:30 Page 2
IBDEI113 ; ; 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,16719,0)
+2 ;;=Z80.0^^61^776^28
+3 ;;^UTILITY(U,$J,358.3,16719,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,16719,1,3,0)
+6 ;;=3^Family Hx of Malig Neop of Digestive Organs
+7 ;;^UTILITY(U,$J,358.3,16719,1,4,0)
+8 ;;=4^Z80.0
+9 ;;^UTILITY(U,$J,358.3,16719,2)
+10 ;;=^5063344
+11 ;;^UTILITY(U,$J,358.3,16720,0)
+12 ;;=Z80.1^^61^776^34
+13 ;;^UTILITY(U,$J,358.3,16720,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,16720,1,3,0)
+16 ;;=3^Family Hx of Malig Neop of Trachea,Bronc & Lung
+17 ;;^UTILITY(U,$J,358.3,16720,1,4,0)
+18 ;;=4^Z80.1
+19 ;;^UTILITY(U,$J,358.3,16720,2)
+20 ;;=^5063345
+21 ;;^UTILITY(U,$J,358.3,16721,0)
+22 ;;=Z80.3^^61^776^27
+23 ;;^UTILITY(U,$J,358.3,16721,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,16721,1,3,0)
+26 ;;=3^Family Hx of Malig Neop of Breast
+27 ;;^UTILITY(U,$J,358.3,16721,1,4,0)
+28 ;;=4^Z80.3
+29 ;;^UTILITY(U,$J,358.3,16721,2)
+30 ;;=^5063347
+31 ;;^UTILITY(U,$J,358.3,16722,0)
+32 ;;=Z80.41^^61^776^31
+33 ;;^UTILITY(U,$J,358.3,16722,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,16722,1,3,0)
+36 ;;=3^Family Hx of Malig Neop of Ovary
+37 ;;^UTILITY(U,$J,358.3,16722,1,4,0)
+38 ;;=4^Z80.41
+39 ;;^UTILITY(U,$J,358.3,16722,2)
+40 ;;=^5063348
+41 ;;^UTILITY(U,$J,358.3,16723,0)
+42 ;;=Z80.42^^61^776^32
+43 ;;^UTILITY(U,$J,358.3,16723,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,16723,1,3,0)
+46 ;;=3^Family Hx of Malig Neop of Prostate
+47 ;;^UTILITY(U,$J,358.3,16723,1,4,0)
+48 ;;=4^Z80.42
+49 ;;^UTILITY(U,$J,358.3,16723,2)
+50 ;;=^5063349
+51 ;;^UTILITY(U,$J,358.3,16724,0)
+52 ;;=Z80.43^^61^776^33
+53 ;;^UTILITY(U,$J,358.3,16724,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,16724,1,3,0)
+56 ;;=3^Family Hx of Malig Neop of Testis
+57 ;;^UTILITY(U,$J,358.3,16724,1,4,0)
+58 ;;=4^Z80.43
+59 ;;^UTILITY(U,$J,358.3,16724,2)
+60 ;;=^5063350
+61 ;;^UTILITY(U,$J,358.3,16725,0)
+62 ;;=Z80.6^^61^776^25
+63 ;;^UTILITY(U,$J,358.3,16725,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,16725,1,3,0)
+66 ;;=3^Family Hx of Leukemia
+67 ;;^UTILITY(U,$J,358.3,16725,1,4,0)
+68 ;;=4^Z80.6
+69 ;;^UTILITY(U,$J,358.3,16725,2)
+70 ;;=^5063354
+71 ;;^UTILITY(U,$J,358.3,16726,0)
+72 ;;=Z80.8^^61^776^30
+73 ;;^UTILITY(U,$J,358.3,16726,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,16726,1,3,0)
+76 ;;=3^Family Hx of Malig Neop of Organs/Systems
+77 ;;^UTILITY(U,$J,358.3,16726,1,4,0)
+78 ;;=4^Z80.8
+79 ;;^UTILITY(U,$J,358.3,16726,2)
+80 ;;=^5063356
+81 ;;^UTILITY(U,$J,358.3,16727,0)
+82 ;;=Z81.8^^61^776^35
+83 ;;^UTILITY(U,$J,358.3,16727,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,16727,1,3,0)
+86 ;;=3^Family Hx of Mental/Behavioral Disorders
+87 ;;^UTILITY(U,$J,358.3,16727,1,4,0)
+88 ;;=4^Z81.8
+89 ;;^UTILITY(U,$J,358.3,16727,2)
+90 ;;=^5063363
+91 ;;^UTILITY(U,$J,358.3,16728,0)
+92 ;;=Z82.3^^61^776^42
+93 ;;^UTILITY(U,$J,358.3,16728,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,16728,1,3,0)
+96 ;;=3^Family Hx of Stroke
+97 ;;^UTILITY(U,$J,358.3,16728,1,4,0)
+98 ;;=4^Z82.3
+99 ;;^UTILITY(U,$J,358.3,16728,2)
+100 ;;=^5063367
+101 ;;^UTILITY(U,$J,358.3,16729,0)
+102 ;;=Z82.49^^61^776^24
+103 ;;^UTILITY(U,$J,358.3,16729,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,16729,1,3,0)
+106 ;;=3^Family Hx of Ischemic Heart Disease/Circulatory System
+107 ;;^UTILITY(U,$J,358.3,16729,1,4,0)
+108 ;;=4^Z82.49
+109 ;;^UTILITY(U,$J,358.3,16729,2)
+110 ;;=^5063369
+111 ;;^UTILITY(U,$J,358.3,16730,0)
+112 ;;=Z82.5^^61^776^14
+113 ;;^UTILITY(U,$J,358.3,16730,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,16730,1,3,0)
+116 ;;=3^Family Hx of Asthma/Chronic Lower Respiratory Diseases
+117 ;;^UTILITY(U,$J,358.3,16730,1,4,0)
+118 ;;=4^Z82.5
+119 ;;^UTILITY(U,$J,358.3,16730,2)
+120 ;;=^5063370
+121 ;;^UTILITY(U,$J,358.3,16731,0)
+122 ;;=Z82.61^^61^776^13