IBDEI101 ; ; 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,16253,1,4,0)
 ;;=4^K51.90
 ;;^UTILITY(U,$J,358.3,16253,2)
 ;;=^5008694
 ;;^UTILITY(U,$J,358.3,16254,0)
 ;;=K51.919^^61^771^90
 ;;^UTILITY(U,$J,358.3,16254,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16254,1,3,0)
 ;;=3^Ulcerative Colitis w/ Unspec Complications,Unspec
 ;;^UTILITY(U,$J,358.3,16254,1,4,0)
 ;;=4^K51.919
 ;;^UTILITY(U,$J,358.3,16254,2)
 ;;=^5008700
 ;;^UTILITY(U,$J,358.3,16255,0)
 ;;=K51.918^^61^771^88
 ;;^UTILITY(U,$J,358.3,16255,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16255,1,3,0)
 ;;=3^Ulcerative Colitis w/ Oth Complication,Unspec
 ;;^UTILITY(U,$J,358.3,16255,1,4,0)
 ;;=4^K51.918
 ;;^UTILITY(U,$J,358.3,16255,2)
 ;;=^5008699
 ;;^UTILITY(U,$J,358.3,16256,0)
 ;;=K51.914^^61^771^85
 ;;^UTILITY(U,$J,358.3,16256,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16256,1,3,0)
 ;;=3^Ulcerative Colitis w/ Abscess,Unspec
 ;;^UTILITY(U,$J,358.3,16256,1,4,0)
 ;;=4^K51.914
 ;;^UTILITY(U,$J,358.3,16256,2)
 ;;=^5008698
 ;;^UTILITY(U,$J,358.3,16257,0)
 ;;=K51.913^^61^771^86
 ;;^UTILITY(U,$J,358.3,16257,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16257,1,3,0)
 ;;=3^Ulcerative Colitis w/ Fistula,Unspec
 ;;^UTILITY(U,$J,358.3,16257,1,4,0)
 ;;=4^K51.913
 ;;^UTILITY(U,$J,358.3,16257,2)
 ;;=^5008697
 ;;^UTILITY(U,$J,358.3,16258,0)
 ;;=K51.912^^61^771^87
 ;;^UTILITY(U,$J,358.3,16258,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16258,1,3,0)
 ;;=3^Ulcerative Colitis w/ Intestinal Obstruction,Unspec
 ;;^UTILITY(U,$J,358.3,16258,1,4,0)
 ;;=4^K51.912
 ;;^UTILITY(U,$J,358.3,16258,2)
 ;;=^5008696
 ;;^UTILITY(U,$J,358.3,16259,0)
 ;;=K51.911^^61^771^89
 ;;^UTILITY(U,$J,358.3,16259,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16259,1,3,0)
 ;;=3^Ulcerative Colitis w/ Rectal Bleeding,Unspec
 ;;^UTILITY(U,$J,358.3,16259,1,4,0)
 ;;=4^K51.911
 ;;^UTILITY(U,$J,358.3,16259,2)
 ;;=^5008695
 ;;^UTILITY(U,$J,358.3,16260,0)
 ;;=K52.89^^61^771^62
 ;;^UTILITY(U,$J,358.3,16260,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16260,1,3,0)
 ;;=3^Gastroenteritis & Colitis,Oth Spec Noninfective
 ;;^UTILITY(U,$J,358.3,16260,1,4,0)
 ;;=4^K52.89
 ;;^UTILITY(U,$J,358.3,16260,2)
 ;;=^5008703
 ;;^UTILITY(U,$J,358.3,16261,0)
 ;;=K52.9^^61^771^61
 ;;^UTILITY(U,$J,358.3,16261,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16261,1,3,0)
 ;;=3^Gastroenteritis & Colitis,Noninfective Unspec
 ;;^UTILITY(U,$J,358.3,16261,1,4,0)
 ;;=4^K52.9
 ;;^UTILITY(U,$J,358.3,16261,2)
 ;;=^5008704
 ;;^UTILITY(U,$J,358.3,16262,0)
 ;;=K57.30^^61^771^47
 ;;^UTILITY(U,$J,358.3,16262,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16262,1,3,0)
 ;;=3^Diverticulosis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,16262,1,4,0)
 ;;=4^K57.30
 ;;^UTILITY(U,$J,358.3,16262,2)
 ;;=^5008723
 ;;^UTILITY(U,$J,358.3,16263,0)
 ;;=K57.50^^61^771^48
 ;;^UTILITY(U,$J,358.3,16263,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16263,1,3,0)
 ;;=3^Diverticulosis of Sm & Lg Intestine w/o Performation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,16263,1,4,0)
 ;;=4^K57.50
 ;;^UTILITY(U,$J,358.3,16263,2)
 ;;=^5008729
 ;;^UTILITY(U,$J,358.3,16264,0)
 ;;=K57.90^^61^771^46
 ;;^UTILITY(U,$J,358.3,16264,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16264,1,3,0)
 ;;=3^Diverticulosis of Intestine,Unspec w/o Performation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,16264,1,4,0)
 ;;=4^K57.90
 ;;^UTILITY(U,$J,358.3,16264,2)
 ;;=^5008735
 ;;^UTILITY(U,$J,358.3,16265,0)
 ;;=K57.20^^61^771^42
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI101   3768     printed  Sep 23, 2025@19:35:05                                                                                                                                                                                                    Page 2
IBDEI101  ; ; 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,16253,1,4,0)
 +2       ;;=4^K51.90
 +3       ;;^UTILITY(U,$J,358.3,16253,2)
 +4       ;;=^5008694
 +5       ;;^UTILITY(U,$J,358.3,16254,0)
 +6       ;;=K51.919^^61^771^90
 +7       ;;^UTILITY(U,$J,358.3,16254,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,16254,1,3,0)
 +10      ;;=3^Ulcerative Colitis w/ Unspec Complications,Unspec
 +11      ;;^UTILITY(U,$J,358.3,16254,1,4,0)
 +12      ;;=4^K51.919
 +13      ;;^UTILITY(U,$J,358.3,16254,2)
 +14      ;;=^5008700
 +15      ;;^UTILITY(U,$J,358.3,16255,0)
 +16      ;;=K51.918^^61^771^88
 +17      ;;^UTILITY(U,$J,358.3,16255,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,16255,1,3,0)
 +20      ;;=3^Ulcerative Colitis w/ Oth Complication,Unspec
 +21      ;;^UTILITY(U,$J,358.3,16255,1,4,0)
 +22      ;;=4^K51.918
 +23      ;;^UTILITY(U,$J,358.3,16255,2)
 +24      ;;=^5008699
 +25      ;;^UTILITY(U,$J,358.3,16256,0)
 +26      ;;=K51.914^^61^771^85
 +27      ;;^UTILITY(U,$J,358.3,16256,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,16256,1,3,0)
 +30      ;;=3^Ulcerative Colitis w/ Abscess,Unspec
 +31      ;;^UTILITY(U,$J,358.3,16256,1,4,0)
 +32      ;;=4^K51.914
 +33      ;;^UTILITY(U,$J,358.3,16256,2)
 +34      ;;=^5008698
 +35      ;;^UTILITY(U,$J,358.3,16257,0)
 +36      ;;=K51.913^^61^771^86
 +37      ;;^UTILITY(U,$J,358.3,16257,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,16257,1,3,0)
 +40      ;;=3^Ulcerative Colitis w/ Fistula,Unspec
 +41      ;;^UTILITY(U,$J,358.3,16257,1,4,0)
 +42      ;;=4^K51.913
 +43      ;;^UTILITY(U,$J,358.3,16257,2)
 +44      ;;=^5008697
 +45      ;;^UTILITY(U,$J,358.3,16258,0)
 +46      ;;=K51.912^^61^771^87
 +47      ;;^UTILITY(U,$J,358.3,16258,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,16258,1,3,0)
 +50      ;;=3^Ulcerative Colitis w/ Intestinal Obstruction,Unspec
 +51      ;;^UTILITY(U,$J,358.3,16258,1,4,0)
 +52      ;;=4^K51.912
 +53      ;;^UTILITY(U,$J,358.3,16258,2)
 +54      ;;=^5008696
 +55      ;;^UTILITY(U,$J,358.3,16259,0)
 +56      ;;=K51.911^^61^771^89
 +57      ;;^UTILITY(U,$J,358.3,16259,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,16259,1,3,0)
 +60      ;;=3^Ulcerative Colitis w/ Rectal Bleeding,Unspec
 +61      ;;^UTILITY(U,$J,358.3,16259,1,4,0)
 +62      ;;=4^K51.911
 +63      ;;^UTILITY(U,$J,358.3,16259,2)
 +64      ;;=^5008695
 +65      ;;^UTILITY(U,$J,358.3,16260,0)
 +66      ;;=K52.89^^61^771^62
 +67      ;;^UTILITY(U,$J,358.3,16260,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,16260,1,3,0)
 +70      ;;=3^Gastroenteritis & Colitis,Oth Spec Noninfective
 +71      ;;^UTILITY(U,$J,358.3,16260,1,4,0)
 +72      ;;=4^K52.89
 +73      ;;^UTILITY(U,$J,358.3,16260,2)
 +74      ;;=^5008703
 +75      ;;^UTILITY(U,$J,358.3,16261,0)
 +76      ;;=K52.9^^61^771^61
 +77      ;;^UTILITY(U,$J,358.3,16261,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,16261,1,3,0)
 +80      ;;=3^Gastroenteritis & Colitis,Noninfective Unspec
 +81      ;;^UTILITY(U,$J,358.3,16261,1,4,0)
 +82      ;;=4^K52.9
 +83      ;;^UTILITY(U,$J,358.3,16261,2)
 +84      ;;=^5008704
 +85      ;;^UTILITY(U,$J,358.3,16262,0)
 +86      ;;=K57.30^^61^771^47
 +87      ;;^UTILITY(U,$J,358.3,16262,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,16262,1,3,0)
 +90      ;;=3^Diverticulosis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +91      ;;^UTILITY(U,$J,358.3,16262,1,4,0)
 +92      ;;=4^K57.30
 +93      ;;^UTILITY(U,$J,358.3,16262,2)
 +94      ;;=^5008723
 +95      ;;^UTILITY(U,$J,358.3,16263,0)
 +96      ;;=K57.50^^61^771^48
 +97      ;;^UTILITY(U,$J,358.3,16263,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,16263,1,3,0)
 +100     ;;=3^Diverticulosis of Sm & Lg Intestine w/o Performation/Abscess w/o Bleeding
 +101     ;;^UTILITY(U,$J,358.3,16263,1,4,0)
 +102     ;;=4^K57.50
 +103     ;;^UTILITY(U,$J,358.3,16263,2)
 +104     ;;=^5008729
 +105     ;;^UTILITY(U,$J,358.3,16264,0)
 +106     ;;=K57.90^^61^771^46
 +107     ;;^UTILITY(U,$J,358.3,16264,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,16264,1,3,0)
 +110     ;;=3^Diverticulosis of Intestine,Unspec w/o Performation/Abscess w/o Bleeding
 +111     ;;^UTILITY(U,$J,358.3,16264,1,4,0)
 +112     ;;=4^K57.90
 +113     ;;^UTILITY(U,$J,358.3,16264,2)
 +114     ;;=^5008735
 +115     ;;^UTILITY(U,$J,358.3,16265,0)
 +116     ;;=K57.20^^61^771^42