IBDEI0SH ; ; 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,12818,1,4,0)
 ;;=4^H02.836
 ;;^UTILITY(U,$J,358.3,12818,2)
 ;;=^5004422
 ;;^UTILITY(U,$J,358.3,12819,0)
 ;;=H04.121^^51^621^10
 ;;^UTILITY(U,$J,358.3,12819,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12819,1,3,0)
 ;;=3^Dry Eye Syndrome of Rt Lacrimal Gland
 ;;^UTILITY(U,$J,358.3,12819,1,4,0)
 ;;=4^H04.121
 ;;^UTILITY(U,$J,358.3,12819,2)
 ;;=^5004463
 ;;^UTILITY(U,$J,358.3,12820,0)
 ;;=H04.122^^51^621^9
 ;;^UTILITY(U,$J,358.3,12820,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12820,1,3,0)
 ;;=3^Dry Eye Syndrome of Lt Lacrimal Gland
 ;;^UTILITY(U,$J,358.3,12820,1,4,0)
 ;;=4^H04.122
 ;;^UTILITY(U,$J,358.3,12820,2)
 ;;=^5004464
 ;;^UTILITY(U,$J,358.3,12821,0)
 ;;=H04.123^^51^621^8
 ;;^UTILITY(U,$J,358.3,12821,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12821,1,3,0)
 ;;=3^Dry Eye Syndrome of Bilateral Lacrimal Glands
 ;;^UTILITY(U,$J,358.3,12821,1,4,0)
 ;;=4^H04.123
 ;;^UTILITY(U,$J,358.3,12821,2)
 ;;=^5004465
 ;;^UTILITY(U,$J,358.3,12822,0)
 ;;=H00.013^^51^621^18
 ;;^UTILITY(U,$J,358.3,12822,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12822,1,3,0)
 ;;=3^External Hordeolum,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12822,1,4,0)
 ;;=4^H00.013
 ;;^UTILITY(U,$J,358.3,12822,2)
 ;;=^5004220
 ;;^UTILITY(U,$J,358.3,12823,0)
 ;;=H00.016^^51^621^19
 ;;^UTILITY(U,$J,358.3,12823,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12823,1,3,0)
 ;;=3^Externum Hordeolum,Lt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12823,1,4,0)
 ;;=4^H00.016
 ;;^UTILITY(U,$J,358.3,12823,2)
 ;;=^5004222
 ;;^UTILITY(U,$J,358.3,12824,0)
 ;;=H02.053^^51^621^30
 ;;^UTILITY(U,$J,358.3,12824,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12824,1,3,0)
 ;;=3^Trichiasis w/o Entropian,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12824,1,4,0)
 ;;=4^H02.053
 ;;^UTILITY(U,$J,358.3,12824,2)
 ;;=^5004300
 ;;^UTILITY(U,$J,358.3,12825,0)
 ;;=H02.056^^51^621^29
 ;;^UTILITY(U,$J,358.3,12825,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12825,1,3,0)
 ;;=3^Trichiasis w/o Entropian,Lt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12825,1,4,0)
 ;;=4^H02.056
 ;;^UTILITY(U,$J,358.3,12825,2)
 ;;=^5004302
 ;;^UTILITY(U,$J,358.3,12826,0)
 ;;=H04.9^^51^621^7
 ;;^UTILITY(U,$J,358.3,12826,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12826,1,3,0)
 ;;=3^Disorder of Lacrimal System,Unspec
 ;;^UTILITY(U,$J,358.3,12826,1,4,0)
 ;;=4^H04.9
 ;;^UTILITY(U,$J,358.3,12826,2)
 ;;=^5004558
 ;;^UTILITY(U,$J,358.3,12827,0)
 ;;=H02.003^^51^621^14
 ;;^UTILITY(U,$J,358.3,12827,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12827,1,3,0)
 ;;=3^Entropion,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12827,1,4,0)
 ;;=4^H02.003
 ;;^UTILITY(U,$J,358.3,12827,2)
 ;;=^5004275
 ;;^UTILITY(U,$J,358.3,12828,0)
 ;;=H02.006^^51^621^13
 ;;^UTILITY(U,$J,358.3,12828,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12828,1,3,0)
 ;;=3^Entropion,Lt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12828,1,4,0)
 ;;=4^H02.006
 ;;^UTILITY(U,$J,358.3,12828,2)
 ;;=^5004277
 ;;^UTILITY(U,$J,358.3,12829,0)
 ;;=H02.203^^51^621^23
 ;;^UTILITY(U,$J,358.3,12829,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12829,1,3,0)
 ;;=3^Lagophthalmos,Rt Eye,Unspec Eyelid
 ;;^UTILITY(U,$J,358.3,12829,1,4,0)
 ;;=4^H02.203
 ;;^UTILITY(U,$J,358.3,12829,2)
 ;;=^5004329
 ;;^UTILITY(U,$J,358.3,12830,0)
 ;;=H02.206^^51^621^22
 ;;^UTILITY(U,$J,358.3,12830,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,12830,1,3,0)
 ;;=3^Lagophthalmos,Lt Eye,Unspec Eyelid
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0SH   3758     printed  Sep 23, 2025@19:30:53                                                                                                                                                                                                    Page 2
IBDEI0SH  ; ; 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,12818,1,4,0)
 +2       ;;=4^H02.836
 +3       ;;^UTILITY(U,$J,358.3,12818,2)
 +4       ;;=^5004422
 +5       ;;^UTILITY(U,$J,358.3,12819,0)
 +6       ;;=H04.121^^51^621^10
 +7       ;;^UTILITY(U,$J,358.3,12819,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,12819,1,3,0)
 +10      ;;=3^Dry Eye Syndrome of Rt Lacrimal Gland
 +11      ;;^UTILITY(U,$J,358.3,12819,1,4,0)
 +12      ;;=4^H04.121
 +13      ;;^UTILITY(U,$J,358.3,12819,2)
 +14      ;;=^5004463
 +15      ;;^UTILITY(U,$J,358.3,12820,0)
 +16      ;;=H04.122^^51^621^9
 +17      ;;^UTILITY(U,$J,358.3,12820,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,12820,1,3,0)
 +20      ;;=3^Dry Eye Syndrome of Lt Lacrimal Gland
 +21      ;;^UTILITY(U,$J,358.3,12820,1,4,0)
 +22      ;;=4^H04.122
 +23      ;;^UTILITY(U,$J,358.3,12820,2)
 +24      ;;=^5004464
 +25      ;;^UTILITY(U,$J,358.3,12821,0)
 +26      ;;=H04.123^^51^621^8
 +27      ;;^UTILITY(U,$J,358.3,12821,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,12821,1,3,0)
 +30      ;;=3^Dry Eye Syndrome of Bilateral Lacrimal Glands
 +31      ;;^UTILITY(U,$J,358.3,12821,1,4,0)
 +32      ;;=4^H04.123
 +33      ;;^UTILITY(U,$J,358.3,12821,2)
 +34      ;;=^5004465
 +35      ;;^UTILITY(U,$J,358.3,12822,0)
 +36      ;;=H00.013^^51^621^18
 +37      ;;^UTILITY(U,$J,358.3,12822,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,12822,1,3,0)
 +40      ;;=3^External Hordeolum,Rt Eye,Unspec Eyelid
 +41      ;;^UTILITY(U,$J,358.3,12822,1,4,0)
 +42      ;;=4^H00.013
 +43      ;;^UTILITY(U,$J,358.3,12822,2)
 +44      ;;=^5004220
 +45      ;;^UTILITY(U,$J,358.3,12823,0)
 +46      ;;=H00.016^^51^621^19
 +47      ;;^UTILITY(U,$J,358.3,12823,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,12823,1,3,0)
 +50      ;;=3^Externum Hordeolum,Lt Eye,Unspec Eyelid
 +51      ;;^UTILITY(U,$J,358.3,12823,1,4,0)
 +52      ;;=4^H00.016
 +53      ;;^UTILITY(U,$J,358.3,12823,2)
 +54      ;;=^5004222
 +55      ;;^UTILITY(U,$J,358.3,12824,0)
 +56      ;;=H02.053^^51^621^30
 +57      ;;^UTILITY(U,$J,358.3,12824,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,12824,1,3,0)
 +60      ;;=3^Trichiasis w/o Entropian,Rt Eye,Unspec Eyelid
 +61      ;;^UTILITY(U,$J,358.3,12824,1,4,0)
 +62      ;;=4^H02.053
 +63      ;;^UTILITY(U,$J,358.3,12824,2)
 +64      ;;=^5004300
 +65      ;;^UTILITY(U,$J,358.3,12825,0)
 +66      ;;=H02.056^^51^621^29
 +67      ;;^UTILITY(U,$J,358.3,12825,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,12825,1,3,0)
 +70      ;;=3^Trichiasis w/o Entropian,Lt Eye,Unspec Eyelid
 +71      ;;^UTILITY(U,$J,358.3,12825,1,4,0)
 +72      ;;=4^H02.056
 +73      ;;^UTILITY(U,$J,358.3,12825,2)
 +74      ;;=^5004302
 +75      ;;^UTILITY(U,$J,358.3,12826,0)
 +76      ;;=H04.9^^51^621^7
 +77      ;;^UTILITY(U,$J,358.3,12826,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,12826,1,3,0)
 +80      ;;=3^Disorder of Lacrimal System,Unspec
 +81      ;;^UTILITY(U,$J,358.3,12826,1,4,0)
 +82      ;;=4^H04.9
 +83      ;;^UTILITY(U,$J,358.3,12826,2)
 +84      ;;=^5004558
 +85      ;;^UTILITY(U,$J,358.3,12827,0)
 +86      ;;=H02.003^^51^621^14
 +87      ;;^UTILITY(U,$J,358.3,12827,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,12827,1,3,0)
 +90      ;;=3^Entropion,Rt Eye,Unspec Eyelid
 +91      ;;^UTILITY(U,$J,358.3,12827,1,4,0)
 +92      ;;=4^H02.003
 +93      ;;^UTILITY(U,$J,358.3,12827,2)
 +94      ;;=^5004275
 +95      ;;^UTILITY(U,$J,358.3,12828,0)
 +96      ;;=H02.006^^51^621^13
 +97      ;;^UTILITY(U,$J,358.3,12828,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,12828,1,3,0)
 +100     ;;=3^Entropion,Lt Eye,Unspec Eyelid
 +101     ;;^UTILITY(U,$J,358.3,12828,1,4,0)
 +102     ;;=4^H02.006
 +103     ;;^UTILITY(U,$J,358.3,12828,2)
 +104     ;;=^5004277
 +105     ;;^UTILITY(U,$J,358.3,12829,0)
 +106     ;;=H02.203^^51^621^23
 +107     ;;^UTILITY(U,$J,358.3,12829,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,12829,1,3,0)
 +110     ;;=3^Lagophthalmos,Rt Eye,Unspec Eyelid
 +111     ;;^UTILITY(U,$J,358.3,12829,1,4,0)
 +112     ;;=4^H02.203
 +113     ;;^UTILITY(U,$J,358.3,12829,2)
 +114     ;;=^5004329
 +115     ;;^UTILITY(U,$J,358.3,12830,0)
 +116     ;;=H02.206^^51^621^22
 +117     ;;^UTILITY(U,$J,358.3,12830,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,12830,1,3,0)
 +120     ;;=3^Lagophthalmos,Lt Eye,Unspec Eyelid