IBDEI2HY ; ; 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,39867,2)
;;=^5063723
;;^UTILITY(U,$J,358.3,39868,0)
;;=Z97.13^^152^2001^142
;;^UTILITY(U,$J,358.3,39868,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39868,1,3,0)
;;=3^Presence of Right Artificial Leg
;;^UTILITY(U,$J,358.3,39868,1,4,0)
;;=4^Z97.13
;;^UTILITY(U,$J,358.3,39868,2)
;;=^5063724
;;^UTILITY(U,$J,358.3,39869,0)
;;=Z97.14^^152^2001^137
;;^UTILITY(U,$J,358.3,39869,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39869,1,3,0)
;;=3^Presence of Left Artificial Leg
;;^UTILITY(U,$J,358.3,39869,1,4,0)
;;=4^Z97.14
;;^UTILITY(U,$J,358.3,39869,2)
;;=^5063725
;;^UTILITY(U,$J,358.3,39870,0)
;;=Z97.15^^152^2001^116
;;^UTILITY(U,$J,358.3,39870,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39870,1,3,0)
;;=3^Presence of Artificial Arms,Bilateral
;;^UTILITY(U,$J,358.3,39870,1,4,0)
;;=4^Z97.15
;;^UTILITY(U,$J,358.3,39870,2)
;;=^5063726
;;^UTILITY(U,$J,358.3,39871,0)
;;=Z97.16^^152^2001^121
;;^UTILITY(U,$J,358.3,39871,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39871,1,3,0)
;;=3^Presence of Artificial Legs,Bilateral
;;^UTILITY(U,$J,358.3,39871,1,4,0)
;;=4^Z97.16
;;^UTILITY(U,$J,358.3,39871,2)
;;=^5063727
;;^UTILITY(U,$J,358.3,39872,0)
;;=Z98.61^^152^2001^9
;;^UTILITY(U,$J,358.3,39872,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39872,1,3,0)
;;=3^Coronary Angioplasty Status
;;^UTILITY(U,$J,358.3,39872,1,4,0)
;;=4^Z98.61
;;^UTILITY(U,$J,358.3,39872,2)
;;=^5063742
;;^UTILITY(U,$J,358.3,39873,0)
;;=Z98.62^^152^2001^66
;;^UTILITY(U,$J,358.3,39873,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39873,1,3,0)
;;=3^Peripheral Vascular Angioplasty Status w/o Graft
;;^UTILITY(U,$J,358.3,39873,1,4,0)
;;=4^Z98.62
;;^UTILITY(U,$J,358.3,39873,2)
;;=^5063743
;;^UTILITY(U,$J,358.3,39874,0)
;;=Z98.84^^152^2001^4
;;^UTILITY(U,$J,358.3,39874,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39874,1,3,0)
;;=3^Bariatric Surgery Status
;;^UTILITY(U,$J,358.3,39874,1,4,0)
;;=4^Z98.84
;;^UTILITY(U,$J,358.3,39874,2)
;;=^5063749
;;^UTILITY(U,$J,358.3,39875,0)
;;=Z99.2^^152^2001^147
;;^UTILITY(U,$J,358.3,39875,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39875,1,3,0)
;;=3^Renal Dialysis Dependence
;;^UTILITY(U,$J,358.3,39875,1,4,0)
;;=4^Z99.2
;;^UTILITY(U,$J,358.3,39875,2)
;;=^5063758
;;^UTILITY(U,$J,358.3,39876,0)
;;=Z99.81^^152^2001^150
;;^UTILITY(U,$J,358.3,39876,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39876,1,3,0)
;;=3^Supplemental Oxygen Dependence
;;^UTILITY(U,$J,358.3,39876,1,4,0)
;;=4^Z99.81
;;^UTILITY(U,$J,358.3,39876,2)
;;=^5063760
;;^UTILITY(U,$J,358.3,39877,0)
;;=Z98.1^^152^2001^2
;;^UTILITY(U,$J,358.3,39877,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39877,1,3,0)
;;=3^Arthrodesis Status
;;^UTILITY(U,$J,358.3,39877,1,4,0)
;;=4^Z98.1
;;^UTILITY(U,$J,358.3,39877,2)
;;=^5063734
;;^UTILITY(U,$J,358.3,39878,0)
;;=Z94.7^^152^2001^8
;;^UTILITY(U,$J,358.3,39878,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39878,1,3,0)
;;=3^Corneal Transplant Status
;;^UTILITY(U,$J,358.3,39878,1,4,0)
;;=4^Z94.7
;;^UTILITY(U,$J,358.3,39878,2)
;;=^5063661
;;^UTILITY(U,$J,358.3,39879,0)
;;=Z83.511^^152^2001^23
;;^UTILITY(U,$J,358.3,39879,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39879,1,3,0)
;;=3^Family Hx of Glaucoma
;;^UTILITY(U,$J,358.3,39879,1,4,0)
;;=4^Z83.511
;;^UTILITY(U,$J,358.3,39879,2)
;;=^5063382
;;^UTILITY(U,$J,358.3,39880,0)
;;=Z80.52^^152^2001^26
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2HY 3774 printed Nov 22, 2024@17:39:15 Page 2
IBDEI2HY ; ; 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,39867,2)
+2 ;;=^5063723
+3 ;;^UTILITY(U,$J,358.3,39868,0)
+4 ;;=Z97.13^^152^2001^142
+5 ;;^UTILITY(U,$J,358.3,39868,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,39868,1,3,0)
+8 ;;=3^Presence of Right Artificial Leg
+9 ;;^UTILITY(U,$J,358.3,39868,1,4,0)
+10 ;;=4^Z97.13
+11 ;;^UTILITY(U,$J,358.3,39868,2)
+12 ;;=^5063724
+13 ;;^UTILITY(U,$J,358.3,39869,0)
+14 ;;=Z97.14^^152^2001^137
+15 ;;^UTILITY(U,$J,358.3,39869,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,39869,1,3,0)
+18 ;;=3^Presence of Left Artificial Leg
+19 ;;^UTILITY(U,$J,358.3,39869,1,4,0)
+20 ;;=4^Z97.14
+21 ;;^UTILITY(U,$J,358.3,39869,2)
+22 ;;=^5063725
+23 ;;^UTILITY(U,$J,358.3,39870,0)
+24 ;;=Z97.15^^152^2001^116
+25 ;;^UTILITY(U,$J,358.3,39870,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,39870,1,3,0)
+28 ;;=3^Presence of Artificial Arms,Bilateral
+29 ;;^UTILITY(U,$J,358.3,39870,1,4,0)
+30 ;;=4^Z97.15
+31 ;;^UTILITY(U,$J,358.3,39870,2)
+32 ;;=^5063726
+33 ;;^UTILITY(U,$J,358.3,39871,0)
+34 ;;=Z97.16^^152^2001^121
+35 ;;^UTILITY(U,$J,358.3,39871,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,39871,1,3,0)
+38 ;;=3^Presence of Artificial Legs,Bilateral
+39 ;;^UTILITY(U,$J,358.3,39871,1,4,0)
+40 ;;=4^Z97.16
+41 ;;^UTILITY(U,$J,358.3,39871,2)
+42 ;;=^5063727
+43 ;;^UTILITY(U,$J,358.3,39872,0)
+44 ;;=Z98.61^^152^2001^9
+45 ;;^UTILITY(U,$J,358.3,39872,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,39872,1,3,0)
+48 ;;=3^Coronary Angioplasty Status
+49 ;;^UTILITY(U,$J,358.3,39872,1,4,0)
+50 ;;=4^Z98.61
+51 ;;^UTILITY(U,$J,358.3,39872,2)
+52 ;;=^5063742
+53 ;;^UTILITY(U,$J,358.3,39873,0)
+54 ;;=Z98.62^^152^2001^66
+55 ;;^UTILITY(U,$J,358.3,39873,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,39873,1,3,0)
+58 ;;=3^Peripheral Vascular Angioplasty Status w/o Graft
+59 ;;^UTILITY(U,$J,358.3,39873,1,4,0)
+60 ;;=4^Z98.62
+61 ;;^UTILITY(U,$J,358.3,39873,2)
+62 ;;=^5063743
+63 ;;^UTILITY(U,$J,358.3,39874,0)
+64 ;;=Z98.84^^152^2001^4
+65 ;;^UTILITY(U,$J,358.3,39874,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,39874,1,3,0)
+68 ;;=3^Bariatric Surgery Status
+69 ;;^UTILITY(U,$J,358.3,39874,1,4,0)
+70 ;;=4^Z98.84
+71 ;;^UTILITY(U,$J,358.3,39874,2)
+72 ;;=^5063749
+73 ;;^UTILITY(U,$J,358.3,39875,0)
+74 ;;=Z99.2^^152^2001^147
+75 ;;^UTILITY(U,$J,358.3,39875,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,39875,1,3,0)
+78 ;;=3^Renal Dialysis Dependence
+79 ;;^UTILITY(U,$J,358.3,39875,1,4,0)
+80 ;;=4^Z99.2
+81 ;;^UTILITY(U,$J,358.3,39875,2)
+82 ;;=^5063758
+83 ;;^UTILITY(U,$J,358.3,39876,0)
+84 ;;=Z99.81^^152^2001^150
+85 ;;^UTILITY(U,$J,358.3,39876,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,39876,1,3,0)
+88 ;;=3^Supplemental Oxygen Dependence
+89 ;;^UTILITY(U,$J,358.3,39876,1,4,0)
+90 ;;=4^Z99.81
+91 ;;^UTILITY(U,$J,358.3,39876,2)
+92 ;;=^5063760
+93 ;;^UTILITY(U,$J,358.3,39877,0)
+94 ;;=Z98.1^^152^2001^2
+95 ;;^UTILITY(U,$J,358.3,39877,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,39877,1,3,0)
+98 ;;=3^Arthrodesis Status
+99 ;;^UTILITY(U,$J,358.3,39877,1,4,0)
+100 ;;=4^Z98.1
+101 ;;^UTILITY(U,$J,358.3,39877,2)
+102 ;;=^5063734
+103 ;;^UTILITY(U,$J,358.3,39878,0)
+104 ;;=Z94.7^^152^2001^8
+105 ;;^UTILITY(U,$J,358.3,39878,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,39878,1,3,0)
+108 ;;=3^Corneal Transplant Status
+109 ;;^UTILITY(U,$J,358.3,39878,1,4,0)
+110 ;;=4^Z94.7
+111 ;;^UTILITY(U,$J,358.3,39878,2)
+112 ;;=^5063661
+113 ;;^UTILITY(U,$J,358.3,39879,0)
+114 ;;=Z83.511^^152^2001^23
+115 ;;^UTILITY(U,$J,358.3,39879,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,39879,1,3,0)
+118 ;;=3^Family Hx of Glaucoma
+119 ;;^UTILITY(U,$J,358.3,39879,1,4,0)
+120 ;;=4^Z83.511
+121 ;;^UTILITY(U,$J,358.3,39879,2)
+122 ;;=^5063382
+123 ;;^UTILITY(U,$J,358.3,39880,0)
+124 ;;=Z80.52^^152^2001^26