IBDEI2GT ; ; 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,39366,1,4,0)
 ;;=4^K57.20
 ;;^UTILITY(U,$J,358.3,39366,2)
 ;;=^5008721
 ;;^UTILITY(U,$J,358.3,39367,0)
 ;;=K57.92^^152^1996^41
 ;;^UTILITY(U,$J,358.3,39367,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39367,1,3,0)
 ;;=3^Diverticulitis of Intestine,Unspec w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,39367,1,4,0)
 ;;=4^K57.92
 ;;^UTILITY(U,$J,358.3,39367,2)
 ;;=^5008737
 ;;^UTILITY(U,$J,358.3,39368,0)
 ;;=K57.80^^152^1996^40
 ;;^UTILITY(U,$J,358.3,39368,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39368,1,3,0)
 ;;=3^Diverticulitis of Intestine,Unspec w/ Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,39368,1,4,0)
 ;;=4^K57.80
 ;;^UTILITY(U,$J,358.3,39368,2)
 ;;=^5008733
 ;;^UTILITY(U,$J,358.3,39369,0)
 ;;=K57.52^^152^1996^45
 ;;^UTILITY(U,$J,358.3,39369,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39369,1,3,0)
 ;;=3^Diverticulitis of Sm & Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,39369,1,4,0)
 ;;=4^K57.52
 ;;^UTILITY(U,$J,358.3,39369,2)
 ;;=^5008731
 ;;^UTILITY(U,$J,358.3,39370,0)
 ;;=K57.40^^152^1996^44
 ;;^UTILITY(U,$J,358.3,39370,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39370,1,3,0)
 ;;=3^Diverticulitis of Sm & Lg Intestine w/ Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,39370,1,4,0)
 ;;=4^K57.40
 ;;^UTILITY(U,$J,358.3,39370,2)
 ;;=^5008727
 ;;^UTILITY(U,$J,358.3,39371,0)
 ;;=K57.32^^152^1996^43
 ;;^UTILITY(U,$J,358.3,39371,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39371,1,3,0)
 ;;=3^Diverticulitis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 ;;^UTILITY(U,$J,358.3,39371,1,4,0)
 ;;=4^K57.32
 ;;^UTILITY(U,$J,358.3,39371,2)
 ;;=^5008725
 ;;^UTILITY(U,$J,358.3,39372,0)
 ;;=K59.00^^152^1996^22
 ;;^UTILITY(U,$J,358.3,39372,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39372,1,3,0)
 ;;=3^Constipation,Unspec
 ;;^UTILITY(U,$J,358.3,39372,1,4,0)
 ;;=4^K59.00
 ;;^UTILITY(U,$J,358.3,39372,2)
 ;;=^323537
 ;;^UTILITY(U,$J,358.3,39373,0)
 ;;=K58.9^^152^1996^78
 ;;^UTILITY(U,$J,358.3,39373,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39373,1,3,0)
 ;;=3^Irritable Bowel Syndrome w/o Diarrhea
 ;;^UTILITY(U,$J,358.3,39373,1,4,0)
 ;;=4^K58.9
 ;;^UTILITY(U,$J,358.3,39373,2)
 ;;=^5008740
 ;;^UTILITY(U,$J,358.3,39374,0)
 ;;=K58.0^^152^1996^77
 ;;^UTILITY(U,$J,358.3,39374,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39374,1,3,0)
 ;;=3^Irritable Bowel Syndrome w/ Diarrhea
 ;;^UTILITY(U,$J,358.3,39374,1,4,0)
 ;;=4^K58.0
 ;;^UTILITY(U,$J,358.3,39374,2)
 ;;=^5008739
 ;;^UTILITY(U,$J,358.3,39375,0)
 ;;=K59.1^^152^1996^37
 ;;^UTILITY(U,$J,358.3,39375,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39375,1,3,0)
 ;;=3^Diarrhea,Functional
 ;;^UTILITY(U,$J,358.3,39375,1,4,0)
 ;;=4^K59.1
 ;;^UTILITY(U,$J,358.3,39375,2)
 ;;=^270281
 ;;^UTILITY(U,$J,358.3,39376,0)
 ;;=K61.4^^152^1996^4
 ;;^UTILITY(U,$J,358.3,39376,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39376,1,3,0)
 ;;=3^Abscess,Intrasphincteric
 ;;^UTILITY(U,$J,358.3,39376,1,4,0)
 ;;=4^K61.4
 ;;^UTILITY(U,$J,358.3,39376,2)
 ;;=^5008752
 ;;^UTILITY(U,$J,358.3,39377,0)
 ;;=K61.0^^152^1996^2
 ;;^UTILITY(U,$J,358.3,39377,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,39377,1,3,0)
 ;;=3^Abscess,Anal
 ;;^UTILITY(U,$J,358.3,39377,1,4,0)
 ;;=4^K61.0
 ;;^UTILITY(U,$J,358.3,39377,2)
 ;;=^5008749
 ;;^UTILITY(U,$J,358.3,39378,0)
 ;;=K61.1^^152^1996^6
 ;;^UTILITY(U,$J,358.3,39378,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2GT   3753     printed  Sep 23, 2025@20:04:29                                                                                                                                                                                                    Page 2
IBDEI2GT  ; ; 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,39366,1,4,0)
 +2       ;;=4^K57.20
 +3       ;;^UTILITY(U,$J,358.3,39366,2)
 +4       ;;=^5008721
 +5       ;;^UTILITY(U,$J,358.3,39367,0)
 +6       ;;=K57.92^^152^1996^41
 +7       ;;^UTILITY(U,$J,358.3,39367,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,39367,1,3,0)
 +10      ;;=3^Diverticulitis of Intestine,Unspec w/o Perforation/Abscess w/o Bleeding
 +11      ;;^UTILITY(U,$J,358.3,39367,1,4,0)
 +12      ;;=4^K57.92
 +13      ;;^UTILITY(U,$J,358.3,39367,2)
 +14      ;;=^5008737
 +15      ;;^UTILITY(U,$J,358.3,39368,0)
 +16      ;;=K57.80^^152^1996^40
 +17      ;;^UTILITY(U,$J,358.3,39368,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,39368,1,3,0)
 +20      ;;=3^Diverticulitis of Intestine,Unspec w/ Perforation/Abscess w/o Bleeding
 +21      ;;^UTILITY(U,$J,358.3,39368,1,4,0)
 +22      ;;=4^K57.80
 +23      ;;^UTILITY(U,$J,358.3,39368,2)
 +24      ;;=^5008733
 +25      ;;^UTILITY(U,$J,358.3,39369,0)
 +26      ;;=K57.52^^152^1996^45
 +27      ;;^UTILITY(U,$J,358.3,39369,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,39369,1,3,0)
 +30      ;;=3^Diverticulitis of Sm & Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +31      ;;^UTILITY(U,$J,358.3,39369,1,4,0)
 +32      ;;=4^K57.52
 +33      ;;^UTILITY(U,$J,358.3,39369,2)
 +34      ;;=^5008731
 +35      ;;^UTILITY(U,$J,358.3,39370,0)
 +36      ;;=K57.40^^152^1996^44
 +37      ;;^UTILITY(U,$J,358.3,39370,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,39370,1,3,0)
 +40      ;;=3^Diverticulitis of Sm & Lg Intestine w/ Perforation/Abscess w/o Bleeding
 +41      ;;^UTILITY(U,$J,358.3,39370,1,4,0)
 +42      ;;=4^K57.40
 +43      ;;^UTILITY(U,$J,358.3,39370,2)
 +44      ;;=^5008727
 +45      ;;^UTILITY(U,$J,358.3,39371,0)
 +46      ;;=K57.32^^152^1996^43
 +47      ;;^UTILITY(U,$J,358.3,39371,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,39371,1,3,0)
 +50      ;;=3^Diverticulitis of Lg Intestine w/o Perforation/Abscess w/o Bleeding
 +51      ;;^UTILITY(U,$J,358.3,39371,1,4,0)
 +52      ;;=4^K57.32
 +53      ;;^UTILITY(U,$J,358.3,39371,2)
 +54      ;;=^5008725
 +55      ;;^UTILITY(U,$J,358.3,39372,0)
 +56      ;;=K59.00^^152^1996^22
 +57      ;;^UTILITY(U,$J,358.3,39372,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,39372,1,3,0)
 +60      ;;=3^Constipation,Unspec
 +61      ;;^UTILITY(U,$J,358.3,39372,1,4,0)
 +62      ;;=4^K59.00
 +63      ;;^UTILITY(U,$J,358.3,39372,2)
 +64      ;;=^323537
 +65      ;;^UTILITY(U,$J,358.3,39373,0)
 +66      ;;=K58.9^^152^1996^78
 +67      ;;^UTILITY(U,$J,358.3,39373,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,39373,1,3,0)
 +70      ;;=3^Irritable Bowel Syndrome w/o Diarrhea
 +71      ;;^UTILITY(U,$J,358.3,39373,1,4,0)
 +72      ;;=4^K58.9
 +73      ;;^UTILITY(U,$J,358.3,39373,2)
 +74      ;;=^5008740
 +75      ;;^UTILITY(U,$J,358.3,39374,0)
 +76      ;;=K58.0^^152^1996^77
 +77      ;;^UTILITY(U,$J,358.3,39374,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,39374,1,3,0)
 +80      ;;=3^Irritable Bowel Syndrome w/ Diarrhea
 +81      ;;^UTILITY(U,$J,358.3,39374,1,4,0)
 +82      ;;=4^K58.0
 +83      ;;^UTILITY(U,$J,358.3,39374,2)
 +84      ;;=^5008739
 +85      ;;^UTILITY(U,$J,358.3,39375,0)
 +86      ;;=K59.1^^152^1996^37
 +87      ;;^UTILITY(U,$J,358.3,39375,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,39375,1,3,0)
 +90      ;;=3^Diarrhea,Functional
 +91      ;;^UTILITY(U,$J,358.3,39375,1,4,0)
 +92      ;;=4^K59.1
 +93      ;;^UTILITY(U,$J,358.3,39375,2)
 +94      ;;=^270281
 +95      ;;^UTILITY(U,$J,358.3,39376,0)
 +96      ;;=K61.4^^152^1996^4
 +97      ;;^UTILITY(U,$J,358.3,39376,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,39376,1,3,0)
 +100     ;;=3^Abscess,Intrasphincteric
 +101     ;;^UTILITY(U,$J,358.3,39376,1,4,0)
 +102     ;;=4^K61.4
 +103     ;;^UTILITY(U,$J,358.3,39376,2)
 +104     ;;=^5008752
 +105     ;;^UTILITY(U,$J,358.3,39377,0)
 +106     ;;=K61.0^^152^1996^2
 +107     ;;^UTILITY(U,$J,358.3,39377,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,39377,1,3,0)
 +110     ;;=3^Abscess,Anal
 +111     ;;^UTILITY(U,$J,358.3,39377,1,4,0)
 +112     ;;=4^K61.0
 +113     ;;^UTILITY(U,$J,358.3,39377,2)
 +114     ;;=^5008749
 +115     ;;^UTILITY(U,$J,358.3,39378,0)
 +116     ;;=K61.1^^152^1996^6
 +117     ;;^UTILITY(U,$J,358.3,39378,1,0)
 +118     ;;=^358.31IA^4^2