IBDEI2DL ; ; 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,37914,2)
;;=^5137448
;;^UTILITY(U,$J,358.3,37915,0)
;;=S91.124A^^146^1921^12
;;^UTILITY(U,$J,358.3,37915,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37915,1,3,0)
;;=3^Lacrtn w/ foreign body rt lsr toe(s) w/o nail dmg, init
;;^UTILITY(U,$J,358.3,37915,1,4,0)
;;=4^S91.124A
;;^UTILITY(U,$J,358.3,37915,2)
;;=^5044207
;;^UTILITY(U,$J,358.3,37916,0)
;;=S91.122A^^146^1921^7
;;^UTILITY(U,$J,358.3,37916,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37916,1,3,0)
;;=3^Lacrtn w/ foreign body lft grt toe w/o nail dmg, init
;;^UTILITY(U,$J,358.3,37916,1,4,0)
;;=4^S91.122A
;;^UTILITY(U,$J,358.3,37916,2)
;;=^5137436
;;^UTILITY(U,$J,358.3,37917,0)
;;=S91.121A^^146^1921^4
;;^UTILITY(U,$J,358.3,37917,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37917,1,3,0)
;;=3^Lacrtn w/ foregin body rt grt toe w/o nail dmg, init
;;^UTILITY(U,$J,358.3,37917,1,4,0)
;;=4^S91.121A
;;^UTILITY(U,$J,358.3,37917,2)
;;=^5044204
;;^UTILITY(U,$J,358.3,37918,0)
;;=S91.221A^^146^1921^11
;;^UTILITY(U,$J,358.3,37918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37918,1,3,0)
;;=3^Lacrtn w/ foreign body rt grt toe w/ nail dmg, init
;;^UTILITY(U,$J,358.3,37918,1,4,0)
;;=4^S91.221A
;;^UTILITY(U,$J,358.3,37918,2)
;;=^5137460
;;^UTILITY(U,$J,358.3,37919,0)
;;=S91.222A^^146^1921^6
;;^UTILITY(U,$J,358.3,37919,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37919,1,3,0)
;;=3^Lacrtn w/ foreign body lft grt toe w/ nail dmg, init
;;^UTILITY(U,$J,358.3,37919,1,4,0)
;;=4^S91.222A
;;^UTILITY(U,$J,358.3,37919,2)
;;=^5137461
;;^UTILITY(U,$J,358.3,37920,0)
;;=S91.225A^^146^1921^9
;;^UTILITY(U,$J,358.3,37920,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37920,1,3,0)
;;=3^Lacrtn w/ foreign body lft lsr toe(s) w/ nail dmg, init
;;^UTILITY(U,$J,358.3,37920,1,4,0)
;;=4^S91.225A
;;^UTILITY(U,$J,358.3,37920,2)
;;=^5137467
;;^UTILITY(U,$J,358.3,37921,0)
;;=S91.224A^^146^1921^13
;;^UTILITY(U,$J,358.3,37921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37921,1,3,0)
;;=3^Lacrtn w/ foreign body rt lsr toe(s) w/ nail dmg, init
;;^UTILITY(U,$J,358.3,37921,1,4,0)
;;=4^S91.224A
;;^UTILITY(U,$J,358.3,37921,2)
;;=^5137466
;;^UTILITY(U,$J,358.3,37922,0)
;;=S81.811A^^146^1921^29
;;^UTILITY(U,$J,358.3,37922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37922,1,3,0)
;;=3^Lacrtn w/o foreign body rt lwr leg, init
;;^UTILITY(U,$J,358.3,37922,1,4,0)
;;=4^S81.811A
;;^UTILITY(U,$J,358.3,37922,2)
;;=^5040071
;;^UTILITY(U,$J,358.3,37923,0)
;;=S81.812A^^146^1921^22
;;^UTILITY(U,$J,358.3,37923,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37923,1,3,0)
;;=3^Lacrtn w/o foreign body lft lwr leg, init
;;^UTILITY(U,$J,358.3,37923,1,4,0)
;;=4^S81.812A
;;^UTILITY(U,$J,358.3,37923,2)
;;=^5040074
;;^UTILITY(U,$J,358.3,37924,0)
;;=S91.311A^^146^1921^24
;;^UTILITY(U,$J,358.3,37924,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37924,1,3,0)
;;=3^Lacrtn w/o foreign body rt ft, init
;;^UTILITY(U,$J,358.3,37924,1,4,0)
;;=4^S91.311A
;;^UTILITY(U,$J,358.3,37924,2)
;;=^5044320
;;^UTILITY(U,$J,358.3,37925,0)
;;=S91.114A^^146^1921^27
;;^UTILITY(U,$J,358.3,37925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37925,1,3,0)
;;=3^Lacrtn w/o foreign body rt lsr toe(s) w/o nail dmg, init
;;^UTILITY(U,$J,358.3,37925,1,4,0)
;;=4^S91.114A
;;^UTILITY(U,$J,358.3,37925,2)
;;=^5044192
;;^UTILITY(U,$J,358.3,37926,0)
;;=S91.212A^^146^1921^18
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2DL 3752 printed Dec 13, 2024@02:26:40 Page 2
IBDEI2DL ; ; 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,37914,2)
+2 ;;=^5137448
+3 ;;^UTILITY(U,$J,358.3,37915,0)
+4 ;;=S91.124A^^146^1921^12
+5 ;;^UTILITY(U,$J,358.3,37915,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,37915,1,3,0)
+8 ;;=3^Lacrtn w/ foreign body rt lsr toe(s) w/o nail dmg, init
+9 ;;^UTILITY(U,$J,358.3,37915,1,4,0)
+10 ;;=4^S91.124A
+11 ;;^UTILITY(U,$J,358.3,37915,2)
+12 ;;=^5044207
+13 ;;^UTILITY(U,$J,358.3,37916,0)
+14 ;;=S91.122A^^146^1921^7
+15 ;;^UTILITY(U,$J,358.3,37916,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,37916,1,3,0)
+18 ;;=3^Lacrtn w/ foreign body lft grt toe w/o nail dmg, init
+19 ;;^UTILITY(U,$J,358.3,37916,1,4,0)
+20 ;;=4^S91.122A
+21 ;;^UTILITY(U,$J,358.3,37916,2)
+22 ;;=^5137436
+23 ;;^UTILITY(U,$J,358.3,37917,0)
+24 ;;=S91.121A^^146^1921^4
+25 ;;^UTILITY(U,$J,358.3,37917,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,37917,1,3,0)
+28 ;;=3^Lacrtn w/ foregin body rt grt toe w/o nail dmg, init
+29 ;;^UTILITY(U,$J,358.3,37917,1,4,0)
+30 ;;=4^S91.121A
+31 ;;^UTILITY(U,$J,358.3,37917,2)
+32 ;;=^5044204
+33 ;;^UTILITY(U,$J,358.3,37918,0)
+34 ;;=S91.221A^^146^1921^11
+35 ;;^UTILITY(U,$J,358.3,37918,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,37918,1,3,0)
+38 ;;=3^Lacrtn w/ foreign body rt grt toe w/ nail dmg, init
+39 ;;^UTILITY(U,$J,358.3,37918,1,4,0)
+40 ;;=4^S91.221A
+41 ;;^UTILITY(U,$J,358.3,37918,2)
+42 ;;=^5137460
+43 ;;^UTILITY(U,$J,358.3,37919,0)
+44 ;;=S91.222A^^146^1921^6
+45 ;;^UTILITY(U,$J,358.3,37919,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,37919,1,3,0)
+48 ;;=3^Lacrtn w/ foreign body lft grt toe w/ nail dmg, init
+49 ;;^UTILITY(U,$J,358.3,37919,1,4,0)
+50 ;;=4^S91.222A
+51 ;;^UTILITY(U,$J,358.3,37919,2)
+52 ;;=^5137461
+53 ;;^UTILITY(U,$J,358.3,37920,0)
+54 ;;=S91.225A^^146^1921^9
+55 ;;^UTILITY(U,$J,358.3,37920,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,37920,1,3,0)
+58 ;;=3^Lacrtn w/ foreign body lft lsr toe(s) w/ nail dmg, init
+59 ;;^UTILITY(U,$J,358.3,37920,1,4,0)
+60 ;;=4^S91.225A
+61 ;;^UTILITY(U,$J,358.3,37920,2)
+62 ;;=^5137467
+63 ;;^UTILITY(U,$J,358.3,37921,0)
+64 ;;=S91.224A^^146^1921^13
+65 ;;^UTILITY(U,$J,358.3,37921,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,37921,1,3,0)
+68 ;;=3^Lacrtn w/ foreign body rt lsr toe(s) w/ nail dmg, init
+69 ;;^UTILITY(U,$J,358.3,37921,1,4,0)
+70 ;;=4^S91.224A
+71 ;;^UTILITY(U,$J,358.3,37921,2)
+72 ;;=^5137466
+73 ;;^UTILITY(U,$J,358.3,37922,0)
+74 ;;=S81.811A^^146^1921^29
+75 ;;^UTILITY(U,$J,358.3,37922,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,37922,1,3,0)
+78 ;;=3^Lacrtn w/o foreign body rt lwr leg, init
+79 ;;^UTILITY(U,$J,358.3,37922,1,4,0)
+80 ;;=4^S81.811A
+81 ;;^UTILITY(U,$J,358.3,37922,2)
+82 ;;=^5040071
+83 ;;^UTILITY(U,$J,358.3,37923,0)
+84 ;;=S81.812A^^146^1921^22
+85 ;;^UTILITY(U,$J,358.3,37923,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,37923,1,3,0)
+88 ;;=3^Lacrtn w/o foreign body lft lwr leg, init
+89 ;;^UTILITY(U,$J,358.3,37923,1,4,0)
+90 ;;=4^S81.812A
+91 ;;^UTILITY(U,$J,358.3,37923,2)
+92 ;;=^5040074
+93 ;;^UTILITY(U,$J,358.3,37924,0)
+94 ;;=S91.311A^^146^1921^24
+95 ;;^UTILITY(U,$J,358.3,37924,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,37924,1,3,0)
+98 ;;=3^Lacrtn w/o foreign body rt ft, init
+99 ;;^UTILITY(U,$J,358.3,37924,1,4,0)
+100 ;;=4^S91.311A
+101 ;;^UTILITY(U,$J,358.3,37924,2)
+102 ;;=^5044320
+103 ;;^UTILITY(U,$J,358.3,37925,0)
+104 ;;=S91.114A^^146^1921^27
+105 ;;^UTILITY(U,$J,358.3,37925,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,37925,1,3,0)
+108 ;;=3^Lacrtn w/o foreign body rt lsr toe(s) w/o nail dmg, init
+109 ;;^UTILITY(U,$J,358.3,37925,1,4,0)
+110 ;;=4^S91.114A
+111 ;;^UTILITY(U,$J,358.3,37925,2)
+112 ;;=^5044192
+113 ;;^UTILITY(U,$J,358.3,37926,0)
+114 ;;=S91.212A^^146^1921^18