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