IBDEI104 ; ; 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,16289,1,4,0)
 ;;=4^R19.5
 ;;^UTILITY(U,$J,358.3,16289,2)
 ;;=^5019274
 ;;^UTILITY(U,$J,358.3,16290,0)
 ;;=E53.8^^61^771^92
 ;;^UTILITY(U,$J,358.3,16290,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16290,1,3,0)
 ;;=3^Vitamin B12 Deficiency
 ;;^UTILITY(U,$J,358.3,16290,1,4,0)
 ;;=4^E53.8
 ;;^UTILITY(U,$J,358.3,16290,2)
 ;;=^5002797
 ;;^UTILITY(U,$J,358.3,16291,0)
 ;;=K59.04^^61^771^20
 ;;^UTILITY(U,$J,358.3,16291,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16291,1,3,0)
 ;;=3^Constipation,Chronic Idiopathic
 ;;^UTILITY(U,$J,358.3,16291,1,4,0)
 ;;=4^K59.04
 ;;^UTILITY(U,$J,358.3,16291,2)
 ;;=^7148177
 ;;^UTILITY(U,$J,358.3,16292,0)
 ;;=K59.03^^61^771^21
 ;;^UTILITY(U,$J,358.3,16292,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16292,1,3,0)
 ;;=3^Constipation,Drug Induced
 ;;^UTILITY(U,$J,358.3,16292,1,4,0)
 ;;=4^K59.03
 ;;^UTILITY(U,$J,358.3,16292,2)
 ;;=^5138744
 ;;^UTILITY(U,$J,358.3,16293,0)
 ;;=K52.21^^61^771^51
 ;;^UTILITY(U,$J,358.3,16293,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16293,1,3,0)
 ;;=3^Enterocolitis Synd Induced by Food Protein
 ;;^UTILITY(U,$J,358.3,16293,1,4,0)
 ;;=4^K52.21
 ;;^UTILITY(U,$J,358.3,16293,2)
 ;;=^5138713
 ;;^UTILITY(U,$J,358.3,16294,0)
 ;;=K52.22^^61^771^52
 ;;^UTILITY(U,$J,358.3,16294,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16294,1,3,0)
 ;;=3^Enterocolopathy Induced by Food Protein
 ;;^UTILITY(U,$J,358.3,16294,1,4,0)
 ;;=4^K52.22
 ;;^UTILITY(U,$J,358.3,16294,2)
 ;;=^5138714
 ;;^UTILITY(U,$J,358.3,16295,0)
 ;;=K58.2^^61^771^80
 ;;^UTILITY(U,$J,358.3,16295,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16295,1,3,0)
 ;;=3^Irritable Bowel Syndrome,Mixed
 ;;^UTILITY(U,$J,358.3,16295,1,4,0)
 ;;=4^K58.2
 ;;^UTILITY(U,$J,358.3,16295,2)
 ;;=^5138742
 ;;^UTILITY(U,$J,358.3,16296,0)
 ;;=K58.8^^61^771^81
 ;;^UTILITY(U,$J,358.3,16296,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16296,1,3,0)
 ;;=3^Irritable Bowel Syndrome,Other
 ;;^UTILITY(U,$J,358.3,16296,1,4,0)
 ;;=4^K58.8
 ;;^UTILITY(U,$J,358.3,16296,2)
 ;;=^5138743
 ;;^UTILITY(U,$J,358.3,16297,0)
 ;;=K58.1^^61^771^77
 ;;^UTILITY(U,$J,358.3,16297,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16297,1,3,0)
 ;;=3^Irritable Bowel Syndrome w/ Constipation
 ;;^UTILITY(U,$J,358.3,16297,1,4,0)
 ;;=4^K58.1
 ;;^UTILITY(U,$J,358.3,16297,2)
 ;;=^5138741
 ;;^UTILITY(U,$J,358.3,16298,0)
 ;;=K61.39^^61^771^5
 ;;^UTILITY(U,$J,358.3,16298,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16298,1,3,0)
 ;;=3^Abscess,Ischiorectal NOS
 ;;^UTILITY(U,$J,358.3,16298,1,4,0)
 ;;=4^K61.39
 ;;^UTILITY(U,$J,358.3,16298,2)
 ;;=^5157385
 ;;^UTILITY(U,$J,358.3,16299,0)
 ;;=G43.A1^^61^771^34
 ;;^UTILITY(U,$J,358.3,16299,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16299,1,3,0)
 ;;=3^Cyclical Vomiting,In Migraine,Intractable
 ;;^UTILITY(U,$J,358.3,16299,1,4,0)
 ;;=4^G43.A1
 ;;^UTILITY(U,$J,358.3,16299,2)
 ;;=^5003913
 ;;^UTILITY(U,$J,358.3,16300,0)
 ;;=G43.A0^^61^771^35
 ;;^UTILITY(U,$J,358.3,16300,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16300,1,3,0)
 ;;=3^Cyclical Vomiting,In Migraine,Not intractable
 ;;^UTILITY(U,$J,358.3,16300,1,4,0)
 ;;=4^G43.A0
 ;;^UTILITY(U,$J,358.3,16300,2)
 ;;=^5003912
 ;;^UTILITY(U,$J,358.3,16301,0)
 ;;=R11.15^^61^771^33
 ;;^UTILITY(U,$J,358.3,16301,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,16301,1,3,0)
 ;;=3^Cyclical Vomiting Syndrome,Unrelated to Migraine
 ;;^UTILITY(U,$J,358.3,16301,1,4,0)
 ;;=4^R11.15
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI104   3750     printed  Sep 23, 2025@19:35:08                                                                                                                                                                                                    Page 2
IBDEI104  ; ; 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,16289,1,4,0)
 +2       ;;=4^R19.5
 +3       ;;^UTILITY(U,$J,358.3,16289,2)
 +4       ;;=^5019274
 +5       ;;^UTILITY(U,$J,358.3,16290,0)
 +6       ;;=E53.8^^61^771^92
 +7       ;;^UTILITY(U,$J,358.3,16290,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,16290,1,3,0)
 +10      ;;=3^Vitamin B12 Deficiency
 +11      ;;^UTILITY(U,$J,358.3,16290,1,4,0)
 +12      ;;=4^E53.8
 +13      ;;^UTILITY(U,$J,358.3,16290,2)
 +14      ;;=^5002797
 +15      ;;^UTILITY(U,$J,358.3,16291,0)
 +16      ;;=K59.04^^61^771^20
 +17      ;;^UTILITY(U,$J,358.3,16291,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,16291,1,3,0)
 +20      ;;=3^Constipation,Chronic Idiopathic
 +21      ;;^UTILITY(U,$J,358.3,16291,1,4,0)
 +22      ;;=4^K59.04
 +23      ;;^UTILITY(U,$J,358.3,16291,2)
 +24      ;;=^7148177
 +25      ;;^UTILITY(U,$J,358.3,16292,0)
 +26      ;;=K59.03^^61^771^21
 +27      ;;^UTILITY(U,$J,358.3,16292,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,16292,1,3,0)
 +30      ;;=3^Constipation,Drug Induced
 +31      ;;^UTILITY(U,$J,358.3,16292,1,4,0)
 +32      ;;=4^K59.03
 +33      ;;^UTILITY(U,$J,358.3,16292,2)
 +34      ;;=^5138744
 +35      ;;^UTILITY(U,$J,358.3,16293,0)
 +36      ;;=K52.21^^61^771^51
 +37      ;;^UTILITY(U,$J,358.3,16293,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,16293,1,3,0)
 +40      ;;=3^Enterocolitis Synd Induced by Food Protein
 +41      ;;^UTILITY(U,$J,358.3,16293,1,4,0)
 +42      ;;=4^K52.21
 +43      ;;^UTILITY(U,$J,358.3,16293,2)
 +44      ;;=^5138713
 +45      ;;^UTILITY(U,$J,358.3,16294,0)
 +46      ;;=K52.22^^61^771^52
 +47      ;;^UTILITY(U,$J,358.3,16294,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,16294,1,3,0)
 +50      ;;=3^Enterocolopathy Induced by Food Protein
 +51      ;;^UTILITY(U,$J,358.3,16294,1,4,0)
 +52      ;;=4^K52.22
 +53      ;;^UTILITY(U,$J,358.3,16294,2)
 +54      ;;=^5138714
 +55      ;;^UTILITY(U,$J,358.3,16295,0)
 +56      ;;=K58.2^^61^771^80
 +57      ;;^UTILITY(U,$J,358.3,16295,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,16295,1,3,0)
 +60      ;;=3^Irritable Bowel Syndrome,Mixed
 +61      ;;^UTILITY(U,$J,358.3,16295,1,4,0)
 +62      ;;=4^K58.2
 +63      ;;^UTILITY(U,$J,358.3,16295,2)
 +64      ;;=^5138742
 +65      ;;^UTILITY(U,$J,358.3,16296,0)
 +66      ;;=K58.8^^61^771^81
 +67      ;;^UTILITY(U,$J,358.3,16296,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,16296,1,3,0)
 +70      ;;=3^Irritable Bowel Syndrome,Other
 +71      ;;^UTILITY(U,$J,358.3,16296,1,4,0)
 +72      ;;=4^K58.8
 +73      ;;^UTILITY(U,$J,358.3,16296,2)
 +74      ;;=^5138743
 +75      ;;^UTILITY(U,$J,358.3,16297,0)
 +76      ;;=K58.1^^61^771^77
 +77      ;;^UTILITY(U,$J,358.3,16297,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,16297,1,3,0)
 +80      ;;=3^Irritable Bowel Syndrome w/ Constipation
 +81      ;;^UTILITY(U,$J,358.3,16297,1,4,0)
 +82      ;;=4^K58.1
 +83      ;;^UTILITY(U,$J,358.3,16297,2)
 +84      ;;=^5138741
 +85      ;;^UTILITY(U,$J,358.3,16298,0)
 +86      ;;=K61.39^^61^771^5
 +87      ;;^UTILITY(U,$J,358.3,16298,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,16298,1,3,0)
 +90      ;;=3^Abscess,Ischiorectal NOS
 +91      ;;^UTILITY(U,$J,358.3,16298,1,4,0)
 +92      ;;=4^K61.39
 +93      ;;^UTILITY(U,$J,358.3,16298,2)
 +94      ;;=^5157385
 +95      ;;^UTILITY(U,$J,358.3,16299,0)
 +96      ;;=G43.A1^^61^771^34
 +97      ;;^UTILITY(U,$J,358.3,16299,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,16299,1,3,0)
 +100     ;;=3^Cyclical Vomiting,In Migraine,Intractable
 +101     ;;^UTILITY(U,$J,358.3,16299,1,4,0)
 +102     ;;=4^G43.A1
 +103     ;;^UTILITY(U,$J,358.3,16299,2)
 +104     ;;=^5003913
 +105     ;;^UTILITY(U,$J,358.3,16300,0)
 +106     ;;=G43.A0^^61^771^35
 +107     ;;^UTILITY(U,$J,358.3,16300,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,16300,1,3,0)
 +110     ;;=3^Cyclical Vomiting,In Migraine,Not intractable
 +111     ;;^UTILITY(U,$J,358.3,16300,1,4,0)
 +112     ;;=4^G43.A0
 +113     ;;^UTILITY(U,$J,358.3,16300,2)
 +114     ;;=^5003912
 +115     ;;^UTILITY(U,$J,358.3,16301,0)
 +116     ;;=R11.15^^61^771^33
 +117     ;;^UTILITY(U,$J,358.3,16301,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,16301,1,3,0)
 +120     ;;=3^Cyclical Vomiting Syndrome,Unrelated to Migraine
 +121     ;;^UTILITY(U,$J,358.3,16301,1,4,0)
 +122     ;;=4^R11.15