IBDEI0H5 ; ; 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,7723,1,3,0)
;;=3^Respiratory Preprocedural Exam
;;^UTILITY(U,$J,358.3,7723,1,4,0)
;;=4^Z01.811
;;^UTILITY(U,$J,358.3,7723,2)
;;=^5062626
;;^UTILITY(U,$J,358.3,7724,0)
;;=Z01.812^^39^387^13
;;^UTILITY(U,$J,358.3,7724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7724,1,3,0)
;;=3^Lab Preprocedural Exam
;;^UTILITY(U,$J,358.3,7724,1,4,0)
;;=4^Z01.812
;;^UTILITY(U,$J,358.3,7724,2)
;;=^5062627
;;^UTILITY(U,$J,358.3,7725,0)
;;=Z01.818^^39^387^15
;;^UTILITY(U,$J,358.3,7725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7725,1,3,0)
;;=3^Preprocedural Exam NEC
;;^UTILITY(U,$J,358.3,7725,1,4,0)
;;=4^Z01.818
;;^UTILITY(U,$J,358.3,7725,2)
;;=^5062628
;;^UTILITY(U,$J,358.3,7726,0)
;;=Z71.0^^39^387^9
;;^UTILITY(U,$J,358.3,7726,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7726,1,3,0)
;;=3^Hlth Service to Consult on Behalf of Another
;;^UTILITY(U,$J,358.3,7726,1,4,0)
;;=4^Z71.0
;;^UTILITY(U,$J,358.3,7726,2)
;;=^5063242
;;^UTILITY(U,$J,358.3,7727,0)
;;=Z59.89^^39^387^10
;;^UTILITY(U,$J,358.3,7727,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7727,1,3,0)
;;=3^Housing/Economic Circumstance Problems,Other
;;^UTILITY(U,$J,358.3,7727,1,4,0)
;;=4^Z59.89
;;^UTILITY(U,$J,358.3,7727,2)
;;=^5161312
;;^UTILITY(U,$J,358.3,7728,0)
;;=I20.0^^39^388^5
;;^UTILITY(U,$J,358.3,7728,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7728,1,3,0)
;;=3^Unstable Angina
;;^UTILITY(U,$J,358.3,7728,1,4,0)
;;=4^I20.0
;;^UTILITY(U,$J,358.3,7728,2)
;;=^5007076
;;^UTILITY(U,$J,358.3,7729,0)
;;=I25.2^^39^388^4
;;^UTILITY(U,$J,358.3,7729,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7729,1,3,0)
;;=3^Old Myocardial Infarction
;;^UTILITY(U,$J,358.3,7729,1,4,0)
;;=4^I25.2
;;^UTILITY(U,$J,358.3,7729,2)
;;=^259884
;;^UTILITY(U,$J,358.3,7730,0)
;;=I20.8^^39^388^2
;;^UTILITY(U,$J,358.3,7730,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7730,1,3,0)
;;=3^Angina Pectoris,Oth Forms
;;^UTILITY(U,$J,358.3,7730,1,4,0)
;;=4^I20.8
;;^UTILITY(U,$J,358.3,7730,2)
;;=^5007078
;;^UTILITY(U,$J,358.3,7731,0)
;;=I20.1^^39^388^1
;;^UTILITY(U,$J,358.3,7731,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7731,1,3,0)
;;=3^Angina Pectoris w/ Documented Spasm
;;^UTILITY(U,$J,358.3,7731,1,4,0)
;;=4^I20.1
;;^UTILITY(U,$J,358.3,7731,2)
;;=^5007077
;;^UTILITY(U,$J,358.3,7732,0)
;;=I20.9^^39^388^3
;;^UTILITY(U,$J,358.3,7732,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7732,1,3,0)
;;=3^Angina Pectoris,Unspec
;;^UTILITY(U,$J,358.3,7732,1,4,0)
;;=4^I20.9
;;^UTILITY(U,$J,358.3,7732,2)
;;=^5007079
;;^UTILITY(U,$J,358.3,7733,0)
;;=I65.29^^39^389^31
;;^UTILITY(U,$J,358.3,7733,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7733,1,3,0)
;;=3^Occlusion & Stenosis Unspec Carotid Artery
;;^UTILITY(U,$J,358.3,7733,1,4,0)
;;=4^I65.29
;;^UTILITY(U,$J,358.3,7733,2)
;;=^5007363
;;^UTILITY(U,$J,358.3,7734,0)
;;=I65.22^^39^389^29
;;^UTILITY(U,$J,358.3,7734,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7734,1,3,0)
;;=3^Occlusion & Stenosis Left Carotid Artery
;;^UTILITY(U,$J,358.3,7734,1,4,0)
;;=4^I65.22
;;^UTILITY(U,$J,358.3,7734,2)
;;=^5007361
;;^UTILITY(U,$J,358.3,7735,0)
;;=I65.23^^39^389^28
;;^UTILITY(U,$J,358.3,7735,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7735,1,3,0)
;;=3^Occlusion & Stenosis Bilateral Carotid Arteries
;;^UTILITY(U,$J,358.3,7735,1,4,0)
;;=4^I65.23
;;^UTILITY(U,$J,358.3,7735,2)
;;=^5007362
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0H5 3771 printed Dec 13, 2024@01:48:35 Page 2
IBDEI0H5 ; ; 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,7723,1,3,0)
+2 ;;=3^Respiratory Preprocedural Exam
+3 ;;^UTILITY(U,$J,358.3,7723,1,4,0)
+4 ;;=4^Z01.811
+5 ;;^UTILITY(U,$J,358.3,7723,2)
+6 ;;=^5062626
+7 ;;^UTILITY(U,$J,358.3,7724,0)
+8 ;;=Z01.812^^39^387^13
+9 ;;^UTILITY(U,$J,358.3,7724,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,7724,1,3,0)
+12 ;;=3^Lab Preprocedural Exam
+13 ;;^UTILITY(U,$J,358.3,7724,1,4,0)
+14 ;;=4^Z01.812
+15 ;;^UTILITY(U,$J,358.3,7724,2)
+16 ;;=^5062627
+17 ;;^UTILITY(U,$J,358.3,7725,0)
+18 ;;=Z01.818^^39^387^15
+19 ;;^UTILITY(U,$J,358.3,7725,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,7725,1,3,0)
+22 ;;=3^Preprocedural Exam NEC
+23 ;;^UTILITY(U,$J,358.3,7725,1,4,0)
+24 ;;=4^Z01.818
+25 ;;^UTILITY(U,$J,358.3,7725,2)
+26 ;;=^5062628
+27 ;;^UTILITY(U,$J,358.3,7726,0)
+28 ;;=Z71.0^^39^387^9
+29 ;;^UTILITY(U,$J,358.3,7726,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,7726,1,3,0)
+32 ;;=3^Hlth Service to Consult on Behalf of Another
+33 ;;^UTILITY(U,$J,358.3,7726,1,4,0)
+34 ;;=4^Z71.0
+35 ;;^UTILITY(U,$J,358.3,7726,2)
+36 ;;=^5063242
+37 ;;^UTILITY(U,$J,358.3,7727,0)
+38 ;;=Z59.89^^39^387^10
+39 ;;^UTILITY(U,$J,358.3,7727,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,7727,1,3,0)
+42 ;;=3^Housing/Economic Circumstance Problems,Other
+43 ;;^UTILITY(U,$J,358.3,7727,1,4,0)
+44 ;;=4^Z59.89
+45 ;;^UTILITY(U,$J,358.3,7727,2)
+46 ;;=^5161312
+47 ;;^UTILITY(U,$J,358.3,7728,0)
+48 ;;=I20.0^^39^388^5
+49 ;;^UTILITY(U,$J,358.3,7728,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,7728,1,3,0)
+52 ;;=3^Unstable Angina
+53 ;;^UTILITY(U,$J,358.3,7728,1,4,0)
+54 ;;=4^I20.0
+55 ;;^UTILITY(U,$J,358.3,7728,2)
+56 ;;=^5007076
+57 ;;^UTILITY(U,$J,358.3,7729,0)
+58 ;;=I25.2^^39^388^4
+59 ;;^UTILITY(U,$J,358.3,7729,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,7729,1,3,0)
+62 ;;=3^Old Myocardial Infarction
+63 ;;^UTILITY(U,$J,358.3,7729,1,4,0)
+64 ;;=4^I25.2
+65 ;;^UTILITY(U,$J,358.3,7729,2)
+66 ;;=^259884
+67 ;;^UTILITY(U,$J,358.3,7730,0)
+68 ;;=I20.8^^39^388^2
+69 ;;^UTILITY(U,$J,358.3,7730,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,7730,1,3,0)
+72 ;;=3^Angina Pectoris,Oth Forms
+73 ;;^UTILITY(U,$J,358.3,7730,1,4,0)
+74 ;;=4^I20.8
+75 ;;^UTILITY(U,$J,358.3,7730,2)
+76 ;;=^5007078
+77 ;;^UTILITY(U,$J,358.3,7731,0)
+78 ;;=I20.1^^39^388^1
+79 ;;^UTILITY(U,$J,358.3,7731,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,7731,1,3,0)
+82 ;;=3^Angina Pectoris w/ Documented Spasm
+83 ;;^UTILITY(U,$J,358.3,7731,1,4,0)
+84 ;;=4^I20.1
+85 ;;^UTILITY(U,$J,358.3,7731,2)
+86 ;;=^5007077
+87 ;;^UTILITY(U,$J,358.3,7732,0)
+88 ;;=I20.9^^39^388^3
+89 ;;^UTILITY(U,$J,358.3,7732,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,7732,1,3,0)
+92 ;;=3^Angina Pectoris,Unspec
+93 ;;^UTILITY(U,$J,358.3,7732,1,4,0)
+94 ;;=4^I20.9
+95 ;;^UTILITY(U,$J,358.3,7732,2)
+96 ;;=^5007079
+97 ;;^UTILITY(U,$J,358.3,7733,0)
+98 ;;=I65.29^^39^389^31
+99 ;;^UTILITY(U,$J,358.3,7733,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,7733,1,3,0)
+102 ;;=3^Occlusion & Stenosis Unspec Carotid Artery
+103 ;;^UTILITY(U,$J,358.3,7733,1,4,0)
+104 ;;=4^I65.29
+105 ;;^UTILITY(U,$J,358.3,7733,2)
+106 ;;=^5007363
+107 ;;^UTILITY(U,$J,358.3,7734,0)
+108 ;;=I65.22^^39^389^29
+109 ;;^UTILITY(U,$J,358.3,7734,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,7734,1,3,0)
+112 ;;=3^Occlusion & Stenosis Left Carotid Artery
+113 ;;^UTILITY(U,$J,358.3,7734,1,4,0)
+114 ;;=4^I65.22
+115 ;;^UTILITY(U,$J,358.3,7734,2)
+116 ;;=^5007361
+117 ;;^UTILITY(U,$J,358.3,7735,0)
+118 ;;=I65.23^^39^389^28
+119 ;;^UTILITY(U,$J,358.3,7735,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,7735,1,3,0)
+122 ;;=3^Occlusion & Stenosis Bilateral Carotid Arteries
+123 ;;^UTILITY(U,$J,358.3,7735,1,4,0)
+124 ;;=4^I65.23
+125 ;;^UTILITY(U,$J,358.3,7735,2)
+126 ;;=^5007362