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