IBDEI118 ; ; 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,16780,1,4,0)
;;=4^Z96.652
;;^UTILITY(U,$J,358.3,16780,2)
;;=^5063706
;;^UTILITY(U,$J,358.3,16781,0)
;;=Z96.653^^61^776^120
;;^UTILITY(U,$J,358.3,16781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16781,1,3,0)
;;=3^Presence of Artificial Knee Jt,Bilateral
;;^UTILITY(U,$J,358.3,16781,1,4,0)
;;=4^Z96.653
;;^UTILITY(U,$J,358.3,16781,2)
;;=^5063707
;;^UTILITY(U,$J,358.3,16782,0)
;;=Z96.7^^61^776^125
;;^UTILITY(U,$J,358.3,16782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16782,1,3,0)
;;=3^Presence of Bone/Tendon Implants NEC
;;^UTILITY(U,$J,358.3,16782,1,4,0)
;;=4^Z96.7
;;^UTILITY(U,$J,358.3,16782,2)
;;=^5063716
;;^UTILITY(U,$J,358.3,16783,0)
;;=Z97.11^^61^776^139
;;^UTILITY(U,$J,358.3,16783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16783,1,3,0)
;;=3^Presence of Right Artificial Arm
;;^UTILITY(U,$J,358.3,16783,1,4,0)
;;=4^Z97.11
;;^UTILITY(U,$J,358.3,16783,2)
;;=^5063722
;;^UTILITY(U,$J,358.3,16784,0)
;;=Z97.12^^61^776^134
;;^UTILITY(U,$J,358.3,16784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16784,1,3,0)
;;=3^Presence of Left Artificial Arm
;;^UTILITY(U,$J,358.3,16784,1,4,0)
;;=4^Z97.12
;;^UTILITY(U,$J,358.3,16784,2)
;;=^5063723
;;^UTILITY(U,$J,358.3,16785,0)
;;=Z97.13^^61^776^142
;;^UTILITY(U,$J,358.3,16785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16785,1,3,0)
;;=3^Presence of Right Artificial Leg
;;^UTILITY(U,$J,358.3,16785,1,4,0)
;;=4^Z97.13
;;^UTILITY(U,$J,358.3,16785,2)
;;=^5063724
;;^UTILITY(U,$J,358.3,16786,0)
;;=Z97.14^^61^776^137
;;^UTILITY(U,$J,358.3,16786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16786,1,3,0)
;;=3^Presence of Left Artificial Leg
;;^UTILITY(U,$J,358.3,16786,1,4,0)
;;=4^Z97.14
;;^UTILITY(U,$J,358.3,16786,2)
;;=^5063725
;;^UTILITY(U,$J,358.3,16787,0)
;;=Z97.15^^61^776^116
;;^UTILITY(U,$J,358.3,16787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16787,1,3,0)
;;=3^Presence of Artificial Arms,Bilateral
;;^UTILITY(U,$J,358.3,16787,1,4,0)
;;=4^Z97.15
;;^UTILITY(U,$J,358.3,16787,2)
;;=^5063726
;;^UTILITY(U,$J,358.3,16788,0)
;;=Z97.16^^61^776^121
;;^UTILITY(U,$J,358.3,16788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16788,1,3,0)
;;=3^Presence of Artificial Legs,Bilateral
;;^UTILITY(U,$J,358.3,16788,1,4,0)
;;=4^Z97.16
;;^UTILITY(U,$J,358.3,16788,2)
;;=^5063727
;;^UTILITY(U,$J,358.3,16789,0)
;;=Z98.61^^61^776^9
;;^UTILITY(U,$J,358.3,16789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16789,1,3,0)
;;=3^Coronary Angioplasty Status
;;^UTILITY(U,$J,358.3,16789,1,4,0)
;;=4^Z98.61
;;^UTILITY(U,$J,358.3,16789,2)
;;=^5063742
;;^UTILITY(U,$J,358.3,16790,0)
;;=Z98.62^^61^776^66
;;^UTILITY(U,$J,358.3,16790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16790,1,3,0)
;;=3^Peripheral Vascular Angioplasty Status w/o Graft
;;^UTILITY(U,$J,358.3,16790,1,4,0)
;;=4^Z98.62
;;^UTILITY(U,$J,358.3,16790,2)
;;=^5063743
;;^UTILITY(U,$J,358.3,16791,0)
;;=Z98.84^^61^776^4
;;^UTILITY(U,$J,358.3,16791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16791,1,3,0)
;;=3^Bariatric Surgery Status
;;^UTILITY(U,$J,358.3,16791,1,4,0)
;;=4^Z98.84
;;^UTILITY(U,$J,358.3,16791,2)
;;=^5063749
;;^UTILITY(U,$J,358.3,16792,0)
;;=Z99.2^^61^776^147
;;^UTILITY(U,$J,358.3,16792,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16792,1,3,0)
;;=3^Renal Dialysis Dependence
;;^UTILITY(U,$J,358.3,16792,1,4,0)
;;=4^Z99.2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI118 3749 printed Nov 22, 2024@17:09:57 Page 2
IBDEI118 ; ; 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,16780,1,4,0)
+2 ;;=4^Z96.652
+3 ;;^UTILITY(U,$J,358.3,16780,2)
+4 ;;=^5063706
+5 ;;^UTILITY(U,$J,358.3,16781,0)
+6 ;;=Z96.653^^61^776^120
+7 ;;^UTILITY(U,$J,358.3,16781,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,16781,1,3,0)
+10 ;;=3^Presence of Artificial Knee Jt,Bilateral
+11 ;;^UTILITY(U,$J,358.3,16781,1,4,0)
+12 ;;=4^Z96.653
+13 ;;^UTILITY(U,$J,358.3,16781,2)
+14 ;;=^5063707
+15 ;;^UTILITY(U,$J,358.3,16782,0)
+16 ;;=Z96.7^^61^776^125
+17 ;;^UTILITY(U,$J,358.3,16782,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,16782,1,3,0)
+20 ;;=3^Presence of Bone/Tendon Implants NEC
+21 ;;^UTILITY(U,$J,358.3,16782,1,4,0)
+22 ;;=4^Z96.7
+23 ;;^UTILITY(U,$J,358.3,16782,2)
+24 ;;=^5063716
+25 ;;^UTILITY(U,$J,358.3,16783,0)
+26 ;;=Z97.11^^61^776^139
+27 ;;^UTILITY(U,$J,358.3,16783,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,16783,1,3,0)
+30 ;;=3^Presence of Right Artificial Arm
+31 ;;^UTILITY(U,$J,358.3,16783,1,4,0)
+32 ;;=4^Z97.11
+33 ;;^UTILITY(U,$J,358.3,16783,2)
+34 ;;=^5063722
+35 ;;^UTILITY(U,$J,358.3,16784,0)
+36 ;;=Z97.12^^61^776^134
+37 ;;^UTILITY(U,$J,358.3,16784,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,16784,1,3,0)
+40 ;;=3^Presence of Left Artificial Arm
+41 ;;^UTILITY(U,$J,358.3,16784,1,4,0)
+42 ;;=4^Z97.12
+43 ;;^UTILITY(U,$J,358.3,16784,2)
+44 ;;=^5063723
+45 ;;^UTILITY(U,$J,358.3,16785,0)
+46 ;;=Z97.13^^61^776^142
+47 ;;^UTILITY(U,$J,358.3,16785,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,16785,1,3,0)
+50 ;;=3^Presence of Right Artificial Leg
+51 ;;^UTILITY(U,$J,358.3,16785,1,4,0)
+52 ;;=4^Z97.13
+53 ;;^UTILITY(U,$J,358.3,16785,2)
+54 ;;=^5063724
+55 ;;^UTILITY(U,$J,358.3,16786,0)
+56 ;;=Z97.14^^61^776^137
+57 ;;^UTILITY(U,$J,358.3,16786,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,16786,1,3,0)
+60 ;;=3^Presence of Left Artificial Leg
+61 ;;^UTILITY(U,$J,358.3,16786,1,4,0)
+62 ;;=4^Z97.14
+63 ;;^UTILITY(U,$J,358.3,16786,2)
+64 ;;=^5063725
+65 ;;^UTILITY(U,$J,358.3,16787,0)
+66 ;;=Z97.15^^61^776^116
+67 ;;^UTILITY(U,$J,358.3,16787,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,16787,1,3,0)
+70 ;;=3^Presence of Artificial Arms,Bilateral
+71 ;;^UTILITY(U,$J,358.3,16787,1,4,0)
+72 ;;=4^Z97.15
+73 ;;^UTILITY(U,$J,358.3,16787,2)
+74 ;;=^5063726
+75 ;;^UTILITY(U,$J,358.3,16788,0)
+76 ;;=Z97.16^^61^776^121
+77 ;;^UTILITY(U,$J,358.3,16788,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,16788,1,3,0)
+80 ;;=3^Presence of Artificial Legs,Bilateral
+81 ;;^UTILITY(U,$J,358.3,16788,1,4,0)
+82 ;;=4^Z97.16
+83 ;;^UTILITY(U,$J,358.3,16788,2)
+84 ;;=^5063727
+85 ;;^UTILITY(U,$J,358.3,16789,0)
+86 ;;=Z98.61^^61^776^9
+87 ;;^UTILITY(U,$J,358.3,16789,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,16789,1,3,0)
+90 ;;=3^Coronary Angioplasty Status
+91 ;;^UTILITY(U,$J,358.3,16789,1,4,0)
+92 ;;=4^Z98.61
+93 ;;^UTILITY(U,$J,358.3,16789,2)
+94 ;;=^5063742
+95 ;;^UTILITY(U,$J,358.3,16790,0)
+96 ;;=Z98.62^^61^776^66
+97 ;;^UTILITY(U,$J,358.3,16790,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,16790,1,3,0)
+100 ;;=3^Peripheral Vascular Angioplasty Status w/o Graft
+101 ;;^UTILITY(U,$J,358.3,16790,1,4,0)
+102 ;;=4^Z98.62
+103 ;;^UTILITY(U,$J,358.3,16790,2)
+104 ;;=^5063743
+105 ;;^UTILITY(U,$J,358.3,16791,0)
+106 ;;=Z98.84^^61^776^4
+107 ;;^UTILITY(U,$J,358.3,16791,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,16791,1,3,0)
+110 ;;=3^Bariatric Surgery Status
+111 ;;^UTILITY(U,$J,358.3,16791,1,4,0)
+112 ;;=4^Z98.84
+113 ;;^UTILITY(U,$J,358.3,16791,2)
+114 ;;=^5063749
+115 ;;^UTILITY(U,$J,358.3,16792,0)
+116 ;;=Z99.2^^61^776^147
+117 ;;^UTILITY(U,$J,358.3,16792,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,16792,1,3,0)
+120 ;;=3^Renal Dialysis Dependence
+121 ;;^UTILITY(U,$J,358.3,16792,1,4,0)
+122 ;;=4^Z99.2