IBDEI2PM ; ; 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,43199,1,1,0)
;;=1^Comp Visit/High Decision
;;^UTILITY(U,$J,358.3,43199,1,2,0)
;;=2^99245
;;^UTILITY(U,$J,358.3,43200,0)
;;=I20.9^^158^2098^3
;;^UTILITY(U,$J,358.3,43200,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43200,1,3,0)
;;=3^Angina Pectoris,Unspec
;;^UTILITY(U,$J,358.3,43200,1,4,0)
;;=4^I20.9
;;^UTILITY(U,$J,358.3,43200,2)
;;=^5007079
;;^UTILITY(U,$J,358.3,43201,0)
;;=I25.10^^158^2098^4
;;^UTILITY(U,$J,358.3,43201,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43201,1,3,0)
;;=3^Athscl Hrt Disease Native Coronary Artery w/o Ang Pctrs
;;^UTILITY(U,$J,358.3,43201,1,4,0)
;;=4^I25.10
;;^UTILITY(U,$J,358.3,43201,2)
;;=^5007107
;;^UTILITY(U,$J,358.3,43202,0)
;;=I48.91^^158^2098^11
;;^UTILITY(U,$J,358.3,43202,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43202,1,3,0)
;;=3^Atrial Fibrillation,Unspec
;;^UTILITY(U,$J,358.3,43202,1,4,0)
;;=4^I48.91
;;^UTILITY(U,$J,358.3,43202,2)
;;=^5007229
;;^UTILITY(U,$J,358.3,43203,0)
;;=I48.0^^158^2098^9
;;^UTILITY(U,$J,358.3,43203,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43203,1,3,0)
;;=3^Atrial Fibrillation,Paroxysmal
;;^UTILITY(U,$J,358.3,43203,1,4,0)
;;=4^I48.0
;;^UTILITY(U,$J,358.3,43203,2)
;;=^90473
;;^UTILITY(U,$J,358.3,43204,0)
;;=Z95.0^^158^2098^18
;;^UTILITY(U,$J,358.3,43204,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43204,1,3,0)
;;=3^Presence of Cardiac Pacemaker
;;^UTILITY(U,$J,358.3,43204,1,4,0)
;;=4^Z95.0
;;^UTILITY(U,$J,358.3,43204,2)
;;=^5063668
;;^UTILITY(U,$J,358.3,43205,0)
;;=I50.9^^158^2098^15
;;^UTILITY(U,$J,358.3,43205,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43205,1,3,0)
;;=3^Heart Failure,Unspec
;;^UTILITY(U,$J,358.3,43205,1,4,0)
;;=4^I50.9
;;^UTILITY(U,$J,358.3,43205,2)
;;=^5007251
;;^UTILITY(U,$J,358.3,43206,0)
;;=I20.0^^158^2098^19
;;^UTILITY(U,$J,358.3,43206,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43206,1,3,0)
;;=3^Unstable Angina
;;^UTILITY(U,$J,358.3,43206,1,4,0)
;;=4^I20.0
;;^UTILITY(U,$J,358.3,43206,2)
;;=^5007076
;;^UTILITY(U,$J,358.3,43207,0)
;;=I25.110^^158^2098^5
;;^UTILITY(U,$J,358.3,43207,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43207,1,3,0)
;;=3^Athscl Hrt Disease Native Coronary Artery w/ Ang Pctrs
;;^UTILITY(U,$J,358.3,43207,1,4,0)
;;=4^I25.110
;;^UTILITY(U,$J,358.3,43207,2)
;;=^5007108
;;^UTILITY(U,$J,358.3,43208,0)
;;=I25.2^^158^2098^17
;;^UTILITY(U,$J,358.3,43208,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43208,1,3,0)
;;=3^Old Myocardial Infarction
;;^UTILITY(U,$J,358.3,43208,1,4,0)
;;=4^I25.2
;;^UTILITY(U,$J,358.3,43208,2)
;;=^259884
;;^UTILITY(U,$J,358.3,43209,0)
;;=I25.3^^158^2098^2
;;^UTILITY(U,$J,358.3,43209,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43209,1,3,0)
;;=3^Aneurysm of Heart
;;^UTILITY(U,$J,358.3,43209,1,4,0)
;;=4^I25.3
;;^UTILITY(U,$J,358.3,43209,2)
;;=^5007112
;;^UTILITY(U,$J,358.3,43210,0)
;;=I48.3^^158^2098^12
;;^UTILITY(U,$J,358.3,43210,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43210,1,3,0)
;;=3^Atypical Atrial Flutter,Type I
;;^UTILITY(U,$J,358.3,43210,1,4,0)
;;=4^I48.3
;;^UTILITY(U,$J,358.3,43210,2)
;;=^5007227
;;^UTILITY(U,$J,358.3,43211,0)
;;=I48.4^^158^2098^13
;;^UTILITY(U,$J,358.3,43211,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43211,1,3,0)
;;=3^Atypical Atrial Flutter,Type II
;;^UTILITY(U,$J,358.3,43211,1,4,0)
;;=4^I48.4
;;^UTILITY(U,$J,358.3,43211,2)
;;=^5007228
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2PM 3765 printed Nov 22, 2024@17:43:31 Page 2
IBDEI2PM ; ; 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,43199,1,1,0)
+2 ;;=1^Comp Visit/High Decision
+3 ;;^UTILITY(U,$J,358.3,43199,1,2,0)
+4 ;;=2^99245
+5 ;;^UTILITY(U,$J,358.3,43200,0)
+6 ;;=I20.9^^158^2098^3
+7 ;;^UTILITY(U,$J,358.3,43200,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,43200,1,3,0)
+10 ;;=3^Angina Pectoris,Unspec
+11 ;;^UTILITY(U,$J,358.3,43200,1,4,0)
+12 ;;=4^I20.9
+13 ;;^UTILITY(U,$J,358.3,43200,2)
+14 ;;=^5007079
+15 ;;^UTILITY(U,$J,358.3,43201,0)
+16 ;;=I25.10^^158^2098^4
+17 ;;^UTILITY(U,$J,358.3,43201,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,43201,1,3,0)
+20 ;;=3^Athscl Hrt Disease Native Coronary Artery w/o Ang Pctrs
+21 ;;^UTILITY(U,$J,358.3,43201,1,4,0)
+22 ;;=4^I25.10
+23 ;;^UTILITY(U,$J,358.3,43201,2)
+24 ;;=^5007107
+25 ;;^UTILITY(U,$J,358.3,43202,0)
+26 ;;=I48.91^^158^2098^11
+27 ;;^UTILITY(U,$J,358.3,43202,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,43202,1,3,0)
+30 ;;=3^Atrial Fibrillation,Unspec
+31 ;;^UTILITY(U,$J,358.3,43202,1,4,0)
+32 ;;=4^I48.91
+33 ;;^UTILITY(U,$J,358.3,43202,2)
+34 ;;=^5007229
+35 ;;^UTILITY(U,$J,358.3,43203,0)
+36 ;;=I48.0^^158^2098^9
+37 ;;^UTILITY(U,$J,358.3,43203,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,43203,1,3,0)
+40 ;;=3^Atrial Fibrillation,Paroxysmal
+41 ;;^UTILITY(U,$J,358.3,43203,1,4,0)
+42 ;;=4^I48.0
+43 ;;^UTILITY(U,$J,358.3,43203,2)
+44 ;;=^90473
+45 ;;^UTILITY(U,$J,358.3,43204,0)
+46 ;;=Z95.0^^158^2098^18
+47 ;;^UTILITY(U,$J,358.3,43204,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,43204,1,3,0)
+50 ;;=3^Presence of Cardiac Pacemaker
+51 ;;^UTILITY(U,$J,358.3,43204,1,4,0)
+52 ;;=4^Z95.0
+53 ;;^UTILITY(U,$J,358.3,43204,2)
+54 ;;=^5063668
+55 ;;^UTILITY(U,$J,358.3,43205,0)
+56 ;;=I50.9^^158^2098^15
+57 ;;^UTILITY(U,$J,358.3,43205,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,43205,1,3,0)
+60 ;;=3^Heart Failure,Unspec
+61 ;;^UTILITY(U,$J,358.3,43205,1,4,0)
+62 ;;=4^I50.9
+63 ;;^UTILITY(U,$J,358.3,43205,2)
+64 ;;=^5007251
+65 ;;^UTILITY(U,$J,358.3,43206,0)
+66 ;;=I20.0^^158^2098^19
+67 ;;^UTILITY(U,$J,358.3,43206,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,43206,1,3,0)
+70 ;;=3^Unstable Angina
+71 ;;^UTILITY(U,$J,358.3,43206,1,4,0)
+72 ;;=4^I20.0
+73 ;;^UTILITY(U,$J,358.3,43206,2)
+74 ;;=^5007076
+75 ;;^UTILITY(U,$J,358.3,43207,0)
+76 ;;=I25.110^^158^2098^5
+77 ;;^UTILITY(U,$J,358.3,43207,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,43207,1,3,0)
+80 ;;=3^Athscl Hrt Disease Native Coronary Artery w/ Ang Pctrs
+81 ;;^UTILITY(U,$J,358.3,43207,1,4,0)
+82 ;;=4^I25.110
+83 ;;^UTILITY(U,$J,358.3,43207,2)
+84 ;;=^5007108
+85 ;;^UTILITY(U,$J,358.3,43208,0)
+86 ;;=I25.2^^158^2098^17
+87 ;;^UTILITY(U,$J,358.3,43208,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,43208,1,3,0)
+90 ;;=3^Old Myocardial Infarction
+91 ;;^UTILITY(U,$J,358.3,43208,1,4,0)
+92 ;;=4^I25.2
+93 ;;^UTILITY(U,$J,358.3,43208,2)
+94 ;;=^259884
+95 ;;^UTILITY(U,$J,358.3,43209,0)
+96 ;;=I25.3^^158^2098^2
+97 ;;^UTILITY(U,$J,358.3,43209,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,43209,1,3,0)
+100 ;;=3^Aneurysm of Heart
+101 ;;^UTILITY(U,$J,358.3,43209,1,4,0)
+102 ;;=4^I25.3
+103 ;;^UTILITY(U,$J,358.3,43209,2)
+104 ;;=^5007112
+105 ;;^UTILITY(U,$J,358.3,43210,0)
+106 ;;=I48.3^^158^2098^12
+107 ;;^UTILITY(U,$J,358.3,43210,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,43210,1,3,0)
+110 ;;=3^Atypical Atrial Flutter,Type I
+111 ;;^UTILITY(U,$J,358.3,43210,1,4,0)
+112 ;;=4^I48.3
+113 ;;^UTILITY(U,$J,358.3,43210,2)
+114 ;;=^5007227
+115 ;;^UTILITY(U,$J,358.3,43211,0)
+116 ;;=I48.4^^158^2098^13
+117 ;;^UTILITY(U,$J,358.3,43211,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,43211,1,3,0)
+120 ;;=3^Atypical Atrial Flutter,Type II
+121 ;;^UTILITY(U,$J,358.3,43211,1,4,0)
+122 ;;=4^I48.4
+123 ;;^UTILITY(U,$J,358.3,43211,2)
+124 ;;=^5007228