IBDEI28Q ; ; 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,35775,0)
;;=I50.9^^139^1823^9
;;^UTILITY(U,$J,358.3,35775,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35775,1,3,0)
;;=3^Heart failure, unspecified
;;^UTILITY(U,$J,358.3,35775,1,4,0)
;;=4^I50.9
;;^UTILITY(U,$J,358.3,35775,2)
;;=^5007251
;;^UTILITY(U,$J,358.3,35776,0)
;;=I25.2^^139^1823^10
;;^UTILITY(U,$J,358.3,35776,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35776,1,3,0)
;;=3^Old myocardial infarction
;;^UTILITY(U,$J,358.3,35776,1,4,0)
;;=4^I25.2
;;^UTILITY(U,$J,358.3,35776,2)
;;=^259884
;;^UTILITY(U,$J,358.3,35777,0)
;;=I42.8^^139^1823^5
;;^UTILITY(U,$J,358.3,35777,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35777,1,3,0)
;;=3^Cardiomyopathies NEC
;;^UTILITY(U,$J,358.3,35777,1,4,0)
;;=4^I42.8
;;^UTILITY(U,$J,358.3,35777,2)
;;=^5007199
;;^UTILITY(U,$J,358.3,35778,0)
;;=I42.5^^139^1823^14
;;^UTILITY(U,$J,358.3,35778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35778,1,3,0)
;;=3^Restrictive Cardiomyopathy NEC
;;^UTILITY(U,$J,358.3,35778,1,4,0)
;;=4^I42.5
;;^UTILITY(U,$J,358.3,35778,2)
;;=^5007196
;;^UTILITY(U,$J,358.3,35779,0)
;;=Z95.1^^139^1823^11
;;^UTILITY(U,$J,358.3,35779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35779,1,3,0)
;;=3^Presence of aortocoronary bypass graft
;;^UTILITY(U,$J,358.3,35779,1,4,0)
;;=4^Z95.1
;;^UTILITY(U,$J,358.3,35779,2)
;;=^5063669
;;^UTILITY(U,$J,358.3,35780,0)
;;=Z95.0^^139^1823^12
;;^UTILITY(U,$J,358.3,35780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35780,1,3,0)
;;=3^Presence of cardiac pacemaker
;;^UTILITY(U,$J,358.3,35780,1,4,0)
;;=4^Z95.0
;;^UTILITY(U,$J,358.3,35780,2)
;;=^5063668
;;^UTILITY(U,$J,358.3,35781,0)
;;=J98.9^^139^1823^13
;;^UTILITY(U,$J,358.3,35781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35781,1,3,0)
;;=3^Respiratory disorder, unspecified
;;^UTILITY(U,$J,358.3,35781,1,4,0)
;;=4^J98.9
;;^UTILITY(U,$J,358.3,35781,2)
;;=^5008366
;;^UTILITY(U,$J,358.3,35782,0)
;;=I22.9^^139^1823^15
;;^UTILITY(U,$J,358.3,35782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35782,1,3,0)
;;=3^Subsequent STEMI of unsp site
;;^UTILITY(U,$J,358.3,35782,1,4,0)
;;=4^I22.9
;;^UTILITY(U,$J,358.3,35782,2)
;;=^5007093
;;^UTILITY(U,$J,358.3,35783,0)
;;=I48.91^^139^1823^2
;;^UTILITY(U,$J,358.3,35783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35783,1,3,0)
;;=3^Atrial Fibrillation,Unspec
;;^UTILITY(U,$J,358.3,35783,1,4,0)
;;=4^I48.91
;;^UTILITY(U,$J,358.3,35783,2)
;;=^5007229
;;^UTILITY(U,$J,358.3,35784,0)
;;=F81.81^^139^1824^3
;;^UTILITY(U,$J,358.3,35784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35784,1,3,0)
;;=3^Disorder of written expression
;;^UTILITY(U,$J,358.3,35784,1,4,0)
;;=4^F81.81
;;^UTILITY(U,$J,358.3,35784,2)
;;=^5003680
;;^UTILITY(U,$J,358.3,35785,0)
;;=R41.3^^139^1824^1
;;^UTILITY(U,$J,358.3,35785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35785,1,3,0)
;;=3^Amnesia NEC
;;^UTILITY(U,$J,358.3,35785,1,4,0)
;;=4^R41.3
;;^UTILITY(U,$J,358.3,35785,2)
;;=^5019439
;;^UTILITY(U,$J,358.3,35786,0)
;;=F81.89^^139^1824^2
;;^UTILITY(U,$J,358.3,35786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35786,1,3,0)
;;=3^Developmental disorders of scholastic skills NEC
;;^UTILITY(U,$J,358.3,35786,1,4,0)
;;=4^F81.89
;;^UTILITY(U,$J,358.3,35786,2)
;;=^5003681
;;^UTILITY(U,$J,358.3,35787,0)
;;=F07.81^^139^1824^4
;;^UTILITY(U,$J,358.3,35787,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI28Q 3747 printed Dec 13, 2024@02:23:58 Page 2
IBDEI28Q ; ; 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,35775,0)
+2 ;;=I50.9^^139^1823^9
+3 ;;^UTILITY(U,$J,358.3,35775,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,35775,1,3,0)
+6 ;;=3^Heart failure, unspecified
+7 ;;^UTILITY(U,$J,358.3,35775,1,4,0)
+8 ;;=4^I50.9
+9 ;;^UTILITY(U,$J,358.3,35775,2)
+10 ;;=^5007251
+11 ;;^UTILITY(U,$J,358.3,35776,0)
+12 ;;=I25.2^^139^1823^10
+13 ;;^UTILITY(U,$J,358.3,35776,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,35776,1,3,0)
+16 ;;=3^Old myocardial infarction
+17 ;;^UTILITY(U,$J,358.3,35776,1,4,0)
+18 ;;=4^I25.2
+19 ;;^UTILITY(U,$J,358.3,35776,2)
+20 ;;=^259884
+21 ;;^UTILITY(U,$J,358.3,35777,0)
+22 ;;=I42.8^^139^1823^5
+23 ;;^UTILITY(U,$J,358.3,35777,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,35777,1,3,0)
+26 ;;=3^Cardiomyopathies NEC
+27 ;;^UTILITY(U,$J,358.3,35777,1,4,0)
+28 ;;=4^I42.8
+29 ;;^UTILITY(U,$J,358.3,35777,2)
+30 ;;=^5007199
+31 ;;^UTILITY(U,$J,358.3,35778,0)
+32 ;;=I42.5^^139^1823^14
+33 ;;^UTILITY(U,$J,358.3,35778,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,35778,1,3,0)
+36 ;;=3^Restrictive Cardiomyopathy NEC
+37 ;;^UTILITY(U,$J,358.3,35778,1,4,0)
+38 ;;=4^I42.5
+39 ;;^UTILITY(U,$J,358.3,35778,2)
+40 ;;=^5007196
+41 ;;^UTILITY(U,$J,358.3,35779,0)
+42 ;;=Z95.1^^139^1823^11
+43 ;;^UTILITY(U,$J,358.3,35779,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,35779,1,3,0)
+46 ;;=3^Presence of aortocoronary bypass graft
+47 ;;^UTILITY(U,$J,358.3,35779,1,4,0)
+48 ;;=4^Z95.1
+49 ;;^UTILITY(U,$J,358.3,35779,2)
+50 ;;=^5063669
+51 ;;^UTILITY(U,$J,358.3,35780,0)
+52 ;;=Z95.0^^139^1823^12
+53 ;;^UTILITY(U,$J,358.3,35780,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,35780,1,3,0)
+56 ;;=3^Presence of cardiac pacemaker
+57 ;;^UTILITY(U,$J,358.3,35780,1,4,0)
+58 ;;=4^Z95.0
+59 ;;^UTILITY(U,$J,358.3,35780,2)
+60 ;;=^5063668
+61 ;;^UTILITY(U,$J,358.3,35781,0)
+62 ;;=J98.9^^139^1823^13
+63 ;;^UTILITY(U,$J,358.3,35781,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,35781,1,3,0)
+66 ;;=3^Respiratory disorder, unspecified
+67 ;;^UTILITY(U,$J,358.3,35781,1,4,0)
+68 ;;=4^J98.9
+69 ;;^UTILITY(U,$J,358.3,35781,2)
+70 ;;=^5008366
+71 ;;^UTILITY(U,$J,358.3,35782,0)
+72 ;;=I22.9^^139^1823^15
+73 ;;^UTILITY(U,$J,358.3,35782,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,35782,1,3,0)
+76 ;;=3^Subsequent STEMI of unsp site
+77 ;;^UTILITY(U,$J,358.3,35782,1,4,0)
+78 ;;=4^I22.9
+79 ;;^UTILITY(U,$J,358.3,35782,2)
+80 ;;=^5007093
+81 ;;^UTILITY(U,$J,358.3,35783,0)
+82 ;;=I48.91^^139^1823^2
+83 ;;^UTILITY(U,$J,358.3,35783,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,35783,1,3,0)
+86 ;;=3^Atrial Fibrillation,Unspec
+87 ;;^UTILITY(U,$J,358.3,35783,1,4,0)
+88 ;;=4^I48.91
+89 ;;^UTILITY(U,$J,358.3,35783,2)
+90 ;;=^5007229
+91 ;;^UTILITY(U,$J,358.3,35784,0)
+92 ;;=F81.81^^139^1824^3
+93 ;;^UTILITY(U,$J,358.3,35784,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,35784,1,3,0)
+96 ;;=3^Disorder of written expression
+97 ;;^UTILITY(U,$J,358.3,35784,1,4,0)
+98 ;;=4^F81.81
+99 ;;^UTILITY(U,$J,358.3,35784,2)
+100 ;;=^5003680
+101 ;;^UTILITY(U,$J,358.3,35785,0)
+102 ;;=R41.3^^139^1824^1
+103 ;;^UTILITY(U,$J,358.3,35785,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,35785,1,3,0)
+106 ;;=3^Amnesia NEC
+107 ;;^UTILITY(U,$J,358.3,35785,1,4,0)
+108 ;;=4^R41.3
+109 ;;^UTILITY(U,$J,358.3,35785,2)
+110 ;;=^5019439
+111 ;;^UTILITY(U,$J,358.3,35786,0)
+112 ;;=F81.89^^139^1824^2
+113 ;;^UTILITY(U,$J,358.3,35786,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,35786,1,3,0)
+116 ;;=3^Developmental disorders of scholastic skills NEC
+117 ;;^UTILITY(U,$J,358.3,35786,1,4,0)
+118 ;;=4^F81.89
+119 ;;^UTILITY(U,$J,358.3,35786,2)
+120 ;;=^5003681
+121 ;;^UTILITY(U,$J,358.3,35787,0)
+122 ;;=F07.81^^139^1824^4
+123 ;;^UTILITY(U,$J,358.3,35787,1,0)
+124 ;;=^358.31IA^4^2