IBDEI27B ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,35152,1,3,0)
;;=3^Fx,Right forearm, sequela
;;^UTILITY(U,$J,358.3,35152,1,4,0)
;;=4^S52.91XS
;;^UTILITY(U,$J,358.3,35152,2)
;;=^5031173
;;^UTILITY(U,$J,358.3,35153,0)
;;=S82.91XS^^137^1797^25
;;^UTILITY(U,$J,358.3,35153,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35153,1,3,0)
;;=3^Fx,Right lower leg, sequela
;;^UTILITY(U,$J,358.3,35153,1,4,0)
;;=4^S82.91XS
;;^UTILITY(U,$J,358.3,35153,2)
;;=^5136991
;;^UTILITY(U,$J,358.3,35154,0)
;;=S82.001S^^137^1797^26
;;^UTILITY(U,$J,358.3,35154,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35154,1,3,0)
;;=3^Fx,Right patella, sequela
;;^UTILITY(U,$J,358.3,35154,1,4,0)
;;=4^S82.001S
;;^UTILITY(U,$J,358.3,35154,2)
;;=^5040119
;;^UTILITY(U,$J,358.3,35155,0)
;;=S92.911S^^137^1797^28
;;^UTILITY(U,$J,358.3,35155,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35155,1,3,0)
;;=3^Fx,Right toe(s), sequela
;;^UTILITY(U,$J,358.3,35155,1,4,0)
;;=4^S92.911S
;;^UTILITY(U,$J,358.3,35155,2)
;;=^5045598
;;^UTILITY(U,$J,358.3,35156,0)
;;=S62.91XS^^137^1797^29
;;^UTILITY(U,$J,358.3,35156,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35156,1,3,0)
;;=3^Fx,Right wrist and hand, sequela
;;^UTILITY(U,$J,358.3,35156,1,4,0)
;;=4^S62.91XS
;;^UTILITY(U,$J,358.3,35156,2)
;;=^5034885
;;^UTILITY(U,$J,358.3,35157,0)
;;=S42.302S^^137^1797^30
;;^UTILITY(U,$J,358.3,35157,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35157,1,3,0)
;;=3^Fx,Shaft of humerus, left arm, sequela
;;^UTILITY(U,$J,358.3,35157,1,4,0)
;;=4^S42.302S
;;^UTILITY(U,$J,358.3,35157,2)
;;=^5027044
;;^UTILITY(U,$J,358.3,35158,0)
;;=S42.301S^^137^1797^31
;;^UTILITY(U,$J,358.3,35158,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35158,1,3,0)
;;=3^Fx,Shaft of humerus, right arm, sequela
;;^UTILITY(U,$J,358.3,35158,1,4,0)
;;=4^S42.301S
;;^UTILITY(U,$J,358.3,35158,2)
;;=^5027037
;;^UTILITY(U,$J,358.3,35159,0)
;;=S42.202S^^137^1797^33
;;^UTILITY(U,$J,358.3,35159,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35159,1,3,0)
;;=3^Fx,Upper end of left humerus, sequela
;;^UTILITY(U,$J,358.3,35159,1,4,0)
;;=4^S42.202S
;;^UTILITY(U,$J,358.3,35159,2)
;;=^5026774
;;^UTILITY(U,$J,358.3,35160,0)
;;=S42.201S^^137^1797^34
;;^UTILITY(U,$J,358.3,35160,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35160,1,3,0)
;;=3^Fx,Upper end of right humerus, sequela
;;^UTILITY(U,$J,358.3,35160,1,4,0)
;;=4^S42.201S
;;^UTILITY(U,$J,358.3,35160,2)
;;=^5026767
;;^UTILITY(U,$J,358.3,35161,0)
;;=S79.002S^^137^1797^42
;;^UTILITY(U,$J,358.3,35161,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35161,1,3,0)
;;=3^Physeal fracture of upper end of left femur, sequela
;;^UTILITY(U,$J,358.3,35161,1,4,0)
;;=4^S79.002S
;;^UTILITY(U,$J,358.3,35161,2)
;;=^5039767
;;^UTILITY(U,$J,358.3,35162,0)
;;=S79.001S^^137^1797^43
;;^UTILITY(U,$J,358.3,35162,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35162,1,3,0)
;;=3^Physeal fracture of upper end of right femur, sequela
;;^UTILITY(U,$J,358.3,35162,1,4,0)
;;=4^S79.001S
;;^UTILITY(U,$J,358.3,35162,2)
;;=^5039761
;;^UTILITY(U,$J,358.3,35163,0)
;;=Z87.81^^137^1797^41
;;^UTILITY(U,$J,358.3,35163,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35163,1,3,0)
;;=3^Personal Hx of Traumatic Fx
;;^UTILITY(U,$J,358.3,35163,1,4,0)
;;=4^Z87.81
;;^UTILITY(U,$J,358.3,35163,2)
;;=^5063513
;;^UTILITY(U,$J,358.3,35164,0)
;;=S02.42XS^^137^1797^1
;;^UTILITY(U,$J,358.3,35164,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI27B 3776 printed Dec 13, 2024@02:23:10 Page 2
IBDEI27B ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,35152,1,3,0)
+2 ;;=3^Fx,Right forearm, sequela
+3 ;;^UTILITY(U,$J,358.3,35152,1,4,0)
+4 ;;=4^S52.91XS
+5 ;;^UTILITY(U,$J,358.3,35152,2)
+6 ;;=^5031173
+7 ;;^UTILITY(U,$J,358.3,35153,0)
+8 ;;=S82.91XS^^137^1797^25
+9 ;;^UTILITY(U,$J,358.3,35153,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,35153,1,3,0)
+12 ;;=3^Fx,Right lower leg, sequela
+13 ;;^UTILITY(U,$J,358.3,35153,1,4,0)
+14 ;;=4^S82.91XS
+15 ;;^UTILITY(U,$J,358.3,35153,2)
+16 ;;=^5136991
+17 ;;^UTILITY(U,$J,358.3,35154,0)
+18 ;;=S82.001S^^137^1797^26
+19 ;;^UTILITY(U,$J,358.3,35154,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,35154,1,3,0)
+22 ;;=3^Fx,Right patella, sequela
+23 ;;^UTILITY(U,$J,358.3,35154,1,4,0)
+24 ;;=4^S82.001S
+25 ;;^UTILITY(U,$J,358.3,35154,2)
+26 ;;=^5040119
+27 ;;^UTILITY(U,$J,358.3,35155,0)
+28 ;;=S92.911S^^137^1797^28
+29 ;;^UTILITY(U,$J,358.3,35155,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,35155,1,3,0)
+32 ;;=3^Fx,Right toe(s), sequela
+33 ;;^UTILITY(U,$J,358.3,35155,1,4,0)
+34 ;;=4^S92.911S
+35 ;;^UTILITY(U,$J,358.3,35155,2)
+36 ;;=^5045598
+37 ;;^UTILITY(U,$J,358.3,35156,0)
+38 ;;=S62.91XS^^137^1797^29
+39 ;;^UTILITY(U,$J,358.3,35156,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,35156,1,3,0)
+42 ;;=3^Fx,Right wrist and hand, sequela
+43 ;;^UTILITY(U,$J,358.3,35156,1,4,0)
+44 ;;=4^S62.91XS
+45 ;;^UTILITY(U,$J,358.3,35156,2)
+46 ;;=^5034885
+47 ;;^UTILITY(U,$J,358.3,35157,0)
+48 ;;=S42.302S^^137^1797^30
+49 ;;^UTILITY(U,$J,358.3,35157,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,35157,1,3,0)
+52 ;;=3^Fx,Shaft of humerus, left arm, sequela
+53 ;;^UTILITY(U,$J,358.3,35157,1,4,0)
+54 ;;=4^S42.302S
+55 ;;^UTILITY(U,$J,358.3,35157,2)
+56 ;;=^5027044
+57 ;;^UTILITY(U,$J,358.3,35158,0)
+58 ;;=S42.301S^^137^1797^31
+59 ;;^UTILITY(U,$J,358.3,35158,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,35158,1,3,0)
+62 ;;=3^Fx,Shaft of humerus, right arm, sequela
+63 ;;^UTILITY(U,$J,358.3,35158,1,4,0)
+64 ;;=4^S42.301S
+65 ;;^UTILITY(U,$J,358.3,35158,2)
+66 ;;=^5027037
+67 ;;^UTILITY(U,$J,358.3,35159,0)
+68 ;;=S42.202S^^137^1797^33
+69 ;;^UTILITY(U,$J,358.3,35159,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,35159,1,3,0)
+72 ;;=3^Fx,Upper end of left humerus, sequela
+73 ;;^UTILITY(U,$J,358.3,35159,1,4,0)
+74 ;;=4^S42.202S
+75 ;;^UTILITY(U,$J,358.3,35159,2)
+76 ;;=^5026774
+77 ;;^UTILITY(U,$J,358.3,35160,0)
+78 ;;=S42.201S^^137^1797^34
+79 ;;^UTILITY(U,$J,358.3,35160,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,35160,1,3,0)
+82 ;;=3^Fx,Upper end of right humerus, sequela
+83 ;;^UTILITY(U,$J,358.3,35160,1,4,0)
+84 ;;=4^S42.201S
+85 ;;^UTILITY(U,$J,358.3,35160,2)
+86 ;;=^5026767
+87 ;;^UTILITY(U,$J,358.3,35161,0)
+88 ;;=S79.002S^^137^1797^42
+89 ;;^UTILITY(U,$J,358.3,35161,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,35161,1,3,0)
+92 ;;=3^Physeal fracture of upper end of left femur, sequela
+93 ;;^UTILITY(U,$J,358.3,35161,1,4,0)
+94 ;;=4^S79.002S
+95 ;;^UTILITY(U,$J,358.3,35161,2)
+96 ;;=^5039767
+97 ;;^UTILITY(U,$J,358.3,35162,0)
+98 ;;=S79.001S^^137^1797^43
+99 ;;^UTILITY(U,$J,358.3,35162,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,35162,1,3,0)
+102 ;;=3^Physeal fracture of upper end of right femur, sequela
+103 ;;^UTILITY(U,$J,358.3,35162,1,4,0)
+104 ;;=4^S79.001S
+105 ;;^UTILITY(U,$J,358.3,35162,2)
+106 ;;=^5039761
+107 ;;^UTILITY(U,$J,358.3,35163,0)
+108 ;;=Z87.81^^137^1797^41
+109 ;;^UTILITY(U,$J,358.3,35163,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,35163,1,3,0)
+112 ;;=3^Personal Hx of Traumatic Fx
+113 ;;^UTILITY(U,$J,358.3,35163,1,4,0)
+114 ;;=4^Z87.81
+115 ;;^UTILITY(U,$J,358.3,35163,2)
+116 ;;=^5063513
+117 ;;^UTILITY(U,$J,358.3,35164,0)
+118 ;;=S02.42XS^^137^1797^1
+119 ;;^UTILITY(U,$J,358.3,35164,1,0)
+120 ;;=^358.31IA^4^2