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