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