IBDEI0ZZ ; ; 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,16229,1,4,0)
 ;;=4^D12.5
 ;;^UTILITY(U,$J,358.3,16229,2)
 ;;=^5001968
 ;;^UTILITY(U,$J,358.3,16230,0)
 ;;=D12.4^^61^771^14
 ;;^UTILITY(U,$J,358.3,16230,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16230,1,3,0)
 ;;=3^Benign Neop of Descending Colon
 ;;^UTILITY(U,$J,358.3,16230,1,4,0)
 ;;=4^D12.4
 ;;^UTILITY(U,$J,358.3,16230,2)
 ;;=^5001967
 ;;^UTILITY(U,$J,358.3,16231,0)
 ;;=D73.2^^61^771^19
 ;;^UTILITY(U,$J,358.3,16231,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16231,1,3,0)
 ;;=3^Congestive Splenomegaly,Chronic
 ;;^UTILITY(U,$J,358.3,16231,1,4,0)
 ;;=4^D73.2
 ;;^UTILITY(U,$J,358.3,16231,2)
 ;;=^268000
 ;;^UTILITY(U,$J,358.3,16232,0)
 ;;=I85.00^^61^771^53
 ;;^UTILITY(U,$J,358.3,16232,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16232,1,3,0)
 ;;=3^Esophageal Varices w/o Bleeding
 ;;^UTILITY(U,$J,358.3,16232,1,4,0)
 ;;=4^I85.00
 ;;^UTILITY(U,$J,358.3,16232,2)
 ;;=^5008023
 ;;^UTILITY(U,$J,358.3,16233,0)
 ;;=K21.9^^61^771^63
 ;;^UTILITY(U,$J,358.3,16233,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16233,1,3,0)
 ;;=3^Gastroesophageal Reflux Disease w/o Esophagitis
 ;;^UTILITY(U,$J,358.3,16233,1,4,0)
 ;;=4^K21.9
 ;;^UTILITY(U,$J,358.3,16233,2)
 ;;=^5008505
 ;;^UTILITY(U,$J,358.3,16234,0)
 ;;=K25.7^^61^771^58
 ;;^UTILITY(U,$J,358.3,16234,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16234,1,3,0)
 ;;=3^Gastric Ulcer w/o Hemorrhage/Perforation,Chronic
 ;;^UTILITY(U,$J,358.3,16234,1,4,0)
 ;;=4^K25.7
 ;;^UTILITY(U,$J,358.3,16234,2)
 ;;=^5008521
 ;;^UTILITY(U,$J,358.3,16235,0)
 ;;=K26.9^^61^771^49
 ;;^UTILITY(U,$J,358.3,16235,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16235,1,3,0)
 ;;=3^Duadenal Ulcer w/o Hemorrhage/Perforation,Unspec
 ;;^UTILITY(U,$J,358.3,16235,1,4,0)
 ;;=4^K26.9
 ;;^UTILITY(U,$J,358.3,16235,2)
 ;;=^5008527
 ;;^UTILITY(U,$J,358.3,16236,0)
 ;;=K27.9^^61^771^83
 ;;^UTILITY(U,$J,358.3,16236,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16236,1,3,0)
 ;;=3^Peptic Ulcer w/o Hemorrhage/Perforation,Unspec
 ;;^UTILITY(U,$J,358.3,16236,1,4,0)
 ;;=4^K27.9
 ;;^UTILITY(U,$J,358.3,16236,2)
 ;;=^5008536
 ;;^UTILITY(U,$J,358.3,16237,0)
 ;;=K29.70^^61^771^59
 ;;^UTILITY(U,$J,358.3,16237,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16237,1,3,0)
 ;;=3^Gastritis w/o Bleeding,Unspec
 ;;^UTILITY(U,$J,358.3,16237,1,4,0)
 ;;=4^K29.70
 ;;^UTILITY(U,$J,358.3,16237,2)
 ;;=^5008552
 ;;^UTILITY(U,$J,358.3,16238,0)
 ;;=K29.90^^61^771^60
 ;;^UTILITY(U,$J,358.3,16238,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16238,1,3,0)
 ;;=3^Gastroduodenitis w/o Bleeding,Unspec
 ;;^UTILITY(U,$J,358.3,16238,1,4,0)
 ;;=4^K29.90
 ;;^UTILITY(U,$J,358.3,16238,2)
 ;;=^5008556
 ;;^UTILITY(U,$J,358.3,16239,0)
 ;;=K30.^^61^771^50
 ;;^UTILITY(U,$J,358.3,16239,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16239,1,3,0)
 ;;=3^Dyspepsia,Functional
 ;;^UTILITY(U,$J,358.3,16239,1,4,0)
 ;;=4^K30.
 ;;^UTILITY(U,$J,358.3,16239,2)
 ;;=^5008558
 ;;^UTILITY(U,$J,358.3,16240,0)
 ;;=K31.89^^61^771^39
 ;;^UTILITY(U,$J,358.3,16240,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16240,1,3,0)
 ;;=3^Diseases of Stomach & Duodenum,Other
 ;;^UTILITY(U,$J,358.3,16240,1,4,0)
 ;;=4^K31.89
 ;;^UTILITY(U,$J,358.3,16240,2)
 ;;=^5008569
 ;;^UTILITY(U,$J,358.3,16241,0)
 ;;=K31.9^^61^771^38
 ;;^UTILITY(U,$J,358.3,16241,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16241,1,3,0)
 ;;=3^Disease of Stomach & Duodenum,Unspec
 ;;^UTILITY(U,$J,358.3,16241,1,4,0)
 ;;=4^K31.9
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0ZZ   3762     printed  Sep 23, 2025@19:35:03                                                                                                                                                                                                    Page 2
IBDEI0ZZ  ; ; 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,16229,1,4,0)
 +2       ;;=4^D12.5
 +3       ;;^UTILITY(U,$J,358.3,16229,2)
 +4       ;;=^5001968
 +5       ;;^UTILITY(U,$J,358.3,16230,0)
 +6       ;;=D12.4^^61^771^14
 +7       ;;^UTILITY(U,$J,358.3,16230,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,16230,1,3,0)
 +10      ;;=3^Benign Neop of Descending Colon
 +11      ;;^UTILITY(U,$J,358.3,16230,1,4,0)
 +12      ;;=4^D12.4
 +13      ;;^UTILITY(U,$J,358.3,16230,2)
 +14      ;;=^5001967
 +15      ;;^UTILITY(U,$J,358.3,16231,0)
 +16      ;;=D73.2^^61^771^19
 +17      ;;^UTILITY(U,$J,358.3,16231,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,16231,1,3,0)
 +20      ;;=3^Congestive Splenomegaly,Chronic
 +21      ;;^UTILITY(U,$J,358.3,16231,1,4,0)
 +22      ;;=4^D73.2
 +23      ;;^UTILITY(U,$J,358.3,16231,2)
 +24      ;;=^268000
 +25      ;;^UTILITY(U,$J,358.3,16232,0)
 +26      ;;=I85.00^^61^771^53
 +27      ;;^UTILITY(U,$J,358.3,16232,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,16232,1,3,0)
 +30      ;;=3^Esophageal Varices w/o Bleeding
 +31      ;;^UTILITY(U,$J,358.3,16232,1,4,0)
 +32      ;;=4^I85.00
 +33      ;;^UTILITY(U,$J,358.3,16232,2)
 +34      ;;=^5008023
 +35      ;;^UTILITY(U,$J,358.3,16233,0)
 +36      ;;=K21.9^^61^771^63
 +37      ;;^UTILITY(U,$J,358.3,16233,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,16233,1,3,0)
 +40      ;;=3^Gastroesophageal Reflux Disease w/o Esophagitis
 +41      ;;^UTILITY(U,$J,358.3,16233,1,4,0)
 +42      ;;=4^K21.9
 +43      ;;^UTILITY(U,$J,358.3,16233,2)
 +44      ;;=^5008505
 +45      ;;^UTILITY(U,$J,358.3,16234,0)
 +46      ;;=K25.7^^61^771^58
 +47      ;;^UTILITY(U,$J,358.3,16234,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,16234,1,3,0)
 +50      ;;=3^Gastric Ulcer w/o Hemorrhage/Perforation,Chronic
 +51      ;;^UTILITY(U,$J,358.3,16234,1,4,0)
 +52      ;;=4^K25.7
 +53      ;;^UTILITY(U,$J,358.3,16234,2)
 +54      ;;=^5008521
 +55      ;;^UTILITY(U,$J,358.3,16235,0)
 +56      ;;=K26.9^^61^771^49
 +57      ;;^UTILITY(U,$J,358.3,16235,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,16235,1,3,0)
 +60      ;;=3^Duadenal Ulcer w/o Hemorrhage/Perforation,Unspec
 +61      ;;^UTILITY(U,$J,358.3,16235,1,4,0)
 +62      ;;=4^K26.9
 +63      ;;^UTILITY(U,$J,358.3,16235,2)
 +64      ;;=^5008527
 +65      ;;^UTILITY(U,$J,358.3,16236,0)
 +66      ;;=K27.9^^61^771^83
 +67      ;;^UTILITY(U,$J,358.3,16236,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,16236,1,3,0)
 +70      ;;=3^Peptic Ulcer w/o Hemorrhage/Perforation,Unspec
 +71      ;;^UTILITY(U,$J,358.3,16236,1,4,0)
 +72      ;;=4^K27.9
 +73      ;;^UTILITY(U,$J,358.3,16236,2)
 +74      ;;=^5008536
 +75      ;;^UTILITY(U,$J,358.3,16237,0)
 +76      ;;=K29.70^^61^771^59
 +77      ;;^UTILITY(U,$J,358.3,16237,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,16237,1,3,0)
 +80      ;;=3^Gastritis w/o Bleeding,Unspec
 +81      ;;^UTILITY(U,$J,358.3,16237,1,4,0)
 +82      ;;=4^K29.70
 +83      ;;^UTILITY(U,$J,358.3,16237,2)
 +84      ;;=^5008552
 +85      ;;^UTILITY(U,$J,358.3,16238,0)
 +86      ;;=K29.90^^61^771^60
 +87      ;;^UTILITY(U,$J,358.3,16238,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,16238,1,3,0)
 +90      ;;=3^Gastroduodenitis w/o Bleeding,Unspec
 +91      ;;^UTILITY(U,$J,358.3,16238,1,4,0)
 +92      ;;=4^K29.90
 +93      ;;^UTILITY(U,$J,358.3,16238,2)
 +94      ;;=^5008556
 +95      ;;^UTILITY(U,$J,358.3,16239,0)
 +96      ;;=K30.^^61^771^50
 +97      ;;^UTILITY(U,$J,358.3,16239,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,16239,1,3,0)
 +100     ;;=3^Dyspepsia,Functional
 +101     ;;^UTILITY(U,$J,358.3,16239,1,4,0)
 +102     ;;=4^K30.
 +103     ;;^UTILITY(U,$J,358.3,16239,2)
 +104     ;;=^5008558
 +105     ;;^UTILITY(U,$J,358.3,16240,0)
 +106     ;;=K31.89^^61^771^39
 +107     ;;^UTILITY(U,$J,358.3,16240,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,16240,1,3,0)
 +110     ;;=3^Diseases of Stomach & Duodenum,Other
 +111     ;;^UTILITY(U,$J,358.3,16240,1,4,0)
 +112     ;;=4^K31.89
 +113     ;;^UTILITY(U,$J,358.3,16240,2)
 +114     ;;=^5008569
 +115     ;;^UTILITY(U,$J,358.3,16241,0)
 +116     ;;=K31.9^^61^771^38
 +117     ;;^UTILITY(U,$J,358.3,16241,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,16241,1,3,0)
 +120     ;;=3^Disease of Stomach & Duodenum,Unspec
 +121     ;;^UTILITY(U,$J,358.3,16241,1,4,0)
 +122     ;;=4^K31.9