IBDEI2FG ; ; 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,38777,1,4,0)
;;=4^Z00.5
;;^UTILITY(U,$J,358.3,38777,2)
;;=^5062607
;;^UTILITY(U,$J,358.3,38778,0)
;;=Z02.3^^152^1986^6
;;^UTILITY(U,$J,358.3,38778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38778,1,3,0)
;;=3^Exam for Recruitment to Armed Forces
;;^UTILITY(U,$J,358.3,38778,1,4,0)
;;=4^Z02.3
;;^UTILITY(U,$J,358.3,38778,2)
;;=^5062636
;;^UTILITY(U,$J,358.3,38779,0)
;;=Z02.89^^152^1986^1
;;^UTILITY(U,$J,358.3,38779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38779,1,3,0)
;;=3^Admin Exam NEC
;;^UTILITY(U,$J,358.3,38779,1,4,0)
;;=4^Z02.89
;;^UTILITY(U,$J,358.3,38779,2)
;;=^5062645
;;^UTILITY(U,$J,358.3,38780,0)
;;=Z00.8^^152^1986^8
;;^UTILITY(U,$J,358.3,38780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38780,1,3,0)
;;=3^General Exam NEC
;;^UTILITY(U,$J,358.3,38780,1,4,0)
;;=4^Z00.8
;;^UTILITY(U,$J,358.3,38780,2)
;;=^5062611
;;^UTILITY(U,$J,358.3,38781,0)
;;=Z02.1^^152^1986^14
;;^UTILITY(U,$J,358.3,38781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38781,1,3,0)
;;=3^Pre-Employment Exam
;;^UTILITY(U,$J,358.3,38781,1,4,0)
;;=4^Z02.1
;;^UTILITY(U,$J,358.3,38781,2)
;;=^5062634
;;^UTILITY(U,$J,358.3,38782,0)
;;=Z01.810^^152^1986^2
;;^UTILITY(U,$J,358.3,38782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38782,1,3,0)
;;=3^Cardiovascular Preprocedural Exam
;;^UTILITY(U,$J,358.3,38782,1,4,0)
;;=4^Z01.810
;;^UTILITY(U,$J,358.3,38782,2)
;;=^5062625
;;^UTILITY(U,$J,358.3,38783,0)
;;=Z01.811^^152^1986^16
;;^UTILITY(U,$J,358.3,38783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38783,1,3,0)
;;=3^Respiratory Preprocedural Exam
;;^UTILITY(U,$J,358.3,38783,1,4,0)
;;=4^Z01.811
;;^UTILITY(U,$J,358.3,38783,2)
;;=^5062626
;;^UTILITY(U,$J,358.3,38784,0)
;;=Z01.812^^152^1986^13
;;^UTILITY(U,$J,358.3,38784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38784,1,3,0)
;;=3^Lab Preprocedural Exam
;;^UTILITY(U,$J,358.3,38784,1,4,0)
;;=4^Z01.812
;;^UTILITY(U,$J,358.3,38784,2)
;;=^5062627
;;^UTILITY(U,$J,358.3,38785,0)
;;=Z01.818^^152^1986^15
;;^UTILITY(U,$J,358.3,38785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38785,1,3,0)
;;=3^Preprocedural Exam NEC
;;^UTILITY(U,$J,358.3,38785,1,4,0)
;;=4^Z01.818
;;^UTILITY(U,$J,358.3,38785,2)
;;=^5062628
;;^UTILITY(U,$J,358.3,38786,0)
;;=Z71.0^^152^1986^9
;;^UTILITY(U,$J,358.3,38786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38786,1,3,0)
;;=3^Hlth Service to Consult on Behalf of Another
;;^UTILITY(U,$J,358.3,38786,1,4,0)
;;=4^Z71.0
;;^UTILITY(U,$J,358.3,38786,2)
;;=^5063242
;;^UTILITY(U,$J,358.3,38787,0)
;;=Z59.8^^152^1986^10
;;^UTILITY(U,$J,358.3,38787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38787,1,3,0)
;;=3^Housing/Economic Circumstance Problems
;;^UTILITY(U,$J,358.3,38787,1,4,0)
;;=4^Z59.8
;;^UTILITY(U,$J,358.3,38787,2)
;;=^5063137
;;^UTILITY(U,$J,358.3,38788,0)
;;=I20.0^^152^1987^5
;;^UTILITY(U,$J,358.3,38788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38788,1,3,0)
;;=3^Unstable Angina
;;^UTILITY(U,$J,358.3,38788,1,4,0)
;;=4^I20.0
;;^UTILITY(U,$J,358.3,38788,2)
;;=^5007076
;;^UTILITY(U,$J,358.3,38789,0)
;;=I25.2^^152^1987^4
;;^UTILITY(U,$J,358.3,38789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38789,1,3,0)
;;=3^Old Myocardial Infarction
;;^UTILITY(U,$J,358.3,38789,1,4,0)
;;=4^I25.2
;;^UTILITY(U,$J,358.3,38789,2)
;;=^259884
;;^UTILITY(U,$J,358.3,38790,0)
;;=I20.8^^152^1987^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2FG 3769 printed Nov 22, 2024@17:37:52 Page 2
IBDEI2FG ; ; 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,38777,1,4,0)
+2 ;;=4^Z00.5
+3 ;;^UTILITY(U,$J,358.3,38777,2)
+4 ;;=^5062607
+5 ;;^UTILITY(U,$J,358.3,38778,0)
+6 ;;=Z02.3^^152^1986^6
+7 ;;^UTILITY(U,$J,358.3,38778,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,38778,1,3,0)
+10 ;;=3^Exam for Recruitment to Armed Forces
+11 ;;^UTILITY(U,$J,358.3,38778,1,4,0)
+12 ;;=4^Z02.3
+13 ;;^UTILITY(U,$J,358.3,38778,2)
+14 ;;=^5062636
+15 ;;^UTILITY(U,$J,358.3,38779,0)
+16 ;;=Z02.89^^152^1986^1
+17 ;;^UTILITY(U,$J,358.3,38779,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,38779,1,3,0)
+20 ;;=3^Admin Exam NEC
+21 ;;^UTILITY(U,$J,358.3,38779,1,4,0)
+22 ;;=4^Z02.89
+23 ;;^UTILITY(U,$J,358.3,38779,2)
+24 ;;=^5062645
+25 ;;^UTILITY(U,$J,358.3,38780,0)
+26 ;;=Z00.8^^152^1986^8
+27 ;;^UTILITY(U,$J,358.3,38780,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,38780,1,3,0)
+30 ;;=3^General Exam NEC
+31 ;;^UTILITY(U,$J,358.3,38780,1,4,0)
+32 ;;=4^Z00.8
+33 ;;^UTILITY(U,$J,358.3,38780,2)
+34 ;;=^5062611
+35 ;;^UTILITY(U,$J,358.3,38781,0)
+36 ;;=Z02.1^^152^1986^14
+37 ;;^UTILITY(U,$J,358.3,38781,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,38781,1,3,0)
+40 ;;=3^Pre-Employment Exam
+41 ;;^UTILITY(U,$J,358.3,38781,1,4,0)
+42 ;;=4^Z02.1
+43 ;;^UTILITY(U,$J,358.3,38781,2)
+44 ;;=^5062634
+45 ;;^UTILITY(U,$J,358.3,38782,0)
+46 ;;=Z01.810^^152^1986^2
+47 ;;^UTILITY(U,$J,358.3,38782,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,38782,1,3,0)
+50 ;;=3^Cardiovascular Preprocedural Exam
+51 ;;^UTILITY(U,$J,358.3,38782,1,4,0)
+52 ;;=4^Z01.810
+53 ;;^UTILITY(U,$J,358.3,38782,2)
+54 ;;=^5062625
+55 ;;^UTILITY(U,$J,358.3,38783,0)
+56 ;;=Z01.811^^152^1986^16
+57 ;;^UTILITY(U,$J,358.3,38783,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,38783,1,3,0)
+60 ;;=3^Respiratory Preprocedural Exam
+61 ;;^UTILITY(U,$J,358.3,38783,1,4,0)
+62 ;;=4^Z01.811
+63 ;;^UTILITY(U,$J,358.3,38783,2)
+64 ;;=^5062626
+65 ;;^UTILITY(U,$J,358.3,38784,0)
+66 ;;=Z01.812^^152^1986^13
+67 ;;^UTILITY(U,$J,358.3,38784,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,38784,1,3,0)
+70 ;;=3^Lab Preprocedural Exam
+71 ;;^UTILITY(U,$J,358.3,38784,1,4,0)
+72 ;;=4^Z01.812
+73 ;;^UTILITY(U,$J,358.3,38784,2)
+74 ;;=^5062627
+75 ;;^UTILITY(U,$J,358.3,38785,0)
+76 ;;=Z01.818^^152^1986^15
+77 ;;^UTILITY(U,$J,358.3,38785,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,38785,1,3,0)
+80 ;;=3^Preprocedural Exam NEC
+81 ;;^UTILITY(U,$J,358.3,38785,1,4,0)
+82 ;;=4^Z01.818
+83 ;;^UTILITY(U,$J,358.3,38785,2)
+84 ;;=^5062628
+85 ;;^UTILITY(U,$J,358.3,38786,0)
+86 ;;=Z71.0^^152^1986^9
+87 ;;^UTILITY(U,$J,358.3,38786,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,38786,1,3,0)
+90 ;;=3^Hlth Service to Consult on Behalf of Another
+91 ;;^UTILITY(U,$J,358.3,38786,1,4,0)
+92 ;;=4^Z71.0
+93 ;;^UTILITY(U,$J,358.3,38786,2)
+94 ;;=^5063242
+95 ;;^UTILITY(U,$J,358.3,38787,0)
+96 ;;=Z59.8^^152^1986^10
+97 ;;^UTILITY(U,$J,358.3,38787,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,38787,1,3,0)
+100 ;;=3^Housing/Economic Circumstance Problems
+101 ;;^UTILITY(U,$J,358.3,38787,1,4,0)
+102 ;;=4^Z59.8
+103 ;;^UTILITY(U,$J,358.3,38787,2)
+104 ;;=^5063137
+105 ;;^UTILITY(U,$J,358.3,38788,0)
+106 ;;=I20.0^^152^1987^5
+107 ;;^UTILITY(U,$J,358.3,38788,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,38788,1,3,0)
+110 ;;=3^Unstable Angina
+111 ;;^UTILITY(U,$J,358.3,38788,1,4,0)
+112 ;;=4^I20.0
+113 ;;^UTILITY(U,$J,358.3,38788,2)
+114 ;;=^5007076
+115 ;;^UTILITY(U,$J,358.3,38789,0)
+116 ;;=I25.2^^152^1987^4
+117 ;;^UTILITY(U,$J,358.3,38789,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,38789,1,3,0)
+120 ;;=3^Old Myocardial Infarction
+121 ;;^UTILITY(U,$J,358.3,38789,1,4,0)
+122 ;;=4^I25.2
+123 ;;^UTILITY(U,$J,358.3,38789,2)
+124 ;;=^259884
+125 ;;^UTILITY(U,$J,358.3,38790,0)
+126 ;;=I20.8^^152^1987^2