IBDEI17A ; ; 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,19506,1,4,0)
;;=4^Z89.422
;;^UTILITY(U,$J,358.3,19506,2)
;;=^5063558
;;^UTILITY(U,$J,358.3,19507,0)
;;=Z89.421^^67^876^26
;;^UTILITY(U,$J,358.3,19507,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19507,1,3,0)
;;=3^Acquired absence of right toe(s)
;;^UTILITY(U,$J,358.3,19507,1,4,0)
;;=4^Z89.421
;;^UTILITY(U,$J,358.3,19507,2)
;;=^5063557
;;^UTILITY(U,$J,358.3,19508,0)
;;=Z89.431^^67^876^17
;;^UTILITY(U,$J,358.3,19508,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19508,1,3,0)
;;=3^Acquired absence of right foot
;;^UTILITY(U,$J,358.3,19508,1,4,0)
;;=4^Z89.431
;;^UTILITY(U,$J,358.3,19508,2)
;;=^5063560
;;^UTILITY(U,$J,358.3,19509,0)
;;=Z89.432^^67^876^3
;;^UTILITY(U,$J,358.3,19509,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19509,1,3,0)
;;=3^Acquired absence of left foot
;;^UTILITY(U,$J,358.3,19509,1,4,0)
;;=4^Z89.432
;;^UTILITY(U,$J,358.3,19509,2)
;;=^5063561
;;^UTILITY(U,$J,358.3,19510,0)
;;=Z89.442^^67^876^1
;;^UTILITY(U,$J,358.3,19510,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19510,1,3,0)
;;=3^Acquired absence of left ankle
;;^UTILITY(U,$J,358.3,19510,1,4,0)
;;=4^Z89.442
;;^UTILITY(U,$J,358.3,19510,2)
;;=^5063564
;;^UTILITY(U,$J,358.3,19511,0)
;;=Z89.441^^67^876^15
;;^UTILITY(U,$J,358.3,19511,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19511,1,3,0)
;;=3^Acquired absence of right ankle
;;^UTILITY(U,$J,358.3,19511,1,4,0)
;;=4^Z89.441
;;^UTILITY(U,$J,358.3,19511,2)
;;=^5063563
;;^UTILITY(U,$J,358.3,19512,0)
;;=Z89.511^^67^876^23
;;^UTILITY(U,$J,358.3,19512,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19512,1,3,0)
;;=3^Acquired absence of right leg below knee
;;^UTILITY(U,$J,358.3,19512,1,4,0)
;;=4^Z89.511
;;^UTILITY(U,$J,358.3,19512,2)
;;=^5063566
;;^UTILITY(U,$J,358.3,19513,0)
;;=Z89.512^^67^876^8
;;^UTILITY(U,$J,358.3,19513,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19513,1,3,0)
;;=3^Acquired absence of left leg below knee
;;^UTILITY(U,$J,358.3,19513,1,4,0)
;;=4^Z89.512
;;^UTILITY(U,$J,358.3,19513,2)
;;=^5063567
;;^UTILITY(U,$J,358.3,19514,0)
;;=Z89.611^^67^876^22
;;^UTILITY(U,$J,358.3,19514,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19514,1,3,0)
;;=3^Acquired absence of right leg above knee
;;^UTILITY(U,$J,358.3,19514,1,4,0)
;;=4^Z89.611
;;^UTILITY(U,$J,358.3,19514,2)
;;=^5063572
;;^UTILITY(U,$J,358.3,19515,0)
;;=Z89.612^^67^876^7
;;^UTILITY(U,$J,358.3,19515,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19515,1,3,0)
;;=3^Acquired absence of left leg above knee
;;^UTILITY(U,$J,358.3,19515,1,4,0)
;;=4^Z89.612
;;^UTILITY(U,$J,358.3,19515,2)
;;=^5063573
;;^UTILITY(U,$J,358.3,19516,0)
;;=Z89.622^^67^876^6
;;^UTILITY(U,$J,358.3,19516,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19516,1,3,0)
;;=3^Acquired absence of left hip joint
;;^UTILITY(U,$J,358.3,19516,1,4,0)
;;=4^Z89.622
;;^UTILITY(U,$J,358.3,19516,2)
;;=^5063576
;;^UTILITY(U,$J,358.3,19517,0)
;;=Z89.621^^67^876^20
;;^UTILITY(U,$J,358.3,19517,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19517,1,3,0)
;;=3^Acquired absence of right hip joint
;;^UTILITY(U,$J,358.3,19517,1,4,0)
;;=4^Z89.621
;;^UTILITY(U,$J,358.3,19517,2)
;;=^5063575
;;^UTILITY(U,$J,358.3,19518,0)
;;=R47.01^^67^877^1
;;^UTILITY(U,$J,358.3,19518,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19518,1,3,0)
;;=3^Aphasia
;;^UTILITY(U,$J,358.3,19518,1,4,0)
;;=4^R47.01
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI17A 3746 printed Nov 22, 2024@17:13:19 Page 2
IBDEI17A ; ; 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,19506,1,4,0)
+2 ;;=4^Z89.422
+3 ;;^UTILITY(U,$J,358.3,19506,2)
+4 ;;=^5063558
+5 ;;^UTILITY(U,$J,358.3,19507,0)
+6 ;;=Z89.421^^67^876^26
+7 ;;^UTILITY(U,$J,358.3,19507,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,19507,1,3,0)
+10 ;;=3^Acquired absence of right toe(s)
+11 ;;^UTILITY(U,$J,358.3,19507,1,4,0)
+12 ;;=4^Z89.421
+13 ;;^UTILITY(U,$J,358.3,19507,2)
+14 ;;=^5063557
+15 ;;^UTILITY(U,$J,358.3,19508,0)
+16 ;;=Z89.431^^67^876^17
+17 ;;^UTILITY(U,$J,358.3,19508,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,19508,1,3,0)
+20 ;;=3^Acquired absence of right foot
+21 ;;^UTILITY(U,$J,358.3,19508,1,4,0)
+22 ;;=4^Z89.431
+23 ;;^UTILITY(U,$J,358.3,19508,2)
+24 ;;=^5063560
+25 ;;^UTILITY(U,$J,358.3,19509,0)
+26 ;;=Z89.432^^67^876^3
+27 ;;^UTILITY(U,$J,358.3,19509,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,19509,1,3,0)
+30 ;;=3^Acquired absence of left foot
+31 ;;^UTILITY(U,$J,358.3,19509,1,4,0)
+32 ;;=4^Z89.432
+33 ;;^UTILITY(U,$J,358.3,19509,2)
+34 ;;=^5063561
+35 ;;^UTILITY(U,$J,358.3,19510,0)
+36 ;;=Z89.442^^67^876^1
+37 ;;^UTILITY(U,$J,358.3,19510,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,19510,1,3,0)
+40 ;;=3^Acquired absence of left ankle
+41 ;;^UTILITY(U,$J,358.3,19510,1,4,0)
+42 ;;=4^Z89.442
+43 ;;^UTILITY(U,$J,358.3,19510,2)
+44 ;;=^5063564
+45 ;;^UTILITY(U,$J,358.3,19511,0)
+46 ;;=Z89.441^^67^876^15
+47 ;;^UTILITY(U,$J,358.3,19511,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,19511,1,3,0)
+50 ;;=3^Acquired absence of right ankle
+51 ;;^UTILITY(U,$J,358.3,19511,1,4,0)
+52 ;;=4^Z89.441
+53 ;;^UTILITY(U,$J,358.3,19511,2)
+54 ;;=^5063563
+55 ;;^UTILITY(U,$J,358.3,19512,0)
+56 ;;=Z89.511^^67^876^23
+57 ;;^UTILITY(U,$J,358.3,19512,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,19512,1,3,0)
+60 ;;=3^Acquired absence of right leg below knee
+61 ;;^UTILITY(U,$J,358.3,19512,1,4,0)
+62 ;;=4^Z89.511
+63 ;;^UTILITY(U,$J,358.3,19512,2)
+64 ;;=^5063566
+65 ;;^UTILITY(U,$J,358.3,19513,0)
+66 ;;=Z89.512^^67^876^8
+67 ;;^UTILITY(U,$J,358.3,19513,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,19513,1,3,0)
+70 ;;=3^Acquired absence of left leg below knee
+71 ;;^UTILITY(U,$J,358.3,19513,1,4,0)
+72 ;;=4^Z89.512
+73 ;;^UTILITY(U,$J,358.3,19513,2)
+74 ;;=^5063567
+75 ;;^UTILITY(U,$J,358.3,19514,0)
+76 ;;=Z89.611^^67^876^22
+77 ;;^UTILITY(U,$J,358.3,19514,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,19514,1,3,0)
+80 ;;=3^Acquired absence of right leg above knee
+81 ;;^UTILITY(U,$J,358.3,19514,1,4,0)
+82 ;;=4^Z89.611
+83 ;;^UTILITY(U,$J,358.3,19514,2)
+84 ;;=^5063572
+85 ;;^UTILITY(U,$J,358.3,19515,0)
+86 ;;=Z89.612^^67^876^7
+87 ;;^UTILITY(U,$J,358.3,19515,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,19515,1,3,0)
+90 ;;=3^Acquired absence of left leg above knee
+91 ;;^UTILITY(U,$J,358.3,19515,1,4,0)
+92 ;;=4^Z89.612
+93 ;;^UTILITY(U,$J,358.3,19515,2)
+94 ;;=^5063573
+95 ;;^UTILITY(U,$J,358.3,19516,0)
+96 ;;=Z89.622^^67^876^6
+97 ;;^UTILITY(U,$J,358.3,19516,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,19516,1,3,0)
+100 ;;=3^Acquired absence of left hip joint
+101 ;;^UTILITY(U,$J,358.3,19516,1,4,0)
+102 ;;=4^Z89.622
+103 ;;^UTILITY(U,$J,358.3,19516,2)
+104 ;;=^5063576
+105 ;;^UTILITY(U,$J,358.3,19517,0)
+106 ;;=Z89.621^^67^876^20
+107 ;;^UTILITY(U,$J,358.3,19517,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,19517,1,3,0)
+110 ;;=3^Acquired absence of right hip joint
+111 ;;^UTILITY(U,$J,358.3,19517,1,4,0)
+112 ;;=4^Z89.621
+113 ;;^UTILITY(U,$J,358.3,19517,2)
+114 ;;=^5063575
+115 ;;^UTILITY(U,$J,358.3,19518,0)
+116 ;;=R47.01^^67^877^1
+117 ;;^UTILITY(U,$J,358.3,19518,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,19518,1,3,0)
+120 ;;=3^Aphasia
+121 ;;^UTILITY(U,$J,358.3,19518,1,4,0)
+122 ;;=4^R47.01