IBDEI2A5 ; ; 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,36415,2)
;;=^5046245
;;^UTILITY(U,$J,358.3,36416,0)
;;=S98.911A^^142^1863^70
;;^UTILITY(U,$J,358.3,36416,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36416,1,3,0)
;;=3^Amputation,Traumatic,Right Foot,Init Encntr
;;^UTILITY(U,$J,358.3,36416,1,4,0)
;;=4^S98.911A
;;^UTILITY(U,$J,358.3,36416,2)
;;=^5046335
;;^UTILITY(U,$J,358.3,36417,0)
;;=S98.111A^^142^1863^71
;;^UTILITY(U,$J,358.3,36417,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36417,1,3,0)
;;=3^Amputation,Traumatic,Right Great Toe,Init Encntr
;;^UTILITY(U,$J,358.3,36417,1,4,0)
;;=4^S98.111A
;;^UTILITY(U,$J,358.3,36417,2)
;;=^5046263
;;^UTILITY(U,$J,358.3,36418,0)
;;=S98.311A^^142^1863^77
;;^UTILITY(U,$J,358.3,36418,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36418,1,3,0)
;;=3^Amputation,Traumatic,Right Midfoot,Init Encntr
;;^UTILITY(U,$J,358.3,36418,1,4,0)
;;=4^S98.311A
;;^UTILITY(U,$J,358.3,36418,2)
;;=^5046317
;;^UTILITY(U,$J,358.3,36419,0)
;;=S48.911A^^142^1863^78
;;^UTILITY(U,$J,358.3,36419,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36419,1,3,0)
;;=3^Amputation,Traumatic,Right Shoulder/Upper Arm,Init Encntr
;;^UTILITY(U,$J,358.3,36419,1,4,0)
;;=4^S48.911A
;;^UTILITY(U,$J,358.3,36419,2)
;;=^5028323
;;^UTILITY(U,$J,358.3,36420,0)
;;=S98.211A^^142^1863^67
;;^UTILITY(U,$J,358.3,36420,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36420,1,3,0)
;;=3^Amputation,Traumatic,Right 2 or More Lesser Toes,Init Encntr
;;^UTILITY(U,$J,358.3,36420,1,4,0)
;;=4^S98.211A
;;^UTILITY(U,$J,358.3,36420,2)
;;=^5046299
;;^UTILITY(U,$J,358.3,36421,0)
;;=S68.110A^^142^1863^72
;;^UTILITY(U,$J,358.3,36421,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36421,1,3,0)
;;=3^Amputation,Traumatic,Right MCP Index Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36421,1,4,0)
;;=4^S68.110A
;;^UTILITY(U,$J,358.3,36421,2)
;;=^5036639
;;^UTILITY(U,$J,358.3,36422,0)
;;=S68.116A^^142^1863^73
;;^UTILITY(U,$J,358.3,36422,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36422,1,3,0)
;;=3^Amputation,Traumatic,Right MCP Little Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36422,1,4,0)
;;=4^S68.116A
;;^UTILITY(U,$J,358.3,36422,2)
;;=^5036657
;;^UTILITY(U,$J,358.3,36423,0)
;;=S68.112A^^142^1863^74
;;^UTILITY(U,$J,358.3,36423,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36423,1,3,0)
;;=3^Amputation,Traumatic,Right MCP Middle Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36423,1,4,0)
;;=4^S68.112A
;;^UTILITY(U,$J,358.3,36423,2)
;;=^5036645
;;^UTILITY(U,$J,358.3,36424,0)
;;=S68.114A^^142^1863^75
;;^UTILITY(U,$J,358.3,36424,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36424,1,3,0)
;;=3^Amputation,Traumatic,Right MCP Ring Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36424,1,4,0)
;;=4^S68.114A
;;^UTILITY(U,$J,358.3,36424,2)
;;=^5036651
;;^UTILITY(U,$J,358.3,36425,0)
;;=S68.011A^^142^1863^76
;;^UTILITY(U,$J,358.3,36425,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36425,1,3,0)
;;=3^Amputation,Traumatic,Right MCP Thumb,Init Encntr
;;^UTILITY(U,$J,358.3,36425,1,4,0)
;;=4^S68.011A
;;^UTILITY(U,$J,358.3,36425,2)
;;=^5036621
;;^UTILITY(U,$J,358.3,36426,0)
;;=S68.610A^^142^1863^79
;;^UTILITY(U,$J,358.3,36426,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36426,1,3,0)
;;=3^Amputation,Traumatic,Right Trnsphal Index Finger,Init Encntr
;;^UTILITY(U,$J,358.3,36426,1,4,0)
;;=4^S68.610A
;;^UTILITY(U,$J,358.3,36426,2)
;;=^5036735
;;^UTILITY(U,$J,358.3,36427,0)
;;=S68.616A^^142^1863^80
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2A5 3795 printed Dec 13, 2024@02:24:45 Page 2
IBDEI2A5 ; ; 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,36415,2)
+2 ;;=^5046245
+3 ;;^UTILITY(U,$J,358.3,36416,0)
+4 ;;=S98.911A^^142^1863^70
+5 ;;^UTILITY(U,$J,358.3,36416,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,36416,1,3,0)
+8 ;;=3^Amputation,Traumatic,Right Foot,Init Encntr
+9 ;;^UTILITY(U,$J,358.3,36416,1,4,0)
+10 ;;=4^S98.911A
+11 ;;^UTILITY(U,$J,358.3,36416,2)
+12 ;;=^5046335
+13 ;;^UTILITY(U,$J,358.3,36417,0)
+14 ;;=S98.111A^^142^1863^71
+15 ;;^UTILITY(U,$J,358.3,36417,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,36417,1,3,0)
+18 ;;=3^Amputation,Traumatic,Right Great Toe,Init Encntr
+19 ;;^UTILITY(U,$J,358.3,36417,1,4,0)
+20 ;;=4^S98.111A
+21 ;;^UTILITY(U,$J,358.3,36417,2)
+22 ;;=^5046263
+23 ;;^UTILITY(U,$J,358.3,36418,0)
+24 ;;=S98.311A^^142^1863^77
+25 ;;^UTILITY(U,$J,358.3,36418,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,36418,1,3,0)
+28 ;;=3^Amputation,Traumatic,Right Midfoot,Init Encntr
+29 ;;^UTILITY(U,$J,358.3,36418,1,4,0)
+30 ;;=4^S98.311A
+31 ;;^UTILITY(U,$J,358.3,36418,2)
+32 ;;=^5046317
+33 ;;^UTILITY(U,$J,358.3,36419,0)
+34 ;;=S48.911A^^142^1863^78
+35 ;;^UTILITY(U,$J,358.3,36419,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,36419,1,3,0)
+38 ;;=3^Amputation,Traumatic,Right Shoulder/Upper Arm,Init Encntr
+39 ;;^UTILITY(U,$J,358.3,36419,1,4,0)
+40 ;;=4^S48.911A
+41 ;;^UTILITY(U,$J,358.3,36419,2)
+42 ;;=^5028323
+43 ;;^UTILITY(U,$J,358.3,36420,0)
+44 ;;=S98.211A^^142^1863^67
+45 ;;^UTILITY(U,$J,358.3,36420,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,36420,1,3,0)
+48 ;;=3^Amputation,Traumatic,Right 2 or More Lesser Toes,Init Encntr
+49 ;;^UTILITY(U,$J,358.3,36420,1,4,0)
+50 ;;=4^S98.211A
+51 ;;^UTILITY(U,$J,358.3,36420,2)
+52 ;;=^5046299
+53 ;;^UTILITY(U,$J,358.3,36421,0)
+54 ;;=S68.110A^^142^1863^72
+55 ;;^UTILITY(U,$J,358.3,36421,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,36421,1,3,0)
+58 ;;=3^Amputation,Traumatic,Right MCP Index Finger,Init Encntr
+59 ;;^UTILITY(U,$J,358.3,36421,1,4,0)
+60 ;;=4^S68.110A
+61 ;;^UTILITY(U,$J,358.3,36421,2)
+62 ;;=^5036639
+63 ;;^UTILITY(U,$J,358.3,36422,0)
+64 ;;=S68.116A^^142^1863^73
+65 ;;^UTILITY(U,$J,358.3,36422,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,36422,1,3,0)
+68 ;;=3^Amputation,Traumatic,Right MCP Little Finger,Init Encntr
+69 ;;^UTILITY(U,$J,358.3,36422,1,4,0)
+70 ;;=4^S68.116A
+71 ;;^UTILITY(U,$J,358.3,36422,2)
+72 ;;=^5036657
+73 ;;^UTILITY(U,$J,358.3,36423,0)
+74 ;;=S68.112A^^142^1863^74
+75 ;;^UTILITY(U,$J,358.3,36423,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,36423,1,3,0)
+78 ;;=3^Amputation,Traumatic,Right MCP Middle Finger,Init Encntr
+79 ;;^UTILITY(U,$J,358.3,36423,1,4,0)
+80 ;;=4^S68.112A
+81 ;;^UTILITY(U,$J,358.3,36423,2)
+82 ;;=^5036645
+83 ;;^UTILITY(U,$J,358.3,36424,0)
+84 ;;=S68.114A^^142^1863^75
+85 ;;^UTILITY(U,$J,358.3,36424,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,36424,1,3,0)
+88 ;;=3^Amputation,Traumatic,Right MCP Ring Finger,Init Encntr
+89 ;;^UTILITY(U,$J,358.3,36424,1,4,0)
+90 ;;=4^S68.114A
+91 ;;^UTILITY(U,$J,358.3,36424,2)
+92 ;;=^5036651
+93 ;;^UTILITY(U,$J,358.3,36425,0)
+94 ;;=S68.011A^^142^1863^76
+95 ;;^UTILITY(U,$J,358.3,36425,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,36425,1,3,0)
+98 ;;=3^Amputation,Traumatic,Right MCP Thumb,Init Encntr
+99 ;;^UTILITY(U,$J,358.3,36425,1,4,0)
+100 ;;=4^S68.011A
+101 ;;^UTILITY(U,$J,358.3,36425,2)
+102 ;;=^5036621
+103 ;;^UTILITY(U,$J,358.3,36426,0)
+104 ;;=S68.610A^^142^1863^79
+105 ;;^UTILITY(U,$J,358.3,36426,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,36426,1,3,0)
+108 ;;=3^Amputation,Traumatic,Right Trnsphal Index Finger,Init Encntr
+109 ;;^UTILITY(U,$J,358.3,36426,1,4,0)
+110 ;;=4^S68.610A
+111 ;;^UTILITY(U,$J,358.3,36426,2)
+112 ;;=^5036735
+113 ;;^UTILITY(U,$J,358.3,36427,0)
+114 ;;=S68.616A^^142^1863^80