IBDEI343 ; ; 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,49698,1,3,0)
 ;;=3^Chronic Kidney Disease,Stage 5
 ;;^UTILITY(U,$J,358.3,49698,1,4,0)
 ;;=4^N18.5
 ;;^UTILITY(U,$J,358.3,49698,2)
 ;;=^5015606
 ;;^UTILITY(U,$J,358.3,49699,0)
 ;;=N18.6^^191^2478^22
 ;;^UTILITY(U,$J,358.3,49699,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49699,1,3,0)
 ;;=3^End Stage Renal Disease
 ;;^UTILITY(U,$J,358.3,49699,1,4,0)
 ;;=4^N18.6
 ;;^UTILITY(U,$J,358.3,49699,2)
 ;;=^303986
 ;;^UTILITY(U,$J,358.3,49700,0)
 ;;=J96.11^^191^2478^19
 ;;^UTILITY(U,$J,358.3,49700,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49700,1,3,0)
 ;;=3^Chronic Respiratory Failure w/ Hypoxia
 ;;^UTILITY(U,$J,358.3,49700,1,4,0)
 ;;=4^J96.11
 ;;^UTILITY(U,$J,358.3,49700,2)
 ;;=^5008351
 ;;^UTILITY(U,$J,358.3,49701,0)
 ;;=J44.9^^191^2478^12
 ;;^UTILITY(U,$J,358.3,49701,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49701,1,3,0)
 ;;=3^COPD,Unspec
 ;;^UTILITY(U,$J,358.3,49701,1,4,0)
 ;;=4^J44.9
 ;;^UTILITY(U,$J,358.3,49701,2)
 ;;=^5008241
 ;;^UTILITY(U,$J,358.3,49702,0)
 ;;=E44.0^^191^2478^29
 ;;^UTILITY(U,$J,358.3,49702,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49702,1,3,0)
 ;;=3^Moderate Protein-Calorie Malnutrition
 ;;^UTILITY(U,$J,358.3,49702,1,4,0)
 ;;=4^E44.0
 ;;^UTILITY(U,$J,358.3,49702,2)
 ;;=^5002787
 ;;^UTILITY(U,$J,358.3,49703,0)
 ;;=E43.^^191^2478^30
 ;;^UTILITY(U,$J,358.3,49703,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49703,1,3,0)
 ;;=3^Severe Protein-Calorie Malnutrition
 ;;^UTILITY(U,$J,358.3,49703,1,4,0)
 ;;=4^E43.
 ;;^UTILITY(U,$J,358.3,49703,2)
 ;;=^5002786
 ;;^UTILITY(U,$J,358.3,49704,0)
 ;;=R64.^^191^2478^13
 ;;^UTILITY(U,$J,358.3,49704,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49704,1,3,0)
 ;;=3^Cachexia
 ;;^UTILITY(U,$J,358.3,49704,1,4,0)
 ;;=4^R64.
 ;;^UTILITY(U,$J,358.3,49704,2)
 ;;=^17920
 ;;^UTILITY(U,$J,358.3,49705,0)
 ;;=I10.^^191^2478^23
 ;;^UTILITY(U,$J,358.3,49705,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49705,1,3,0)
 ;;=3^Essential (Primary) Hypertension
 ;;^UTILITY(U,$J,358.3,49705,1,4,0)
 ;;=4^I10.
 ;;^UTILITY(U,$J,358.3,49705,2)
 ;;=^5007062
 ;;^UTILITY(U,$J,358.3,49706,0)
 ;;=I25.10^^191^2478^11
 ;;^UTILITY(U,$J,358.3,49706,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49706,1,3,0)
 ;;=3^CAD w/o Angina Pectoris
 ;;^UTILITY(U,$J,358.3,49706,1,4,0)
 ;;=4^I25.10
 ;;^UTILITY(U,$J,358.3,49706,2)
 ;;=^5007107
 ;;^UTILITY(U,$J,358.3,49707,0)
 ;;=E78.2^^191^2478^28
 ;;^UTILITY(U,$J,358.3,49707,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49707,1,3,0)
 ;;=3^Mixed Hyperlipidemia
 ;;^UTILITY(U,$J,358.3,49707,1,4,0)
 ;;=4^E78.2
 ;;^UTILITY(U,$J,358.3,49707,2)
 ;;=^78424
 ;;^UTILITY(U,$J,358.3,49708,0)
 ;;=I48.0^^191^2478^8
 ;;^UTILITY(U,$J,358.3,49708,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49708,1,3,0)
 ;;=3^Atrial Fibrillation,Paroxysmal
 ;;^UTILITY(U,$J,358.3,49708,1,4,0)
 ;;=4^I48.0
 ;;^UTILITY(U,$J,358.3,49708,2)
 ;;=^90473
 ;;^UTILITY(U,$J,358.3,49709,0)
 ;;=I48.11^^191^2478^6
 ;;^UTILITY(U,$J,358.3,49709,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49709,1,3,0)
 ;;=3^Atrial Fibrillation,Longstanding Persistent
 ;;^UTILITY(U,$J,358.3,49709,1,4,0)
 ;;=4^I48.11
 ;;^UTILITY(U,$J,358.3,49709,2)
 ;;=^5158046
 ;;^UTILITY(U,$J,358.3,49710,0)
 ;;=I48.19^^191^2478^7
 ;;^UTILITY(U,$J,358.3,49710,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,49710,1,3,0)
 ;;=3^Atrial Fibrillation,Other Persistent
 ;;^UTILITY(U,$J,358.3,49710,1,4,0)
 ;;=4^I48.19
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI343   3745     printed  Sep 23, 2025@20:17:26                                                                                                                                                                                                    Page 2
IBDEI343  ; ; 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,49698,1,3,0)
 +2       ;;=3^Chronic Kidney Disease,Stage 5
 +3       ;;^UTILITY(U,$J,358.3,49698,1,4,0)
 +4       ;;=4^N18.5
 +5       ;;^UTILITY(U,$J,358.3,49698,2)
 +6       ;;=^5015606
 +7       ;;^UTILITY(U,$J,358.3,49699,0)
 +8       ;;=N18.6^^191^2478^22
 +9       ;;^UTILITY(U,$J,358.3,49699,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,49699,1,3,0)
 +12      ;;=3^End Stage Renal Disease
 +13      ;;^UTILITY(U,$J,358.3,49699,1,4,0)
 +14      ;;=4^N18.6
 +15      ;;^UTILITY(U,$J,358.3,49699,2)
 +16      ;;=^303986
 +17      ;;^UTILITY(U,$J,358.3,49700,0)
 +18      ;;=J96.11^^191^2478^19
 +19      ;;^UTILITY(U,$J,358.3,49700,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,49700,1,3,0)
 +22      ;;=3^Chronic Respiratory Failure w/ Hypoxia
 +23      ;;^UTILITY(U,$J,358.3,49700,1,4,0)
 +24      ;;=4^J96.11
 +25      ;;^UTILITY(U,$J,358.3,49700,2)
 +26      ;;=^5008351
 +27      ;;^UTILITY(U,$J,358.3,49701,0)
 +28      ;;=J44.9^^191^2478^12
 +29      ;;^UTILITY(U,$J,358.3,49701,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,49701,1,3,0)
 +32      ;;=3^COPD,Unspec
 +33      ;;^UTILITY(U,$J,358.3,49701,1,4,0)
 +34      ;;=4^J44.9
 +35      ;;^UTILITY(U,$J,358.3,49701,2)
 +36      ;;=^5008241
 +37      ;;^UTILITY(U,$J,358.3,49702,0)
 +38      ;;=E44.0^^191^2478^29
 +39      ;;^UTILITY(U,$J,358.3,49702,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,49702,1,3,0)
 +42      ;;=3^Moderate Protein-Calorie Malnutrition
 +43      ;;^UTILITY(U,$J,358.3,49702,1,4,0)
 +44      ;;=4^E44.0
 +45      ;;^UTILITY(U,$J,358.3,49702,2)
 +46      ;;=^5002787
 +47      ;;^UTILITY(U,$J,358.3,49703,0)
 +48      ;;=E43.^^191^2478^30
 +49      ;;^UTILITY(U,$J,358.3,49703,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,49703,1,3,0)
 +52      ;;=3^Severe Protein-Calorie Malnutrition
 +53      ;;^UTILITY(U,$J,358.3,49703,1,4,0)
 +54      ;;=4^E43.
 +55      ;;^UTILITY(U,$J,358.3,49703,2)
 +56      ;;=^5002786
 +57      ;;^UTILITY(U,$J,358.3,49704,0)
 +58      ;;=R64.^^191^2478^13
 +59      ;;^UTILITY(U,$J,358.3,49704,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,49704,1,3,0)
 +62      ;;=3^Cachexia
 +63      ;;^UTILITY(U,$J,358.3,49704,1,4,0)
 +64      ;;=4^R64.
 +65      ;;^UTILITY(U,$J,358.3,49704,2)
 +66      ;;=^17920
 +67      ;;^UTILITY(U,$J,358.3,49705,0)
 +68      ;;=I10.^^191^2478^23
 +69      ;;^UTILITY(U,$J,358.3,49705,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,49705,1,3,0)
 +72      ;;=3^Essential (Primary) Hypertension
 +73      ;;^UTILITY(U,$J,358.3,49705,1,4,0)
 +74      ;;=4^I10.
 +75      ;;^UTILITY(U,$J,358.3,49705,2)
 +76      ;;=^5007062
 +77      ;;^UTILITY(U,$J,358.3,49706,0)
 +78      ;;=I25.10^^191^2478^11
 +79      ;;^UTILITY(U,$J,358.3,49706,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,49706,1,3,0)
 +82      ;;=3^CAD w/o Angina Pectoris
 +83      ;;^UTILITY(U,$J,358.3,49706,1,4,0)
 +84      ;;=4^I25.10
 +85      ;;^UTILITY(U,$J,358.3,49706,2)
 +86      ;;=^5007107
 +87      ;;^UTILITY(U,$J,358.3,49707,0)
 +88      ;;=E78.2^^191^2478^28
 +89      ;;^UTILITY(U,$J,358.3,49707,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,49707,1,3,0)
 +92      ;;=3^Mixed Hyperlipidemia
 +93      ;;^UTILITY(U,$J,358.3,49707,1,4,0)
 +94      ;;=4^E78.2
 +95      ;;^UTILITY(U,$J,358.3,49707,2)
 +96      ;;=^78424
 +97      ;;^UTILITY(U,$J,358.3,49708,0)
 +98      ;;=I48.0^^191^2478^8
 +99      ;;^UTILITY(U,$J,358.3,49708,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,49708,1,3,0)
 +102     ;;=3^Atrial Fibrillation,Paroxysmal
 +103     ;;^UTILITY(U,$J,358.3,49708,1,4,0)
 +104     ;;=4^I48.0
 +105     ;;^UTILITY(U,$J,358.3,49708,2)
 +106     ;;=^90473
 +107     ;;^UTILITY(U,$J,358.3,49709,0)
 +108     ;;=I48.11^^191^2478^6
 +109     ;;^UTILITY(U,$J,358.3,49709,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,49709,1,3,0)
 +112     ;;=3^Atrial Fibrillation,Longstanding Persistent
 +113     ;;^UTILITY(U,$J,358.3,49709,1,4,0)
 +114     ;;=4^I48.11
 +115     ;;^UTILITY(U,$J,358.3,49709,2)
 +116     ;;=^5158046
 +117     ;;^UTILITY(U,$J,358.3,49710,0)
 +118     ;;=I48.19^^191^2478^7
 +119     ;;^UTILITY(U,$J,358.3,49710,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,49710,1,3,0)
 +122     ;;=3^Atrial Fibrillation,Other Persistent
 +123     ;;^UTILITY(U,$J,358.3,49710,1,4,0)
 +124     ;;=4^I48.19