IBDEI3GG ; ; 19-NOV-2015
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
 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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E  S @X=Y
Q Q
 ;;^UTILITY(U,$J,358.3,58122,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Right Eye,Severe Stage
 ;;^UTILITY(U,$J,358.3,58122,1,4,0)
 ;;=4^H40.2213
 ;;^UTILITY(U,$J,358.3,58122,2)
 ;;=^5005825
 ;;^UTILITY(U,$J,358.3,58123,0)
 ;;=H40.2214^^272^2901^22
 ;;^UTILITY(U,$J,358.3,58123,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58123,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Right Eye,Indeterminate Stage
 ;;^UTILITY(U,$J,358.3,58123,1,4,0)
 ;;=4^H40.2214
 ;;^UTILITY(U,$J,358.3,58123,2)
 ;;=^5005826
 ;;^UTILITY(U,$J,358.3,58124,0)
 ;;=H40.2221^^272^2901^19
 ;;^UTILITY(U,$J,358.3,58124,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58124,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Mild Stage
 ;;^UTILITY(U,$J,358.3,58124,1,4,0)
 ;;=4^H40.2221
 ;;^UTILITY(U,$J,358.3,58124,2)
 ;;=^5005828
 ;;^UTILITY(U,$J,358.3,58125,0)
 ;;=H40.2222^^272^2901^20
 ;;^UTILITY(U,$J,358.3,58125,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58125,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Moderate Stage
 ;;^UTILITY(U,$J,358.3,58125,1,4,0)
 ;;=4^H40.2222
 ;;^UTILITY(U,$J,358.3,58125,2)
 ;;=^5005829
 ;;^UTILITY(U,$J,358.3,58126,0)
 ;;=H40.2223^^272^2901^21
 ;;^UTILITY(U,$J,358.3,58126,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58126,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Severe Stage
 ;;^UTILITY(U,$J,358.3,58126,1,4,0)
 ;;=4^H40.2223
 ;;^UTILITY(U,$J,358.3,58126,2)
 ;;=^5133501
 ;;^UTILITY(U,$J,358.3,58127,0)
 ;;=H40.2224^^272^2901^18
 ;;^UTILITY(U,$J,358.3,58127,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58127,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Indeterminate Stage
 ;;^UTILITY(U,$J,358.3,58127,1,4,0)
 ;;=4^H40.2224
 ;;^UTILITY(U,$J,358.3,58127,2)
 ;;=^5005830
 ;;^UTILITY(U,$J,358.3,58128,0)
 ;;=H40.2231^^272^2901^15
 ;;^UTILITY(U,$J,358.3,58128,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58128,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Mild Stage
 ;;^UTILITY(U,$J,358.3,58128,1,4,0)
 ;;=4^H40.2231
 ;;^UTILITY(U,$J,358.3,58128,2)
 ;;=^5005832
 ;;^UTILITY(U,$J,358.3,58129,0)
 ;;=H40.2232^^272^2901^16
 ;;^UTILITY(U,$J,358.3,58129,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58129,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Moderate Stage
 ;;^UTILITY(U,$J,358.3,58129,1,4,0)
 ;;=4^H40.2232
 ;;^UTILITY(U,$J,358.3,58129,2)
 ;;=^5005833
 ;;^UTILITY(U,$J,358.3,58130,0)
 ;;=H40.2233^^272^2901^17
 ;;^UTILITY(U,$J,358.3,58130,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58130,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Severe Stage
 ;;^UTILITY(U,$J,358.3,58130,1,4,0)
 ;;=4^H40.2233
 ;;^UTILITY(U,$J,358.3,58130,2)
 ;;=^5005834
 ;;^UTILITY(U,$J,358.3,58131,0)
 ;;=H40.2234^^272^2901^14
 ;;^UTILITY(U,$J,358.3,58131,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58131,1,3,0)
 ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Indeterminate Stage
 ;;^UTILITY(U,$J,358.3,58131,1,4,0)
 ;;=4^H40.2234
 ;;^UTILITY(U,$J,358.3,58131,2)
 ;;=^5005835
 ;;^UTILITY(U,$J,358.3,58132,0)
 ;;=H40.241^^272^2901^115
 ;;^UTILITY(U,$J,358.3,58132,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58132,1,3,0)
 ;;=3^Residual Stage Angle-Closure Glaucoma,Right Eye
 ;;^UTILITY(U,$J,358.3,58132,1,4,0)
 ;;=4^H40.241
 ;;^UTILITY(U,$J,358.3,58132,2)
 ;;=^5005843
 ;;^UTILITY(U,$J,358.3,58133,0)
 ;;=H40.242^^272^2901^114
 ;;^UTILITY(U,$J,358.3,58133,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58133,1,3,0)
 ;;=3^Residual Stage Angle-Closure Glaucoma,Left Eye
 ;;^UTILITY(U,$J,358.3,58133,1,4,0)
 ;;=4^H40.242
 ;;^UTILITY(U,$J,358.3,58133,2)
 ;;=^5005844
 ;;^UTILITY(U,$J,358.3,58134,0)
 ;;=H40.61X0^^272^2901^43
 ;;^UTILITY(U,$J,358.3,58134,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3GG   3961     printed  Sep 23, 2025@20:24:20                                                                                                                                                                                                    Page 2
IBDEI3GG  ; ; 19-NOV-2015
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
 +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,99)
               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,58122,1,3,0)
 +2       ;;=3^Chr Angle-Closure Glaucoma,Right Eye,Severe Stage
 +3       ;;^UTILITY(U,$J,358.3,58122,1,4,0)
 +4       ;;=4^H40.2213
 +5       ;;^UTILITY(U,$J,358.3,58122,2)
 +6       ;;=^5005825
 +7       ;;^UTILITY(U,$J,358.3,58123,0)
 +8       ;;=H40.2214^^272^2901^22
 +9       ;;^UTILITY(U,$J,358.3,58123,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,58123,1,3,0)
 +12      ;;=3^Chr Angle-Closure Glaucoma,Right Eye,Indeterminate Stage
 +13      ;;^UTILITY(U,$J,358.3,58123,1,4,0)
 +14      ;;=4^H40.2214
 +15      ;;^UTILITY(U,$J,358.3,58123,2)
 +16      ;;=^5005826
 +17      ;;^UTILITY(U,$J,358.3,58124,0)
 +18      ;;=H40.2221^^272^2901^19
 +19      ;;^UTILITY(U,$J,358.3,58124,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,58124,1,3,0)
 +22      ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Mild Stage
 +23      ;;^UTILITY(U,$J,358.3,58124,1,4,0)
 +24      ;;=4^H40.2221
 +25      ;;^UTILITY(U,$J,358.3,58124,2)
 +26      ;;=^5005828
 +27      ;;^UTILITY(U,$J,358.3,58125,0)
 +28      ;;=H40.2222^^272^2901^20
 +29      ;;^UTILITY(U,$J,358.3,58125,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,58125,1,3,0)
 +32      ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Moderate Stage
 +33      ;;^UTILITY(U,$J,358.3,58125,1,4,0)
 +34      ;;=4^H40.2222
 +35      ;;^UTILITY(U,$J,358.3,58125,2)
 +36      ;;=^5005829
 +37      ;;^UTILITY(U,$J,358.3,58126,0)
 +38      ;;=H40.2223^^272^2901^21
 +39      ;;^UTILITY(U,$J,358.3,58126,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,58126,1,3,0)
 +42      ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Severe Stage
 +43      ;;^UTILITY(U,$J,358.3,58126,1,4,0)
 +44      ;;=4^H40.2223
 +45      ;;^UTILITY(U,$J,358.3,58126,2)
 +46      ;;=^5133501
 +47      ;;^UTILITY(U,$J,358.3,58127,0)
 +48      ;;=H40.2224^^272^2901^18
 +49      ;;^UTILITY(U,$J,358.3,58127,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,58127,1,3,0)
 +52      ;;=3^Chr Angle-Closure Glaucoma,Left Eye,Indeterminate Stage
 +53      ;;^UTILITY(U,$J,358.3,58127,1,4,0)
 +54      ;;=4^H40.2224
 +55      ;;^UTILITY(U,$J,358.3,58127,2)
 +56      ;;=^5005830
 +57      ;;^UTILITY(U,$J,358.3,58128,0)
 +58      ;;=H40.2231^^272^2901^15
 +59      ;;^UTILITY(U,$J,358.3,58128,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,58128,1,3,0)
 +62      ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Mild Stage
 +63      ;;^UTILITY(U,$J,358.3,58128,1,4,0)
 +64      ;;=4^H40.2231
 +65      ;;^UTILITY(U,$J,358.3,58128,2)
 +66      ;;=^5005832
 +67      ;;^UTILITY(U,$J,358.3,58129,0)
 +68      ;;=H40.2232^^272^2901^16
 +69      ;;^UTILITY(U,$J,358.3,58129,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,58129,1,3,0)
 +72      ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Moderate Stage
 +73      ;;^UTILITY(U,$J,358.3,58129,1,4,0)
 +74      ;;=4^H40.2232
 +75      ;;^UTILITY(U,$J,358.3,58129,2)
 +76      ;;=^5005833
 +77      ;;^UTILITY(U,$J,358.3,58130,0)
 +78      ;;=H40.2233^^272^2901^17
 +79      ;;^UTILITY(U,$J,358.3,58130,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,58130,1,3,0)
 +82      ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Severe Stage
 +83      ;;^UTILITY(U,$J,358.3,58130,1,4,0)
 +84      ;;=4^H40.2233
 +85      ;;^UTILITY(U,$J,358.3,58130,2)
 +86      ;;=^5005834
 +87      ;;^UTILITY(U,$J,358.3,58131,0)
 +88      ;;=H40.2234^^272^2901^14
 +89      ;;^UTILITY(U,$J,358.3,58131,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,58131,1,3,0)
 +92      ;;=3^Chr Angle-Closure Glaucoma,Bilateral,Indeterminate Stage
 +93      ;;^UTILITY(U,$J,358.3,58131,1,4,0)
 +94      ;;=4^H40.2234
 +95      ;;^UTILITY(U,$J,358.3,58131,2)
 +96      ;;=^5005835
 +97      ;;^UTILITY(U,$J,358.3,58132,0)
 +98      ;;=H40.241^^272^2901^115
 +99      ;;^UTILITY(U,$J,358.3,58132,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,58132,1,3,0)
 +102     ;;=3^Residual Stage Angle-Closure Glaucoma,Right Eye
 +103     ;;^UTILITY(U,$J,358.3,58132,1,4,0)
 +104     ;;=4^H40.241
 +105     ;;^UTILITY(U,$J,358.3,58132,2)
 +106     ;;=^5005843
 +107     ;;^UTILITY(U,$J,358.3,58133,0)
 +108     ;;=H40.242^^272^2901^114
 +109     ;;^UTILITY(U,$J,358.3,58133,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,58133,1,3,0)
 +112     ;;=3^Residual Stage Angle-Closure Glaucoma,Left Eye
 +113     ;;^UTILITY(U,$J,358.3,58133,1,4,0)
 +114     ;;=4^H40.242
 +115     ;;^UTILITY(U,$J,358.3,58133,2)
 +116     ;;=^5005844
 +117     ;;^UTILITY(U,$J,358.3,58134,0)
 +118     ;;=H40.61X0^^272^2901^43
 +119     ;;^UTILITY(U,$J,358.3,58134,1,0)
 +120     ;;=^358.31IA^4^2