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