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