IBDEI3GS ; ; 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,58270,1,4,0)
 ;;=4^E10.319
 ;;^UTILITY(U,$J,358.3,58270,2)
 ;;=^5002593
 ;;^UTILITY(U,$J,358.3,58271,0)
 ;;=E10.36^^272^2905^1
 ;;^UTILITY(U,$J,358.3,58271,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58271,1,3,0)
 ;;=3^DM Type 1 w/ Diabetic Cataract
 ;;^UTILITY(U,$J,358.3,58271,1,4,0)
 ;;=4^E10.36
 ;;^UTILITY(U,$J,358.3,58271,2)
 ;;=^5002602
 ;;^UTILITY(U,$J,358.3,58272,0)
 ;;=E10.39^^272^2905^2
 ;;^UTILITY(U,$J,358.3,58272,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58272,1,3,0)
 ;;=3^DM Type 1 w/ Diabetic Ophthalmic Complication
 ;;^UTILITY(U,$J,358.3,58272,1,4,0)
 ;;=4^E10.39
 ;;^UTILITY(U,$J,358.3,58272,2)
 ;;=^5002603
 ;;^UTILITY(U,$J,358.3,58273,0)
 ;;=E10.321^^272^2905^3
 ;;^UTILITY(U,$J,358.3,58273,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58273,1,3,0)
 ;;=3^DM Type 1 w/ Mild Nonprolif Diab Retinopathy w/ Macular Edema
 ;;^UTILITY(U,$J,358.3,58273,1,4,0)
 ;;=4^E10.321
 ;;^UTILITY(U,$J,358.3,58273,2)
 ;;=^5002594
 ;;^UTILITY(U,$J,358.3,58274,0)
 ;;=E10.329^^272^2905^4
 ;;^UTILITY(U,$J,358.3,58274,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58274,1,3,0)
 ;;=3^DM Type 1 w/ Mild Nonprolif Diab Retinopathy w/o Macular Edema
 ;;^UTILITY(U,$J,358.3,58274,1,4,0)
 ;;=4^E10.329
 ;;^UTILITY(U,$J,358.3,58274,2)
 ;;=^5002595
 ;;^UTILITY(U,$J,358.3,58275,0)
 ;;=E10.331^^272^2905^5
 ;;^UTILITY(U,$J,358.3,58275,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58275,1,3,0)
 ;;=3^DM Type 1 w/ Moderate Nonprolif Diab Retinopathy w/ Macular Edema
 ;;^UTILITY(U,$J,358.3,58275,1,4,0)
 ;;=4^E10.331
 ;;^UTILITY(U,$J,358.3,58275,2)
 ;;=^5002596
 ;;^UTILITY(U,$J,358.3,58276,0)
 ;;=E10.339^^272^2905^6
 ;;^UTILITY(U,$J,358.3,58276,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58276,1,3,0)
 ;;=3^DM Type 1 w/ Moderate Nonprolif Diab Retinopathy w/o Macular Edema
 ;;^UTILITY(U,$J,358.3,58276,1,4,0)
 ;;=4^E10.339
 ;;^UTILITY(U,$J,358.3,58276,2)
 ;;=^5002597
 ;;^UTILITY(U,$J,358.3,58277,0)
 ;;=E10.341^^272^2905^9
 ;;^UTILITY(U,$J,358.3,58277,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58277,1,3,0)
 ;;=3^DM Type 1 w/ Severe Nonprolif Diab Retinopathy w/ Macular Edema
 ;;^UTILITY(U,$J,358.3,58277,1,4,0)
 ;;=4^E10.341
 ;;^UTILITY(U,$J,358.3,58277,2)
 ;;=^5002598
 ;;^UTILITY(U,$J,358.3,58278,0)
 ;;=E10.349^^272^2905^10
 ;;^UTILITY(U,$J,358.3,58278,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58278,1,3,0)
 ;;=3^DM Type 1 w/ Severe Nonprolif Diab Retinopathy w/o Macular Edema
 ;;^UTILITY(U,$J,358.3,58278,1,4,0)
 ;;=4^E10.349
 ;;^UTILITY(U,$J,358.3,58278,2)
 ;;=^5002599
 ;;^UTILITY(U,$J,358.3,58279,0)
 ;;=E10.351^^272^2905^7
 ;;^UTILITY(U,$J,358.3,58279,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58279,1,3,0)
 ;;=3^DM Type 1 w/ Prolif Diab Retinopathy w/ Macular Edema
 ;;^UTILITY(U,$J,358.3,58279,1,4,0)
 ;;=4^E10.351
 ;;^UTILITY(U,$J,358.3,58279,2)
 ;;=^5002600
 ;;^UTILITY(U,$J,358.3,58280,0)
 ;;=E10.359^^272^2905^8
 ;;^UTILITY(U,$J,358.3,58280,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58280,1,3,0)
 ;;=3^DM Type 1 w/ Prolif Diab Retinopathy w/o Macular Edema
 ;;^UTILITY(U,$J,358.3,58280,1,4,0)
 ;;=4^E10.359
 ;;^UTILITY(U,$J,358.3,58280,2)
 ;;=^5002601
 ;;^UTILITY(U,$J,358.3,58281,0)
 ;;=E08.311^^272^2905^33
 ;;^UTILITY(U,$J,358.3,58281,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58281,1,3,0)
 ;;=3^Diab d/t Undrl Cond w/ Diab Retinopathy w/ Macular Edema
 ;;^UTILITY(U,$J,358.3,58281,1,4,0)
 ;;=4^E08.311
 ;;^UTILITY(U,$J,358.3,58281,2)
 ;;=^5002510
 ;;^UTILITY(U,$J,358.3,58282,0)
 ;;=E08.319^^272^2905^34
 ;;^UTILITY(U,$J,358.3,58282,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,58282,1,3,0)
 ;;=3^Diab d/t Undrl Cond w/ Diab Retinopathy w/o Macular Edema
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3GS   4002     printed  Sep 23, 2025@20:24:31                                                                                                                                                                                                    Page 2
IBDEI3GS  ; ; 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,58270,1,4,0)
 +2       ;;=4^E10.319
 +3       ;;^UTILITY(U,$J,358.3,58270,2)
 +4       ;;=^5002593
 +5       ;;^UTILITY(U,$J,358.3,58271,0)
 +6       ;;=E10.36^^272^2905^1
 +7       ;;^UTILITY(U,$J,358.3,58271,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,58271,1,3,0)
 +10      ;;=3^DM Type 1 w/ Diabetic Cataract
 +11      ;;^UTILITY(U,$J,358.3,58271,1,4,0)
 +12      ;;=4^E10.36
 +13      ;;^UTILITY(U,$J,358.3,58271,2)
 +14      ;;=^5002602
 +15      ;;^UTILITY(U,$J,358.3,58272,0)
 +16      ;;=E10.39^^272^2905^2
 +17      ;;^UTILITY(U,$J,358.3,58272,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,58272,1,3,0)
 +20      ;;=3^DM Type 1 w/ Diabetic Ophthalmic Complication
 +21      ;;^UTILITY(U,$J,358.3,58272,1,4,0)
 +22      ;;=4^E10.39
 +23      ;;^UTILITY(U,$J,358.3,58272,2)
 +24      ;;=^5002603
 +25      ;;^UTILITY(U,$J,358.3,58273,0)
 +26      ;;=E10.321^^272^2905^3
 +27      ;;^UTILITY(U,$J,358.3,58273,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,58273,1,3,0)
 +30      ;;=3^DM Type 1 w/ Mild Nonprolif Diab Retinopathy w/ Macular Edema
 +31      ;;^UTILITY(U,$J,358.3,58273,1,4,0)
 +32      ;;=4^E10.321
 +33      ;;^UTILITY(U,$J,358.3,58273,2)
 +34      ;;=^5002594
 +35      ;;^UTILITY(U,$J,358.3,58274,0)
 +36      ;;=E10.329^^272^2905^4
 +37      ;;^UTILITY(U,$J,358.3,58274,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,58274,1,3,0)
 +40      ;;=3^DM Type 1 w/ Mild Nonprolif Diab Retinopathy w/o Macular Edema
 +41      ;;^UTILITY(U,$J,358.3,58274,1,4,0)
 +42      ;;=4^E10.329
 +43      ;;^UTILITY(U,$J,358.3,58274,2)
 +44      ;;=^5002595
 +45      ;;^UTILITY(U,$J,358.3,58275,0)
 +46      ;;=E10.331^^272^2905^5
 +47      ;;^UTILITY(U,$J,358.3,58275,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,58275,1,3,0)
 +50      ;;=3^DM Type 1 w/ Moderate Nonprolif Diab Retinopathy w/ Macular Edema
 +51      ;;^UTILITY(U,$J,358.3,58275,1,4,0)
 +52      ;;=4^E10.331
 +53      ;;^UTILITY(U,$J,358.3,58275,2)
 +54      ;;=^5002596
 +55      ;;^UTILITY(U,$J,358.3,58276,0)
 +56      ;;=E10.339^^272^2905^6
 +57      ;;^UTILITY(U,$J,358.3,58276,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,58276,1,3,0)
 +60      ;;=3^DM Type 1 w/ Moderate Nonprolif Diab Retinopathy w/o Macular Edema
 +61      ;;^UTILITY(U,$J,358.3,58276,1,4,0)
 +62      ;;=4^E10.339
 +63      ;;^UTILITY(U,$J,358.3,58276,2)
 +64      ;;=^5002597
 +65      ;;^UTILITY(U,$J,358.3,58277,0)
 +66      ;;=E10.341^^272^2905^9
 +67      ;;^UTILITY(U,$J,358.3,58277,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,58277,1,3,0)
 +70      ;;=3^DM Type 1 w/ Severe Nonprolif Diab Retinopathy w/ Macular Edema
 +71      ;;^UTILITY(U,$J,358.3,58277,1,4,0)
 +72      ;;=4^E10.341
 +73      ;;^UTILITY(U,$J,358.3,58277,2)
 +74      ;;=^5002598
 +75      ;;^UTILITY(U,$J,358.3,58278,0)
 +76      ;;=E10.349^^272^2905^10
 +77      ;;^UTILITY(U,$J,358.3,58278,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,58278,1,3,0)
 +80      ;;=3^DM Type 1 w/ Severe Nonprolif Diab Retinopathy w/o Macular Edema
 +81      ;;^UTILITY(U,$J,358.3,58278,1,4,0)
 +82      ;;=4^E10.349
 +83      ;;^UTILITY(U,$J,358.3,58278,2)
 +84      ;;=^5002599
 +85      ;;^UTILITY(U,$J,358.3,58279,0)
 +86      ;;=E10.351^^272^2905^7
 +87      ;;^UTILITY(U,$J,358.3,58279,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,58279,1,3,0)
 +90      ;;=3^DM Type 1 w/ Prolif Diab Retinopathy w/ Macular Edema
 +91      ;;^UTILITY(U,$J,358.3,58279,1,4,0)
 +92      ;;=4^E10.351
 +93      ;;^UTILITY(U,$J,358.3,58279,2)
 +94      ;;=^5002600
 +95      ;;^UTILITY(U,$J,358.3,58280,0)
 +96      ;;=E10.359^^272^2905^8
 +97      ;;^UTILITY(U,$J,358.3,58280,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,58280,1,3,0)
 +100     ;;=3^DM Type 1 w/ Prolif Diab Retinopathy w/o Macular Edema
 +101     ;;^UTILITY(U,$J,358.3,58280,1,4,0)
 +102     ;;=4^E10.359
 +103     ;;^UTILITY(U,$J,358.3,58280,2)
 +104     ;;=^5002601
 +105     ;;^UTILITY(U,$J,358.3,58281,0)
 +106     ;;=E08.311^^272^2905^33
 +107     ;;^UTILITY(U,$J,358.3,58281,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,58281,1,3,0)
 +110     ;;=3^Diab d/t Undrl Cond w/ Diab Retinopathy w/ Macular Edema
 +111     ;;^UTILITY(U,$J,358.3,58281,1,4,0)
 +112     ;;=4^E08.311
 +113     ;;^UTILITY(U,$J,358.3,58281,2)
 +114     ;;=^5002510
 +115     ;;^UTILITY(U,$J,358.3,58282,0)
 +116     ;;=E08.319^^272^2905^34
 +117     ;;^UTILITY(U,$J,358.3,58282,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,58282,1,3,0)
 +120     ;;=3^Diab d/t Undrl Cond w/ Diab Retinopathy w/o Macular Edema