IBDEI0IG ; ; 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,8302,1,3,0)
 ;;=3^Diverticulosis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8302,1,4,0)
 ;;=4^K57.30
 ;;^UTILITY(U,$J,358.3,8302,2)
 ;;=^5008723
 ;;^UTILITY(U,$J,358.3,8303,0)
 ;;=K57.50^^39^397^48
 ;;^UTILITY(U,$J,358.3,8303,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8303,1,3,0)
 ;;=3^Diverticulosis of Sm & Lg Intestine w/o Performation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8303,1,4,0)
 ;;=4^K57.50
 ;;^UTILITY(U,$J,358.3,8303,2)
 ;;=^5008729
 ;;^UTILITY(U,$J,358.3,8304,0)
 ;;=K57.90^^39^397^46
 ;;^UTILITY(U,$J,358.3,8304,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8304,1,3,0)
 ;;=3^Diverticulosis of Intestine,Unspec w/o Performation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8304,1,4,0)
 ;;=4^K57.90
 ;;^UTILITY(U,$J,358.3,8304,2)
 ;;=^5008735
 ;;^UTILITY(U,$J,358.3,8305,0)
 ;;=K57.20^^39^397^42
 ;;^UTILITY(U,$J,358.3,8305,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8305,1,3,0)
 ;;=3^Diverticulitis of Lg Intestine w/ Performation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8305,1,4,0)
 ;;=4^K57.20
 ;;^UTILITY(U,$J,358.3,8305,2)
 ;;=^5008721
 ;;^UTILITY(U,$J,358.3,8306,0)
 ;;=K57.92^^39^397^41
 ;;^UTILITY(U,$J,358.3,8306,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8306,1,3,0)
 ;;=3^Diverticulitis of Intestine,Unspec w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8306,1,4,0)
 ;;=4^K57.92
 ;;^UTILITY(U,$J,358.3,8306,2)
 ;;=^5008737
 ;;^UTILITY(U,$J,358.3,8307,0)
 ;;=K57.80^^39^397^40
 ;;^UTILITY(U,$J,358.3,8307,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8307,1,3,0)
 ;;=3^Diverticulitis of Intestine,Unspec w/ Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8307,1,4,0)
 ;;=4^K57.80
 ;;^UTILITY(U,$J,358.3,8307,2)
 ;;=^5008733
 ;;^UTILITY(U,$J,358.3,8308,0)
 ;;=K57.52^^39^397^45
 ;;^UTILITY(U,$J,358.3,8308,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8308,1,3,0)
 ;;=3^Diverticulitis of Sm & Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8308,1,4,0)
 ;;=4^K57.52
 ;;^UTILITY(U,$J,358.3,8308,2)
 ;;=^5008731
 ;;^UTILITY(U,$J,358.3,8309,0)
 ;;=K57.40^^39^397^44
 ;;^UTILITY(U,$J,358.3,8309,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8309,1,3,0)
 ;;=3^Diverticulitis of Sm & Lg Intestine w/ Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8309,1,4,0)
 ;;=4^K57.40
 ;;^UTILITY(U,$J,358.3,8309,2)
 ;;=^5008727
 ;;^UTILITY(U,$J,358.3,8310,0)
 ;;=K57.32^^39^397^43
 ;;^UTILITY(U,$J,358.3,8310,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8310,1,3,0)
 ;;=3^Diverticulitis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,8310,1,4,0)
 ;;=4^K57.32
 ;;^UTILITY(U,$J,358.3,8310,2)
 ;;=^5008725
 ;;^UTILITY(U,$J,358.3,8311,0)
 ;;=K59.00^^39^397^22
 ;;^UTILITY(U,$J,358.3,8311,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8311,1,3,0)
 ;;=3^Constipation,Unspec
 ;;^UTILITY(U,$J,358.3,8311,1,4,0)
 ;;=4^K59.00
 ;;^UTILITY(U,$J,358.3,8311,2)
 ;;=^323537
 ;;^UTILITY(U,$J,358.3,8312,0)
 ;;=K58.9^^39^397^79
 ;;^UTILITY(U,$J,358.3,8312,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8312,1,3,0)
 ;;=3^Irritable Bowel Syndrome w/o Diarrhea
 ;;^UTILITY(U,$J,358.3,8312,1,4,0)
 ;;=4^K58.9
 ;;^UTILITY(U,$J,358.3,8312,2)
 ;;=^5008740
 ;;^UTILITY(U,$J,358.3,8313,0)
 ;;=K58.0^^39^397^78
 ;;^UTILITY(U,$J,358.3,8313,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,8313,1,3,0)
 ;;=3^Irritable Bowel Syndrome w/ Diarrhea
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0IG   3746     printed  Sep 23, 2025@19:25:18                                                                                                                                                                                                    Page 2
IBDEI0IG  ; ; 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,8302,1,3,0)
 +2       ;;=3^Diverticulosis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +3       ;;^UTILITY(U,$J,358.3,8302,1,4,0)
 +4       ;;=4^K57.30
 +5       ;;^UTILITY(U,$J,358.3,8302,2)
 +6       ;;=^5008723
 +7       ;;^UTILITY(U,$J,358.3,8303,0)
 +8       ;;=K57.50^^39^397^48
 +9       ;;^UTILITY(U,$J,358.3,8303,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,8303,1,3,0)
 +12      ;;=3^Diverticulosis of Sm & Lg Intestine w/o Performation/Abscess w/o Bleeding
 +13      ;;^UTILITY(U,$J,358.3,8303,1,4,0)
 +14      ;;=4^K57.50
 +15      ;;^UTILITY(U,$J,358.3,8303,2)
 +16      ;;=^5008729
 +17      ;;^UTILITY(U,$J,358.3,8304,0)
 +18      ;;=K57.90^^39^397^46
 +19      ;;^UTILITY(U,$J,358.3,8304,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,8304,1,3,0)
 +22      ;;=3^Diverticulosis of Intestine,Unspec w/o Performation/Abscess w/o Bleeding
 +23      ;;^UTILITY(U,$J,358.3,8304,1,4,0)
 +24      ;;=4^K57.90
 +25      ;;^UTILITY(U,$J,358.3,8304,2)
 +26      ;;=^5008735
 +27      ;;^UTILITY(U,$J,358.3,8305,0)
 +28      ;;=K57.20^^39^397^42
 +29      ;;^UTILITY(U,$J,358.3,8305,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,8305,1,3,0)
 +32      ;;=3^Diverticulitis of Lg Intestine w/ Performation/Abscess w/o Bleeding
 +33      ;;^UTILITY(U,$J,358.3,8305,1,4,0)
 +34      ;;=4^K57.20
 +35      ;;^UTILITY(U,$J,358.3,8305,2)
 +36      ;;=^5008721
 +37      ;;^UTILITY(U,$J,358.3,8306,0)
 +38      ;;=K57.92^^39^397^41
 +39      ;;^UTILITY(U,$J,358.3,8306,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,8306,1,3,0)
 +42      ;;=3^Diverticulitis of Intestine,Unspec w/o Perforation/Abscess w/o Bleeding
 +43      ;;^UTILITY(U,$J,358.3,8306,1,4,0)
 +44      ;;=4^K57.92
 +45      ;;^UTILITY(U,$J,358.3,8306,2)
 +46      ;;=^5008737
 +47      ;;^UTILITY(U,$J,358.3,8307,0)
 +48      ;;=K57.80^^39^397^40
 +49      ;;^UTILITY(U,$J,358.3,8307,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,8307,1,3,0)
 +52      ;;=3^Diverticulitis of Intestine,Unspec w/ Perforation/Abscess w/o Bleeding
 +53      ;;^UTILITY(U,$J,358.3,8307,1,4,0)
 +54      ;;=4^K57.80
 +55      ;;^UTILITY(U,$J,358.3,8307,2)
 +56      ;;=^5008733
 +57      ;;^UTILITY(U,$J,358.3,8308,0)
 +58      ;;=K57.52^^39^397^45
 +59      ;;^UTILITY(U,$J,358.3,8308,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,8308,1,3,0)
 +62      ;;=3^Diverticulitis of Sm & Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +63      ;;^UTILITY(U,$J,358.3,8308,1,4,0)
 +64      ;;=4^K57.52
 +65      ;;^UTILITY(U,$J,358.3,8308,2)
 +66      ;;=^5008731
 +67      ;;^UTILITY(U,$J,358.3,8309,0)
 +68      ;;=K57.40^^39^397^44
 +69      ;;^UTILITY(U,$J,358.3,8309,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,8309,1,3,0)
 +72      ;;=3^Diverticulitis of Sm & Lg Intestine w/ Perforation/Abscess w/o Bleeding
 +73      ;;^UTILITY(U,$J,358.3,8309,1,4,0)
 +74      ;;=4^K57.40
 +75      ;;^UTILITY(U,$J,358.3,8309,2)
 +76      ;;=^5008727
 +77      ;;^UTILITY(U,$J,358.3,8310,0)
 +78      ;;=K57.32^^39^397^43
 +79      ;;^UTILITY(U,$J,358.3,8310,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,8310,1,3,0)
 +82      ;;=3^Diverticulitis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +83      ;;^UTILITY(U,$J,358.3,8310,1,4,0)
 +84      ;;=4^K57.32
 +85      ;;^UTILITY(U,$J,358.3,8310,2)
 +86      ;;=^5008725
 +87      ;;^UTILITY(U,$J,358.3,8311,0)
 +88      ;;=K59.00^^39^397^22
 +89      ;;^UTILITY(U,$J,358.3,8311,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,8311,1,3,0)
 +92      ;;=3^Constipation,Unspec
 +93      ;;^UTILITY(U,$J,358.3,8311,1,4,0)
 +94      ;;=4^K59.00
 +95      ;;^UTILITY(U,$J,358.3,8311,2)
 +96      ;;=^323537
 +97      ;;^UTILITY(U,$J,358.3,8312,0)
 +98      ;;=K58.9^^39^397^79
 +99      ;;^UTILITY(U,$J,358.3,8312,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,8312,1,3,0)
 +102     ;;=3^Irritable Bowel Syndrome w/o Diarrhea
 +103     ;;^UTILITY(U,$J,358.3,8312,1,4,0)
 +104     ;;=4^K58.9
 +105     ;;^UTILITY(U,$J,358.3,8312,2)
 +106     ;;=^5008740
 +107     ;;^UTILITY(U,$J,358.3,8313,0)
 +108     ;;=K58.0^^39^397^78
 +109     ;;^UTILITY(U,$J,358.3,8313,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,8313,1,3,0)
 +112     ;;=3^Irritable Bowel Syndrome w/ Diarrhea