IBDEI2MY ; ; 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,42070,2)
;;=^5037296
;;^UTILITY(U,$J,358.3,42071,0)
;;=S72.041S^^155^2067^11
;;^UTILITY(U,$J,358.3,42071,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42071,1,3,0)
;;=3^Displaced base of neck fx of right femur, sequela
;;^UTILITY(U,$J,358.3,42071,1,4,0)
;;=4^S72.041S
;;^UTILITY(U,$J,358.3,42071,2)
;;=^5037328
;;^UTILITY(U,$J,358.3,42072,0)
;;=S72.042S^^155^2067^10
;;^UTILITY(U,$J,358.3,42072,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42072,1,3,0)
;;=3^Displaced base of neck fx of left femur, sequela
;;^UTILITY(U,$J,358.3,42072,1,4,0)
;;=4^S72.042S
;;^UTILITY(U,$J,358.3,42072,2)
;;=^5037344
;;^UTILITY(U,$J,358.3,42073,0)
;;=S72.044S^^155^2067^59
;;^UTILITY(U,$J,358.3,42073,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42073,1,3,0)
;;=3^Nondisp base of neck fx of right femur, sequela
;;^UTILITY(U,$J,358.3,42073,1,4,0)
;;=4^S72.044S
;;^UTILITY(U,$J,358.3,42073,2)
;;=^5037376
;;^UTILITY(U,$J,358.3,42074,0)
;;=S72.061S^^155^2067^9
;;^UTILITY(U,$J,358.3,42074,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42074,1,3,0)
;;=3^Displaced articular fx of head of right femur, sequela
;;^UTILITY(U,$J,358.3,42074,1,4,0)
;;=4^S72.061S
;;^UTILITY(U,$J,358.3,42074,2)
;;=^5037461
;;^UTILITY(U,$J,358.3,42075,0)
;;=S72.062S^^155^2067^8
;;^UTILITY(U,$J,358.3,42075,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42075,1,3,0)
;;=3^Displaced articular fx of head of left femur, sequela
;;^UTILITY(U,$J,358.3,42075,1,4,0)
;;=4^S72.062S
;;^UTILITY(U,$J,358.3,42075,2)
;;=^5037477
;;^UTILITY(U,$J,358.3,42076,0)
;;=S72.064S^^155^2067^57
;;^UTILITY(U,$J,358.3,42076,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42076,1,3,0)
;;=3^Nondisp articular fx of head of right femur, sequela
;;^UTILITY(U,$J,358.3,42076,1,4,0)
;;=4^S72.064S
;;^UTILITY(U,$J,358.3,42076,2)
;;=^5037509
;;^UTILITY(U,$J,358.3,42077,0)
;;=S72.065S^^155^2067^56
;;^UTILITY(U,$J,358.3,42077,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42077,1,3,0)
;;=3^Nondisp articular fx of head of left femur, sequela
;;^UTILITY(U,$J,358.3,42077,1,4,0)
;;=4^S72.065S
;;^UTILITY(U,$J,358.3,42077,2)
;;=^5037525
;;^UTILITY(U,$J,358.3,42078,0)
;;=S72.111S^^155^2067^19
;;^UTILITY(U,$J,358.3,42078,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42078,1,3,0)
;;=3^Displaced greater trochanter fx of right femur, sequela
;;^UTILITY(U,$J,358.3,42078,1,4,0)
;;=4^S72.111S
;;^UTILITY(U,$J,358.3,42078,2)
;;=^5037642
;;^UTILITY(U,$J,358.3,42079,0)
;;=S72.112S^^155^2067^18
;;^UTILITY(U,$J,358.3,42079,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42079,1,3,0)
;;=3^Displaced greater trochanter fx of left femur, sequela
;;^UTILITY(U,$J,358.3,42079,1,4,0)
;;=4^S72.112S
;;^UTILITY(U,$J,358.3,42079,2)
;;=^5037658
;;^UTILITY(U,$J,358.3,42080,0)
;;=S72.114S^^155^2067^67
;;^UTILITY(U,$J,358.3,42080,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42080,1,3,0)
;;=3^Nondisp greater trochanter fx of right femur, sequela
;;^UTILITY(U,$J,358.3,42080,1,4,0)
;;=4^S72.114S
;;^UTILITY(U,$J,358.3,42080,2)
;;=^5037690
;;^UTILITY(U,$J,358.3,42081,0)
;;=S72.115S^^155^2067^66
;;^UTILITY(U,$J,358.3,42081,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42081,1,3,0)
;;=3^Nondisp greater trochanter fx of left femur, sequela
;;^UTILITY(U,$J,358.3,42081,1,4,0)
;;=4^S72.115S
;;^UTILITY(U,$J,358.3,42081,2)
;;=^5037706
;;^UTILITY(U,$J,358.3,42082,0)
;;=S72.121S^^155^2067^25
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2MY 3778 printed Nov 22, 2024@17:42:02 Page 2
IBDEI2MY ; ; 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,42070,2)
+2 ;;=^5037296
+3 ;;^UTILITY(U,$J,358.3,42071,0)
+4 ;;=S72.041S^^155^2067^11
+5 ;;^UTILITY(U,$J,358.3,42071,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,42071,1,3,0)
+8 ;;=3^Displaced base of neck fx of right femur, sequela
+9 ;;^UTILITY(U,$J,358.3,42071,1,4,0)
+10 ;;=4^S72.041S
+11 ;;^UTILITY(U,$J,358.3,42071,2)
+12 ;;=^5037328
+13 ;;^UTILITY(U,$J,358.3,42072,0)
+14 ;;=S72.042S^^155^2067^10
+15 ;;^UTILITY(U,$J,358.3,42072,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,42072,1,3,0)
+18 ;;=3^Displaced base of neck fx of left femur, sequela
+19 ;;^UTILITY(U,$J,358.3,42072,1,4,0)
+20 ;;=4^S72.042S
+21 ;;^UTILITY(U,$J,358.3,42072,2)
+22 ;;=^5037344
+23 ;;^UTILITY(U,$J,358.3,42073,0)
+24 ;;=S72.044S^^155^2067^59
+25 ;;^UTILITY(U,$J,358.3,42073,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,42073,1,3,0)
+28 ;;=3^Nondisp base of neck fx of right femur, sequela
+29 ;;^UTILITY(U,$J,358.3,42073,1,4,0)
+30 ;;=4^S72.044S
+31 ;;^UTILITY(U,$J,358.3,42073,2)
+32 ;;=^5037376
+33 ;;^UTILITY(U,$J,358.3,42074,0)
+34 ;;=S72.061S^^155^2067^9
+35 ;;^UTILITY(U,$J,358.3,42074,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,42074,1,3,0)
+38 ;;=3^Displaced articular fx of head of right femur, sequela
+39 ;;^UTILITY(U,$J,358.3,42074,1,4,0)
+40 ;;=4^S72.061S
+41 ;;^UTILITY(U,$J,358.3,42074,2)
+42 ;;=^5037461
+43 ;;^UTILITY(U,$J,358.3,42075,0)
+44 ;;=S72.062S^^155^2067^8
+45 ;;^UTILITY(U,$J,358.3,42075,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,42075,1,3,0)
+48 ;;=3^Displaced articular fx of head of left femur, sequela
+49 ;;^UTILITY(U,$J,358.3,42075,1,4,0)
+50 ;;=4^S72.062S
+51 ;;^UTILITY(U,$J,358.3,42075,2)
+52 ;;=^5037477
+53 ;;^UTILITY(U,$J,358.3,42076,0)
+54 ;;=S72.064S^^155^2067^57
+55 ;;^UTILITY(U,$J,358.3,42076,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,42076,1,3,0)
+58 ;;=3^Nondisp articular fx of head of right femur, sequela
+59 ;;^UTILITY(U,$J,358.3,42076,1,4,0)
+60 ;;=4^S72.064S
+61 ;;^UTILITY(U,$J,358.3,42076,2)
+62 ;;=^5037509
+63 ;;^UTILITY(U,$J,358.3,42077,0)
+64 ;;=S72.065S^^155^2067^56
+65 ;;^UTILITY(U,$J,358.3,42077,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,42077,1,3,0)
+68 ;;=3^Nondisp articular fx of head of left femur, sequela
+69 ;;^UTILITY(U,$J,358.3,42077,1,4,0)
+70 ;;=4^S72.065S
+71 ;;^UTILITY(U,$J,358.3,42077,2)
+72 ;;=^5037525
+73 ;;^UTILITY(U,$J,358.3,42078,0)
+74 ;;=S72.111S^^155^2067^19
+75 ;;^UTILITY(U,$J,358.3,42078,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,42078,1,3,0)
+78 ;;=3^Displaced greater trochanter fx of right femur, sequela
+79 ;;^UTILITY(U,$J,358.3,42078,1,4,0)
+80 ;;=4^S72.111S
+81 ;;^UTILITY(U,$J,358.3,42078,2)
+82 ;;=^5037642
+83 ;;^UTILITY(U,$J,358.3,42079,0)
+84 ;;=S72.112S^^155^2067^18
+85 ;;^UTILITY(U,$J,358.3,42079,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,42079,1,3,0)
+88 ;;=3^Displaced greater trochanter fx of left femur, sequela
+89 ;;^UTILITY(U,$J,358.3,42079,1,4,0)
+90 ;;=4^S72.112S
+91 ;;^UTILITY(U,$J,358.3,42079,2)
+92 ;;=^5037658
+93 ;;^UTILITY(U,$J,358.3,42080,0)
+94 ;;=S72.114S^^155^2067^67
+95 ;;^UTILITY(U,$J,358.3,42080,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,42080,1,3,0)
+98 ;;=3^Nondisp greater trochanter fx of right femur, sequela
+99 ;;^UTILITY(U,$J,358.3,42080,1,4,0)
+100 ;;=4^S72.114S
+101 ;;^UTILITY(U,$J,358.3,42080,2)
+102 ;;=^5037690
+103 ;;^UTILITY(U,$J,358.3,42081,0)
+104 ;;=S72.115S^^155^2067^66
+105 ;;^UTILITY(U,$J,358.3,42081,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,42081,1,3,0)
+108 ;;=3^Nondisp greater trochanter fx of left femur, sequela
+109 ;;^UTILITY(U,$J,358.3,42081,1,4,0)
+110 ;;=4^S72.115S
+111 ;;^UTILITY(U,$J,358.3,42081,2)
+112 ;;=^5037706
+113 ;;^UTILITY(U,$J,358.3,42082,0)
+114 ;;=S72.121S^^155^2067^25