IBDEI0SI ; ; 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,12830,1,4,0)
 ;;=4^H02.206
 ;;^UTILITY(U,$J,358.3,12830,2)
 ;;=^5004331
 ;;^UTILITY(U,$J,358.3,12831,0)
 ;;=H02.9^^51^621^31
 ;;^UTILITY(U,$J,358.3,12831,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12831,1,3,0)
 ;;=3^Unspec Disorder of Eyelid
 ;;^UTILITY(U,$J,358.3,12831,1,4,0)
 ;;=4^H02.9
 ;;^UTILITY(U,$J,358.3,12831,2)
 ;;=^123836
 ;;^UTILITY(U,$J,358.3,12832,0)
 ;;=H02.60^^51^621^32
 ;;^UTILITY(U,$J,358.3,12832,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12832,1,3,0)
 ;;=3^Xanthelasma,Unspec Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12832,1,4,0)
 ;;=4^H02.60
 ;;^UTILITY(U,$J,358.3,12832,2)
 ;;=^5004385
 ;;^UTILITY(U,$J,358.3,12833,0)
 ;;=H00.023^^51^621^21
 ;;^UTILITY(U,$J,358.3,12833,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12833,1,3,0)
 ;;=3^Internal Hordeolum,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12833,1,4,0)
 ;;=4^H00.023
 ;;^UTILITY(U,$J,358.3,12833,2)
 ;;=^5004225
 ;;^UTILITY(U,$J,358.3,12834,0)
 ;;=H00.026^^51^621^20
 ;;^UTILITY(U,$J,358.3,12834,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12834,1,3,0)
 ;;=3^Internal Hordeolum,Lt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12834,1,4,0)
 ;;=4^H00.026
 ;;^UTILITY(U,$J,358.3,12834,2)
 ;;=^5004227
 ;;^UTILITY(U,$J,358.3,12835,0)
 ;;=H02.103^^51^621^12
 ;;^UTILITY(U,$J,358.3,12835,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12835,1,3,0)
 ;;=3^Ectropion,Unspec,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12835,1,4,0)
 ;;=4^H02.103
 ;;^UTILITY(U,$J,358.3,12835,2)
 ;;=^5004304
 ;;^UTILITY(U,$J,358.3,12836,0)
 ;;=H02.106^^51^621^11
 ;;^UTILITY(U,$J,358.3,12836,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12836,1,3,0)
 ;;=3^Ectropion,Unspec,Lt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12836,1,4,0)
 ;;=4^H02.106
 ;;^UTILITY(U,$J,358.3,12836,2)
 ;;=^5004306
 ;;^UTILITY(U,$J,358.3,12837,0)
 ;;=H02.20C^^51^621^24
 ;;^UTILITY(U,$J,358.3,12837,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12837,1,3,0)
 ;;=3^Lagophthalmos,Unspec,Bilat,Upper & Lower Eyelids
 ;;^UTILITY(U,$J,358.3,12837,1,4,0)
 ;;=4^H02.20C
 ;;^UTILITY(U,$J,358.3,12837,2)
 ;;=^5157333
 ;;^UTILITY(U,$J,358.3,12838,0)
 ;;=H02.20A^^51^621^26
 ;;^UTILITY(U,$J,358.3,12838,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12838,1,3,0)
 ;;=3^Lagophthalmos,Unspec,Rt Eye,Upper & Lower Eyelids
 ;;^UTILITY(U,$J,358.3,12838,1,4,0)
 ;;=4^H02.20A
 ;;^UTILITY(U,$J,358.3,12838,2)
 ;;=^5157331
 ;;^UTILITY(U,$J,358.3,12839,0)
 ;;=H02.20B^^51^621^25
 ;;^UTILITY(U,$J,358.3,12839,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12839,1,3,0)
 ;;=3^Lagophthalmos,Unspec,Lt Eye,Upper & Lower Eyelids
 ;;^UTILITY(U,$J,358.3,12839,1,4,0)
 ;;=4^H02.20B
 ;;^UTILITY(U,$J,358.3,12839,2)
 ;;=^5157332
 ;;^UTILITY(U,$J,358.3,12840,0)
 ;;=H35.352^^51^622^3
 ;;^UTILITY(U,$J,358.3,12840,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12840,1,3,0)
 ;;=3^CYSTOID Macular Degeneration,Left Eye
 ;;^UTILITY(U,$J,358.3,12840,1,4,0)
 ;;=4^H35.352
 ;;^UTILITY(U,$J,358.3,12840,2)
 ;;=^5005655
 ;;^UTILITY(U,$J,358.3,12841,0)
 ;;=H35.351^^51^622^4
 ;;^UTILITY(U,$J,358.3,12841,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12841,1,3,0)
 ;;=3^CYSTOID Macular Degeneration,Right Eye
 ;;^UTILITY(U,$J,358.3,12841,1,4,0)
 ;;=4^H35.351
 ;;^UTILITY(U,$J,358.3,12841,2)
 ;;=^5005654
 ;;^UTILITY(U,$J,358.3,12842,0)
 ;;=H35.353^^51^622^2
 ;;^UTILITY(U,$J,358.3,12842,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12842,1,3,0)
 ;;=3^CYSTOID Macular Degeneration,Bilateral
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0SI   3778     printed  Sep 23, 2025@19:30:54                                                                                                                                                                                                    Page 2
IBDEI0SI  ; ; 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,12830,1,4,0)
 +2       ;;=4^H02.206
 +3       ;;^UTILITY(U,$J,358.3,12830,2)
 +4       ;;=^5004331
 +5       ;;^UTILITY(U,$J,358.3,12831,0)
 +6       ;;=H02.9^^51^621^31
 +7       ;;^UTILITY(U,$J,358.3,12831,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,12831,1,3,0)
 +10      ;;=3^Unspec Disorder of Eyelid
 +11      ;;^UTILITY(U,$J,358.3,12831,1,4,0)
 +12      ;;=4^H02.9
 +13      ;;^UTILITY(U,$J,358.3,12831,2)
 +14      ;;=^123836
 +15      ;;^UTILITY(U,$J,358.3,12832,0)
 +16      ;;=H02.60^^51^621^32
 +17      ;;^UTILITY(U,$J,358.3,12832,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,12832,1,3,0)
 +20      ;;=3^Xanthelasma,Unspec Eye,Unspec Eyelid
 +21      ;;^UTILITY(U,$J,358.3,12832,1,4,0)
 +22      ;;=4^H02.60
 +23      ;;^UTILITY(U,$J,358.3,12832,2)
 +24      ;;=^5004385
 +25      ;;^UTILITY(U,$J,358.3,12833,0)
 +26      ;;=H00.023^^51^621^21
 +27      ;;^UTILITY(U,$J,358.3,12833,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,12833,1,3,0)
 +30      ;;=3^Internal Hordeolum,Rt Eye,Unspec Eyelid
 +31      ;;^UTILITY(U,$J,358.3,12833,1,4,0)
 +32      ;;=4^H00.023
 +33      ;;^UTILITY(U,$J,358.3,12833,2)
 +34      ;;=^5004225
 +35      ;;^UTILITY(U,$J,358.3,12834,0)
 +36      ;;=H00.026^^51^621^20
 +37      ;;^UTILITY(U,$J,358.3,12834,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,12834,1,3,0)
 +40      ;;=3^Internal Hordeolum,Lt Eye,Unspec Eyelid
 +41      ;;^UTILITY(U,$J,358.3,12834,1,4,0)
 +42      ;;=4^H00.026
 +43      ;;^UTILITY(U,$J,358.3,12834,2)
 +44      ;;=^5004227
 +45      ;;^UTILITY(U,$J,358.3,12835,0)
 +46      ;;=H02.103^^51^621^12
 +47      ;;^UTILITY(U,$J,358.3,12835,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,12835,1,3,0)
 +50      ;;=3^Ectropion,Unspec,Rt Eye,Unspec Eyelid
 +51      ;;^UTILITY(U,$J,358.3,12835,1,4,0)
 +52      ;;=4^H02.103
 +53      ;;^UTILITY(U,$J,358.3,12835,2)
 +54      ;;=^5004304
 +55      ;;^UTILITY(U,$J,358.3,12836,0)
 +56      ;;=H02.106^^51^621^11
 +57      ;;^UTILITY(U,$J,358.3,12836,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,12836,1,3,0)
 +60      ;;=3^Ectropion,Unspec,Lt Eye,Unspec Eyelid
 +61      ;;^UTILITY(U,$J,358.3,12836,1,4,0)
 +62      ;;=4^H02.106
 +63      ;;^UTILITY(U,$J,358.3,12836,2)
 +64      ;;=^5004306
 +65      ;;^UTILITY(U,$J,358.3,12837,0)
 +66      ;;=H02.20C^^51^621^24
 +67      ;;^UTILITY(U,$J,358.3,12837,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,12837,1,3,0)
 +70      ;;=3^Lagophthalmos,Unspec,Bilat,Upper & Lower Eyelids
 +71      ;;^UTILITY(U,$J,358.3,12837,1,4,0)
 +72      ;;=4^H02.20C
 +73      ;;^UTILITY(U,$J,358.3,12837,2)
 +74      ;;=^5157333
 +75      ;;^UTILITY(U,$J,358.3,12838,0)
 +76      ;;=H02.20A^^51^621^26
 +77      ;;^UTILITY(U,$J,358.3,12838,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,12838,1,3,0)
 +80      ;;=3^Lagophthalmos,Unspec,Rt Eye,Upper & Lower Eyelids
 +81      ;;^UTILITY(U,$J,358.3,12838,1,4,0)
 +82      ;;=4^H02.20A
 +83      ;;^UTILITY(U,$J,358.3,12838,2)
 +84      ;;=^5157331
 +85      ;;^UTILITY(U,$J,358.3,12839,0)
 +86      ;;=H02.20B^^51^621^25
 +87      ;;^UTILITY(U,$J,358.3,12839,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,12839,1,3,0)
 +90      ;;=3^Lagophthalmos,Unspec,Lt Eye,Upper & Lower Eyelids
 +91      ;;^UTILITY(U,$J,358.3,12839,1,4,0)
 +92      ;;=4^H02.20B
 +93      ;;^UTILITY(U,$J,358.3,12839,2)
 +94      ;;=^5157332
 +95      ;;^UTILITY(U,$J,358.3,12840,0)
 +96      ;;=H35.352^^51^622^3
 +97      ;;^UTILITY(U,$J,358.3,12840,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,12840,1,3,0)
 +100     ;;=3^CYSTOID Macular Degeneration,Left Eye
 +101     ;;^UTILITY(U,$J,358.3,12840,1,4,0)
 +102     ;;=4^H35.352
 +103     ;;^UTILITY(U,$J,358.3,12840,2)
 +104     ;;=^5005655
 +105     ;;^UTILITY(U,$J,358.3,12841,0)
 +106     ;;=H35.351^^51^622^4
 +107     ;;^UTILITY(U,$J,358.3,12841,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,12841,1,3,0)
 +110     ;;=3^CYSTOID Macular Degeneration,Right Eye
 +111     ;;^UTILITY(U,$J,358.3,12841,1,4,0)
 +112     ;;=4^H35.351
 +113     ;;^UTILITY(U,$J,358.3,12841,2)
 +114     ;;=^5005654
 +115     ;;^UTILITY(U,$J,358.3,12842,0)
 +116     ;;=H35.353^^51^622^2
 +117     ;;^UTILITY(U,$J,358.3,12842,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,12842,1,3,0)
 +120     ;;=3^CYSTOID Macular Degeneration,Bilateral