IBDEI0JH ; ; 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,8763,1,4,0)
;;=4^Z80.42
;;^UTILITY(U,$J,358.3,8763,2)
;;=^5063349
;;^UTILITY(U,$J,358.3,8764,0)
;;=Z80.43^^39^402^33
;;^UTILITY(U,$J,358.3,8764,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8764,1,3,0)
;;=3^Family Hx of Malig Neop of Testis
;;^UTILITY(U,$J,358.3,8764,1,4,0)
;;=4^Z80.43
;;^UTILITY(U,$J,358.3,8764,2)
;;=^5063350
;;^UTILITY(U,$J,358.3,8765,0)
;;=Z80.6^^39^402^25
;;^UTILITY(U,$J,358.3,8765,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8765,1,3,0)
;;=3^Family Hx of Leukemia
;;^UTILITY(U,$J,358.3,8765,1,4,0)
;;=4^Z80.6
;;^UTILITY(U,$J,358.3,8765,2)
;;=^5063354
;;^UTILITY(U,$J,358.3,8766,0)
;;=Z80.8^^39^402^30
;;^UTILITY(U,$J,358.3,8766,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8766,1,3,0)
;;=3^Family Hx of Malig Neop of Organs/Systems
;;^UTILITY(U,$J,358.3,8766,1,4,0)
;;=4^Z80.8
;;^UTILITY(U,$J,358.3,8766,2)
;;=^5063356
;;^UTILITY(U,$J,358.3,8767,0)
;;=Z81.8^^39^402^35
;;^UTILITY(U,$J,358.3,8767,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8767,1,3,0)
;;=3^Family Hx of Mental/Behavioral Disorders
;;^UTILITY(U,$J,358.3,8767,1,4,0)
;;=4^Z81.8
;;^UTILITY(U,$J,358.3,8767,2)
;;=^5063363
;;^UTILITY(U,$J,358.3,8768,0)
;;=Z82.3^^39^402^42
;;^UTILITY(U,$J,358.3,8768,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8768,1,3,0)
;;=3^Family Hx of Stroke
;;^UTILITY(U,$J,358.3,8768,1,4,0)
;;=4^Z82.3
;;^UTILITY(U,$J,358.3,8768,2)
;;=^5063367
;;^UTILITY(U,$J,358.3,8769,0)
;;=Z82.49^^39^402^24
;;^UTILITY(U,$J,358.3,8769,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8769,1,3,0)
;;=3^Family Hx of Ischemic Heart Disease/Circulatory System
;;^UTILITY(U,$J,358.3,8769,1,4,0)
;;=4^Z82.49
;;^UTILITY(U,$J,358.3,8769,2)
;;=^5063369
;;^UTILITY(U,$J,358.3,8770,0)
;;=Z82.5^^39^402^14
;;^UTILITY(U,$J,358.3,8770,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8770,1,3,0)
;;=3^Family Hx of Asthma/Chronic Lower Respiratory Diseases
;;^UTILITY(U,$J,358.3,8770,1,4,0)
;;=4^Z82.5
;;^UTILITY(U,$J,358.3,8770,2)
;;=^5063370
;;^UTILITY(U,$J,358.3,8771,0)
;;=Z82.61^^39^402^13
;;^UTILITY(U,$J,358.3,8771,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8771,1,3,0)
;;=3^Family Hx of Arthritis
;;^UTILITY(U,$J,358.3,8771,1,4,0)
;;=4^Z82.61
;;^UTILITY(U,$J,358.3,8771,2)
;;=^5063371
;;^UTILITY(U,$J,358.3,8772,0)
;;=Z82.69^^39^402^37
;;^UTILITY(U,$J,358.3,8772,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8772,1,3,0)
;;=3^Family Hx of Musculoskeletal System/Connective Tissue
;;^UTILITY(U,$J,358.3,8772,1,4,0)
;;=4^Z82.69
;;^UTILITY(U,$J,358.3,8772,2)
;;=^5063373
;;^UTILITY(U,$J,358.3,8773,0)
;;=Z83.3^^39^402^20
;;^UTILITY(U,$J,358.3,8773,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8773,1,3,0)
;;=3^Family Hx of Diabetes Mellitus
;;^UTILITY(U,$J,358.3,8773,1,4,0)
;;=4^Z83.3
;;^UTILITY(U,$J,358.3,8773,2)
;;=^5063379
;;^UTILITY(U,$J,358.3,8774,0)
;;=Z83.2^^39^402^16
;;^UTILITY(U,$J,358.3,8774,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8774,1,3,0)
;;=3^Family Hx of Blood/Immune Mechanism Diseases
;;^UTILITY(U,$J,358.3,8774,1,4,0)
;;=4^Z83.2
;;^UTILITY(U,$J,358.3,8774,2)
;;=^5063378
;;^UTILITY(U,$J,358.3,8775,0)
;;=Z82.71^^39^402^40
;;^UTILITY(U,$J,358.3,8775,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8775,1,3,0)
;;=3^Family Hx of Polycystic Kidney
;;^UTILITY(U,$J,358.3,8775,1,4,0)
;;=4^Z82.71
;;^UTILITY(U,$J,358.3,8775,2)
;;=^321531
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0JH 3754 printed Dec 13, 2024@01:49:53 Page 2
IBDEI0JH ; ; 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,8763,1,4,0)
+2 ;;=4^Z80.42
+3 ;;^UTILITY(U,$J,358.3,8763,2)
+4 ;;=^5063349
+5 ;;^UTILITY(U,$J,358.3,8764,0)
+6 ;;=Z80.43^^39^402^33
+7 ;;^UTILITY(U,$J,358.3,8764,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8764,1,3,0)
+10 ;;=3^Family Hx of Malig Neop of Testis
+11 ;;^UTILITY(U,$J,358.3,8764,1,4,0)
+12 ;;=4^Z80.43
+13 ;;^UTILITY(U,$J,358.3,8764,2)
+14 ;;=^5063350
+15 ;;^UTILITY(U,$J,358.3,8765,0)
+16 ;;=Z80.6^^39^402^25
+17 ;;^UTILITY(U,$J,358.3,8765,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8765,1,3,0)
+20 ;;=3^Family Hx of Leukemia
+21 ;;^UTILITY(U,$J,358.3,8765,1,4,0)
+22 ;;=4^Z80.6
+23 ;;^UTILITY(U,$J,358.3,8765,2)
+24 ;;=^5063354
+25 ;;^UTILITY(U,$J,358.3,8766,0)
+26 ;;=Z80.8^^39^402^30
+27 ;;^UTILITY(U,$J,358.3,8766,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8766,1,3,0)
+30 ;;=3^Family Hx of Malig Neop of Organs/Systems
+31 ;;^UTILITY(U,$J,358.3,8766,1,4,0)
+32 ;;=4^Z80.8
+33 ;;^UTILITY(U,$J,358.3,8766,2)
+34 ;;=^5063356
+35 ;;^UTILITY(U,$J,358.3,8767,0)
+36 ;;=Z81.8^^39^402^35
+37 ;;^UTILITY(U,$J,358.3,8767,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8767,1,3,0)
+40 ;;=3^Family Hx of Mental/Behavioral Disorders
+41 ;;^UTILITY(U,$J,358.3,8767,1,4,0)
+42 ;;=4^Z81.8
+43 ;;^UTILITY(U,$J,358.3,8767,2)
+44 ;;=^5063363
+45 ;;^UTILITY(U,$J,358.3,8768,0)
+46 ;;=Z82.3^^39^402^42
+47 ;;^UTILITY(U,$J,358.3,8768,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8768,1,3,0)
+50 ;;=3^Family Hx of Stroke
+51 ;;^UTILITY(U,$J,358.3,8768,1,4,0)
+52 ;;=4^Z82.3
+53 ;;^UTILITY(U,$J,358.3,8768,2)
+54 ;;=^5063367
+55 ;;^UTILITY(U,$J,358.3,8769,0)
+56 ;;=Z82.49^^39^402^24
+57 ;;^UTILITY(U,$J,358.3,8769,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8769,1,3,0)
+60 ;;=3^Family Hx of Ischemic Heart Disease/Circulatory System
+61 ;;^UTILITY(U,$J,358.3,8769,1,4,0)
+62 ;;=4^Z82.49
+63 ;;^UTILITY(U,$J,358.3,8769,2)
+64 ;;=^5063369
+65 ;;^UTILITY(U,$J,358.3,8770,0)
+66 ;;=Z82.5^^39^402^14
+67 ;;^UTILITY(U,$J,358.3,8770,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8770,1,3,0)
+70 ;;=3^Family Hx of Asthma/Chronic Lower Respiratory Diseases
+71 ;;^UTILITY(U,$J,358.3,8770,1,4,0)
+72 ;;=4^Z82.5
+73 ;;^UTILITY(U,$J,358.3,8770,2)
+74 ;;=^5063370
+75 ;;^UTILITY(U,$J,358.3,8771,0)
+76 ;;=Z82.61^^39^402^13
+77 ;;^UTILITY(U,$J,358.3,8771,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8771,1,3,0)
+80 ;;=3^Family Hx of Arthritis
+81 ;;^UTILITY(U,$J,358.3,8771,1,4,0)
+82 ;;=4^Z82.61
+83 ;;^UTILITY(U,$J,358.3,8771,2)
+84 ;;=^5063371
+85 ;;^UTILITY(U,$J,358.3,8772,0)
+86 ;;=Z82.69^^39^402^37
+87 ;;^UTILITY(U,$J,358.3,8772,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8772,1,3,0)
+90 ;;=3^Family Hx of Musculoskeletal System/Connective Tissue
+91 ;;^UTILITY(U,$J,358.3,8772,1,4,0)
+92 ;;=4^Z82.69
+93 ;;^UTILITY(U,$J,358.3,8772,2)
+94 ;;=^5063373
+95 ;;^UTILITY(U,$J,358.3,8773,0)
+96 ;;=Z83.3^^39^402^20
+97 ;;^UTILITY(U,$J,358.3,8773,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8773,1,3,0)
+100 ;;=3^Family Hx of Diabetes Mellitus
+101 ;;^UTILITY(U,$J,358.3,8773,1,4,0)
+102 ;;=4^Z83.3
+103 ;;^UTILITY(U,$J,358.3,8773,2)
+104 ;;=^5063379
+105 ;;^UTILITY(U,$J,358.3,8774,0)
+106 ;;=Z83.2^^39^402^16
+107 ;;^UTILITY(U,$J,358.3,8774,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8774,1,3,0)
+110 ;;=3^Family Hx of Blood/Immune Mechanism Diseases
+111 ;;^UTILITY(U,$J,358.3,8774,1,4,0)
+112 ;;=4^Z83.2
+113 ;;^UTILITY(U,$J,358.3,8774,2)
+114 ;;=^5063378
+115 ;;^UTILITY(U,$J,358.3,8775,0)
+116 ;;=Z82.71^^39^402^40
+117 ;;^UTILITY(U,$J,358.3,8775,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,8775,1,3,0)
+120 ;;=3^Family Hx of Polycystic Kidney
+121 ;;^UTILITY(U,$J,358.3,8775,1,4,0)
+122 ;;=4^Z82.71
+123 ;;^UTILITY(U,$J,358.3,8775,2)
+124 ;;=^321531