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