IBDEI1HY ; ; 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,24211,1,3,0)
;;=3^Angina Pectoris w/ Documented Spasm
;;^UTILITY(U,$J,358.3,24211,1,4,0)
;;=4^I20.1
;;^UTILITY(U,$J,358.3,24211,2)
;;=^5007077
;;^UTILITY(U,$J,358.3,24212,0)
;;=I20.8^^82^1046^2
;;^UTILITY(U,$J,358.3,24212,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24212,1,3,0)
;;=3^Angina Pectoris,Other Forms
;;^UTILITY(U,$J,358.3,24212,1,4,0)
;;=4^I20.8
;;^UTILITY(U,$J,358.3,24212,2)
;;=^5007078
;;^UTILITY(U,$J,358.3,24213,0)
;;=I20.9^^82^1046^3
;;^UTILITY(U,$J,358.3,24213,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24213,1,3,0)
;;=3^Angina Pectoris,Unspec
;;^UTILITY(U,$J,358.3,24213,1,4,0)
;;=4^I20.9
;;^UTILITY(U,$J,358.3,24213,2)
;;=^5007079
;;^UTILITY(U,$J,358.3,24214,0)
;;=J40.^^82^1047^7
;;^UTILITY(U,$J,358.3,24214,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24214,1,3,0)
;;=3^Bronchitis
;;^UTILITY(U,$J,358.3,24214,1,4,0)
;;=4^J40.
;;^UTILITY(U,$J,358.3,24214,2)
;;=^17164
;;^UTILITY(U,$J,358.3,24215,0)
;;=J41.0^^82^1047^10
;;^UTILITY(U,$J,358.3,24215,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24215,1,3,0)
;;=3^Bronchitis,Simple Chronic
;;^UTILITY(U,$J,358.3,24215,1,4,0)
;;=4^J41.0
;;^UTILITY(U,$J,358.3,24215,2)
;;=^269946
;;^UTILITY(U,$J,358.3,24216,0)
;;=J41.1^^82^1047^9
;;^UTILITY(U,$J,358.3,24216,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24216,1,3,0)
;;=3^Bronchitis,Mucopurulent Chronic
;;^UTILITY(U,$J,358.3,24216,1,4,0)
;;=4^J41.1
;;^UTILITY(U,$J,358.3,24216,2)
;;=^269949
;;^UTILITY(U,$J,358.3,24217,0)
;;=J41.8^^82^1047^8
;;^UTILITY(U,$J,358.3,24217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24217,1,3,0)
;;=3^Bronchitis,Mixed Simple & Mucopurulent Chronic
;;^UTILITY(U,$J,358.3,24217,1,4,0)
;;=4^J41.8
;;^UTILITY(U,$J,358.3,24217,2)
;;=^5008233
;;^UTILITY(U,$J,358.3,24218,0)
;;=J42.^^82^1047^11
;;^UTILITY(U,$J,358.3,24218,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24218,1,3,0)
;;=3^Bronchitis,Unspec Chronic
;;^UTILITY(U,$J,358.3,24218,1,4,0)
;;=4^J42.
;;^UTILITY(U,$J,358.3,24218,2)
;;=^5008234
;;^UTILITY(U,$J,358.3,24219,0)
;;=J43.0^^82^1047^17
;;^UTILITY(U,$J,358.3,24219,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24219,1,3,0)
;;=3^Emphysema,Pulmonary,Unilateral
;;^UTILITY(U,$J,358.3,24219,1,4,0)
;;=4^J43.0
;;^UTILITY(U,$J,358.3,24219,2)
;;=^5008235
;;^UTILITY(U,$J,358.3,24220,0)
;;=J43.1^^82^1047^16
;;^UTILITY(U,$J,358.3,24220,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24220,1,3,0)
;;=3^Emphysema,Panlobular
;;^UTILITY(U,$J,358.3,24220,1,4,0)
;;=4^J43.1
;;^UTILITY(U,$J,358.3,24220,2)
;;=^5008236
;;^UTILITY(U,$J,358.3,24221,0)
;;=J43.2^^82^1047^14
;;^UTILITY(U,$J,358.3,24221,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24221,1,3,0)
;;=3^Emphysema,Centrilobular
;;^UTILITY(U,$J,358.3,24221,1,4,0)
;;=4^J43.2
;;^UTILITY(U,$J,358.3,24221,2)
;;=^5008237
;;^UTILITY(U,$J,358.3,24222,0)
;;=J43.8^^82^1047^15
;;^UTILITY(U,$J,358.3,24222,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24222,1,3,0)
;;=3^Emphysema,Other
;;^UTILITY(U,$J,358.3,24222,1,4,0)
;;=4^J43.8
;;^UTILITY(U,$J,358.3,24222,2)
;;=^87569
;;^UTILITY(U,$J,358.3,24223,0)
;;=J43.9^^82^1047^18
;;^UTILITY(U,$J,358.3,24223,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24223,1,3,0)
;;=3^Emphysema,Unspec
;;^UTILITY(U,$J,358.3,24223,1,4,0)
;;=4^J43.9
;;^UTILITY(U,$J,358.3,24223,2)
;;=^5008238
;;^UTILITY(U,$J,358.3,24224,0)
;;=J44.0^^82^1047^12
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1HY 3788 printed Dec 13, 2024@02:09:04 Page 2
IBDEI1HY ; ; 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,24211,1,3,0)
+2 ;;=3^Angina Pectoris w/ Documented Spasm
+3 ;;^UTILITY(U,$J,358.3,24211,1,4,0)
+4 ;;=4^I20.1
+5 ;;^UTILITY(U,$J,358.3,24211,2)
+6 ;;=^5007077
+7 ;;^UTILITY(U,$J,358.3,24212,0)
+8 ;;=I20.8^^82^1046^2
+9 ;;^UTILITY(U,$J,358.3,24212,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,24212,1,3,0)
+12 ;;=3^Angina Pectoris,Other Forms
+13 ;;^UTILITY(U,$J,358.3,24212,1,4,0)
+14 ;;=4^I20.8
+15 ;;^UTILITY(U,$J,358.3,24212,2)
+16 ;;=^5007078
+17 ;;^UTILITY(U,$J,358.3,24213,0)
+18 ;;=I20.9^^82^1046^3
+19 ;;^UTILITY(U,$J,358.3,24213,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,24213,1,3,0)
+22 ;;=3^Angina Pectoris,Unspec
+23 ;;^UTILITY(U,$J,358.3,24213,1,4,0)
+24 ;;=4^I20.9
+25 ;;^UTILITY(U,$J,358.3,24213,2)
+26 ;;=^5007079
+27 ;;^UTILITY(U,$J,358.3,24214,0)
+28 ;;=J40.^^82^1047^7
+29 ;;^UTILITY(U,$J,358.3,24214,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,24214,1,3,0)
+32 ;;=3^Bronchitis
+33 ;;^UTILITY(U,$J,358.3,24214,1,4,0)
+34 ;;=4^J40.
+35 ;;^UTILITY(U,$J,358.3,24214,2)
+36 ;;=^17164
+37 ;;^UTILITY(U,$J,358.3,24215,0)
+38 ;;=J41.0^^82^1047^10
+39 ;;^UTILITY(U,$J,358.3,24215,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,24215,1,3,0)
+42 ;;=3^Bronchitis,Simple Chronic
+43 ;;^UTILITY(U,$J,358.3,24215,1,4,0)
+44 ;;=4^J41.0
+45 ;;^UTILITY(U,$J,358.3,24215,2)
+46 ;;=^269946
+47 ;;^UTILITY(U,$J,358.3,24216,0)
+48 ;;=J41.1^^82^1047^9
+49 ;;^UTILITY(U,$J,358.3,24216,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,24216,1,3,0)
+52 ;;=3^Bronchitis,Mucopurulent Chronic
+53 ;;^UTILITY(U,$J,358.3,24216,1,4,0)
+54 ;;=4^J41.1
+55 ;;^UTILITY(U,$J,358.3,24216,2)
+56 ;;=^269949
+57 ;;^UTILITY(U,$J,358.3,24217,0)
+58 ;;=J41.8^^82^1047^8
+59 ;;^UTILITY(U,$J,358.3,24217,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,24217,1,3,0)
+62 ;;=3^Bronchitis,Mixed Simple & Mucopurulent Chronic
+63 ;;^UTILITY(U,$J,358.3,24217,1,4,0)
+64 ;;=4^J41.8
+65 ;;^UTILITY(U,$J,358.3,24217,2)
+66 ;;=^5008233
+67 ;;^UTILITY(U,$J,358.3,24218,0)
+68 ;;=J42.^^82^1047^11
+69 ;;^UTILITY(U,$J,358.3,24218,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,24218,1,3,0)
+72 ;;=3^Bronchitis,Unspec Chronic
+73 ;;^UTILITY(U,$J,358.3,24218,1,4,0)
+74 ;;=4^J42.
+75 ;;^UTILITY(U,$J,358.3,24218,2)
+76 ;;=^5008234
+77 ;;^UTILITY(U,$J,358.3,24219,0)
+78 ;;=J43.0^^82^1047^17
+79 ;;^UTILITY(U,$J,358.3,24219,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,24219,1,3,0)
+82 ;;=3^Emphysema,Pulmonary,Unilateral
+83 ;;^UTILITY(U,$J,358.3,24219,1,4,0)
+84 ;;=4^J43.0
+85 ;;^UTILITY(U,$J,358.3,24219,2)
+86 ;;=^5008235
+87 ;;^UTILITY(U,$J,358.3,24220,0)
+88 ;;=J43.1^^82^1047^16
+89 ;;^UTILITY(U,$J,358.3,24220,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,24220,1,3,0)
+92 ;;=3^Emphysema,Panlobular
+93 ;;^UTILITY(U,$J,358.3,24220,1,4,0)
+94 ;;=4^J43.1
+95 ;;^UTILITY(U,$J,358.3,24220,2)
+96 ;;=^5008236
+97 ;;^UTILITY(U,$J,358.3,24221,0)
+98 ;;=J43.2^^82^1047^14
+99 ;;^UTILITY(U,$J,358.3,24221,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,24221,1,3,0)
+102 ;;=3^Emphysema,Centrilobular
+103 ;;^UTILITY(U,$J,358.3,24221,1,4,0)
+104 ;;=4^J43.2
+105 ;;^UTILITY(U,$J,358.3,24221,2)
+106 ;;=^5008237
+107 ;;^UTILITY(U,$J,358.3,24222,0)
+108 ;;=J43.8^^82^1047^15
+109 ;;^UTILITY(U,$J,358.3,24222,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,24222,1,3,0)
+112 ;;=3^Emphysema,Other
+113 ;;^UTILITY(U,$J,358.3,24222,1,4,0)
+114 ;;=4^J43.8
+115 ;;^UTILITY(U,$J,358.3,24222,2)
+116 ;;=^87569
+117 ;;^UTILITY(U,$J,358.3,24223,0)
+118 ;;=J43.9^^82^1047^18
+119 ;;^UTILITY(U,$J,358.3,24223,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,24223,1,3,0)
+122 ;;=3^Emphysema,Unspec
+123 ;;^UTILITY(U,$J,358.3,24223,1,4,0)
+124 ;;=4^J43.9
+125 ;;^UTILITY(U,$J,358.3,24223,2)
+126 ;;=^5008238
+127 ;;^UTILITY(U,$J,358.3,24224,0)
+128 ;;=J44.0^^82^1047^12