IBDEI2HW ; ; 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,39843,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39843,1,3,0)
 ;;=3^Radiographic Dye Allergy
 ;;^UTILITY(U,$J,358.3,39843,1,4,0)
 ;;=4^Z91.041
 ;;^UTILITY(U,$J,358.3,39843,2)
 ;;=^5063608
 ;;^UTILITY(U,$J,358.3,39844,0)
 ;;=Z91.130^^152^2001^152
 ;;^UTILITY(U,$J,358.3,39844,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39844,1,3,0)
 ;;=3^Underdose of Med Regiment d/t Age-Related Debility
 ;;^UTILITY(U,$J,358.3,39844,1,4,0)
 ;;=4^Z91.130
 ;;^UTILITY(U,$J,358.3,39844,2)
 ;;=^5063614
 ;;^UTILITY(U,$J,358.3,39845,0)
 ;;=Z91.138^^152^2001^153
 ;;^UTILITY(U,$J,358.3,39845,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39845,1,3,0)
 ;;=3^Underdose of Med Regiment for Other Reason
 ;;^UTILITY(U,$J,358.3,39845,1,4,0)
 ;;=4^Z91.138
 ;;^UTILITY(U,$J,358.3,39845,2)
 ;;=^5063615
 ;;^UTILITY(U,$J,358.3,39846,0)
 ;;=Z91.14^^152^2001^64
 ;;^UTILITY(U,$J,358.3,39846,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39846,1,3,0)
 ;;=3^Noncompliance w/ Medication Regimen
 ;;^UTILITY(U,$J,358.3,39846,1,4,0)
 ;;=4^Z91.14
 ;;^UTILITY(U,$J,358.3,39846,2)
 ;;=^5063616
 ;;^UTILITY(U,$J,358.3,39847,0)
 ;;=Z91.19^^152^2001^63
 ;;^UTILITY(U,$J,358.3,39847,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39847,1,3,0)
 ;;=3^Noncompliance w/ Medical Treatment & Regimen
 ;;^UTILITY(U,$J,358.3,39847,1,4,0)
 ;;=4^Z91.19
 ;;^UTILITY(U,$J,358.3,39847,2)
 ;;=^5063618
 ;;^UTILITY(U,$J,358.3,39848,0)
 ;;=Z93.1^^152^2001^45
 ;;^UTILITY(U,$J,358.3,39848,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39848,1,3,0)
 ;;=3^Gastrostomy Status
 ;;^UTILITY(U,$J,358.3,39848,1,4,0)
 ;;=4^Z93.1
 ;;^UTILITY(U,$J,358.3,39848,2)
 ;;=^5063643
 ;;^UTILITY(U,$J,358.3,39849,0)
 ;;=Z93.2^^152^2001^51
 ;;^UTILITY(U,$J,358.3,39849,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39849,1,3,0)
 ;;=3^Ileostomy Status
 ;;^UTILITY(U,$J,358.3,39849,1,4,0)
 ;;=4^Z93.2
 ;;^UTILITY(U,$J,358.3,39849,2)
 ;;=^5063644
 ;;^UTILITY(U,$J,358.3,39850,0)
 ;;=Z93.3^^152^2001^7
 ;;^UTILITY(U,$J,358.3,39850,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39850,1,3,0)
 ;;=3^Colostomy Status
 ;;^UTILITY(U,$J,358.3,39850,1,4,0)
 ;;=4^Z93.3
 ;;^UTILITY(U,$J,358.3,39850,2)
 ;;=^5063645
 ;;^UTILITY(U,$J,358.3,39851,0)
 ;;=Z94.0^^152^2001^56
 ;;^UTILITY(U,$J,358.3,39851,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39851,1,3,0)
 ;;=3^Kidney Transplant Status
 ;;^UTILITY(U,$J,358.3,39851,1,4,0)
 ;;=4^Z94.0
 ;;^UTILITY(U,$J,358.3,39851,2)
 ;;=^5063654
 ;;^UTILITY(U,$J,358.3,39852,0)
 ;;=Z94.1^^152^2001^49
 ;;^UTILITY(U,$J,358.3,39852,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39852,1,3,0)
 ;;=3^Heart Transplant Status
 ;;^UTILITY(U,$J,358.3,39852,1,4,0)
 ;;=4^Z94.1
 ;;^UTILITY(U,$J,358.3,39852,2)
 ;;=^5063655
 ;;^UTILITY(U,$J,358.3,39853,0)
 ;;=Z94.2^^152^2001^59
 ;;^UTILITY(U,$J,358.3,39853,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39853,1,3,0)
 ;;=3^Lung Transplant Status
 ;;^UTILITY(U,$J,358.3,39853,1,4,0)
 ;;=4^Z94.2
 ;;^UTILITY(U,$J,358.3,39853,2)
 ;;=^5063656
 ;;^UTILITY(U,$J,358.3,39854,0)
 ;;=Z94.3^^152^2001^48
 ;;^UTILITY(U,$J,358.3,39854,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39854,1,3,0)
 ;;=3^Heart & Lungs Transplant Status
 ;;^UTILITY(U,$J,358.3,39854,1,4,0)
 ;;=4^Z94.3
 ;;^UTILITY(U,$J,358.3,39854,2)
 ;;=^5063657
 ;;^UTILITY(U,$J,358.3,39855,0)
 ;;=Z94.4^^152^2001^58
 ;;^UTILITY(U,$J,358.3,39855,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39855,1,3,0)
 ;;=3^Liver Transplant Status
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2HW   3774     printed  Sep 23, 2025@20:05:05                                                                                                                                                                                                    Page 2
IBDEI2HW  ; ; 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,39843,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,39843,1,3,0)
 +4       ;;=3^Radiographic Dye Allergy
 +5       ;;^UTILITY(U,$J,358.3,39843,1,4,0)
 +6       ;;=4^Z91.041
 +7       ;;^UTILITY(U,$J,358.3,39843,2)
 +8       ;;=^5063608
 +9       ;;^UTILITY(U,$J,358.3,39844,0)
 +10      ;;=Z91.130^^152^2001^152
 +11      ;;^UTILITY(U,$J,358.3,39844,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,39844,1,3,0)
 +14      ;;=3^Underdose of Med Regiment d/t Age-Related Debility
 +15      ;;^UTILITY(U,$J,358.3,39844,1,4,0)
 +16      ;;=4^Z91.130
 +17      ;;^UTILITY(U,$J,358.3,39844,2)
 +18      ;;=^5063614
 +19      ;;^UTILITY(U,$J,358.3,39845,0)
 +20      ;;=Z91.138^^152^2001^153
 +21      ;;^UTILITY(U,$J,358.3,39845,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,39845,1,3,0)
 +24      ;;=3^Underdose of Med Regiment for Other Reason
 +25      ;;^UTILITY(U,$J,358.3,39845,1,4,0)
 +26      ;;=4^Z91.138
 +27      ;;^UTILITY(U,$J,358.3,39845,2)
 +28      ;;=^5063615
 +29      ;;^UTILITY(U,$J,358.3,39846,0)
 +30      ;;=Z91.14^^152^2001^64
 +31      ;;^UTILITY(U,$J,358.3,39846,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,39846,1,3,0)
 +34      ;;=3^Noncompliance w/ Medication Regimen
 +35      ;;^UTILITY(U,$J,358.3,39846,1,4,0)
 +36      ;;=4^Z91.14
 +37      ;;^UTILITY(U,$J,358.3,39846,2)
 +38      ;;=^5063616
 +39      ;;^UTILITY(U,$J,358.3,39847,0)
 +40      ;;=Z91.19^^152^2001^63
 +41      ;;^UTILITY(U,$J,358.3,39847,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,39847,1,3,0)
 +44      ;;=3^Noncompliance w/ Medical Treatment & Regimen
 +45      ;;^UTILITY(U,$J,358.3,39847,1,4,0)
 +46      ;;=4^Z91.19
 +47      ;;^UTILITY(U,$J,358.3,39847,2)
 +48      ;;=^5063618
 +49      ;;^UTILITY(U,$J,358.3,39848,0)
 +50      ;;=Z93.1^^152^2001^45
 +51      ;;^UTILITY(U,$J,358.3,39848,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,39848,1,3,0)
 +54      ;;=3^Gastrostomy Status
 +55      ;;^UTILITY(U,$J,358.3,39848,1,4,0)
 +56      ;;=4^Z93.1
 +57      ;;^UTILITY(U,$J,358.3,39848,2)
 +58      ;;=^5063643
 +59      ;;^UTILITY(U,$J,358.3,39849,0)
 +60      ;;=Z93.2^^152^2001^51
 +61      ;;^UTILITY(U,$J,358.3,39849,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,39849,1,3,0)
 +64      ;;=3^Ileostomy Status
 +65      ;;^UTILITY(U,$J,358.3,39849,1,4,0)
 +66      ;;=4^Z93.2
 +67      ;;^UTILITY(U,$J,358.3,39849,2)
 +68      ;;=^5063644
 +69      ;;^UTILITY(U,$J,358.3,39850,0)
 +70      ;;=Z93.3^^152^2001^7
 +71      ;;^UTILITY(U,$J,358.3,39850,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,39850,1,3,0)
 +74      ;;=3^Colostomy Status
 +75      ;;^UTILITY(U,$J,358.3,39850,1,4,0)
 +76      ;;=4^Z93.3
 +77      ;;^UTILITY(U,$J,358.3,39850,2)
 +78      ;;=^5063645
 +79      ;;^UTILITY(U,$J,358.3,39851,0)
 +80      ;;=Z94.0^^152^2001^56
 +81      ;;^UTILITY(U,$J,358.3,39851,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,39851,1,3,0)
 +84      ;;=3^Kidney Transplant Status
 +85      ;;^UTILITY(U,$J,358.3,39851,1,4,0)
 +86      ;;=4^Z94.0
 +87      ;;^UTILITY(U,$J,358.3,39851,2)
 +88      ;;=^5063654
 +89      ;;^UTILITY(U,$J,358.3,39852,0)
 +90      ;;=Z94.1^^152^2001^49
 +91      ;;^UTILITY(U,$J,358.3,39852,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,39852,1,3,0)
 +94      ;;=3^Heart Transplant Status
 +95      ;;^UTILITY(U,$J,358.3,39852,1,4,0)
 +96      ;;=4^Z94.1
 +97      ;;^UTILITY(U,$J,358.3,39852,2)
 +98      ;;=^5063655
 +99      ;;^UTILITY(U,$J,358.3,39853,0)
 +100     ;;=Z94.2^^152^2001^59
 +101     ;;^UTILITY(U,$J,358.3,39853,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,39853,1,3,0)
 +104     ;;=3^Lung Transplant Status
 +105     ;;^UTILITY(U,$J,358.3,39853,1,4,0)
 +106     ;;=4^Z94.2
 +107     ;;^UTILITY(U,$J,358.3,39853,2)
 +108     ;;=^5063656
 +109     ;;^UTILITY(U,$J,358.3,39854,0)
 +110     ;;=Z94.3^^152^2001^48
 +111     ;;^UTILITY(U,$J,358.3,39854,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,39854,1,3,0)
 +114     ;;=3^Heart & Lungs Transplant Status
 +115     ;;^UTILITY(U,$J,358.3,39854,1,4,0)
 +116     ;;=4^Z94.3
 +117     ;;^UTILITY(U,$J,358.3,39854,2)
 +118     ;;=^5063657
 +119     ;;^UTILITY(U,$J,358.3,39855,0)
 +120     ;;=Z94.4^^152^2001^58
 +121     ;;^UTILITY(U,$J,358.3,39855,1,0)
 +122     ;;=^358.31IA^4^2
 +123     ;;^UTILITY(U,$J,358.3,39855,1,3,0)
 +124     ;;=3^Liver Transplant Status