IBDEI1FG ; ; 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,23087,1,3,0)
 ;;=3^Hemorrhage of anus & rectum
 ;;^UTILITY(U,$J,358.3,23087,1,4,0)
 ;;=4^K62.5
 ;;^UTILITY(U,$J,358.3,23087,2)
 ;;=^5008755
 ;;^UTILITY(U,$J,358.3,23088,0)
 ;;=K63.5^^78^999^2
 ;;^UTILITY(U,$J,358.3,23088,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23088,1,3,0)
 ;;=3^Colon polyp
 ;;^UTILITY(U,$J,358.3,23088,1,4,0)
 ;;=4^K63.5
 ;;^UTILITY(U,$J,358.3,23088,2)
 ;;=^5008765
 ;;^UTILITY(U,$J,358.3,23089,0)
 ;;=K64.4^^78^999^23
 ;;^UTILITY(U,$J,358.3,23089,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23089,1,3,0)
 ;;=3^Hemorrhoidal skin tags, residual
 ;;^UTILITY(U,$J,358.3,23089,1,4,0)
 ;;=4^K64.4
 ;;^UTILITY(U,$J,358.3,23089,2)
 ;;=^269834
 ;;^UTILITY(U,$J,358.3,23090,0)
 ;;=K64.8^^78^999^24
 ;;^UTILITY(U,$J,358.3,23090,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23090,1,3,0)
 ;;=3^Hemorrhoids, other
 ;;^UTILITY(U,$J,358.3,23090,1,4,0)
 ;;=4^K64.8
 ;;^UTILITY(U,$J,358.3,23090,2)
 ;;=^5008774
 ;;^UTILITY(U,$J,358.3,23091,0)
 ;;=K73.9^^78^999^25
 ;;^UTILITY(U,$J,358.3,23091,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23091,1,3,0)
 ;;=3^Hepatitis, chronic, unspec
 ;;^UTILITY(U,$J,358.3,23091,1,4,0)
 ;;=4^K73.9
 ;;^UTILITY(U,$J,358.3,23091,2)
 ;;=^5008815
 ;;^UTILITY(U,$J,358.3,23092,0)
 ;;=K74.60^^78^999^1
 ;;^UTILITY(U,$J,358.3,23092,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23092,1,3,0)
 ;;=3^Cirrhosis of liver, unspec
 ;;^UTILITY(U,$J,358.3,23092,1,4,0)
 ;;=4^K74.60
 ;;^UTILITY(U,$J,358.3,23092,2)
 ;;=^5008822
 ;;^UTILITY(U,$J,358.3,23093,0)
 ;;=K75.9^^78^999^27
 ;;^UTILITY(U,$J,358.3,23093,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23093,1,3,0)
 ;;=3^Inflammatory liver disease, unspecified
 ;;^UTILITY(U,$J,358.3,23093,1,4,0)
 ;;=4^K75.9
 ;;^UTILITY(U,$J,358.3,23093,2)
 ;;=^5008830
 ;;^UTILITY(U,$J,358.3,23094,0)
 ;;=K85.90^^78^999^30
 ;;^UTILITY(U,$J,358.3,23094,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23094,1,3,0)
 ;;=3^Pancreatitis,Acute w/o Necrosis/Infection,Unspec
 ;;^UTILITY(U,$J,358.3,23094,1,4,0)
 ;;=4^K85.90
 ;;^UTILITY(U,$J,358.3,23094,2)
 ;;=^5138761
 ;;^UTILITY(U,$J,358.3,23095,0)
 ;;=K85.91^^78^999^29
 ;;^UTILITY(U,$J,358.3,23095,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23095,1,3,0)
 ;;=3^Pancreatitis,Acute w/ Uninfected Necrosis,Unspec
 ;;^UTILITY(U,$J,358.3,23095,1,4,0)
 ;;=4^K85.91
 ;;^UTILITY(U,$J,358.3,23095,2)
 ;;=^5138762
 ;;^UTILITY(U,$J,358.3,23096,0)
 ;;=K85.92^^78^999^28
 ;;^UTILITY(U,$J,358.3,23096,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23096,1,3,0)
 ;;=3^Pancreatitis,Acute w/ Infected Necrosis,Unspec
 ;;^UTILITY(U,$J,358.3,23096,1,4,0)
 ;;=4^K85.92
 ;;^UTILITY(U,$J,358.3,23096,2)
 ;;=^5138763
 ;;^UTILITY(U,$J,358.3,23097,0)
 ;;=K20.0^^78^999^7
 ;;^UTILITY(U,$J,358.3,23097,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23097,1,3,0)
 ;;=3^Eosinophilic Esophagitis
 ;;^UTILITY(U,$J,358.3,23097,1,4,0)
 ;;=4^K20.0
 ;;^UTILITY(U,$J,358.3,23097,2)
 ;;=^336605
 ;;^UTILITY(U,$J,358.3,23098,0)
 ;;=K52.81^^78^999^8
 ;;^UTILITY(U,$J,358.3,23098,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23098,1,3,0)
 ;;=3^Eosinophilic Gastritis
 ;;^UTILITY(U,$J,358.3,23098,1,4,0)
 ;;=4^K52.81
 ;;^UTILITY(U,$J,358.3,23098,2)
 ;;=^5008702
 ;;^UTILITY(U,$J,358.3,23099,0)
 ;;=K52.82^^78^999^6
 ;;^UTILITY(U,$J,358.3,23099,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23099,1,3,0)
 ;;=3^Eosinophilic Colitis
 ;;^UTILITY(U,$J,358.3,23099,1,4,0)
 ;;=4^K52.82
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1FG   3755     printed  Sep 23, 2025@19:43:41                                                                                                                                                                                                    Page 2
IBDEI1FG  ; ; 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,23087,1,3,0)
 +2       ;;=3^Hemorrhage of anus & rectum
 +3       ;;^UTILITY(U,$J,358.3,23087,1,4,0)
 +4       ;;=4^K62.5
 +5       ;;^UTILITY(U,$J,358.3,23087,2)
 +6       ;;=^5008755
 +7       ;;^UTILITY(U,$J,358.3,23088,0)
 +8       ;;=K63.5^^78^999^2
 +9       ;;^UTILITY(U,$J,358.3,23088,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,23088,1,3,0)
 +12      ;;=3^Colon polyp
 +13      ;;^UTILITY(U,$J,358.3,23088,1,4,0)
 +14      ;;=4^K63.5
 +15      ;;^UTILITY(U,$J,358.3,23088,2)
 +16      ;;=^5008765
 +17      ;;^UTILITY(U,$J,358.3,23089,0)
 +18      ;;=K64.4^^78^999^23
 +19      ;;^UTILITY(U,$J,358.3,23089,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,23089,1,3,0)
 +22      ;;=3^Hemorrhoidal skin tags, residual
 +23      ;;^UTILITY(U,$J,358.3,23089,1,4,0)
 +24      ;;=4^K64.4
 +25      ;;^UTILITY(U,$J,358.3,23089,2)
 +26      ;;=^269834
 +27      ;;^UTILITY(U,$J,358.3,23090,0)
 +28      ;;=K64.8^^78^999^24
 +29      ;;^UTILITY(U,$J,358.3,23090,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,23090,1,3,0)
 +32      ;;=3^Hemorrhoids, other
 +33      ;;^UTILITY(U,$J,358.3,23090,1,4,0)
 +34      ;;=4^K64.8
 +35      ;;^UTILITY(U,$J,358.3,23090,2)
 +36      ;;=^5008774
 +37      ;;^UTILITY(U,$J,358.3,23091,0)
 +38      ;;=K73.9^^78^999^25
 +39      ;;^UTILITY(U,$J,358.3,23091,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,23091,1,3,0)
 +42      ;;=3^Hepatitis, chronic, unspec
 +43      ;;^UTILITY(U,$J,358.3,23091,1,4,0)
 +44      ;;=4^K73.9
 +45      ;;^UTILITY(U,$J,358.3,23091,2)
 +46      ;;=^5008815
 +47      ;;^UTILITY(U,$J,358.3,23092,0)
 +48      ;;=K74.60^^78^999^1
 +49      ;;^UTILITY(U,$J,358.3,23092,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,23092,1,3,0)
 +52      ;;=3^Cirrhosis of liver, unspec
 +53      ;;^UTILITY(U,$J,358.3,23092,1,4,0)
 +54      ;;=4^K74.60
 +55      ;;^UTILITY(U,$J,358.3,23092,2)
 +56      ;;=^5008822
 +57      ;;^UTILITY(U,$J,358.3,23093,0)
 +58      ;;=K75.9^^78^999^27
 +59      ;;^UTILITY(U,$J,358.3,23093,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,23093,1,3,0)
 +62      ;;=3^Inflammatory liver disease, unspecified
 +63      ;;^UTILITY(U,$J,358.3,23093,1,4,0)
 +64      ;;=4^K75.9
 +65      ;;^UTILITY(U,$J,358.3,23093,2)
 +66      ;;=^5008830
 +67      ;;^UTILITY(U,$J,358.3,23094,0)
 +68      ;;=K85.90^^78^999^30
 +69      ;;^UTILITY(U,$J,358.3,23094,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,23094,1,3,0)
 +72      ;;=3^Pancreatitis,Acute w/o Necrosis/Infection,Unspec
 +73      ;;^UTILITY(U,$J,358.3,23094,1,4,0)
 +74      ;;=4^K85.90
 +75      ;;^UTILITY(U,$J,358.3,23094,2)
 +76      ;;=^5138761
 +77      ;;^UTILITY(U,$J,358.3,23095,0)
 +78      ;;=K85.91^^78^999^29
 +79      ;;^UTILITY(U,$J,358.3,23095,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,23095,1,3,0)
 +82      ;;=3^Pancreatitis,Acute w/ Uninfected Necrosis,Unspec
 +83      ;;^UTILITY(U,$J,358.3,23095,1,4,0)
 +84      ;;=4^K85.91
 +85      ;;^UTILITY(U,$J,358.3,23095,2)
 +86      ;;=^5138762
 +87      ;;^UTILITY(U,$J,358.3,23096,0)
 +88      ;;=K85.92^^78^999^28
 +89      ;;^UTILITY(U,$J,358.3,23096,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,23096,1,3,0)
 +92      ;;=3^Pancreatitis,Acute w/ Infected Necrosis,Unspec
 +93      ;;^UTILITY(U,$J,358.3,23096,1,4,0)
 +94      ;;=4^K85.92
 +95      ;;^UTILITY(U,$J,358.3,23096,2)
 +96      ;;=^5138763
 +97      ;;^UTILITY(U,$J,358.3,23097,0)
 +98      ;;=K20.0^^78^999^7
 +99      ;;^UTILITY(U,$J,358.3,23097,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,23097,1,3,0)
 +102     ;;=3^Eosinophilic Esophagitis
 +103     ;;^UTILITY(U,$J,358.3,23097,1,4,0)
 +104     ;;=4^K20.0
 +105     ;;^UTILITY(U,$J,358.3,23097,2)
 +106     ;;=^336605
 +107     ;;^UTILITY(U,$J,358.3,23098,0)
 +108     ;;=K52.81^^78^999^8
 +109     ;;^UTILITY(U,$J,358.3,23098,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,23098,1,3,0)
 +112     ;;=3^Eosinophilic Gastritis
 +113     ;;^UTILITY(U,$J,358.3,23098,1,4,0)
 +114     ;;=4^K52.81
 +115     ;;^UTILITY(U,$J,358.3,23098,2)
 +116     ;;=^5008702
 +117     ;;^UTILITY(U,$J,358.3,23099,0)
 +118     ;;=K52.82^^78^999^6
 +119     ;;^UTILITY(U,$J,358.3,23099,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,23099,1,3,0)
 +122     ;;=3^Eosinophilic Colitis
 +123     ;;^UTILITY(U,$J,358.3,23099,1,4,0)
 +124     ;;=4^K52.82