IBDEI30Q ; ; 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,48199,2)
 ;;=^5133520
 ;;^UTILITY(U,$J,358.3,48200,0)
 ;;=H54.61^^185^2418^51
 ;;^UTILITY(U,$J,358.3,48200,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48200,1,3,0)
 ;;=3^Visual Loss Rt Eye,Normal Vision Lt Eye
 ;;^UTILITY(U,$J,358.3,48200,1,4,0)
 ;;=4^H54.61
 ;;^UTILITY(U,$J,358.3,48200,2)
 ;;=^5006367
 ;;^UTILITY(U,$J,358.3,48201,0)
 ;;=H54.3^^185^2418^49
 ;;^UTILITY(U,$J,358.3,48201,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48201,1,3,0)
 ;;=3^Visual Loss Both Eyes,Unqualified
 ;;^UTILITY(U,$J,358.3,48201,1,4,0)
 ;;=4^H54.3
 ;;^UTILITY(U,$J,358.3,48201,2)
 ;;=^268886
 ;;^UTILITY(U,$J,358.3,48202,0)
 ;;=H35.3110^^185^2418^38
 ;;^UTILITY(U,$J,358.3,48202,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48202,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Stage Unspec
 ;;^UTILITY(U,$J,358.3,48202,1,4,0)
 ;;=4^H35.3110
 ;;^UTILITY(U,$J,358.3,48202,2)
 ;;=^5138500
 ;;^UTILITY(U,$J,358.3,48203,0)
 ;;=H35.3111^^185^2418^39
 ;;^UTILITY(U,$J,358.3,48203,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48203,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Early Dry Stage
 ;;^UTILITY(U,$J,358.3,48203,1,4,0)
 ;;=4^H35.3111
 ;;^UTILITY(U,$J,358.3,48203,2)
 ;;=^5138501
 ;;^UTILITY(U,$J,358.3,48204,0)
 ;;=H35.3112^^185^2418^40
 ;;^UTILITY(U,$J,358.3,48204,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48204,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Intermed Dry Stage
 ;;^UTILITY(U,$J,358.3,48204,1,4,0)
 ;;=4^H35.3112
 ;;^UTILITY(U,$J,358.3,48204,2)
 ;;=^5138502
 ;;^UTILITY(U,$J,358.3,48205,0)
 ;;=H35.3120^^185^2418^35
 ;;^UTILITY(U,$J,358.3,48205,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48205,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Stage Unspec
 ;;^UTILITY(U,$J,358.3,48205,1,4,0)
 ;;=4^H35.3120
 ;;^UTILITY(U,$J,358.3,48205,2)
 ;;=^5138505
 ;;^UTILITY(U,$J,358.3,48206,0)
 ;;=H35.3121^^185^2418^36
 ;;^UTILITY(U,$J,358.3,48206,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48206,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Dry Stage
 ;;^UTILITY(U,$J,358.3,48206,1,4,0)
 ;;=4^H35.3121
 ;;^UTILITY(U,$J,358.3,48206,2)
 ;;=^5138506
 ;;^UTILITY(U,$J,358.3,48207,0)
 ;;=H35.3122^^185^2418^37
 ;;^UTILITY(U,$J,358.3,48207,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48207,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Intermed Dry Stage
 ;;^UTILITY(U,$J,358.3,48207,1,4,0)
 ;;=4^H35.3122
 ;;^UTILITY(U,$J,358.3,48207,2)
 ;;=^5138507
 ;;^UTILITY(U,$J,358.3,48208,0)
 ;;=H35.3130^^185^2418^32
 ;;^UTILITY(U,$J,358.3,48208,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48208,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Stage Unspec
 ;;^UTILITY(U,$J,358.3,48208,1,4,0)
 ;;=4^H35.3130
 ;;^UTILITY(U,$J,358.3,48208,2)
 ;;=^5138510
 ;;^UTILITY(U,$J,358.3,48209,0)
 ;;=H35.3131^^185^2418^33
 ;;^UTILITY(U,$J,358.3,48209,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48209,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Early Dry Stage
 ;;^UTILITY(U,$J,358.3,48209,1,4,0)
 ;;=4^H35.3131
 ;;^UTILITY(U,$J,358.3,48209,2)
 ;;=^5138511
 ;;^UTILITY(U,$J,358.3,48210,0)
 ;;=H35.3132^^185^2418^34
 ;;^UTILITY(U,$J,358.3,48210,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,48210,1,3,0)
 ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Intermed Dry Stage
 ;;^UTILITY(U,$J,358.3,48210,1,4,0)
 ;;=4^H35.3132
 ;;^UTILITY(U,$J,358.3,48210,2)
 ;;=^5138512
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI30Q   3744     printed  Sep 23, 2025@20:15:33                                                                                                                                                                                                    Page 2
IBDEI30Q  ; ; 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,48199,2)
 +2       ;;=^5133520
 +3       ;;^UTILITY(U,$J,358.3,48200,0)
 +4       ;;=H54.61^^185^2418^51
 +5       ;;^UTILITY(U,$J,358.3,48200,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,48200,1,3,0)
 +8       ;;=3^Visual Loss Rt Eye,Normal Vision Lt Eye
 +9       ;;^UTILITY(U,$J,358.3,48200,1,4,0)
 +10      ;;=4^H54.61
 +11      ;;^UTILITY(U,$J,358.3,48200,2)
 +12      ;;=^5006367
 +13      ;;^UTILITY(U,$J,358.3,48201,0)
 +14      ;;=H54.3^^185^2418^49
 +15      ;;^UTILITY(U,$J,358.3,48201,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,48201,1,3,0)
 +18      ;;=3^Visual Loss Both Eyes,Unqualified
 +19      ;;^UTILITY(U,$J,358.3,48201,1,4,0)
 +20      ;;=4^H54.3
 +21      ;;^UTILITY(U,$J,358.3,48201,2)
 +22      ;;=^268886
 +23      ;;^UTILITY(U,$J,358.3,48202,0)
 +24      ;;=H35.3110^^185^2418^38
 +25      ;;^UTILITY(U,$J,358.3,48202,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,48202,1,3,0)
 +28      ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Stage Unspec
 +29      ;;^UTILITY(U,$J,358.3,48202,1,4,0)
 +30      ;;=4^H35.3110
 +31      ;;^UTILITY(U,$J,358.3,48202,2)
 +32      ;;=^5138500
 +33      ;;^UTILITY(U,$J,358.3,48203,0)
 +34      ;;=H35.3111^^185^2418^39
 +35      ;;^UTILITY(U,$J,358.3,48203,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,48203,1,3,0)
 +38      ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Early Dry Stage
 +39      ;;^UTILITY(U,$J,358.3,48203,1,4,0)
 +40      ;;=4^H35.3111
 +41      ;;^UTILITY(U,$J,358.3,48203,2)
 +42      ;;=^5138501
 +43      ;;^UTILITY(U,$J,358.3,48204,0)
 +44      ;;=H35.3112^^185^2418^40
 +45      ;;^UTILITY(U,$J,358.3,48204,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,48204,1,3,0)
 +48      ;;=3^Nonexudative Age-Related Mclr Degn,Right Eye,Intermed Dry Stage
 +49      ;;^UTILITY(U,$J,358.3,48204,1,4,0)
 +50      ;;=4^H35.3112
 +51      ;;^UTILITY(U,$J,358.3,48204,2)
 +52      ;;=^5138502
 +53      ;;^UTILITY(U,$J,358.3,48205,0)
 +54      ;;=H35.3120^^185^2418^35
 +55      ;;^UTILITY(U,$J,358.3,48205,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,48205,1,3,0)
 +58      ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Stage Unspec
 +59      ;;^UTILITY(U,$J,358.3,48205,1,4,0)
 +60      ;;=4^H35.3120
 +61      ;;^UTILITY(U,$J,358.3,48205,2)
 +62      ;;=^5138505
 +63      ;;^UTILITY(U,$J,358.3,48206,0)
 +64      ;;=H35.3121^^185^2418^36
 +65      ;;^UTILITY(U,$J,358.3,48206,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,48206,1,3,0)
 +68      ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Dry Stage
 +69      ;;^UTILITY(U,$J,358.3,48206,1,4,0)
 +70      ;;=4^H35.3121
 +71      ;;^UTILITY(U,$J,358.3,48206,2)
 +72      ;;=^5138506
 +73      ;;^UTILITY(U,$J,358.3,48207,0)
 +74      ;;=H35.3122^^185^2418^37
 +75      ;;^UTILITY(U,$J,358.3,48207,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,48207,1,3,0)
 +78      ;;=3^Nonexudative Age-Related Mclr Degn,Left Eye,Intermed Dry Stage
 +79      ;;^UTILITY(U,$J,358.3,48207,1,4,0)
 +80      ;;=4^H35.3122
 +81      ;;^UTILITY(U,$J,358.3,48207,2)
 +82      ;;=^5138507
 +83      ;;^UTILITY(U,$J,358.3,48208,0)
 +84      ;;=H35.3130^^185^2418^32
 +85      ;;^UTILITY(U,$J,358.3,48208,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,48208,1,3,0)
 +88      ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Stage Unspec
 +89      ;;^UTILITY(U,$J,358.3,48208,1,4,0)
 +90      ;;=4^H35.3130
 +91      ;;^UTILITY(U,$J,358.3,48208,2)
 +92      ;;=^5138510
 +93      ;;^UTILITY(U,$J,358.3,48209,0)
 +94      ;;=H35.3131^^185^2418^33
 +95      ;;^UTILITY(U,$J,358.3,48209,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,48209,1,3,0)
 +98      ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Early Dry Stage
 +99      ;;^UTILITY(U,$J,358.3,48209,1,4,0)
 +100     ;;=4^H35.3131
 +101     ;;^UTILITY(U,$J,358.3,48209,2)
 +102     ;;=^5138511
 +103     ;;^UTILITY(U,$J,358.3,48210,0)
 +104     ;;=H35.3132^^185^2418^34
 +105     ;;^UTILITY(U,$J,358.3,48210,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,48210,1,3,0)
 +108     ;;=3^Nonexudative Age-Related Mclr Degn,Bilateral,Intermed Dry Stage
 +109     ;;^UTILITY(U,$J,358.3,48210,1,4,0)
 +110     ;;=4^H35.3132
 +111     ;;^UTILITY(U,$J,358.3,48210,2)
 +112     ;;=^5138512