IBDEI17J ; ; 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,19611,0)
;;=J44.9^^67^878^17
;;^UTILITY(U,$J,358.3,19611,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19611,1,3,0)
;;=3^Chronic obstructive pulmonary disease, unspecified
;;^UTILITY(U,$J,358.3,19611,1,4,0)
;;=4^J44.9
;;^UTILITY(U,$J,358.3,19611,2)
;;=^5008241
;;^UTILITY(U,$J,358.3,19612,0)
;;=I50.22^^67^878^18
;;^UTILITY(U,$J,358.3,19612,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19612,1,3,0)
;;=3^Chronic systolic (congestive) heart failure
;;^UTILITY(U,$J,358.3,19612,1,4,0)
;;=4^I50.22
;;^UTILITY(U,$J,358.3,19612,2)
;;=^5007241
;;^UTILITY(U,$J,358.3,19613,0)
;;=Z98.61^^67^878^20
;;^UTILITY(U,$J,358.3,19613,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19613,1,3,0)
;;=3^Coronary angioplasty status
;;^UTILITY(U,$J,358.3,19613,1,4,0)
;;=4^Z98.61
;;^UTILITY(U,$J,358.3,19613,2)
;;=^5063742
;;^UTILITY(U,$J,358.3,19614,0)
;;=I42.0^^67^878^22
;;^UTILITY(U,$J,358.3,19614,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19614,1,3,0)
;;=3^Dilated cardiomyopathy
;;^UTILITY(U,$J,358.3,19614,1,4,0)
;;=4^I42.0
;;^UTILITY(U,$J,358.3,19614,2)
;;=^5007194
;;^UTILITY(U,$J,358.3,19615,0)
;;=J43.9^^67^878^23
;;^UTILITY(U,$J,358.3,19615,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19615,1,3,0)
;;=3^Emphysema, unspecified
;;^UTILITY(U,$J,358.3,19615,1,4,0)
;;=4^J43.9
;;^UTILITY(U,$J,358.3,19615,2)
;;=^5008238
;;^UTILITY(U,$J,358.3,19616,0)
;;=Z82.49^^67^878^24
;;^UTILITY(U,$J,358.3,19616,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19616,1,3,0)
;;=3^Family hx of ischem heart dis and oth dis of the circ sys
;;^UTILITY(U,$J,358.3,19616,1,4,0)
;;=4^Z82.49
;;^UTILITY(U,$J,358.3,19616,2)
;;=^5063369
;;^UTILITY(U,$J,358.3,19617,0)
;;=I50.9^^67^878^25
;;^UTILITY(U,$J,358.3,19617,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19617,1,3,0)
;;=3^Heart failure, unspecified
;;^UTILITY(U,$J,358.3,19617,1,4,0)
;;=4^I50.9
;;^UTILITY(U,$J,358.3,19617,2)
;;=^5007251
;;^UTILITY(U,$J,358.3,19618,0)
;;=I25.2^^67^878^27
;;^UTILITY(U,$J,358.3,19618,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19618,1,3,0)
;;=3^Old myocardial infarction
;;^UTILITY(U,$J,358.3,19618,1,4,0)
;;=4^I25.2
;;^UTILITY(U,$J,358.3,19618,2)
;;=^259884
;;^UTILITY(U,$J,358.3,19619,0)
;;=I42.8^^67^878^12
;;^UTILITY(U,$J,358.3,19619,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19619,1,3,0)
;;=3^Cardiomyopathies NEC
;;^UTILITY(U,$J,358.3,19619,1,4,0)
;;=4^I42.8
;;^UTILITY(U,$J,358.3,19619,2)
;;=^5007199
;;^UTILITY(U,$J,358.3,19620,0)
;;=I42.2^^67^878^26
;;^UTILITY(U,$J,358.3,19620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19620,1,3,0)
;;=3^Hypertrophic cardiomyopathy NEC
;;^UTILITY(U,$J,358.3,19620,1,4,0)
;;=4^I42.2
;;^UTILITY(U,$J,358.3,19620,2)
;;=^340521
;;^UTILITY(U,$J,358.3,19621,0)
;;=I42.5^^67^878^32
;;^UTILITY(U,$J,358.3,19621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19621,1,3,0)
;;=3^Restrictive cardiomyopathy NEC
;;^UTILITY(U,$J,358.3,19621,1,4,0)
;;=4^I42.5
;;^UTILITY(U,$J,358.3,19621,2)
;;=^5007196
;;^UTILITY(U,$J,358.3,19622,0)
;;=Z95.1^^67^878^29
;;^UTILITY(U,$J,358.3,19622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19622,1,3,0)
;;=3^Presence of aortocoronary bypass graft
;;^UTILITY(U,$J,358.3,19622,1,4,0)
;;=4^Z95.1
;;^UTILITY(U,$J,358.3,19622,2)
;;=^5063669
;;^UTILITY(U,$J,358.3,19623,0)
;;=Z95.0^^67^878^30
;;^UTILITY(U,$J,358.3,19623,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI17J 3772 printed Dec 13, 2024@02:03:16 Page 2
IBDEI17J ; ; 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,19611,0)
+2 ;;=J44.9^^67^878^17
+3 ;;^UTILITY(U,$J,358.3,19611,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,19611,1,3,0)
+6 ;;=3^Chronic obstructive pulmonary disease, unspecified
+7 ;;^UTILITY(U,$J,358.3,19611,1,4,0)
+8 ;;=4^J44.9
+9 ;;^UTILITY(U,$J,358.3,19611,2)
+10 ;;=^5008241
+11 ;;^UTILITY(U,$J,358.3,19612,0)
+12 ;;=I50.22^^67^878^18
+13 ;;^UTILITY(U,$J,358.3,19612,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,19612,1,3,0)
+16 ;;=3^Chronic systolic (congestive) heart failure
+17 ;;^UTILITY(U,$J,358.3,19612,1,4,0)
+18 ;;=4^I50.22
+19 ;;^UTILITY(U,$J,358.3,19612,2)
+20 ;;=^5007241
+21 ;;^UTILITY(U,$J,358.3,19613,0)
+22 ;;=Z98.61^^67^878^20
+23 ;;^UTILITY(U,$J,358.3,19613,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,19613,1,3,0)
+26 ;;=3^Coronary angioplasty status
+27 ;;^UTILITY(U,$J,358.3,19613,1,4,0)
+28 ;;=4^Z98.61
+29 ;;^UTILITY(U,$J,358.3,19613,2)
+30 ;;=^5063742
+31 ;;^UTILITY(U,$J,358.3,19614,0)
+32 ;;=I42.0^^67^878^22
+33 ;;^UTILITY(U,$J,358.3,19614,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,19614,1,3,0)
+36 ;;=3^Dilated cardiomyopathy
+37 ;;^UTILITY(U,$J,358.3,19614,1,4,0)
+38 ;;=4^I42.0
+39 ;;^UTILITY(U,$J,358.3,19614,2)
+40 ;;=^5007194
+41 ;;^UTILITY(U,$J,358.3,19615,0)
+42 ;;=J43.9^^67^878^23
+43 ;;^UTILITY(U,$J,358.3,19615,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,19615,1,3,0)
+46 ;;=3^Emphysema, unspecified
+47 ;;^UTILITY(U,$J,358.3,19615,1,4,0)
+48 ;;=4^J43.9
+49 ;;^UTILITY(U,$J,358.3,19615,2)
+50 ;;=^5008238
+51 ;;^UTILITY(U,$J,358.3,19616,0)
+52 ;;=Z82.49^^67^878^24
+53 ;;^UTILITY(U,$J,358.3,19616,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,19616,1,3,0)
+56 ;;=3^Family hx of ischem heart dis and oth dis of the circ sys
+57 ;;^UTILITY(U,$J,358.3,19616,1,4,0)
+58 ;;=4^Z82.49
+59 ;;^UTILITY(U,$J,358.3,19616,2)
+60 ;;=^5063369
+61 ;;^UTILITY(U,$J,358.3,19617,0)
+62 ;;=I50.9^^67^878^25
+63 ;;^UTILITY(U,$J,358.3,19617,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,19617,1,3,0)
+66 ;;=3^Heart failure, unspecified
+67 ;;^UTILITY(U,$J,358.3,19617,1,4,0)
+68 ;;=4^I50.9
+69 ;;^UTILITY(U,$J,358.3,19617,2)
+70 ;;=^5007251
+71 ;;^UTILITY(U,$J,358.3,19618,0)
+72 ;;=I25.2^^67^878^27
+73 ;;^UTILITY(U,$J,358.3,19618,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,19618,1,3,0)
+76 ;;=3^Old myocardial infarction
+77 ;;^UTILITY(U,$J,358.3,19618,1,4,0)
+78 ;;=4^I25.2
+79 ;;^UTILITY(U,$J,358.3,19618,2)
+80 ;;=^259884
+81 ;;^UTILITY(U,$J,358.3,19619,0)
+82 ;;=I42.8^^67^878^12
+83 ;;^UTILITY(U,$J,358.3,19619,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,19619,1,3,0)
+86 ;;=3^Cardiomyopathies NEC
+87 ;;^UTILITY(U,$J,358.3,19619,1,4,0)
+88 ;;=4^I42.8
+89 ;;^UTILITY(U,$J,358.3,19619,2)
+90 ;;=^5007199
+91 ;;^UTILITY(U,$J,358.3,19620,0)
+92 ;;=I42.2^^67^878^26
+93 ;;^UTILITY(U,$J,358.3,19620,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,19620,1,3,0)
+96 ;;=3^Hypertrophic cardiomyopathy NEC
+97 ;;^UTILITY(U,$J,358.3,19620,1,4,0)
+98 ;;=4^I42.2
+99 ;;^UTILITY(U,$J,358.3,19620,2)
+100 ;;=^340521
+101 ;;^UTILITY(U,$J,358.3,19621,0)
+102 ;;=I42.5^^67^878^32
+103 ;;^UTILITY(U,$J,358.3,19621,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,19621,1,3,0)
+106 ;;=3^Restrictive cardiomyopathy NEC
+107 ;;^UTILITY(U,$J,358.3,19621,1,4,0)
+108 ;;=4^I42.5
+109 ;;^UTILITY(U,$J,358.3,19621,2)
+110 ;;=^5007196
+111 ;;^UTILITY(U,$J,358.3,19622,0)
+112 ;;=Z95.1^^67^878^29
+113 ;;^UTILITY(U,$J,358.3,19622,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,19622,1,3,0)
+116 ;;=3^Presence of aortocoronary bypass graft
+117 ;;^UTILITY(U,$J,358.3,19622,1,4,0)
+118 ;;=4^Z95.1
+119 ;;^UTILITY(U,$J,358.3,19622,2)
+120 ;;=^5063669
+121 ;;^UTILITY(U,$J,358.3,19623,0)
+122 ;;=Z95.0^^67^878^30
+123 ;;^UTILITY(U,$J,358.3,19623,1,0)
+124 ;;=^358.31IA^4^2