- IBDEI0WV ; ; 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,14813,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14813,1,3,0)
- ;;=3^Heart failure, unspecified
- ;;^UTILITY(U,$J,358.3,14813,1,4,0)
- ;;=4^I50.9
- ;;^UTILITY(U,$J,358.3,14813,2)
- ;;=^5007251
- ;;^UTILITY(U,$J,358.3,14814,0)
- ;;=I25.2^^58^708^25
- ;;^UTILITY(U,$J,358.3,14814,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14814,1,3,0)
- ;;=3^Old myocardial infarction
- ;;^UTILITY(U,$J,358.3,14814,1,4,0)
- ;;=4^I25.2
- ;;^UTILITY(U,$J,358.3,14814,2)
- ;;=^259884
- ;;^UTILITY(U,$J,358.3,14815,0)
- ;;=I42.8^^58^708^19
- ;;^UTILITY(U,$J,358.3,14815,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14815,1,3,0)
- ;;=3^Cardiomyopathies NEC
- ;;^UTILITY(U,$J,358.3,14815,1,4,0)
- ;;=4^I42.8
- ;;^UTILITY(U,$J,358.3,14815,2)
- ;;=^5007199
- ;;^UTILITY(U,$J,358.3,14816,0)
- ;;=I42.5^^58^708^29
- ;;^UTILITY(U,$J,358.3,14816,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14816,1,3,0)
- ;;=3^Restrictive Cardiomyopathy NEC
- ;;^UTILITY(U,$J,358.3,14816,1,4,0)
- ;;=4^I42.5
- ;;^UTILITY(U,$J,358.3,14816,2)
- ;;=^5007196
- ;;^UTILITY(U,$J,358.3,14817,0)
- ;;=Z95.1^^58^708^26
- ;;^UTILITY(U,$J,358.3,14817,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14817,1,3,0)
- ;;=3^Presence of aortocoronary bypass graft
- ;;^UTILITY(U,$J,358.3,14817,1,4,0)
- ;;=4^Z95.1
- ;;^UTILITY(U,$J,358.3,14817,2)
- ;;=^5063669
- ;;^UTILITY(U,$J,358.3,14818,0)
- ;;=Z95.0^^58^708^27
- ;;^UTILITY(U,$J,358.3,14818,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14818,1,3,0)
- ;;=3^Presence of cardiac pacemaker
- ;;^UTILITY(U,$J,358.3,14818,1,4,0)
- ;;=4^Z95.0
- ;;^UTILITY(U,$J,358.3,14818,2)
- ;;=^5063668
- ;;^UTILITY(U,$J,358.3,14819,0)
- ;;=J98.9^^58^708^28
- ;;^UTILITY(U,$J,358.3,14819,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14819,1,3,0)
- ;;=3^Respiratory disorder, unspecified
- ;;^UTILITY(U,$J,358.3,14819,1,4,0)
- ;;=4^J98.9
- ;;^UTILITY(U,$J,358.3,14819,2)
- ;;=^5008366
- ;;^UTILITY(U,$J,358.3,14820,0)
- ;;=I22.9^^58^708^30
- ;;^UTILITY(U,$J,358.3,14820,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14820,1,3,0)
- ;;=3^Subsequent STEMI of unsp site
- ;;^UTILITY(U,$J,358.3,14820,1,4,0)
- ;;=4^I22.9
- ;;^UTILITY(U,$J,358.3,14820,2)
- ;;=^5007093
- ;;^UTILITY(U,$J,358.3,14821,0)
- ;;=I48.91^^58^708^6
- ;;^UTILITY(U,$J,358.3,14821,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14821,1,3,0)
- ;;=3^AFIB-Unspec
- ;;^UTILITY(U,$J,358.3,14821,1,4,0)
- ;;=4^I48.91
- ;;^UTILITY(U,$J,358.3,14821,2)
- ;;=^5007229
- ;;^UTILITY(U,$J,358.3,14822,0)
- ;;=I25.110^^58^708^11
- ;;^UTILITY(U,$J,358.3,14822,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14822,1,3,0)
- ;;=3^CAD w/ Unstable Agngia
- ;;^UTILITY(U,$J,358.3,14822,1,4,0)
- ;;=4^I25.110
- ;;^UTILITY(U,$J,358.3,14822,2)
- ;;=^5007108
- ;;^UTILITY(U,$J,358.3,14823,0)
- ;;=I25.111^^58^708^12
- ;;^UTILITY(U,$J,358.3,14823,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14823,1,3,0)
- ;;=3^CAD w/ Unstable Angia w/ Documented Spasm
- ;;^UTILITY(U,$J,358.3,14823,1,4,0)
- ;;=4^I25.111
- ;;^UTILITY(U,$J,358.3,14823,2)
- ;;=^5007109
- ;;^UTILITY(U,$J,358.3,14824,0)
- ;;=I25.118^^58^708^10
- ;;^UTILITY(U,$J,358.3,14824,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14824,1,3,0)
- ;;=3^CAD w/ Oth Forms of Angina (Includes Stable)
- ;;^UTILITY(U,$J,358.3,14824,1,4,0)
- ;;=4^I25.118
- ;;^UTILITY(U,$J,358.3,14824,2)
- ;;=^5007110
- ;;^UTILITY(U,$J,358.3,14825,0)
- ;;=I48.0^^58^708^4
- ;;^UTILITY(U,$J,358.3,14825,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,14825,1,3,0)
- ;;=3^AFIB-Paroxysmal
- ;;^UTILITY(U,$J,358.3,14825,1,4,0)
- ;;=4^I48.0
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0WV 3791 printed Dec 13, 2024@01:57:20 Page 2
- IBDEI0WV ; ; 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,14813,1,0)
- +2 ;;=^358.31IA^4^2
- +3 ;;^UTILITY(U,$J,358.3,14813,1,3,0)
- +4 ;;=3^Heart failure, unspecified
- +5 ;;^UTILITY(U,$J,358.3,14813,1,4,0)
- +6 ;;=4^I50.9
- +7 ;;^UTILITY(U,$J,358.3,14813,2)
- +8 ;;=^5007251
- +9 ;;^UTILITY(U,$J,358.3,14814,0)
- +10 ;;=I25.2^^58^708^25
- +11 ;;^UTILITY(U,$J,358.3,14814,1,0)
- +12 ;;=^358.31IA^4^2
- +13 ;;^UTILITY(U,$J,358.3,14814,1,3,0)
- +14 ;;=3^Old myocardial infarction
- +15 ;;^UTILITY(U,$J,358.3,14814,1,4,0)
- +16 ;;=4^I25.2
- +17 ;;^UTILITY(U,$J,358.3,14814,2)
- +18 ;;=^259884
- +19 ;;^UTILITY(U,$J,358.3,14815,0)
- +20 ;;=I42.8^^58^708^19
- +21 ;;^UTILITY(U,$J,358.3,14815,1,0)
- +22 ;;=^358.31IA^4^2
- +23 ;;^UTILITY(U,$J,358.3,14815,1,3,0)
- +24 ;;=3^Cardiomyopathies NEC
- +25 ;;^UTILITY(U,$J,358.3,14815,1,4,0)
- +26 ;;=4^I42.8
- +27 ;;^UTILITY(U,$J,358.3,14815,2)
- +28 ;;=^5007199
- +29 ;;^UTILITY(U,$J,358.3,14816,0)
- +30 ;;=I42.5^^58^708^29
- +31 ;;^UTILITY(U,$J,358.3,14816,1,0)
- +32 ;;=^358.31IA^4^2
- +33 ;;^UTILITY(U,$J,358.3,14816,1,3,0)
- +34 ;;=3^Restrictive Cardiomyopathy NEC
- +35 ;;^UTILITY(U,$J,358.3,14816,1,4,0)
- +36 ;;=4^I42.5
- +37 ;;^UTILITY(U,$J,358.3,14816,2)
- +38 ;;=^5007196
- +39 ;;^UTILITY(U,$J,358.3,14817,0)
- +40 ;;=Z95.1^^58^708^26
- +41 ;;^UTILITY(U,$J,358.3,14817,1,0)
- +42 ;;=^358.31IA^4^2
- +43 ;;^UTILITY(U,$J,358.3,14817,1,3,0)
- +44 ;;=3^Presence of aortocoronary bypass graft
- +45 ;;^UTILITY(U,$J,358.3,14817,1,4,0)
- +46 ;;=4^Z95.1
- +47 ;;^UTILITY(U,$J,358.3,14817,2)
- +48 ;;=^5063669
- +49 ;;^UTILITY(U,$J,358.3,14818,0)
- +50 ;;=Z95.0^^58^708^27
- +51 ;;^UTILITY(U,$J,358.3,14818,1,0)
- +52 ;;=^358.31IA^4^2
- +53 ;;^UTILITY(U,$J,358.3,14818,1,3,0)
- +54 ;;=3^Presence of cardiac pacemaker
- +55 ;;^UTILITY(U,$J,358.3,14818,1,4,0)
- +56 ;;=4^Z95.0
- +57 ;;^UTILITY(U,$J,358.3,14818,2)
- +58 ;;=^5063668
- +59 ;;^UTILITY(U,$J,358.3,14819,0)
- +60 ;;=J98.9^^58^708^28
- +61 ;;^UTILITY(U,$J,358.3,14819,1,0)
- +62 ;;=^358.31IA^4^2
- +63 ;;^UTILITY(U,$J,358.3,14819,1,3,0)
- +64 ;;=3^Respiratory disorder, unspecified
- +65 ;;^UTILITY(U,$J,358.3,14819,1,4,0)
- +66 ;;=4^J98.9
- +67 ;;^UTILITY(U,$J,358.3,14819,2)
- +68 ;;=^5008366
- +69 ;;^UTILITY(U,$J,358.3,14820,0)
- +70 ;;=I22.9^^58^708^30
- +71 ;;^UTILITY(U,$J,358.3,14820,1,0)
- +72 ;;=^358.31IA^4^2
- +73 ;;^UTILITY(U,$J,358.3,14820,1,3,0)
- +74 ;;=3^Subsequent STEMI of unsp site
- +75 ;;^UTILITY(U,$J,358.3,14820,1,4,0)
- +76 ;;=4^I22.9
- +77 ;;^UTILITY(U,$J,358.3,14820,2)
- +78 ;;=^5007093
- +79 ;;^UTILITY(U,$J,358.3,14821,0)
- +80 ;;=I48.91^^58^708^6
- +81 ;;^UTILITY(U,$J,358.3,14821,1,0)
- +82 ;;=^358.31IA^4^2
- +83 ;;^UTILITY(U,$J,358.3,14821,1,3,0)
- +84 ;;=3^AFIB-Unspec
- +85 ;;^UTILITY(U,$J,358.3,14821,1,4,0)
- +86 ;;=4^I48.91
- +87 ;;^UTILITY(U,$J,358.3,14821,2)
- +88 ;;=^5007229
- +89 ;;^UTILITY(U,$J,358.3,14822,0)
- +90 ;;=I25.110^^58^708^11
- +91 ;;^UTILITY(U,$J,358.3,14822,1,0)
- +92 ;;=^358.31IA^4^2
- +93 ;;^UTILITY(U,$J,358.3,14822,1,3,0)
- +94 ;;=3^CAD w/ Unstable Agngia
- +95 ;;^UTILITY(U,$J,358.3,14822,1,4,0)
- +96 ;;=4^I25.110
- +97 ;;^UTILITY(U,$J,358.3,14822,2)
- +98 ;;=^5007108
- +99 ;;^UTILITY(U,$J,358.3,14823,0)
- +100 ;;=I25.111^^58^708^12
- +101 ;;^UTILITY(U,$J,358.3,14823,1,0)
- +102 ;;=^358.31IA^4^2
- +103 ;;^UTILITY(U,$J,358.3,14823,1,3,0)
- +104 ;;=3^CAD w/ Unstable Angia w/ Documented Spasm
- +105 ;;^UTILITY(U,$J,358.3,14823,1,4,0)
- +106 ;;=4^I25.111
- +107 ;;^UTILITY(U,$J,358.3,14823,2)
- +108 ;;=^5007109
- +109 ;;^UTILITY(U,$J,358.3,14824,0)
- +110 ;;=I25.118^^58^708^10
- +111 ;;^UTILITY(U,$J,358.3,14824,1,0)
- +112 ;;=^358.31IA^4^2
- +113 ;;^UTILITY(U,$J,358.3,14824,1,3,0)
- +114 ;;=3^CAD w/ Oth Forms of Angina (Includes Stable)
- +115 ;;^UTILITY(U,$J,358.3,14824,1,4,0)
- +116 ;;=4^I25.118
- +117 ;;^UTILITY(U,$J,358.3,14824,2)
- +118 ;;=^5007110
- +119 ;;^UTILITY(U,$J,358.3,14825,0)
- +120 ;;=I48.0^^58^708^4
- +121 ;;^UTILITY(U,$J,358.3,14825,1,0)
- +122 ;;=^358.31IA^4^2
- +123 ;;^UTILITY(U,$J,358.3,14825,1,3,0)
- +124 ;;=3^AFIB-Paroxysmal
- +125 ;;^UTILITY(U,$J,358.3,14825,1,4,0)
- +126 ;;=4^I48.0