IBDEI24I ; ; 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,33918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33918,1,3,0)
;;=3^Sprain of left wrist, init encntr,Unspec
;;^UTILITY(U,$J,358.3,33918,1,4,0)
;;=4^S63.502A
;;^UTILITY(U,$J,358.3,33918,2)
;;=^5035586
;;^UTILITY(U,$J,358.3,33919,0)
;;=S63.501A^^132^1714^29
;;^UTILITY(U,$J,358.3,33919,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33919,1,3,0)
;;=3^Sprain of right wrist, init encntr,Unspec
;;^UTILITY(U,$J,358.3,33919,1,4,0)
;;=4^S63.501A
;;^UTILITY(U,$J,358.3,33919,2)
;;=^5035583
;;^UTILITY(U,$J,358.3,33920,0)
;;=S52.532D^^132^1714^6
;;^UTILITY(U,$J,358.3,33920,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33920,1,3,0)
;;=3^Colles' fracture of left radius, subs for clos fx w routn heal
;;^UTILITY(U,$J,358.3,33920,1,4,0)
;;=4^S52.532D
;;^UTILITY(U,$J,358.3,33920,2)
;;=^5030740
;;^UTILITY(U,$J,358.3,33921,0)
;;=S52.531D^^132^1714^8
;;^UTILITY(U,$J,358.3,33921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33921,1,3,0)
;;=3^Colles' fracture of right radius, subs for clos fx w routn heal
;;^UTILITY(U,$J,358.3,33921,1,4,0)
;;=4^S52.531D
;;^UTILITY(U,$J,358.3,33921,2)
;;=^5030724
;;^UTILITY(U,$J,358.3,33922,0)
;;=S52.502D^^132^1714^10
;;^UTILITY(U,$J,358.3,33922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33922,1,3,0)
;;=3^Fracture of the lower end of left radius, subs encntr
;;^UTILITY(U,$J,358.3,33922,1,4,0)
;;=4^S52.502D
;;^UTILITY(U,$J,358.3,33922,2)
;;=^5030605
;;^UTILITY(U,$J,358.3,33923,0)
;;=S62.101D^^132^1714^15
;;^UTILITY(U,$J,358.3,33923,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33923,1,3,0)
;;=3^Fx unsp carpal bone, right wrist, subs for fx w routn heal
;;^UTILITY(U,$J,358.3,33923,1,4,0)
;;=4^S62.101D
;;^UTILITY(U,$J,358.3,33923,2)
;;=^5033201
;;^UTILITY(U,$J,358.3,33924,0)
;;=M19.131^^132^1714^21
;;^UTILITY(U,$J,358.3,33924,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33924,1,3,0)
;;=3^Post-traumatic osteoarthritis, right wrist
;;^UTILITY(U,$J,358.3,33924,1,4,0)
;;=4^M19.131
;;^UTILITY(U,$J,358.3,33924,2)
;;=^5010829
;;^UTILITY(U,$J,358.3,33925,0)
;;=M19.132^^132^1714^20
;;^UTILITY(U,$J,358.3,33925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33925,1,3,0)
;;=3^Post-traumatic osteoarthritis, left wrist
;;^UTILITY(U,$J,358.3,33925,1,4,0)
;;=4^M19.132
;;^UTILITY(U,$J,358.3,33925,2)
;;=^5010830
;;^UTILITY(U,$J,358.3,33926,0)
;;=M19.231^^132^1714^26
;;^UTILITY(U,$J,358.3,33926,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33926,1,3,0)
;;=3^Secondary osteoarthritis, right wrist
;;^UTILITY(U,$J,358.3,33926,1,4,0)
;;=4^M19.231
;;^UTILITY(U,$J,358.3,33926,2)
;;=^5010844
;;^UTILITY(U,$J,358.3,33927,0)
;;=M19.232^^132^1714^25
;;^UTILITY(U,$J,358.3,33927,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33927,1,3,0)
;;=3^Secondary osteoarthritis, left wrist
;;^UTILITY(U,$J,358.3,33927,1,4,0)
;;=4^M19.232
;;^UTILITY(U,$J,358.3,33927,2)
;;=^5010845
;;^UTILITY(U,$J,358.3,33928,0)
;;=S63.502D^^132^1714^28
;;^UTILITY(U,$J,358.3,33928,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33928,1,3,0)
;;=3^Sprain of left wrist, subsequent encounter
;;^UTILITY(U,$J,358.3,33928,1,4,0)
;;=4^S63.502D
;;^UTILITY(U,$J,358.3,33928,2)
;;=^5035587
;;^UTILITY(U,$J,358.3,33929,0)
;;=S63.501D^^132^1714^30
;;^UTILITY(U,$J,358.3,33929,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33929,1,3,0)
;;=3^Sprain of right wrist, subsequent encounter
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI24I 3752 printed Dec 13, 2024@02:21:37 Page 2
IBDEI24I ; ; 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,33918,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,33918,1,3,0)
+4 ;;=3^Sprain of left wrist, init encntr,Unspec
+5 ;;^UTILITY(U,$J,358.3,33918,1,4,0)
+6 ;;=4^S63.502A
+7 ;;^UTILITY(U,$J,358.3,33918,2)
+8 ;;=^5035586
+9 ;;^UTILITY(U,$J,358.3,33919,0)
+10 ;;=S63.501A^^132^1714^29
+11 ;;^UTILITY(U,$J,358.3,33919,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,33919,1,3,0)
+14 ;;=3^Sprain of right wrist, init encntr,Unspec
+15 ;;^UTILITY(U,$J,358.3,33919,1,4,0)
+16 ;;=4^S63.501A
+17 ;;^UTILITY(U,$J,358.3,33919,2)
+18 ;;=^5035583
+19 ;;^UTILITY(U,$J,358.3,33920,0)
+20 ;;=S52.532D^^132^1714^6
+21 ;;^UTILITY(U,$J,358.3,33920,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,33920,1,3,0)
+24 ;;=3^Colles' fracture of left radius, subs for clos fx w routn heal
+25 ;;^UTILITY(U,$J,358.3,33920,1,4,0)
+26 ;;=4^S52.532D
+27 ;;^UTILITY(U,$J,358.3,33920,2)
+28 ;;=^5030740
+29 ;;^UTILITY(U,$J,358.3,33921,0)
+30 ;;=S52.531D^^132^1714^8
+31 ;;^UTILITY(U,$J,358.3,33921,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,33921,1,3,0)
+34 ;;=3^Colles' fracture of right radius, subs for clos fx w routn heal
+35 ;;^UTILITY(U,$J,358.3,33921,1,4,0)
+36 ;;=4^S52.531D
+37 ;;^UTILITY(U,$J,358.3,33921,2)
+38 ;;=^5030724
+39 ;;^UTILITY(U,$J,358.3,33922,0)
+40 ;;=S52.502D^^132^1714^10
+41 ;;^UTILITY(U,$J,358.3,33922,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,33922,1,3,0)
+44 ;;=3^Fracture of the lower end of left radius, subs encntr
+45 ;;^UTILITY(U,$J,358.3,33922,1,4,0)
+46 ;;=4^S52.502D
+47 ;;^UTILITY(U,$J,358.3,33922,2)
+48 ;;=^5030605
+49 ;;^UTILITY(U,$J,358.3,33923,0)
+50 ;;=S62.101D^^132^1714^15
+51 ;;^UTILITY(U,$J,358.3,33923,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,33923,1,3,0)
+54 ;;=3^Fx unsp carpal bone, right wrist, subs for fx w routn heal
+55 ;;^UTILITY(U,$J,358.3,33923,1,4,0)
+56 ;;=4^S62.101D
+57 ;;^UTILITY(U,$J,358.3,33923,2)
+58 ;;=^5033201
+59 ;;^UTILITY(U,$J,358.3,33924,0)
+60 ;;=M19.131^^132^1714^21
+61 ;;^UTILITY(U,$J,358.3,33924,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,33924,1,3,0)
+64 ;;=3^Post-traumatic osteoarthritis, right wrist
+65 ;;^UTILITY(U,$J,358.3,33924,1,4,0)
+66 ;;=4^M19.131
+67 ;;^UTILITY(U,$J,358.3,33924,2)
+68 ;;=^5010829
+69 ;;^UTILITY(U,$J,358.3,33925,0)
+70 ;;=M19.132^^132^1714^20
+71 ;;^UTILITY(U,$J,358.3,33925,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,33925,1,3,0)
+74 ;;=3^Post-traumatic osteoarthritis, left wrist
+75 ;;^UTILITY(U,$J,358.3,33925,1,4,0)
+76 ;;=4^M19.132
+77 ;;^UTILITY(U,$J,358.3,33925,2)
+78 ;;=^5010830
+79 ;;^UTILITY(U,$J,358.3,33926,0)
+80 ;;=M19.231^^132^1714^26
+81 ;;^UTILITY(U,$J,358.3,33926,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,33926,1,3,0)
+84 ;;=3^Secondary osteoarthritis, right wrist
+85 ;;^UTILITY(U,$J,358.3,33926,1,4,0)
+86 ;;=4^M19.231
+87 ;;^UTILITY(U,$J,358.3,33926,2)
+88 ;;=^5010844
+89 ;;^UTILITY(U,$J,358.3,33927,0)
+90 ;;=M19.232^^132^1714^25
+91 ;;^UTILITY(U,$J,358.3,33927,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,33927,1,3,0)
+94 ;;=3^Secondary osteoarthritis, left wrist
+95 ;;^UTILITY(U,$J,358.3,33927,1,4,0)
+96 ;;=4^M19.232
+97 ;;^UTILITY(U,$J,358.3,33927,2)
+98 ;;=^5010845
+99 ;;^UTILITY(U,$J,358.3,33928,0)
+100 ;;=S63.502D^^132^1714^28
+101 ;;^UTILITY(U,$J,358.3,33928,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,33928,1,3,0)
+104 ;;=3^Sprain of left wrist, subsequent encounter
+105 ;;^UTILITY(U,$J,358.3,33928,1,4,0)
+106 ;;=4^S63.502D
+107 ;;^UTILITY(U,$J,358.3,33928,2)
+108 ;;=^5035587
+109 ;;^UTILITY(U,$J,358.3,33929,0)
+110 ;;=S63.501D^^132^1714^30
+111 ;;^UTILITY(U,$J,358.3,33929,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,33929,1,3,0)
+114 ;;=3^Sprain of right wrist, subsequent encounter