IBDEI2AM ; ; 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,36614,0)
;;=S68.127A^^142^1863^20
;;^UTILITY(U,$J,358.3,36614,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36614,1,3,0)
;;=3^Amputation,Partial Traumatic Left MCP Little Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36614,1,4,0)
;;=4^S68.127A
;;^UTILITY(U,$J,358.3,36614,2)
;;=^5036690
;;^UTILITY(U,$J,358.3,36615,0)
;;=S68.123A^^142^1863^21
;;^UTILITY(U,$J,358.3,36615,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36615,1,3,0)
;;=3^Amputation,Partial Traumatic Left MCP Middle Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36615,1,4,0)
;;=4^S68.123A
;;^UTILITY(U,$J,358.3,36615,2)
;;=^5036678
;;^UTILITY(U,$J,358.3,36616,0)
;;=S68.125A^^142^1863^22
;;^UTILITY(U,$J,358.3,36616,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36616,1,3,0)
;;=3^Amputation,Partial Traumatic Left MCP Ring Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36616,1,4,0)
;;=4^S68.125A
;;^UTILITY(U,$J,358.3,36616,2)
;;=^5036684
;;^UTILITY(U,$J,358.3,36617,0)
;;=S68.022A^^142^1863^23
;;^UTILITY(U,$J,358.3,36617,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36617,1,3,0)
;;=3^Amputation,Partial Traumatic Left MCP Thumb,Init Encntr
;;^UTILITY(U,$J,358.3,36617,1,4,0)
;;=4^S68.022A
;;^UTILITY(U,$J,358.3,36617,2)
;;=^5036633
;;^UTILITY(U,$J,358.3,36618,0)
;;=S68.621A^^142^1863^26
;;^UTILITY(U,$J,358.3,36618,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36618,1,3,0)
;;=3^Amputation,Partial Traumatic Left Trnsphal Index Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36618,1,4,0)
;;=4^S68.621A
;;^UTILITY(U,$J,358.3,36618,2)
;;=^5036768
;;^UTILITY(U,$J,358.3,36619,0)
;;=S68.627A^^142^1863^27
;;^UTILITY(U,$J,358.3,36619,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36619,1,3,0)
;;=3^Amputation,Partial Traumatic Left Trnsphal Little Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36619,1,4,0)
;;=4^S68.627A
;;^UTILITY(U,$J,358.3,36619,2)
;;=^5036786
;;^UTILITY(U,$J,358.3,36620,0)
;;=S68.623A^^142^1863^28
;;^UTILITY(U,$J,358.3,36620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36620,1,3,0)
;;=3^Amputation,Partial Traumatic Left Trnsphal Middle Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36620,1,4,0)
;;=4^S68.623A
;;^UTILITY(U,$J,358.3,36620,2)
;;=^5036774
;;^UTILITY(U,$J,358.3,36621,0)
;;=S68.625A^^142^1863^29
;;^UTILITY(U,$J,358.3,36621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36621,1,3,0)
;;=3^Amputation,Partial Traumatic Left Trnsphal Ring Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36621,1,4,0)
;;=4^S68.625A
;;^UTILITY(U,$J,358.3,36621,2)
;;=^5036780
;;^UTILITY(U,$J,358.3,36622,0)
;;=S68.522A^^142^1863^30
;;^UTILITY(U,$J,358.3,36622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36622,1,3,0)
;;=3^Amputation,Partial Traumatic Left Trnsphal Thumb,Init Encntr
;;^UTILITY(U,$J,358.3,36622,1,4,0)
;;=4^S68.522A
;;^UTILITY(U,$J,358.3,36622,2)
;;=^5036729
;;^UTILITY(U,$J,358.3,36623,0)
;;=S98.222A^^142^1863^14
;;^UTILITY(U,$J,358.3,36623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36623,1,3,0)
;;=3^Amputation,Partial Traumatic Left 2 or More Lesser Toes,Init Encntr
;;^UTILITY(U,$J,358.3,36623,1,4,0)
;;=4^S98.222A
;;^UTILITY(U,$J,358.3,36623,2)
;;=^5046311
;;^UTILITY(U,$J,358.3,36624,0)
;;=M65.4^^142^1863^390
;;^UTILITY(U,$J,358.3,36624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36624,1,3,0)
;;=3^Radial Styloid Tenosynovitis
;;^UTILITY(U,$J,358.3,36624,1,4,0)
;;=4^M65.4
;;^UTILITY(U,$J,358.3,36624,2)
;;=^5012792
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2AM 3766 printed Dec 13, 2024@02:25:01 Page 2
IBDEI2AM ; ; 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,36614,0)
+2 ;;=S68.127A^^142^1863^20
+3 ;;^UTILITY(U,$J,358.3,36614,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,36614,1,3,0)
+6 ;;=3^Amputation,Partial Traumatic Left MCP Little Finger,Init Encntr
+7 ;;^UTILITY(U,$J,358.3,36614,1,4,0)
+8 ;;=4^S68.127A
+9 ;;^UTILITY(U,$J,358.3,36614,2)
+10 ;;=^5036690
+11 ;;^UTILITY(U,$J,358.3,36615,0)
+12 ;;=S68.123A^^142^1863^21
+13 ;;^UTILITY(U,$J,358.3,36615,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,36615,1,3,0)
+16 ;;=3^Amputation,Partial Traumatic Left MCP Middle Finger,Init Encntr
+17 ;;^UTILITY(U,$J,358.3,36615,1,4,0)
+18 ;;=4^S68.123A
+19 ;;^UTILITY(U,$J,358.3,36615,2)
+20 ;;=^5036678
+21 ;;^UTILITY(U,$J,358.3,36616,0)
+22 ;;=S68.125A^^142^1863^22
+23 ;;^UTILITY(U,$J,358.3,36616,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,36616,1,3,0)
+26 ;;=3^Amputation,Partial Traumatic Left MCP Ring Finger,Init Encntr
+27 ;;^UTILITY(U,$J,358.3,36616,1,4,0)
+28 ;;=4^S68.125A
+29 ;;^UTILITY(U,$J,358.3,36616,2)
+30 ;;=^5036684
+31 ;;^UTILITY(U,$J,358.3,36617,0)
+32 ;;=S68.022A^^142^1863^23
+33 ;;^UTILITY(U,$J,358.3,36617,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,36617,1,3,0)
+36 ;;=3^Amputation,Partial Traumatic Left MCP Thumb,Init Encntr
+37 ;;^UTILITY(U,$J,358.3,36617,1,4,0)
+38 ;;=4^S68.022A
+39 ;;^UTILITY(U,$J,358.3,36617,2)
+40 ;;=^5036633
+41 ;;^UTILITY(U,$J,358.3,36618,0)
+42 ;;=S68.621A^^142^1863^26
+43 ;;^UTILITY(U,$J,358.3,36618,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,36618,1,3,0)
+46 ;;=3^Amputation,Partial Traumatic Left Trnsphal Index Finger,Init Encntr
+47 ;;^UTILITY(U,$J,358.3,36618,1,4,0)
+48 ;;=4^S68.621A
+49 ;;^UTILITY(U,$J,358.3,36618,2)
+50 ;;=^5036768
+51 ;;^UTILITY(U,$J,358.3,36619,0)
+52 ;;=S68.627A^^142^1863^27
+53 ;;^UTILITY(U,$J,358.3,36619,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,36619,1,3,0)
+56 ;;=3^Amputation,Partial Traumatic Left Trnsphal Little Finger,Init Encntr
+57 ;;^UTILITY(U,$J,358.3,36619,1,4,0)
+58 ;;=4^S68.627A
+59 ;;^UTILITY(U,$J,358.3,36619,2)
+60 ;;=^5036786
+61 ;;^UTILITY(U,$J,358.3,36620,0)
+62 ;;=S68.623A^^142^1863^28
+63 ;;^UTILITY(U,$J,358.3,36620,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,36620,1,3,0)
+66 ;;=3^Amputation,Partial Traumatic Left Trnsphal Middle Finger,Init Encntr
+67 ;;^UTILITY(U,$J,358.3,36620,1,4,0)
+68 ;;=4^S68.623A
+69 ;;^UTILITY(U,$J,358.3,36620,2)
+70 ;;=^5036774
+71 ;;^UTILITY(U,$J,358.3,36621,0)
+72 ;;=S68.625A^^142^1863^29
+73 ;;^UTILITY(U,$J,358.3,36621,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,36621,1,3,0)
+76 ;;=3^Amputation,Partial Traumatic Left Trnsphal Ring Finger,Init Encntr
+77 ;;^UTILITY(U,$J,358.3,36621,1,4,0)
+78 ;;=4^S68.625A
+79 ;;^UTILITY(U,$J,358.3,36621,2)
+80 ;;=^5036780
+81 ;;^UTILITY(U,$J,358.3,36622,0)
+82 ;;=S68.522A^^142^1863^30
+83 ;;^UTILITY(U,$J,358.3,36622,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,36622,1,3,0)
+86 ;;=3^Amputation,Partial Traumatic Left Trnsphal Thumb,Init Encntr
+87 ;;^UTILITY(U,$J,358.3,36622,1,4,0)
+88 ;;=4^S68.522A
+89 ;;^UTILITY(U,$J,358.3,36622,2)
+90 ;;=^5036729
+91 ;;^UTILITY(U,$J,358.3,36623,0)
+92 ;;=S98.222A^^142^1863^14
+93 ;;^UTILITY(U,$J,358.3,36623,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,36623,1,3,0)
+96 ;;=3^Amputation,Partial Traumatic Left 2 or More Lesser Toes,Init Encntr
+97 ;;^UTILITY(U,$J,358.3,36623,1,4,0)
+98 ;;=4^S98.222A
+99 ;;^UTILITY(U,$J,358.3,36623,2)
+100 ;;=^5046311
+101 ;;^UTILITY(U,$J,358.3,36624,0)
+102 ;;=M65.4^^142^1863^390
+103 ;;^UTILITY(U,$J,358.3,36624,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,36624,1,3,0)
+106 ;;=3^Radial Styloid Tenosynovitis
+107 ;;^UTILITY(U,$J,358.3,36624,1,4,0)
+108 ;;=4^M65.4
+109 ;;^UTILITY(U,$J,358.3,36624,2)
+110 ;;=^5012792