IBDEI18I ; ; 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,20021,1,3,0)
;;=3^Nondisp intertroch fx of left femur, sequela
;;^UTILITY(U,$J,358.3,20021,1,4,0)
;;=4^S72.145S
;;^UTILITY(U,$J,358.3,20021,2)
;;=^5037994
;;^UTILITY(U,$J,358.3,20022,0)
;;=S72.21XS^^67^883^43
;;^UTILITY(U,$J,358.3,20022,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20022,1,3,0)
;;=3^Displaced subtrochanteric fx of right femur, sequela
;;^UTILITY(U,$J,358.3,20022,1,4,0)
;;=4^S72.21XS
;;^UTILITY(U,$J,358.3,20022,2)
;;=^5038026
;;^UTILITY(U,$J,358.3,20023,0)
;;=S72.22XS^^67^883^42
;;^UTILITY(U,$J,358.3,20023,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20023,1,3,0)
;;=3^Displaced subtrochanteric fx of left femur, sequela
;;^UTILITY(U,$J,358.3,20023,1,4,0)
;;=4^S72.22XS
;;^UTILITY(U,$J,358.3,20023,2)
;;=^5038042
;;^UTILITY(U,$J,358.3,20024,0)
;;=S72.24XS^^67^883^92
;;^UTILITY(U,$J,358.3,20024,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20024,1,3,0)
;;=3^Nondisp subtrochanteric fx of right femur, sequela
;;^UTILITY(U,$J,358.3,20024,1,4,0)
;;=4^S72.24XS
;;^UTILITY(U,$J,358.3,20024,2)
;;=^5038074
;;^UTILITY(U,$J,358.3,20025,0)
;;=S72.25XS^^67^883^91
;;^UTILITY(U,$J,358.3,20025,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20025,1,3,0)
;;=3^Nondisp subtrochanteric fx of left femur, sequela
;;^UTILITY(U,$J,358.3,20025,1,4,0)
;;=4^S72.25XS
;;^UTILITY(U,$J,358.3,20025,2)
;;=^5038090
;;^UTILITY(U,$J,358.3,20026,0)
;;=S72.321S^^67^883^51
;;^UTILITY(U,$J,358.3,20026,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20026,1,3,0)
;;=3^Displaced transverse fx shaft of right femur, sequela
;;^UTILITY(U,$J,358.3,20026,1,4,0)
;;=4^S72.321S
;;^UTILITY(U,$J,358.3,20026,2)
;;=^5038159
;;^UTILITY(U,$J,358.3,20027,0)
;;=S72.322S^^67^883^50
;;^UTILITY(U,$J,358.3,20027,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20027,1,3,0)
;;=3^Displaced transverse fx shaft of left femur, sequela
;;^UTILITY(U,$J,358.3,20027,1,4,0)
;;=4^S72.322S
;;^UTILITY(U,$J,358.3,20027,2)
;;=^5038175
;;^UTILITY(U,$J,358.3,20028,0)
;;=S72.324S^^67^883^100
;;^UTILITY(U,$J,358.3,20028,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20028,1,3,0)
;;=3^Nondisp transverse fx shaft of right femur, sequela
;;^UTILITY(U,$J,358.3,20028,1,4,0)
;;=4^S72.324S
;;^UTILITY(U,$J,358.3,20028,2)
;;=^5038207
;;^UTILITY(U,$J,358.3,20029,0)
;;=S72.325S^^67^883^99
;;^UTILITY(U,$J,358.3,20029,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20029,1,3,0)
;;=3^Nondisp transverse fx shaft of left femur, sequela
;;^UTILITY(U,$J,358.3,20029,1,4,0)
;;=4^S72.325S
;;^UTILITY(U,$J,358.3,20029,2)
;;=^5038223
;;^UTILITY(U,$J,358.3,20030,0)
;;=S72.331S^^67^883^35
;;^UTILITY(U,$J,358.3,20030,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20030,1,3,0)
;;=3^Displaced oblique fx of shaft of right femur, sequela
;;^UTILITY(U,$J,358.3,20030,1,4,0)
;;=4^S72.331S
;;^UTILITY(U,$J,358.3,20030,2)
;;=^5038255
;;^UTILITY(U,$J,358.3,20031,0)
;;=S72.332S^^67^883^34
;;^UTILITY(U,$J,358.3,20031,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20031,1,3,0)
;;=3^Displaced oblique fx of shaft of left femur, sequela
;;^UTILITY(U,$J,358.3,20031,1,4,0)
;;=4^S72.332S
;;^UTILITY(U,$J,358.3,20031,2)
;;=^5038271
;;^UTILITY(U,$J,358.3,20032,0)
;;=S72.334S^^67^883^83
;;^UTILITY(U,$J,358.3,20032,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,20032,1,3,0)
;;=3^Nondisp oblique fx shaft of right femur, sequela
;;^UTILITY(U,$J,358.3,20032,1,4,0)
;;=4^S72.334S
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI18I 3787 printed Dec 13, 2024@02:03:49 Page 2
IBDEI18I ; ; 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,20021,1,3,0)
+2 ;;=3^Nondisp intertroch fx of left femur, sequela
+3 ;;^UTILITY(U,$J,358.3,20021,1,4,0)
+4 ;;=4^S72.145S
+5 ;;^UTILITY(U,$J,358.3,20021,2)
+6 ;;=^5037994
+7 ;;^UTILITY(U,$J,358.3,20022,0)
+8 ;;=S72.21XS^^67^883^43
+9 ;;^UTILITY(U,$J,358.3,20022,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,20022,1,3,0)
+12 ;;=3^Displaced subtrochanteric fx of right femur, sequela
+13 ;;^UTILITY(U,$J,358.3,20022,1,4,0)
+14 ;;=4^S72.21XS
+15 ;;^UTILITY(U,$J,358.3,20022,2)
+16 ;;=^5038026
+17 ;;^UTILITY(U,$J,358.3,20023,0)
+18 ;;=S72.22XS^^67^883^42
+19 ;;^UTILITY(U,$J,358.3,20023,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,20023,1,3,0)
+22 ;;=3^Displaced subtrochanteric fx of left femur, sequela
+23 ;;^UTILITY(U,$J,358.3,20023,1,4,0)
+24 ;;=4^S72.22XS
+25 ;;^UTILITY(U,$J,358.3,20023,2)
+26 ;;=^5038042
+27 ;;^UTILITY(U,$J,358.3,20024,0)
+28 ;;=S72.24XS^^67^883^92
+29 ;;^UTILITY(U,$J,358.3,20024,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,20024,1,3,0)
+32 ;;=3^Nondisp subtrochanteric fx of right femur, sequela
+33 ;;^UTILITY(U,$J,358.3,20024,1,4,0)
+34 ;;=4^S72.24XS
+35 ;;^UTILITY(U,$J,358.3,20024,2)
+36 ;;=^5038074
+37 ;;^UTILITY(U,$J,358.3,20025,0)
+38 ;;=S72.25XS^^67^883^91
+39 ;;^UTILITY(U,$J,358.3,20025,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,20025,1,3,0)
+42 ;;=3^Nondisp subtrochanteric fx of left femur, sequela
+43 ;;^UTILITY(U,$J,358.3,20025,1,4,0)
+44 ;;=4^S72.25XS
+45 ;;^UTILITY(U,$J,358.3,20025,2)
+46 ;;=^5038090
+47 ;;^UTILITY(U,$J,358.3,20026,0)
+48 ;;=S72.321S^^67^883^51
+49 ;;^UTILITY(U,$J,358.3,20026,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,20026,1,3,0)
+52 ;;=3^Displaced transverse fx shaft of right femur, sequela
+53 ;;^UTILITY(U,$J,358.3,20026,1,4,0)
+54 ;;=4^S72.321S
+55 ;;^UTILITY(U,$J,358.3,20026,2)
+56 ;;=^5038159
+57 ;;^UTILITY(U,$J,358.3,20027,0)
+58 ;;=S72.322S^^67^883^50
+59 ;;^UTILITY(U,$J,358.3,20027,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,20027,1,3,0)
+62 ;;=3^Displaced transverse fx shaft of left femur, sequela
+63 ;;^UTILITY(U,$J,358.3,20027,1,4,0)
+64 ;;=4^S72.322S
+65 ;;^UTILITY(U,$J,358.3,20027,2)
+66 ;;=^5038175
+67 ;;^UTILITY(U,$J,358.3,20028,0)
+68 ;;=S72.324S^^67^883^100
+69 ;;^UTILITY(U,$J,358.3,20028,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,20028,1,3,0)
+72 ;;=3^Nondisp transverse fx shaft of right femur, sequela
+73 ;;^UTILITY(U,$J,358.3,20028,1,4,0)
+74 ;;=4^S72.324S
+75 ;;^UTILITY(U,$J,358.3,20028,2)
+76 ;;=^5038207
+77 ;;^UTILITY(U,$J,358.3,20029,0)
+78 ;;=S72.325S^^67^883^99
+79 ;;^UTILITY(U,$J,358.3,20029,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,20029,1,3,0)
+82 ;;=3^Nondisp transverse fx shaft of left femur, sequela
+83 ;;^UTILITY(U,$J,358.3,20029,1,4,0)
+84 ;;=4^S72.325S
+85 ;;^UTILITY(U,$J,358.3,20029,2)
+86 ;;=^5038223
+87 ;;^UTILITY(U,$J,358.3,20030,0)
+88 ;;=S72.331S^^67^883^35
+89 ;;^UTILITY(U,$J,358.3,20030,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,20030,1,3,0)
+92 ;;=3^Displaced oblique fx of shaft of right femur, sequela
+93 ;;^UTILITY(U,$J,358.3,20030,1,4,0)
+94 ;;=4^S72.331S
+95 ;;^UTILITY(U,$J,358.3,20030,2)
+96 ;;=^5038255
+97 ;;^UTILITY(U,$J,358.3,20031,0)
+98 ;;=S72.332S^^67^883^34
+99 ;;^UTILITY(U,$J,358.3,20031,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,20031,1,3,0)
+102 ;;=3^Displaced oblique fx of shaft of left femur, sequela
+103 ;;^UTILITY(U,$J,358.3,20031,1,4,0)
+104 ;;=4^S72.332S
+105 ;;^UTILITY(U,$J,358.3,20031,2)
+106 ;;=^5038271
+107 ;;^UTILITY(U,$J,358.3,20032,0)
+108 ;;=S72.334S^^67^883^83
+109 ;;^UTILITY(U,$J,358.3,20032,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,20032,1,3,0)
+112 ;;=3^Nondisp oblique fx shaft of right femur, sequela
+113 ;;^UTILITY(U,$J,358.3,20032,1,4,0)
+114 ;;=4^S72.334S