IBDEI17L ; ; 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,19634,2)
;;=^5055458
;;^UTILITY(U,$J,358.3,19635,0)
;;=T84.82XS^^67^879^9
;;^UTILITY(U,$J,358.3,19635,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19635,1,3,0)
;;=3^Fibrosis due to internal orthopedic prosth dev/grft, sequela
;;^UTILITY(U,$J,358.3,19635,1,4,0)
;;=4^T84.82XS
;;^UTILITY(U,$J,358.3,19635,2)
;;=^5055459
;;^UTILITY(U,$J,358.3,19636,0)
;;=T84.83XA^^67^879^10
;;^UTILITY(U,$J,358.3,19636,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19636,1,3,0)
;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19636,1,4,0)
;;=4^T84.83XA
;;^UTILITY(U,$J,358.3,19636,2)
;;=^5055460
;;^UTILITY(U,$J,358.3,19637,0)
;;=T84.83XD^^67^879^11
;;^UTILITY(U,$J,358.3,19637,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19637,1,3,0)
;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, subs
;;^UTILITY(U,$J,358.3,19637,1,4,0)
;;=4^T84.83XD
;;^UTILITY(U,$J,358.3,19637,2)
;;=^5055461
;;^UTILITY(U,$J,358.3,19638,0)
;;=T84.83XS^^67^879^12
;;^UTILITY(U,$J,358.3,19638,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19638,1,3,0)
;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, sequela
;;^UTILITY(U,$J,358.3,19638,1,4,0)
;;=4^T84.83XS
;;^UTILITY(U,$J,358.3,19638,2)
;;=^5055462
;;^UTILITY(U,$J,358.3,19639,0)
;;=T84.89XA^^67^879^1
;;^UTILITY(U,$J,358.3,19639,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19639,1,3,0)
;;=3^Comp of internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19639,1,4,0)
;;=4^T84.89XA
;;^UTILITY(U,$J,358.3,19639,2)
;;=^5055472
;;^UTILITY(U,$J,358.3,19640,0)
;;=T84.89XD^^67^879^2
;;^UTILITY(U,$J,358.3,19640,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19640,1,3,0)
;;=3^Comp of internal orthopedic prosth dev/grft, subs
;;^UTILITY(U,$J,358.3,19640,1,4,0)
;;=4^T84.89XD
;;^UTILITY(U,$J,358.3,19640,2)
;;=^5055473
;;^UTILITY(U,$J,358.3,19641,0)
;;=T84.89XS^^67^879^3
;;^UTILITY(U,$J,358.3,19641,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19641,1,3,0)
;;=3^Comp of internal orthopedic prosth dev/grft, sequela
;;^UTILITY(U,$J,358.3,19641,1,4,0)
;;=4^T84.89XS
;;^UTILITY(U,$J,358.3,19641,2)
;;=^5055474
;;^UTILITY(U,$J,358.3,19642,0)
;;=T84.84XA^^67^879^13
;;^UTILITY(U,$J,358.3,19642,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19642,1,3,0)
;;=3^Pain due to internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19642,1,4,0)
;;=4^T84.84XA
;;^UTILITY(U,$J,358.3,19642,2)
;;=^5055463
;;^UTILITY(U,$J,358.3,19643,0)
;;=T84.84XD^^67^879^14
;;^UTILITY(U,$J,358.3,19643,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19643,1,3,0)
;;=3^Pain due to internal orthopedic prosth dev/grft, subs
;;^UTILITY(U,$J,358.3,19643,1,4,0)
;;=4^T84.84XD
;;^UTILITY(U,$J,358.3,19643,2)
;;=^5055464
;;^UTILITY(U,$J,358.3,19644,0)
;;=T84.84XS^^67^879^15
;;^UTILITY(U,$J,358.3,19644,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19644,1,3,0)
;;=3^Pain due to internal orthopedic prosth dev/grft, sequela
;;^UTILITY(U,$J,358.3,19644,1,4,0)
;;=4^T84.84XS
;;^UTILITY(U,$J,358.3,19644,2)
;;=^5055465
;;^UTILITY(U,$J,358.3,19645,0)
;;=T84.85XA^^67^879^16
;;^UTILITY(U,$J,358.3,19645,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19645,1,3,0)
;;=3^Stenosis due to internal orthopedic prosth dev/grft, init
;;^UTILITY(U,$J,358.3,19645,1,4,0)
;;=4^T84.85XA
;;^UTILITY(U,$J,358.3,19645,2)
;;=^5055466
;;^UTILITY(U,$J,358.3,19646,0)
;;=T84.85XD^^67^879^17
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI17L 3793 printed Dec 13, 2024@02:03:18 Page 2
IBDEI17L ; ; 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,19634,2)
+2 ;;=^5055458
+3 ;;^UTILITY(U,$J,358.3,19635,0)
+4 ;;=T84.82XS^^67^879^9
+5 ;;^UTILITY(U,$J,358.3,19635,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,19635,1,3,0)
+8 ;;=3^Fibrosis due to internal orthopedic prosth dev/grft, sequela
+9 ;;^UTILITY(U,$J,358.3,19635,1,4,0)
+10 ;;=4^T84.82XS
+11 ;;^UTILITY(U,$J,358.3,19635,2)
+12 ;;=^5055459
+13 ;;^UTILITY(U,$J,358.3,19636,0)
+14 ;;=T84.83XA^^67^879^10
+15 ;;^UTILITY(U,$J,358.3,19636,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,19636,1,3,0)
+18 ;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, init
+19 ;;^UTILITY(U,$J,358.3,19636,1,4,0)
+20 ;;=4^T84.83XA
+21 ;;^UTILITY(U,$J,358.3,19636,2)
+22 ;;=^5055460
+23 ;;^UTILITY(U,$J,358.3,19637,0)
+24 ;;=T84.83XD^^67^879^11
+25 ;;^UTILITY(U,$J,358.3,19637,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,19637,1,3,0)
+28 ;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, subs
+29 ;;^UTILITY(U,$J,358.3,19637,1,4,0)
+30 ;;=4^T84.83XD
+31 ;;^UTILITY(U,$J,358.3,19637,2)
+32 ;;=^5055461
+33 ;;^UTILITY(U,$J,358.3,19638,0)
+34 ;;=T84.83XS^^67^879^12
+35 ;;^UTILITY(U,$J,358.3,19638,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,19638,1,3,0)
+38 ;;=3^Hemorrhage due to internal orthopedic prosth dev/grft, sequela
+39 ;;^UTILITY(U,$J,358.3,19638,1,4,0)
+40 ;;=4^T84.83XS
+41 ;;^UTILITY(U,$J,358.3,19638,2)
+42 ;;=^5055462
+43 ;;^UTILITY(U,$J,358.3,19639,0)
+44 ;;=T84.89XA^^67^879^1
+45 ;;^UTILITY(U,$J,358.3,19639,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,19639,1,3,0)
+48 ;;=3^Comp of internal orthopedic prosth dev/grft, init
+49 ;;^UTILITY(U,$J,358.3,19639,1,4,0)
+50 ;;=4^T84.89XA
+51 ;;^UTILITY(U,$J,358.3,19639,2)
+52 ;;=^5055472
+53 ;;^UTILITY(U,$J,358.3,19640,0)
+54 ;;=T84.89XD^^67^879^2
+55 ;;^UTILITY(U,$J,358.3,19640,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,19640,1,3,0)
+58 ;;=3^Comp of internal orthopedic prosth dev/grft, subs
+59 ;;^UTILITY(U,$J,358.3,19640,1,4,0)
+60 ;;=4^T84.89XD
+61 ;;^UTILITY(U,$J,358.3,19640,2)
+62 ;;=^5055473
+63 ;;^UTILITY(U,$J,358.3,19641,0)
+64 ;;=T84.89XS^^67^879^3
+65 ;;^UTILITY(U,$J,358.3,19641,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,19641,1,3,0)
+68 ;;=3^Comp of internal orthopedic prosth dev/grft, sequela
+69 ;;^UTILITY(U,$J,358.3,19641,1,4,0)
+70 ;;=4^T84.89XS
+71 ;;^UTILITY(U,$J,358.3,19641,2)
+72 ;;=^5055474
+73 ;;^UTILITY(U,$J,358.3,19642,0)
+74 ;;=T84.84XA^^67^879^13
+75 ;;^UTILITY(U,$J,358.3,19642,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,19642,1,3,0)
+78 ;;=3^Pain due to internal orthopedic prosth dev/grft, init
+79 ;;^UTILITY(U,$J,358.3,19642,1,4,0)
+80 ;;=4^T84.84XA
+81 ;;^UTILITY(U,$J,358.3,19642,2)
+82 ;;=^5055463
+83 ;;^UTILITY(U,$J,358.3,19643,0)
+84 ;;=T84.84XD^^67^879^14
+85 ;;^UTILITY(U,$J,358.3,19643,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,19643,1,3,0)
+88 ;;=3^Pain due to internal orthopedic prosth dev/grft, subs
+89 ;;^UTILITY(U,$J,358.3,19643,1,4,0)
+90 ;;=4^T84.84XD
+91 ;;^UTILITY(U,$J,358.3,19643,2)
+92 ;;=^5055464
+93 ;;^UTILITY(U,$J,358.3,19644,0)
+94 ;;=T84.84XS^^67^879^15
+95 ;;^UTILITY(U,$J,358.3,19644,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,19644,1,3,0)
+98 ;;=3^Pain due to internal orthopedic prosth dev/grft, sequela
+99 ;;^UTILITY(U,$J,358.3,19644,1,4,0)
+100 ;;=4^T84.84XS
+101 ;;^UTILITY(U,$J,358.3,19644,2)
+102 ;;=^5055465
+103 ;;^UTILITY(U,$J,358.3,19645,0)
+104 ;;=T84.85XA^^67^879^16
+105 ;;^UTILITY(U,$J,358.3,19645,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,19645,1,3,0)
+108 ;;=3^Stenosis due to internal orthopedic prosth dev/grft, init
+109 ;;^UTILITY(U,$J,358.3,19645,1,4,0)
+110 ;;=4^T84.85XA
+111 ;;^UTILITY(U,$J,358.3,19645,2)
+112 ;;=^5055466
+113 ;;^UTILITY(U,$J,358.3,19646,0)
+114 ;;=T84.85XD^^67^879^17