IBDEI36X ; ; 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,50940,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50940,1,3,0)
 ;;=3^Family Hx of Malig Neop of Baldder
 ;;^UTILITY(U,$J,358.3,50940,1,4,0)
 ;;=4^Z80.52
 ;;^UTILITY(U,$J,358.3,50940,2)
 ;;=^5063352
 ;;^UTILITY(U,$J,358.3,50941,0)
 ;;=Z80.51^^193^2498^29
 ;;^UTILITY(U,$J,358.3,50941,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50941,1,3,0)
 ;;=3^Family Hx of Malig Neop of Kidney
 ;;^UTILITY(U,$J,358.3,50941,1,4,0)
 ;;=4^Z80.51
 ;;^UTILITY(U,$J,358.3,50941,2)
 ;;=^321159
 ;;^UTILITY(U,$J,358.3,50942,0)
 ;;=Z83.41^^193^2498^36
 ;;^UTILITY(U,$J,358.3,50942,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50942,1,3,0)
 ;;=3^Family Hx of Mult Endocrine Neoplasia Syndrome
 ;;^UTILITY(U,$J,358.3,50942,1,4,0)
 ;;=4^Z83.41
 ;;^UTILITY(U,$J,358.3,50942,2)
 ;;=^5063380
 ;;^UTILITY(U,$J,358.3,50943,0)
 ;;=Z81.8^^193^2498^43
 ;;^UTILITY(U,$J,358.3,50943,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50943,1,3,0)
 ;;=3^Family Hx of Substance Abuse/Dependence,Psychoactive
 ;;^UTILITY(U,$J,358.3,50943,1,4,0)
 ;;=4^Z81.8
 ;;^UTILITY(U,$J,358.3,50943,2)
 ;;=^5063363
 ;;^UTILITY(U,$J,358.3,50944,0)
 ;;=Z81.4^^193^2498^44
 ;;^UTILITY(U,$J,358.3,50944,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50944,1,3,0)
 ;;=3^Family Hx of Substance Abuse/Dependence NEC
 ;;^UTILITY(U,$J,358.3,50944,1,4,0)
 ;;=4^Z81.4
 ;;^UTILITY(U,$J,358.3,50944,2)
 ;;=^5063362
 ;;^UTILITY(U,$J,358.3,50945,0)
 ;;=Z98.0^^193^2498^55
 ;;^UTILITY(U,$J,358.3,50945,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50945,1,3,0)
 ;;=3^Intestinal Bypass/Anastomosis Status
 ;;^UTILITY(U,$J,358.3,50945,1,4,0)
 ;;=4^Z98.0
 ;;^UTILITY(U,$J,358.3,50945,2)
 ;;=^5063733
 ;;^UTILITY(U,$J,358.3,50946,0)
 ;;=Z91.128^^193^2498^54
 ;;^UTILITY(U,$J,358.3,50946,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50946,1,3,0)
 ;;=3^Intentional Underdose of Meds d/t Other Reasons
 ;;^UTILITY(U,$J,358.3,50946,1,4,0)
 ;;=4^Z91.128
 ;;^UTILITY(U,$J,358.3,50946,2)
 ;;=^5063613
 ;;^UTILITY(U,$J,358.3,50947,0)
 ;;=Z77.120^^193^2498^60
 ;;^UTILITY(U,$J,358.3,50947,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50947,1,3,0)
 ;;=3^Mold (Toxic) Contact/Exposure
 ;;^UTILITY(U,$J,358.3,50947,1,4,0)
 ;;=4^Z77.120
 ;;^UTILITY(U,$J,358.3,50947,2)
 ;;=^5063318
 ;;^UTILITY(U,$J,358.3,50948,0)
 ;;=Z86.74^^193^2498^104
 ;;^UTILITY(U,$J,358.3,50948,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50948,1,3,0)
 ;;=3^Personal Hx of Sudden Cardiac Arrest 
 ;;^UTILITY(U,$J,358.3,50948,1,4,0)
 ;;=4^Z86.74
 ;;^UTILITY(U,$J,358.3,50948,2)
 ;;=^5063478
 ;;^UTILITY(U,$J,358.3,50949,0)
 ;;=Z86.718^^193^2498^111
 ;;^UTILITY(U,$J,358.3,50949,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50949,1,3,0)
 ;;=3^Personal Hx of Venous Thrombosis/Embolism (DVT)
 ;;^UTILITY(U,$J,358.3,50949,1,4,0)
 ;;=4^Z86.718
 ;;^UTILITY(U,$J,358.3,50949,2)
 ;;=^5063475
 ;;^UTILITY(U,$J,358.3,50950,0)
 ;;=Z96.1^^193^2498^133
 ;;^UTILITY(U,$J,358.3,50950,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50950,1,3,0)
 ;;=3^Presence of Intraocular Lens
 ;;^UTILITY(U,$J,358.3,50950,1,4,0)
 ;;=4^Z96.1
 ;;^UTILITY(U,$J,358.3,50950,2)
 ;;=^5063682
 ;;^UTILITY(U,$J,358.3,50951,0)
 ;;=Z96.612^^193^2498^138
 ;;^UTILITY(U,$J,358.3,50951,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,50951,1,3,0)
 ;;=3^Presence of Left Artificial Shoulder Joint
 ;;^UTILITY(U,$J,358.3,50951,1,4,0)
 ;;=4^Z96.612
 ;;^UTILITY(U,$J,358.3,50951,2)
 ;;=^5063693
 ;;^UTILITY(U,$J,358.3,50952,0)
 ;;=Z96.611^^193^2498^143
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI36X   3795     printed  Sep 23, 2025@20:19                                                                                                                                                                                                       Page 2
IBDEI36X  ; ; 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,50940,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,50940,1,3,0)
 +4       ;;=3^Family Hx of Malig Neop of Baldder
 +5       ;;^UTILITY(U,$J,358.3,50940,1,4,0)
 +6       ;;=4^Z80.52
 +7       ;;^UTILITY(U,$J,358.3,50940,2)
 +8       ;;=^5063352
 +9       ;;^UTILITY(U,$J,358.3,50941,0)
 +10      ;;=Z80.51^^193^2498^29
 +11      ;;^UTILITY(U,$J,358.3,50941,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,50941,1,3,0)
 +14      ;;=3^Family Hx of Malig Neop of Kidney
 +15      ;;^UTILITY(U,$J,358.3,50941,1,4,0)
 +16      ;;=4^Z80.51
 +17      ;;^UTILITY(U,$J,358.3,50941,2)
 +18      ;;=^321159
 +19      ;;^UTILITY(U,$J,358.3,50942,0)
 +20      ;;=Z83.41^^193^2498^36
 +21      ;;^UTILITY(U,$J,358.3,50942,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,50942,1,3,0)
 +24      ;;=3^Family Hx of Mult Endocrine Neoplasia Syndrome
 +25      ;;^UTILITY(U,$J,358.3,50942,1,4,0)
 +26      ;;=4^Z83.41
 +27      ;;^UTILITY(U,$J,358.3,50942,2)
 +28      ;;=^5063380
 +29      ;;^UTILITY(U,$J,358.3,50943,0)
 +30      ;;=Z81.8^^193^2498^43
 +31      ;;^UTILITY(U,$J,358.3,50943,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,50943,1,3,0)
 +34      ;;=3^Family Hx of Substance Abuse/Dependence,Psychoactive
 +35      ;;^UTILITY(U,$J,358.3,50943,1,4,0)
 +36      ;;=4^Z81.8
 +37      ;;^UTILITY(U,$J,358.3,50943,2)
 +38      ;;=^5063363
 +39      ;;^UTILITY(U,$J,358.3,50944,0)
 +40      ;;=Z81.4^^193^2498^44
 +41      ;;^UTILITY(U,$J,358.3,50944,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,50944,1,3,0)
 +44      ;;=3^Family Hx of Substance Abuse/Dependence NEC
 +45      ;;^UTILITY(U,$J,358.3,50944,1,4,0)
 +46      ;;=4^Z81.4
 +47      ;;^UTILITY(U,$J,358.3,50944,2)
 +48      ;;=^5063362
 +49      ;;^UTILITY(U,$J,358.3,50945,0)
 +50      ;;=Z98.0^^193^2498^55
 +51      ;;^UTILITY(U,$J,358.3,50945,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,50945,1,3,0)
 +54      ;;=3^Intestinal Bypass/Anastomosis Status
 +55      ;;^UTILITY(U,$J,358.3,50945,1,4,0)
 +56      ;;=4^Z98.0
 +57      ;;^UTILITY(U,$J,358.3,50945,2)
 +58      ;;=^5063733
 +59      ;;^UTILITY(U,$J,358.3,50946,0)
 +60      ;;=Z91.128^^193^2498^54
 +61      ;;^UTILITY(U,$J,358.3,50946,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,50946,1,3,0)
 +64      ;;=3^Intentional Underdose of Meds d/t Other Reasons
 +65      ;;^UTILITY(U,$J,358.3,50946,1,4,0)
 +66      ;;=4^Z91.128
 +67      ;;^UTILITY(U,$J,358.3,50946,2)
 +68      ;;=^5063613
 +69      ;;^UTILITY(U,$J,358.3,50947,0)
 +70      ;;=Z77.120^^193^2498^60
 +71      ;;^UTILITY(U,$J,358.3,50947,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,50947,1,3,0)
 +74      ;;=3^Mold (Toxic) Contact/Exposure
 +75      ;;^UTILITY(U,$J,358.3,50947,1,4,0)
 +76      ;;=4^Z77.120
 +77      ;;^UTILITY(U,$J,358.3,50947,2)
 +78      ;;=^5063318
 +79      ;;^UTILITY(U,$J,358.3,50948,0)
 +80      ;;=Z86.74^^193^2498^104
 +81      ;;^UTILITY(U,$J,358.3,50948,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,50948,1,3,0)
 +84      ;;=3^Personal Hx of Sudden Cardiac Arrest 
 +85      ;;^UTILITY(U,$J,358.3,50948,1,4,0)
 +86      ;;=4^Z86.74
 +87      ;;^UTILITY(U,$J,358.3,50948,2)
 +88      ;;=^5063478
 +89      ;;^UTILITY(U,$J,358.3,50949,0)
 +90      ;;=Z86.718^^193^2498^111
 +91      ;;^UTILITY(U,$J,358.3,50949,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,50949,1,3,0)
 +94      ;;=3^Personal Hx of Venous Thrombosis/Embolism (DVT)
 +95      ;;^UTILITY(U,$J,358.3,50949,1,4,0)
 +96      ;;=4^Z86.718
 +97      ;;^UTILITY(U,$J,358.3,50949,2)
 +98      ;;=^5063475
 +99      ;;^UTILITY(U,$J,358.3,50950,0)
 +100     ;;=Z96.1^^193^2498^133
 +101     ;;^UTILITY(U,$J,358.3,50950,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,50950,1,3,0)
 +104     ;;=3^Presence of Intraocular Lens
 +105     ;;^UTILITY(U,$J,358.3,50950,1,4,0)
 +106     ;;=4^Z96.1
 +107     ;;^UTILITY(U,$J,358.3,50950,2)
 +108     ;;=^5063682
 +109     ;;^UTILITY(U,$J,358.3,50951,0)
 +110     ;;=Z96.612^^193^2498^138
 +111     ;;^UTILITY(U,$J,358.3,50951,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,50951,1,3,0)
 +114     ;;=3^Presence of Left Artificial Shoulder Joint
 +115     ;;^UTILITY(U,$J,358.3,50951,1,4,0)
 +116     ;;=4^Z96.612
 +117     ;;^UTILITY(U,$J,358.3,50951,2)
 +118     ;;=^5063693
 +119     ;;^UTILITY(U,$J,358.3,50952,0)
 +120     ;;=Z96.611^^193^2498^143