IBDEI17K ; ; 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,19623,1,3,0)
;;=3^Presence of cardiac pacemaker
;;^UTILITY(U,$J,358.3,19623,1,4,0)
;;=4^Z95.0
;;^UTILITY(U,$J,358.3,19623,2)
;;=^5063668
;;^UTILITY(U,$J,358.3,19624,0)
;;=Z95.5^^67^878^31
;;^UTILITY(U,$J,358.3,19624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19624,1,3,0)
;;=3^Presence of coronary angioplasty implant and graft
;;^UTILITY(U,$J,358.3,19624,1,4,0)
;;=4^Z95.5
;;^UTILITY(U,$J,358.3,19624,2)
;;=^5063673
;;^UTILITY(U,$J,358.3,19625,0)
;;=I21.3^^67^878^33
;;^UTILITY(U,$J,358.3,19625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19625,1,3,0)
;;=3^ST elevation (STEMI) myocardial infarction of unsp site
;;^UTILITY(U,$J,358.3,19625,1,4,0)
;;=4^I21.3
;;^UTILITY(U,$J,358.3,19625,2)
;;=^5007087
;;^UTILITY(U,$J,358.3,19626,0)
;;=J43.0^^67^878^35
;;^UTILITY(U,$J,358.3,19626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19626,1,3,0)
;;=3^Unilateral pulmonary emphysema [MacLeod's syndrome]
;;^UTILITY(U,$J,358.3,19626,1,4,0)
;;=4^J43.0
;;^UTILITY(U,$J,358.3,19626,2)
;;=^5008235
;;^UTILITY(U,$J,358.3,19627,0)
;;=I50.40^^67^878^19
;;^UTILITY(U,$J,358.3,19627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19627,1,3,0)
;;=3^Combined systolic and diastolic (congestive) hrt fail,Unspec
;;^UTILITY(U,$J,358.3,19627,1,4,0)
;;=4^I50.40
;;^UTILITY(U,$J,358.3,19627,2)
;;=^5007247
;;^UTILITY(U,$J,358.3,19628,0)
;;=I50.30^^67^878^21
;;^UTILITY(U,$J,358.3,19628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19628,1,3,0)
;;=3^Diastolic (congestive) heart failure,Unspec
;;^UTILITY(U,$J,358.3,19628,1,4,0)
;;=4^I50.30
;;^UTILITY(U,$J,358.3,19628,2)
;;=^5007243
;;^UTILITY(U,$J,358.3,19629,0)
;;=I50.20^^67^878^34
;;^UTILITY(U,$J,358.3,19629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19629,1,3,0)
;;=3^Systolic (congestive) heart failure,Unspec
;;^UTILITY(U,$J,358.3,19629,1,4,0)
;;=4^I50.20
;;^UTILITY(U,$J,358.3,19629,2)
;;=^5007239
;;^UTILITY(U,$J,358.3,19630,0)
;;=T84.81XA^^67^879^4
;;^UTILITY(U,$J,358.3,19630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19630,1,3,0)
;;=3^Embolism due to internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19630,1,4,0)
;;=4^T84.81XA
;;^UTILITY(U,$J,358.3,19630,2)
;;=^5055454
;;^UTILITY(U,$J,358.3,19631,0)
;;=T84.81XS^^67^879^5
;;^UTILITY(U,$J,358.3,19631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19631,1,3,0)
;;=3^Embolism due to internal orthopedic prosth dev/grft, sequela
;;^UTILITY(U,$J,358.3,19631,1,4,0)
;;=4^T84.81XS
;;^UTILITY(U,$J,358.3,19631,2)
;;=^5055456
;;^UTILITY(U,$J,358.3,19632,0)
;;=T84.81XD^^67^879^6
;;^UTILITY(U,$J,358.3,19632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19632,1,3,0)
;;=3^Embolism due to internal orthopedic prosth dev/grft, subs
;;^UTILITY(U,$J,358.3,19632,1,4,0)
;;=4^T84.81XD
;;^UTILITY(U,$J,358.3,19632,2)
;;=^5055455
;;^UTILITY(U,$J,358.3,19633,0)
;;=T84.82XA^^67^879^7
;;^UTILITY(U,$J,358.3,19633,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19633,1,3,0)
;;=3^Fibrosis due to internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19633,1,4,0)
;;=4^T84.82XA
;;^UTILITY(U,$J,358.3,19633,2)
;;=^5055457
;;^UTILITY(U,$J,358.3,19634,0)
;;=T84.82XD^^67^879^8
;;^UTILITY(U,$J,358.3,19634,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19634,1,3,0)
;;=3^Fibrosis due to internal orthopedic prosth dev/grft, subs
;;^UTILITY(U,$J,358.3,19634,1,4,0)
;;=4^T84.82XD
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI17K 3761 printed Dec 13, 2024@02:03:17 Page 2
IBDEI17K ; ; 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,19623,1,3,0)
+2 ;;=3^Presence of cardiac pacemaker
+3 ;;^UTILITY(U,$J,358.3,19623,1,4,0)
+4 ;;=4^Z95.0
+5 ;;^UTILITY(U,$J,358.3,19623,2)
+6 ;;=^5063668
+7 ;;^UTILITY(U,$J,358.3,19624,0)
+8 ;;=Z95.5^^67^878^31
+9 ;;^UTILITY(U,$J,358.3,19624,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,19624,1,3,0)
+12 ;;=3^Presence of coronary angioplasty implant and graft
+13 ;;^UTILITY(U,$J,358.3,19624,1,4,0)
+14 ;;=4^Z95.5
+15 ;;^UTILITY(U,$J,358.3,19624,2)
+16 ;;=^5063673
+17 ;;^UTILITY(U,$J,358.3,19625,0)
+18 ;;=I21.3^^67^878^33
+19 ;;^UTILITY(U,$J,358.3,19625,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,19625,1,3,0)
+22 ;;=3^ST elevation (STEMI) myocardial infarction of unsp site
+23 ;;^UTILITY(U,$J,358.3,19625,1,4,0)
+24 ;;=4^I21.3
+25 ;;^UTILITY(U,$J,358.3,19625,2)
+26 ;;=^5007087
+27 ;;^UTILITY(U,$J,358.3,19626,0)
+28 ;;=J43.0^^67^878^35
+29 ;;^UTILITY(U,$J,358.3,19626,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,19626,1,3,0)
+32 ;;=3^Unilateral pulmonary emphysema [MacLeod's syndrome]
+33 ;;^UTILITY(U,$J,358.3,19626,1,4,0)
+34 ;;=4^J43.0
+35 ;;^UTILITY(U,$J,358.3,19626,2)
+36 ;;=^5008235
+37 ;;^UTILITY(U,$J,358.3,19627,0)
+38 ;;=I50.40^^67^878^19
+39 ;;^UTILITY(U,$J,358.3,19627,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,19627,1,3,0)
+42 ;;=3^Combined systolic and diastolic (congestive) hrt fail,Unspec
+43 ;;^UTILITY(U,$J,358.3,19627,1,4,0)
+44 ;;=4^I50.40
+45 ;;^UTILITY(U,$J,358.3,19627,2)
+46 ;;=^5007247
+47 ;;^UTILITY(U,$J,358.3,19628,0)
+48 ;;=I50.30^^67^878^21
+49 ;;^UTILITY(U,$J,358.3,19628,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,19628,1,3,0)
+52 ;;=3^Diastolic (congestive) heart failure,Unspec
+53 ;;^UTILITY(U,$J,358.3,19628,1,4,0)
+54 ;;=4^I50.30
+55 ;;^UTILITY(U,$J,358.3,19628,2)
+56 ;;=^5007243
+57 ;;^UTILITY(U,$J,358.3,19629,0)
+58 ;;=I50.20^^67^878^34
+59 ;;^UTILITY(U,$J,358.3,19629,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,19629,1,3,0)
+62 ;;=3^Systolic (congestive) heart failure,Unspec
+63 ;;^UTILITY(U,$J,358.3,19629,1,4,0)
+64 ;;=4^I50.20
+65 ;;^UTILITY(U,$J,358.3,19629,2)
+66 ;;=^5007239
+67 ;;^UTILITY(U,$J,358.3,19630,0)
+68 ;;=T84.81XA^^67^879^4
+69 ;;^UTILITY(U,$J,358.3,19630,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,19630,1,3,0)
+72 ;;=3^Embolism due to internal orthopedic prosth dev/grft, init
+73 ;;^UTILITY(U,$J,358.3,19630,1,4,0)
+74 ;;=4^T84.81XA
+75 ;;^UTILITY(U,$J,358.3,19630,2)
+76 ;;=^5055454
+77 ;;^UTILITY(U,$J,358.3,19631,0)
+78 ;;=T84.81XS^^67^879^5
+79 ;;^UTILITY(U,$J,358.3,19631,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,19631,1,3,0)
+82 ;;=3^Embolism due to internal orthopedic prosth dev/grft, sequela
+83 ;;^UTILITY(U,$J,358.3,19631,1,4,0)
+84 ;;=4^T84.81XS
+85 ;;^UTILITY(U,$J,358.3,19631,2)
+86 ;;=^5055456
+87 ;;^UTILITY(U,$J,358.3,19632,0)
+88 ;;=T84.81XD^^67^879^6
+89 ;;^UTILITY(U,$J,358.3,19632,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,19632,1,3,0)
+92 ;;=3^Embolism due to internal orthopedic prosth dev/grft, subs
+93 ;;^UTILITY(U,$J,358.3,19632,1,4,0)
+94 ;;=4^T84.81XD
+95 ;;^UTILITY(U,$J,358.3,19632,2)
+96 ;;=^5055455
+97 ;;^UTILITY(U,$J,358.3,19633,0)
+98 ;;=T84.82XA^^67^879^7
+99 ;;^UTILITY(U,$J,358.3,19633,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,19633,1,3,0)
+102 ;;=3^Fibrosis due to internal orthopedic prosth dev/grft, init
+103 ;;^UTILITY(U,$J,358.3,19633,1,4,0)
+104 ;;=4^T84.82XA
+105 ;;^UTILITY(U,$J,358.3,19633,2)
+106 ;;=^5055457
+107 ;;^UTILITY(U,$J,358.3,19634,0)
+108 ;;=T84.82XD^^67^879^8
+109 ;;^UTILITY(U,$J,358.3,19634,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,19634,1,3,0)
+112 ;;=3^Fibrosis due to internal orthopedic prosth dev/grft, subs
+113 ;;^UTILITY(U,$J,358.3,19634,1,4,0)
+114 ;;=4^T84.82XD