IBDEI0X4 ; ; 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,14924,1,3,0)
;;=3^Fx,Shaft of humerus, left arm, sequela
;;^UTILITY(U,$J,358.3,14924,1,4,0)
;;=4^S42.302S
;;^UTILITY(U,$J,358.3,14924,2)
;;=^5027044
;;^UTILITY(U,$J,358.3,14925,0)
;;=S42.301S^^58^712^31
;;^UTILITY(U,$J,358.3,14925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14925,1,3,0)
;;=3^Fx,Shaft of humerus, right arm, sequela
;;^UTILITY(U,$J,358.3,14925,1,4,0)
;;=4^S42.301S
;;^UTILITY(U,$J,358.3,14925,2)
;;=^5027037
;;^UTILITY(U,$J,358.3,14926,0)
;;=S42.202S^^58^712^33
;;^UTILITY(U,$J,358.3,14926,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14926,1,3,0)
;;=3^Fx,Upper end of left humerus, sequela
;;^UTILITY(U,$J,358.3,14926,1,4,0)
;;=4^S42.202S
;;^UTILITY(U,$J,358.3,14926,2)
;;=^5026774
;;^UTILITY(U,$J,358.3,14927,0)
;;=S42.201S^^58^712^34
;;^UTILITY(U,$J,358.3,14927,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14927,1,3,0)
;;=3^Fx,Upper end of right humerus, sequela
;;^UTILITY(U,$J,358.3,14927,1,4,0)
;;=4^S42.201S
;;^UTILITY(U,$J,358.3,14927,2)
;;=^5026767
;;^UTILITY(U,$J,358.3,14928,0)
;;=S79.002S^^58^712^42
;;^UTILITY(U,$J,358.3,14928,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14928,1,3,0)
;;=3^Physeal fracture of upper end of left femur, sequela
;;^UTILITY(U,$J,358.3,14928,1,4,0)
;;=4^S79.002S
;;^UTILITY(U,$J,358.3,14928,2)
;;=^5039767
;;^UTILITY(U,$J,358.3,14929,0)
;;=S79.001S^^58^712^43
;;^UTILITY(U,$J,358.3,14929,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14929,1,3,0)
;;=3^Physeal fracture of upper end of right femur, sequela
;;^UTILITY(U,$J,358.3,14929,1,4,0)
;;=4^S79.001S
;;^UTILITY(U,$J,358.3,14929,2)
;;=^5039761
;;^UTILITY(U,$J,358.3,14930,0)
;;=Z87.81^^58^712^41
;;^UTILITY(U,$J,358.3,14930,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14930,1,3,0)
;;=3^Personal Hx of Traumatic Fx
;;^UTILITY(U,$J,358.3,14930,1,4,0)
;;=4^Z87.81
;;^UTILITY(U,$J,358.3,14930,2)
;;=^5063513
;;^UTILITY(U,$J,358.3,14931,0)
;;=S02.42XS^^58^712^1
;;^UTILITY(U,$J,358.3,14931,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14931,1,3,0)
;;=3^Fx,Alveolus of maxilla, sequela
;;^UTILITY(U,$J,358.3,14931,1,4,0)
;;=4^S02.42XS
;;^UTILITY(U,$J,358.3,14931,2)
;;=^5020359
;;^UTILITY(U,$J,358.3,14932,0)
;;=S02.19XS^^58^712^2
;;^UTILITY(U,$J,358.3,14932,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14932,1,3,0)
;;=3^Fx,Base of skull NEC, sequela
;;^UTILITY(U,$J,358.3,14932,1,4,0)
;;=4^S02.19XS
;;^UTILITY(U,$J,358.3,14932,2)
;;=^5020305
;;^UTILITY(U,$J,358.3,14933,0)
;;=S02.92XS^^58^712^4
;;^UTILITY(U,$J,358.3,14933,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14933,1,3,0)
;;=3^Fx,Facial bones unspec, sequela
;;^UTILITY(U,$J,358.3,14933,1,4,0)
;;=4^S02.92XS
;;^UTILITY(U,$J,358.3,14933,2)
;;=^5020443
;;^UTILITY(U,$J,358.3,14934,0)
;;=S02.609S^^58^712^15
;;^UTILITY(U,$J,358.3,14934,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14934,1,3,0)
;;=3^Fx,Mandible, unspecified, sequela
;;^UTILITY(U,$J,358.3,14934,1,4,0)
;;=4^S02.609S
;;^UTILITY(U,$J,358.3,14934,2)
;;=^5020377
;;^UTILITY(U,$J,358.3,14935,0)
;;=S02.2XXS^^58^712^17
;;^UTILITY(U,$J,358.3,14935,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14935,1,3,0)
;;=3^Fx,Nasal bones, sequela
;;^UTILITY(U,$J,358.3,14935,1,4,0)
;;=4^S02.2XXS
;;^UTILITY(U,$J,358.3,14935,2)
;;=^5020311
;;^UTILITY(U,$J,358.3,14936,0)
;;=S02.118S^^58^712^20
;;^UTILITY(U,$J,358.3,14936,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0X4 3764 printed Dec 13, 2024@01:57:28 Page 2
IBDEI0X4 ; ; 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,14924,1,3,0)
+2 ;;=3^Fx,Shaft of humerus, left arm, sequela
+3 ;;^UTILITY(U,$J,358.3,14924,1,4,0)
+4 ;;=4^S42.302S
+5 ;;^UTILITY(U,$J,358.3,14924,2)
+6 ;;=^5027044
+7 ;;^UTILITY(U,$J,358.3,14925,0)
+8 ;;=S42.301S^^58^712^31
+9 ;;^UTILITY(U,$J,358.3,14925,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,14925,1,3,0)
+12 ;;=3^Fx,Shaft of humerus, right arm, sequela
+13 ;;^UTILITY(U,$J,358.3,14925,1,4,0)
+14 ;;=4^S42.301S
+15 ;;^UTILITY(U,$J,358.3,14925,2)
+16 ;;=^5027037
+17 ;;^UTILITY(U,$J,358.3,14926,0)
+18 ;;=S42.202S^^58^712^33
+19 ;;^UTILITY(U,$J,358.3,14926,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,14926,1,3,0)
+22 ;;=3^Fx,Upper end of left humerus, sequela
+23 ;;^UTILITY(U,$J,358.3,14926,1,4,0)
+24 ;;=4^S42.202S
+25 ;;^UTILITY(U,$J,358.3,14926,2)
+26 ;;=^5026774
+27 ;;^UTILITY(U,$J,358.3,14927,0)
+28 ;;=S42.201S^^58^712^34
+29 ;;^UTILITY(U,$J,358.3,14927,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,14927,1,3,0)
+32 ;;=3^Fx,Upper end of right humerus, sequela
+33 ;;^UTILITY(U,$J,358.3,14927,1,4,0)
+34 ;;=4^S42.201S
+35 ;;^UTILITY(U,$J,358.3,14927,2)
+36 ;;=^5026767
+37 ;;^UTILITY(U,$J,358.3,14928,0)
+38 ;;=S79.002S^^58^712^42
+39 ;;^UTILITY(U,$J,358.3,14928,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,14928,1,3,0)
+42 ;;=3^Physeal fracture of upper end of left femur, sequela
+43 ;;^UTILITY(U,$J,358.3,14928,1,4,0)
+44 ;;=4^S79.002S
+45 ;;^UTILITY(U,$J,358.3,14928,2)
+46 ;;=^5039767
+47 ;;^UTILITY(U,$J,358.3,14929,0)
+48 ;;=S79.001S^^58^712^43
+49 ;;^UTILITY(U,$J,358.3,14929,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,14929,1,3,0)
+52 ;;=3^Physeal fracture of upper end of right femur, sequela
+53 ;;^UTILITY(U,$J,358.3,14929,1,4,0)
+54 ;;=4^S79.001S
+55 ;;^UTILITY(U,$J,358.3,14929,2)
+56 ;;=^5039761
+57 ;;^UTILITY(U,$J,358.3,14930,0)
+58 ;;=Z87.81^^58^712^41
+59 ;;^UTILITY(U,$J,358.3,14930,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,14930,1,3,0)
+62 ;;=3^Personal Hx of Traumatic Fx
+63 ;;^UTILITY(U,$J,358.3,14930,1,4,0)
+64 ;;=4^Z87.81
+65 ;;^UTILITY(U,$J,358.3,14930,2)
+66 ;;=^5063513
+67 ;;^UTILITY(U,$J,358.3,14931,0)
+68 ;;=S02.42XS^^58^712^1
+69 ;;^UTILITY(U,$J,358.3,14931,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,14931,1,3,0)
+72 ;;=3^Fx,Alveolus of maxilla, sequela
+73 ;;^UTILITY(U,$J,358.3,14931,1,4,0)
+74 ;;=4^S02.42XS
+75 ;;^UTILITY(U,$J,358.3,14931,2)
+76 ;;=^5020359
+77 ;;^UTILITY(U,$J,358.3,14932,0)
+78 ;;=S02.19XS^^58^712^2
+79 ;;^UTILITY(U,$J,358.3,14932,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,14932,1,3,0)
+82 ;;=3^Fx,Base of skull NEC, sequela
+83 ;;^UTILITY(U,$J,358.3,14932,1,4,0)
+84 ;;=4^S02.19XS
+85 ;;^UTILITY(U,$J,358.3,14932,2)
+86 ;;=^5020305
+87 ;;^UTILITY(U,$J,358.3,14933,0)
+88 ;;=S02.92XS^^58^712^4
+89 ;;^UTILITY(U,$J,358.3,14933,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,14933,1,3,0)
+92 ;;=3^Fx,Facial bones unspec, sequela
+93 ;;^UTILITY(U,$J,358.3,14933,1,4,0)
+94 ;;=4^S02.92XS
+95 ;;^UTILITY(U,$J,358.3,14933,2)
+96 ;;=^5020443
+97 ;;^UTILITY(U,$J,358.3,14934,0)
+98 ;;=S02.609S^^58^712^15
+99 ;;^UTILITY(U,$J,358.3,14934,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,14934,1,3,0)
+102 ;;=3^Fx,Mandible, unspecified, sequela
+103 ;;^UTILITY(U,$J,358.3,14934,1,4,0)
+104 ;;=4^S02.609S
+105 ;;^UTILITY(U,$J,358.3,14934,2)
+106 ;;=^5020377
+107 ;;^UTILITY(U,$J,358.3,14935,0)
+108 ;;=S02.2XXS^^58^712^17
+109 ;;^UTILITY(U,$J,358.3,14935,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,14935,1,3,0)
+112 ;;=3^Fx,Nasal bones, sequela
+113 ;;^UTILITY(U,$J,358.3,14935,1,4,0)
+114 ;;=4^S02.2XXS
+115 ;;^UTILITY(U,$J,358.3,14935,2)
+116 ;;=^5020311
+117 ;;^UTILITY(U,$J,358.3,14936,0)
+118 ;;=S02.118S^^58^712^20
+119 ;;^UTILITY(U,$J,358.3,14936,1,0)
+120 ;;=^358.31IA^4^2