IBDEI23H ; ; 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,33484,1,4,0)
;;=4^S52.124D
;;^UTILITY(U,$J,358.3,33484,2)
;;=^5029098
;;^UTILITY(U,$J,358.3,33485,0)
;;=M19.121^^132^1702^38
;;^UTILITY(U,$J,358.3,33485,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33485,1,3,0)
;;=3^Post-traumatic osteoarthritis, right elbow
;;^UTILITY(U,$J,358.3,33485,1,4,0)
;;=4^M19.121
;;^UTILITY(U,$J,358.3,33485,2)
;;=^5010826
;;^UTILITY(U,$J,358.3,33486,0)
;;=M19.122^^132^1702^37
;;^UTILITY(U,$J,358.3,33486,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33486,1,3,0)
;;=3^Post-traumatic osteoarthritis, left elbow
;;^UTILITY(U,$J,358.3,33486,1,4,0)
;;=4^M19.122
;;^UTILITY(U,$J,358.3,33486,2)
;;=^5010827
;;^UTILITY(U,$J,358.3,33487,0)
;;=S53.402D^^132^1702^42
;;^UTILITY(U,$J,358.3,33487,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33487,1,3,0)
;;=3^Sprain of left elbow, subsequent encounter
;;^UTILITY(U,$J,358.3,33487,1,4,0)
;;=4^S53.402D
;;^UTILITY(U,$J,358.3,33487,2)
;;=^5031365
;;^UTILITY(U,$J,358.3,33488,0)
;;=S53.401D^^132^1702^44
;;^UTILITY(U,$J,358.3,33488,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33488,1,3,0)
;;=3^Sprain of right elbow, subsequent encounter
;;^UTILITY(U,$J,358.3,33488,1,4,0)
;;=4^S53.401D
;;^UTILITY(U,$J,358.3,33488,2)
;;=^5031362
;;^UTILITY(U,$J,358.3,33489,0)
;;=S70.12XA^^132^1703^1
;;^UTILITY(U,$J,358.3,33489,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33489,1,3,0)
;;=3^Contusion of left thigh, initial encounter
;;^UTILITY(U,$J,358.3,33489,1,4,0)
;;=4^S70.12XA
;;^UTILITY(U,$J,358.3,33489,2)
;;=^5036846
;;^UTILITY(U,$J,358.3,33490,0)
;;=S70.11XA^^132^1703^3
;;^UTILITY(U,$J,358.3,33490,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33490,1,3,0)
;;=3^Contusion of right thigh, initial encounter
;;^UTILITY(U,$J,358.3,33490,1,4,0)
;;=4^S70.11XA
;;^UTILITY(U,$J,358.3,33490,2)
;;=^5036843
;;^UTILITY(U,$J,358.3,33491,0)
;;=S72.352A^^132^1703^5
;;^UTILITY(U,$J,358.3,33491,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33491,1,3,0)
;;=3^Displ comminuted fx shaft of left femur, init encntr
;;^UTILITY(U,$J,358.3,33491,1,4,0)
;;=4^S72.352A
;;^UTILITY(U,$J,358.3,33491,2)
;;=^5038448
;;^UTILITY(U,$J,358.3,33492,0)
;;=S72.351A^^132^1703^7
;;^UTILITY(U,$J,358.3,33492,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33492,1,3,0)
;;=3^Displ comminuted fx shaft of right femur, init encntr
;;^UTILITY(U,$J,358.3,33492,1,4,0)
;;=4^S72.351A
;;^UTILITY(U,$J,358.3,33492,2)
;;=^5038432
;;^UTILITY(U,$J,358.3,33493,0)
;;=M61.052^^132^1703^9
;;^UTILITY(U,$J,358.3,33493,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33493,1,3,0)
;;=3^Myositis ossificans traumatica, left thigh
;;^UTILITY(U,$J,358.3,33493,1,4,0)
;;=4^M61.052
;;^UTILITY(U,$J,358.3,33493,2)
;;=^5012424
;;^UTILITY(U,$J,358.3,33494,0)
;;=S72.354A^^132^1703^11
;;^UTILITY(U,$J,358.3,33494,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33494,1,3,0)
;;=3^Nondisp commnt fx shaft of left femur, init encntr
;;^UTILITY(U,$J,358.3,33494,1,4,0)
;;=4^S72.354A
;;^UTILITY(U,$J,358.3,33494,2)
;;=^5038480
;;^UTILITY(U,$J,358.3,33495,0)
;;=M84.552A^^132^1703^15
;;^UTILITY(U,$J,358.3,33495,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33495,1,3,0)
;;=3^Path fx in neopltc dis, left femur, init encntr
;;^UTILITY(U,$J,358.3,33495,1,4,0)
;;=4^M84.552A
;;^UTILITY(U,$J,358.3,33495,2)
;;=^5014124
;;^UTILITY(U,$J,358.3,33496,0)
;;=M84.551A^^132^1703^19
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI23H 3751 printed Oct 16, 2024@18:21:51 Page 2
IBDEI23H ; ; 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,33484,1,4,0)
+2 ;;=4^S52.124D
+3 ;;^UTILITY(U,$J,358.3,33484,2)
+4 ;;=^5029098
+5 ;;^UTILITY(U,$J,358.3,33485,0)
+6 ;;=M19.121^^132^1702^38
+7 ;;^UTILITY(U,$J,358.3,33485,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,33485,1,3,0)
+10 ;;=3^Post-traumatic osteoarthritis, right elbow
+11 ;;^UTILITY(U,$J,358.3,33485,1,4,0)
+12 ;;=4^M19.121
+13 ;;^UTILITY(U,$J,358.3,33485,2)
+14 ;;=^5010826
+15 ;;^UTILITY(U,$J,358.3,33486,0)
+16 ;;=M19.122^^132^1702^37
+17 ;;^UTILITY(U,$J,358.3,33486,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,33486,1,3,0)
+20 ;;=3^Post-traumatic osteoarthritis, left elbow
+21 ;;^UTILITY(U,$J,358.3,33486,1,4,0)
+22 ;;=4^M19.122
+23 ;;^UTILITY(U,$J,358.3,33486,2)
+24 ;;=^5010827
+25 ;;^UTILITY(U,$J,358.3,33487,0)
+26 ;;=S53.402D^^132^1702^42
+27 ;;^UTILITY(U,$J,358.3,33487,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,33487,1,3,0)
+30 ;;=3^Sprain of left elbow, subsequent encounter
+31 ;;^UTILITY(U,$J,358.3,33487,1,4,0)
+32 ;;=4^S53.402D
+33 ;;^UTILITY(U,$J,358.3,33487,2)
+34 ;;=^5031365
+35 ;;^UTILITY(U,$J,358.3,33488,0)
+36 ;;=S53.401D^^132^1702^44
+37 ;;^UTILITY(U,$J,358.3,33488,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,33488,1,3,0)
+40 ;;=3^Sprain of right elbow, subsequent encounter
+41 ;;^UTILITY(U,$J,358.3,33488,1,4,0)
+42 ;;=4^S53.401D
+43 ;;^UTILITY(U,$J,358.3,33488,2)
+44 ;;=^5031362
+45 ;;^UTILITY(U,$J,358.3,33489,0)
+46 ;;=S70.12XA^^132^1703^1
+47 ;;^UTILITY(U,$J,358.3,33489,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,33489,1,3,0)
+50 ;;=3^Contusion of left thigh, initial encounter
+51 ;;^UTILITY(U,$J,358.3,33489,1,4,0)
+52 ;;=4^S70.12XA
+53 ;;^UTILITY(U,$J,358.3,33489,2)
+54 ;;=^5036846
+55 ;;^UTILITY(U,$J,358.3,33490,0)
+56 ;;=S70.11XA^^132^1703^3
+57 ;;^UTILITY(U,$J,358.3,33490,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,33490,1,3,0)
+60 ;;=3^Contusion of right thigh, initial encounter
+61 ;;^UTILITY(U,$J,358.3,33490,1,4,0)
+62 ;;=4^S70.11XA
+63 ;;^UTILITY(U,$J,358.3,33490,2)
+64 ;;=^5036843
+65 ;;^UTILITY(U,$J,358.3,33491,0)
+66 ;;=S72.352A^^132^1703^5
+67 ;;^UTILITY(U,$J,358.3,33491,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,33491,1,3,0)
+70 ;;=3^Displ comminuted fx shaft of left femur, init encntr
+71 ;;^UTILITY(U,$J,358.3,33491,1,4,0)
+72 ;;=4^S72.352A
+73 ;;^UTILITY(U,$J,358.3,33491,2)
+74 ;;=^5038448
+75 ;;^UTILITY(U,$J,358.3,33492,0)
+76 ;;=S72.351A^^132^1703^7
+77 ;;^UTILITY(U,$J,358.3,33492,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,33492,1,3,0)
+80 ;;=3^Displ comminuted fx shaft of right femur, init encntr
+81 ;;^UTILITY(U,$J,358.3,33492,1,4,0)
+82 ;;=4^S72.351A
+83 ;;^UTILITY(U,$J,358.3,33492,2)
+84 ;;=^5038432
+85 ;;^UTILITY(U,$J,358.3,33493,0)
+86 ;;=M61.052^^132^1703^9
+87 ;;^UTILITY(U,$J,358.3,33493,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,33493,1,3,0)
+90 ;;=3^Myositis ossificans traumatica, left thigh
+91 ;;^UTILITY(U,$J,358.3,33493,1,4,0)
+92 ;;=4^M61.052
+93 ;;^UTILITY(U,$J,358.3,33493,2)
+94 ;;=^5012424
+95 ;;^UTILITY(U,$J,358.3,33494,0)
+96 ;;=S72.354A^^132^1703^11
+97 ;;^UTILITY(U,$J,358.3,33494,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,33494,1,3,0)
+100 ;;=3^Nondisp commnt fx shaft of left femur, init encntr
+101 ;;^UTILITY(U,$J,358.3,33494,1,4,0)
+102 ;;=4^S72.354A
+103 ;;^UTILITY(U,$J,358.3,33494,2)
+104 ;;=^5038480
+105 ;;^UTILITY(U,$J,358.3,33495,0)
+106 ;;=M84.552A^^132^1703^15
+107 ;;^UTILITY(U,$J,358.3,33495,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,33495,1,3,0)
+110 ;;=3^Path fx in neopltc dis, left femur, init encntr
+111 ;;^UTILITY(U,$J,358.3,33495,1,4,0)
+112 ;;=4^M84.552A
+113 ;;^UTILITY(U,$J,358.3,33495,2)
+114 ;;=^5014124
+115 ;;^UTILITY(U,$J,358.3,33496,0)
+116 ;;=M84.551A^^132^1703^19